5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
153
5
[Structured ladder/FBD]
[ST]
IF(SM400=TRUE)THEN
MOV(TRUE,H80,Var_ControlData[0]); (* Sets error completion type *)
MOV(TRUE,5,Var_ControlData[2]); (* Sets host station channel *)
MOV(TRUE,0,Var_ControlData[6]);
MOV(TRUE,0,Var_ControlData[7]);
MOV(TRUE,0,Var_ControlData[8]); (* Sets arrival monitoring time *)
MOV(TRUE,0,Var_ControlData[10]);
END_IF;
IF((SB34=TRUE) AND (SB47=FALSE)) THEN
JP_RECV(TRUE,1,Var_ControlData,D770,Var_Result); (* Performs readout *)
END_IF;
IF(Var_Result[0]=TRUE)THEN (* Execution finished *)
IF(Var_Result[1]=FALSE)THEN (* Normal completion *)
ELSE (* Error completion *)
IF(Var_Result[1]=FALSE)THEN (* Normal completion *)
END_IF;
END_IF;
Sets error
completion type
Sets host station
channel
Sets arrival
monitoring time
Performs readout
Execution finished
Normal completion
Error completion
Stores error code
Process on completion of readout
Process on normal completion
Process on error completion
(* Process on completion of readout *)
(* Process on normal completion *)
(* Process on error completion *)
Содержание 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: ......