Program Example - Toshiba AJ65VBTCU-68ADVN User Manual

A melsec programmable controller, analog-digital converter module
Table of Contents

Advertisement

5 PROGRAMMING

5.4.3 Program example

Confirmation of AJ65VBTCU-68ADI, AJ65VBTCU-68ADVN status
Initialization procedure registration
AJ65VBTCU-68ADI Change of initial setting
AJ65VBTCU-68ADI Read of digital output values
AJ65VBTCU-68ADI Processing at error occurrence
The program part enclosed by the dotted line is required only when the initial setting is changed.
5 - 28
MELSEC-A
AJ65VBTCU-68ADI
AJ65VBTCU-68ADVN
Data link normal
AJ65VBTCU-68ADI
Data link abnormal
AJ65VBTCU-68ADVN
Data link abnormal
Turns OFF the initialization
procedure registration
command.
Turns ON the initialization
procedure registration
command.
AJ65VBTCU-68ADI
A/D conversion enable/
prohibit specification
(RWw0)
CH. 1 to CH. 4
input range setting (RWw1)
Average processing
specification (RWw3)
CH. 2 average time,
number of times setting
(RWw5)
Turns ON the initial data
setting request flag (RY19).
Turns OFF the initial data
setting request flag (RY19).
AJ65VBTCU-68ADI
Reads the CH. 1 digital
output value (RWr0).
Reads the CH. 2 digital
output value (RWr1).
Reads the error code (RWr8).
Turns ON the error reset
request flag (RY1A).
Turns OFF the error reset
request flag (RY1A).
5 - 28

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj65vbtcu-68adin

Table of Contents