Mitsubishi MELSEC-L series Programming Manual page 235

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

Advertisement

[ST]
IF(LDP(TRUE,Var_Flag_Inst))THEN
MOV(TRUE,H38,Var_ClockData[0]); (* Sets clock data *)
MOV(TRUE,H0,Var_ClockData[1]);
MOV(TRUE,H8,Var_ClockData[2]);
MOV(TRUE,H3000,Var_ClockData[3]);
MOV(TRUE,H0,Var_ClockData[4]);
END_IF;
IF((Var_Flag_Exe=TRUE) AND (SB47=FALSE) AND (SB0A0=FALSE)) THEN
ZP_RTMWR_J(TRUE,"J1",K5,H0FF,H3FF,Var_ClockData,Var_Result);
END_IF;
IF(Var_Result[0]=TRUE)THEN
(* Process on completion of writing *)
IF(Var_Result[1]=FALSE)THEN
(* Process on normal completion *)
ELSE
(* Process on error completion *)
END_IF;
END_IF;
IF(SM400=TRUE)THEN
MOV(TRUE, SW34, Var_ErrorCode);(* Stores error code *)
END_IF;
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
Z_RTMWR_J, Z_RTMWR_U
(* Writes clock data to other stations*)
(* Execution finished *)
(* Normal completion *)
(* Error completion *)
5.4.12 RTMWR instruction
5
5-189

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents