Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.4 Network Dedicated Instruction
5.4.11 SWRITE instruction
5-165
J_SWRITE, G_SWRITE
5
MODULE DEDICATED
INSTRUCTION
J_SWRITE,
G_SWRITE
Program Example
The following program example of the SWRITE instruction is different from that of the WRITE
instruction by assigning the write notification device at the end of arguments.
[Structured ladder/FBD]
(1) Program on the request source (station number 2) of the SWRITE instruction
d3
Sets execution/error
completion type
Sets channel used
by host station
Sets target station's
CPU type
Sets target station
network number
Sets target station numbe
r
Sets number of resends
Sets monitoring time
Sets data length
by the word
Sets write data to
D750 to D753
Performs writing
Execution finished
Normal completion
Error completion
Stores error code
Process on completion of writing
Process on normal completion
Process on error completion