Toshiba AJ65VBTCU-68ADVN User Manual page 71

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

Advertisement

5 PROGRAMMING
Checking of AJ65VBTCU-68ADVN status
Initial settings
Changing of initial settings
Initial setting change
Processing at initial settings
Read of digital output values
Processing at error occurrence
Error reset
The program enclosed by the dotted line is necessary only when the initial settings are changed.
5 - 8
(2) Program example
MELSEC-A
Reads data link status.
AJ65VBTCU-68ADVN data
link normal
AJ65VBTCU-68ADVN data
link abnormal
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 initial data
processing completion flag
(RY18).
Turns on initial data
setting request flag
(RY19).
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 initial data setting
request flag (RY19).
Turns off initial data
processing completion flag
(RY18).
Turns off initial data setting
request flag (RY19).
Reads CH.1 digital
output value (RWr0).
Reads CH.2 digital
output value (RWr1).
Reads error code (RWr8).
Turns on error reset
request flag (RY1A).
Turns off error reset
request flag (RY1A).
5 - 8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj65vbtcu-68adin

Table of Contents