Mitsubishi MELSEC-L series Programming Manual page 214

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

Advertisement

J_RECV, G_RECV
[ST]
IF (LDP(TRUE,SM400)) THEN
END_IF;
IF((SB34=TRUE) AND (SB47=FALSE)) THEN
END_IF;
IF(Var_Result[0]=TRUE)THEN
END_IF;
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5-168
5.4.6 RECV instruction
MOV(TRUE,H80,Var_ControlData[0]);
MOV(TRUE,K5,Var_ControlData[2]);
MOV(TRUE,K0,Var_ControlData[6]);
MOV(TRUE,K0,Var_ControlData[7]);
MOV(TRUE,K0,Var_ControlData[8]);
MOV(TRUE,K0,Var_ControlData[10]);
JP_RECV(TRUE,1,Var_ControlData,D770,Var_Result);(* Performs readout *)
(* Process on completion of readout *)
IF(Var_Result[1]=FALSE)THEN
(* Process on normal completion *)
ELSE
(* Process on error completion *)
MOV(TRUE, Var_ControlData[1], Var_ErrorCode);(* Stores error code *)
END_IF;
(* Sets error completion type *)
(* Sets host station channel *)
(* Sets arrival monitoring time *)
(* Execution finished *)
(* Normal completion *)
(* Error completion *)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents