Mitsubishi MELSEC-L series Programming Manual page 230

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

Z_RSTOP_J, Z_RSTOP_U
Function
This instruction remotely switches a CPU module on another station to STOP.
Precautions
This instruction is applicable to the QJ71LP21 or QJ71BR11 with the function version B or later.
Program Example
The following program remotely switches the QCPU on the station number 2 (target station) to
STOP.
[Structured ladder]
[ST]
IF((Var_Flag_Exe=TRUE) AND (SB47=FALSE) AND (SW0A0.1=FALSE)) THEN
END_IF;
IF(Var_Result[0]=TRUE)THEN
END_IF;
IF(SM400=TRUE)THEN
END_IF;
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5-184
5.4.10 RSTOP instruction
Process on completion
Process on normal completion
Process on error completion
ZP_RSTOP_J(TRUE,"J1",K3,K2,H3FF,H1,Var_Result);(* Performs remote STOP *)
(* Process on completion *)
IF(Var_Result[1]=FALSE)THEN
(* Process on normal completion *)
ELSE
(* Process on error completion *)
END_IF;
MOV(TRUE, SW32, Var_ErrorCode);
Performs remote
STOP
Execution finished
Normal completion
Error completion
Stores error code
(* Execution finished *)
(* Normal completion *)
(* Error execution *)
(* Stores error code *)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents