![Mitsubishi Electric MELSEC System Q Скачать руководство пользователя страница 175](http://html.mh-extra.com/html/mitsubishi-electric/melsec-system-q/melsec-system-q_special-instructions-manual_239154175.webp)
5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
173
5
Program example
• The following program remotely switches the QCPU on the station number 2 (target station) to RUN.
[Structured ladder/FBD]
[ST]
IF((Var_Flag_Exe=TRUE) AND (SB47=FALSE) AND (SW0A0.1=FALSE)) THEN
Z_RRUN_J(TRUE,"J1",3,2,H3FF,H1,Var_Result); (* Performs remote RUN *)
END_IF;
IF(Var_Result[0]=TRUE)THEN (* Execution finished *)
IF(Var_Result[1]=FALSE)THEN (* Normal completion *)
ELSE (* Error completion *)
END_IF;
END_IF;
MOV(SM400,SW32,Var_ErrorCode); (* Stores error code *)
Performs
remote RUN
Execution finished
Normal completion
Error completion
Stores error code
Process on completion
Process on normal completion
Process on error completion
(* 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: ......