Mitsubishi Electric MELSEC-L Special Instructions Manual page 204

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

Setting data
Device
Item
(s2)[0]
System area
(s2)[1]
Completion status
Device
Item
(d1)+0
System area
(d1)+1
Receive data
(d1)+n
Program example
• The following program reads out receive data from the fixed buffer of the connection 1.
(The I/O signals of the Ethernet module are X/Y00 to X/Y1F)
[Structured ladder/FBD]
5 MODULE DEDICATED INSTRUCTION
202
5.4 Network Dedicated Instruction
Setting data
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
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 (1 to 1017)
• With procedure (communication in ASCII code): The number of words (1 to 508)
• Nonprocedural communication (communication in binary code): The number of bytes (1
to 2046)
Data read from the fixed buffer data area are stored in ascending address order.
Process on normal completion
Process on error completion
Setting
Setting
range
side
System
Setting
Setting
range
side
(Refer to the
System
left.)
System
Connection 1 open
completion signal
Connection 1 open
request signal
Fixed buffer 1
receive status signal
Receive
instruction 1 PLS
Reads data in
fixed buffer
communication
Normal completion
Error completion

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents