156
5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
Program example
The following program reads data, which is sent from the station number 1 by the SEND instruction, from the channel 5 of the
station number 2 (host station) and stores the data to the devices from D770 to D773 of the station number 2 (host station)
when an interruption program starts up.
For the SEND instruction, refer to the following section.
Page 144 Message (user-specified data) communication
[Structured ladder/FBD]
[ST]
IF(SM400=TRUE)THEN
MOV(TRUE,H0,Var_ControlData[0]); (* Sets execution/error completion type *)
MOV(TRUE,5,Var_ControlData[2]); (* Sets host station channel *)
Z_RECVS(TRUE,"00",Var_ControlData,D770,Var_Dummy); (* Performs readout *)
END_IF;
Sets execution/error
completion type
Sets host station
channel
Performs readout
Process on completion of readout
(* Process on completion of readout *)
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......