Program Example - Mitsubishi Electric MELSEC-Q Series User Manual

Simple motion module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

11.2.5 Program example

The following is an example of the program to be written to a CPU module on the master
station.
(1) Program example of L60DA4
(a)
I/O signals of D/A converter module (L60DA4)
Device
X1000
Module READY
External power supply READY
X1007
flag
X100E
Warning output signal
X100F
Error occurrence flag
(b)
Link special relay (SB), link special register (SW)
Device
SB0049
Data link status (own station)
(c)
Devices used by the user
Device
W1
CH1 Digital value
W2
CH2 Digital value
W1008
Warning output flag
W1010
Latest error code
N0
Nesting (station No.17)
Communication condition establishment flag
M0
(station No.17)
M20 to M27 Warning output flag
X21
Batch output enable signal
X22
Digital value command to write input signal
X24
Warning output reset signal
X25
Error reset signal
Y30 to Y3F Error code display (BCD 4 digits)
Description
Device
Y1001
Y1002
Y100E
Y100F
Description
Device
SW00B1.0
Description
11 - 11
Chapter 11 PROGRAMMING
Description
CH1 Output enable/disable flag
CH2 Output enable/disable flag
Warning output clear request
Error clear request
Description
Data link status (each station) (station
No.17)
Remarks
QX10 (X20 to X2F)
QY10 (Y30 to Y3F)

Advertisement

Table of Contents
loading

Table of Contents