Mitsubishi MELSEC-L series Programming Manual page 232

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

Advertisement

Z_RTMRD_J, Z_RTMRD_U
Function
This instruction reads clock data from a CPU module on another station.
Precautions
This instruction is applicable to the QJ71LP21 or QJ71BR11 with the function version B or later.
Program Example
The following program reads out clock data from the QCPU on the station number 2 (target
station) and stores the clock data in the station number 1 (host station).
[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-186
5.4.11 RTMRD instruction
Process on completion of readout
Process on normal completion
Process on error completion
ZP_RTMRD_J(TRUE,"J1",K4,K2,H3FF,D300,Var_Result);
(* Reads clock data from another station *)
(* Process on completion of readout *)
IF(Var_Result[1]=FALSE)THEN
(* Process on normal completion *)
ELSE
(* Process on error completion *)
END_IF;
MOV(TRUE, SW33, Var_ErrorCode);
Reads clock data
from another station
Execution finished
Normal completion
Error completion
Stores error code
(* Execution finished *)
(* Normal completion *)
(* Error completion *)
(* Stores error code *)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents