Mitsubishi Electric Melsec Q Series User Manual page 203

Ethernet interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

6 DEDICATED INSTRUCTIONS
Program example
Control
data
setting
command
Request
data
setting
command
Write
command
6 - 36
The following example shows a program to write the clock data (8:30:00) to the
Q/L/QnACPU with the station number 13 in the network number 7.
When I/O signals of the Ethernet module are X/Y00 to X/Y1F
Processing program on instruction completion
Processing program on normal completion
Processing program on abnormal completion
MOV
D100
D1
MELSEC-Q/L
Clock data setting required
Channel used by the local station
Target station's CPU type (Control CPU)
Target station network number
Target station number
Arrival monitoring time (20 s)
Request data length (6 words)
Request type
Subrequest type
Change pattern
Hour/minute (8:30)
Second (00s)
Number of resend
X19: Initial normal completion signal
Read error code, etc.
6 - 36

Advertisement

Table of Contents
loading

Table of Contents