Mitsubishi MELSEC-L series Programming Manual page 257

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

Advertisement

[ST]
IF((X19=TRUE) AND (Var_Flag_Open=TRUE))THEN
(* Initialization normal completion signal/connection 1 open completion signal*)
PLS(TRUE,Var_Flag_Inst);
(* Send instruction 1PLS *)
END_IF;
IF(Var_Flag_Inst=TRUE)THEN
(* Send instruction 1PLS *)
MOV(TRUE,K3,D300);
(* Sets data length (number of words) *)
MOV(TRUE,K1234,D301);
(* Sets send data *)
MOV(TRUE,K5678,D302);
(* Sets send data *)
MOV(TRUE,K8901,D303);
(* Sets send data *)
ZP_BUFSND(TRUE,"U0",K1,Var_ControlData,D300,Var_Result);
(* Sends data in fixed buffer communication *)
END_IF;
IF(Var_Result[0]=TRUE)THEN
IF(Var_Result[1]=FALSE)THEN
(* Process on normal completion *)
ELSE
(* Process on error completion *)
END_IF;
END_IF;
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
(* Execution finished *)
(* Normal completion *)
(* Error completion *)
5.4.19 BUFSND instruction
ZP_BUFSND
5
5-211

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents