202
5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
Setting data
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)
Device
Item
Setting data
Setting
range
Setting
side
(s2)[0]
System area
(s2)[1]
Completion status
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
System
Device
Item
Setting data
Setting
range
Setting
side
(d1)+0
System area
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)
(Refer to the
left.)
System
(d1)+1
(d1)+n
Receive data
Data read from the fixed buffer data area are stored in ascending address order.
System
[Structured ladder/FBD]
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
Process on normal completion
Process on error completion
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......