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 *)
Содержание 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: ......