5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
217
5
[ST]
IF(Var_Flag_Inst=TRUE)THEN
MOV(TRUE,H1,Var_ControlData[2]); (* Sets change target *)
MOV(TRUE,ZR0,Var_ControlData[3]); (* Sets host station number *)
END_IF;
IF((Var_Flag_Exe=TRUE) AND (SB70=TRUE))THEN
ZP_UINI(TRUE,"00",Var_ControlData,Var_Result); (* Performs reinitialization *)
END_IF;
IF(Var_Result[0]=TRUE)THEN (* Execution finished *)
IF(Var_Result[1]=FALSE)THEN (* Normal completion *)
ELSE (* Error completion *)
MOV(TRUE, Var_ControlData[1], Var_ErrorCode); (* Stores error code *)
END_IF;
END_IF;
(* Process on completion *)
(* Process on normal completion *)
(* Process on error completion *)
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......