Specifications

App - 65
Appendix 5.4 BUFSND Instruction
This instruction sends data to an external device through thefixed buffer communication.
Applicable device
Internal device
(System, user)
MELSECNET/H,
MELSECNET/10
Direct J
\
Constant
Setting
data
Bit Word
File
register
Bit Word
Special module
U
\G
Index
register
Zn
K,H $
Others
(S1)
(S2)
(S3)
(D1)
"Un"ZP.BUFSNDBUFSND (D1)(S2)(S1) (S3)
[Instruction code]
[Executing condition]
Command
Setting data
Setting
data
Description Set by (*1) Data type
"Un"
Start input/output signal of the Ethernet module
(00 to FE: Two higher digits of the 3-digit input/output signal)
Binary 16 bits
(S1) Connection number (1 to 16)
User
Binary 16 bits
(S2) Head number of the device that stores control data System Binary 16 bits
(S3) Head number of the device that stores send data User Binary 16 bits
(D1)
Head number of the host station bit device that turns on for one scan upon
completion of instruction.
(D1) + 1 also turns on if the instruction execution ends abnormally.
System Bit
The file registers for each of the local device and the program cannot be used as devices to be
used in the setting data.
Control data
Device Item Setting data Setting range Set by (*1)
(S2)+0 System area
(S2)+1
Complete
status
Stores the status at completion.
0000
H : Normal completion
Other than 0000
H : Abnormal completion (error code) (*2)
System
Send data
Device Item Setting data Setting range Set by (*1)
Designates the send data length in word units. (Designate the data length with
number of words or bytes by following the procedures of fixed buffer communication.)
There is a procedure (for communication using binary code) : Number of words 1 to 1017
There is a procedure (for communication using ASCII code) : Number of words 1 to 508
(S3)+0
Send data
length
Non procedure (for communication using binary code) : Number of bytes 1 to 2046
User
(S3)+1
to
(S3)+n
Send data
Designate the send data. User
*1 The "Set by" column indicates the following:
User : Data set by the user before executing a dedicated instruction.
System : The PLC CPU stores the execution results of a dedicated instruction.
*2 For details on the error codes at abnormal completion, refer to Q Corresponding Ethernet Interface Module User's Manual (Basic).