Mitsubishi MELSEC-A AJ65VBTCU-68DAVN User Manual page 68

Digital-analog converter module
Table of Contents

Advertisement

5 PROGRAMMING
Checking of AJ65VBTCU-68DAVN status
*1
Initialization procedure registration
1)
*2
Changing of initial settings
2)
Initial setting change
Setting of digital values
Digital value
setting
Analog output enable/disable specification
Analog output
enable
Processing at error occurrence
Error reset
*1
When remote device station initialization procedure registration is to be made to multiple modules, correct
the program part enclosed by the dotted line 1) as shown below.
RX(m+1)B/RX(n+1)B indicates remote REDY, and RX(m+1)8/RX(n+1)8 indicates an initial data processing
request flag. The device number changes depending on the station number. Insert the remote REDY and
initial data processing request flags for all stations where remote device station initialization procedure
registration has been set.
RX( m+1)B
RX( m+1)8
RX( n+1)8
*2
The program part enclosed by the dotted line 2) is required only when the initial setting is changed.
5 - 6
(3) Program example
RX( n+1)B
MELSEC-A
Reads data link status.
AJ65VBTCU-68DAVN data
link normal
AJ65VBTCU-68DAVN data
link abnormal
Turns off initialization
procedure registration
directive.
Turns on initialization
procedure registration
directive.
Analog output enable/
disable setting (RWw8)
CH.1 to CH.4 output
range setting (RWw9)
Turns on initial data setting
request flag (RY19).
Turns off initial data setting
request flag (RY19).
CH.1 digital value
setting (RWw0) : 500
CH.2 digital value
setting (RWw1) : 1000
Turns on CH.1 analog
output enable/disable
flag (RY00).
Turns on CH.2 analog
output enable/disable
flag (RY01).
Read CH.
check code
(RWr0, RWr1).
Reads error code (RWr8).
Turns on error reset
request flag (RY1A).
Turns off error reset
request flag (RY1A).
5 - 6

Advertisement

Table of Contents
loading

Table of Contents