Mitsubishi MELSEC-L series Programming Manual page 278

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-232
5.4.24 MSEND instruction
MOVP(TRUE,H1000,Var_ControlData[0]);
(* Sets text as send data format *)
MOVP(TRUE,K1,Var_ControlData[2]);
(* Sets transmission destination number *)
MOVP(TRUE,K16,Var_ControlData[9]);
(* Sets send data length *)
MOVP(TRUE,K7,Var_ControlData[10]);
(* Sets subject length *)
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;
Int_Msg[7] := H7274;
Int_Msg[8] := H6f72;
Int_Msg[9] := H2072;
Int_Msg[10] := H614d;
Int_Msg[11] := H6863;
Int_Msg[12] := H6e69;
Int_Msg[13] := H3165;
Int_Msg[14] := H3020;
Int_Msg[15] := H3130;
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;
(* te *)
(* st *)
(* ma *)
(* il *)
(* m *)
(* se *)
(* nd *)
(* Sets subject *)
(* Er *)
(* ro *)
(* r *)
(* Ma *)
(* ch *)
(* in *)
(* e1 *)
(* 0 *)
(* 01 *)
(* Sets text *)
(* Sends e-mail *)
(* Execution finished *)
(* Error completion *)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents