5 MODULE DEDICATED INSTRUCTION
5.4 Network Dedicated Instruction
205
5
Setting data
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)
Device
Item
Setting data
Setting
range
Setting
side
(d1)+0
Receive data length
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]
[ST]
Z_BUFRCVS(SM400,"00",2,D700); (* Reads data in fixed buffer communication *)
Performs readout
in fixed buffer
communication
Содержание 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: ......