Download Q Corresponding Ethernet Interface Module User`s Manual

Transcript
4 WHEN THE QCPU ACCESSES THE PROGRAMMABLE CONTROLLER
OF ANOTHER STATION USING THE DATA LINK INSTRUCTION
MELSEC-Q
4.8 Reading/Writing Clock Data, Remote RUN/Remote STOP (REQ)
This section explains the format and program examples of the REQ instruction that is
used to read/write clock data and remote RUN/remote STOP of the Q/QnACPU of
other stations.
For details, see Sections 6.7 and 6.8.
(1) Instruction format
[Network number designation]
Execution command
J.REQ
Jn
(S1)
(S2)
(D1)
(D2)
J: Execution
during on
Execution command
JP.REQ
Jn
(S1)
(S2)
(D1)
(D2)
JP: Execution
during startup
[Network module/Ethernet module start I/O signal designation]
Execution command
G.REQ
Un
(S1)
(S2)
(D1)
(D2)
G: Execution
during on
Execution command
GP.REQ
Un
(S1)
(S2)
(D1)
(D2)
GP: Execution
during startup
Setting details
Setting range
1 to 239: Network number
254: Network designated in a
valid module for other
station access.
Jn
Local station network number
Un
Start I/O signal of the local station network module/Ethernet
module.
0 to FEH
Designate by higher two digits when the I/O signal is
expressed by three digits.
(S1)
Control data storage head device
Designate the head device of the local station that stores
the control data.
Word device
2
(S2)
Request data storage head device (local station)
Designate the head device of the local station that stores
the request data.
Word device
2
(D1)
Response data storage head device (local station)
Designate the head device of the local station that stores
the response data.
Word device
2
Execution completion device (local station)
Designate the device of the local station to turn on one
scan when the execution is complete.
ON: Complete
(D2) ................... OFF: Incomplete
Bit device 1
Word device bit designation
(D2)
(D2) + 1 ............. OFF: Normal
3
ON: Abnormal
1: Bit device ................................... X, Y, M, L, F, V, B
2: Word device................................ T, C, D, W, ST, R, ZR
3: Word device bit designation ...... Word device . Bit number
4 - 36
4 - 36