Mitsubishi MELSEC-L series Programming Manual page 253

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

Advertisement

Function
This instruction reads receive data from external device in fixed buffer communication.
This instruction is used in an interrupt program.
Receive Data
Device
Item
Receive data length
+0
d
+1
d
to
Receive data
+n
d
Program Example
The following program reads receive data from the fixed buffer of the connection 2.
(The I/O signals of the Ethernet module are X/Y00 to X/Y1F)
[Structured ladder]
[ST]
IF(SM400=TRUE)THEN
Z_BUFRCVS(TRUE,"U0",K2,D700);
END_IF;
5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
Setting data
Data length of the data read from the fixed buffer data area is stored.
(Data length becomes the number of words or the number of bytes
depending on the procedure used in fixed buffer communication.)
With procedure (communication in binary code): The number of
words
With procedure (communication in ASCII code): The number of
words
Nonprocedural communication (communication in binary code):
The number of bytes
Data read from the fixed buffer data area are stored in ascending
address order.
(* Always ON *)
(* Reads data in fixed buffer communication *)
Setting range
1 to 1017
1 to 508
1 to 2046
Performs readout
in fixed buffer
communication
5.4.18 BUFRCVS instruction
Z_BUFRCVS
*1
Setting side
System
System
5
5-207

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents