Mitsubishi MELSEC-L series Programming Manual page 276

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

Advertisement

ZP_MSEND
[ST]
IF(X20=TRUE)THEN
END_IF;
IF(Var_Result[0]=TRUE)THEN
END_IF;
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5-230
5.4.24 MSEND instruction
MOVP(TRUE,H800,Var_ControlData[0]);
MOVP(TRUE,K1,Var_ControlData[2]);
MOVP(TRUE,K10,Var_ControlData[9]);
MOVP(TRUE,K7,Var_ControlData[10]);
Int_Msg[0] := H6574;
Int_Msg[1] := H7473;
Int_Msg[2] := H616d;
Int_Msg[3] := H6c69;
Int_Msg[4] := H6d20;
Int_Msg[5] := H6573;
Int_Msg[6] := H646e;
MOVP(TRUE,H1234,Int_Msg[7]);
MOVP(TRUE,H5678,Int_Msg[8]);
MOVP(TRUE,H9ABC,Int_Msg[9]);
ZP_MSEND(TRUE,"U0",Var_ControlData,Int_Msg[0],Var_Result);
IF(Var_Result[1]=FALSE)THEN(* Normal completion *)
(* Process on normal completion *)
ELSE
(* Process on error completion *)
END_IF;
(* Sets ASCII as send data format *)
(* Sets transmission destination number *)
(* Sets send data length *)
(* Sets subject length *)
(* te *)
(* st *)
(* ma *)
(* il *)
(* m *)
(* se *)
(* nd *)
(* Sets subject *)
(* Sets file to be attached *)
(* Sends e-mail *)
(* Execution finished *)
(* Error completion *)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents