Program Example - Mitsubishi Electric MELSEC-Q Series User Manual

Cc-link system master/local module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

10.2.5

Program example

This section provides a program example. Write a program to the CPU module in a master station.
(1) Devices to be used
The following table lists the devices to be used in the program example.
Device
X0
X1
XF
SB000D
SB005F
SW0080.0
SW0080.3
X20
X21
X22
X23
X25
X26
Y30
Y31
M100
X1000 to X105F
Y1000 to Y105F
W0 to WB
W100 to W10B
D500 to D501
D508
X1060 to X10BF
Y1060 to Y10BF
WC to W17
W10C to W117
D510 to D511
D518
248
Description
Module error
Host data link status
Module ready
Remote device station initialization procedure registration
instruction
Completion status of remote device station initialization
procedure
Other station data link status (station number 1)
Other station data link status (station number 4)
Initial setting change of the AJ65VBTCU-68ADVN
Initial setting change of the AJ65VBTCU-68DAVN
Digital value setting of the AJ65VBTCU-68DAVN
Analog output enable of the AJ65VBTCU-68DAVN
Error reset of the AJ65VBTCU-68ADVN
Error reset of the AJ65VBTCU-68DAVN
Data link error flag (station number 1)
Data link error flag (station number 4)
Communication condition established flag
Remote input (RX0 to RX5F)
Remote output (RY0 to RY5F)
Remote register (RWr0 to RWrB)
Remote register (RWw0 to RWwB)
CH.1 digital output value, CH.2 digital output value
Error code
Remote input (RX0 to RX5F)
Remote output (RY0 to RY5F)
Remote register (RWr0 to RWrB)
Remote register (RWw0 to RWwB)
CH.1 check code, CH.2 check code
Error code
Module
QJ61BT11N
QX10
QY10
AJ65VBTCU-68ADVN
(
Page 233, Section 10.2.1 (2))
AJ65VBTCU-68DAVN
(
Page 233, Section 10.2.1 (2))

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents