Mitsubishi MELSEC-L series Programming Manual page 163

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

Advertisement

[ST]
IF((LDP(TRUE, X0))
&(Var_Flag_Exe=FALSE)
&(SW80.0=FALSE))THEN
MOV(TRUE, 1, Var_ControlData[1]);
MOV(TRUE, H0405, Var_ControlData[2]);
MOV(TRUE, 1000, Var_ControlData[3]);
MOV(TRUE, 10, Var_ControlData[4]);
G_RIWT(TRUE, H04, Var_ControlData, D0, Var_Result);(* Performs writing *)
SET(TRUE, Var_Flag_Exe);
END_IF;
IF(Var_Result[0]=TRUE)THEN
(* Process on completion of receiving *)
IF(Var_Result[1]=FALSE)THEN
(* Process on normal completion *)
ELSE
(* Process on error completion *)
END_IF;
END_IF;
(* Execution flag *)
(* Data link status of station number 1 *)
(* Sets station number *)
(* Sets access code and attribute code *)
(* Sets device number *)
(* Sets number of read points *)
(* Turns execution flag ON *)
(* Execution finished *)
(* Normal completion *)
(* Error completion *)
5.3 CC-Link Instruction
5.3.2 RIWT instruction
G_RIWT
5
5-117

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents