Download Q Corresponding Ethernet Interface Module User`s Manual (Basic)

Transcript
10 DEDICATED INSTRUCTIONS
MELSEC-Q
Functions
(1)
This instruction sends the data designated by (S3) to the external device of the
connection specified by (S1) for the module designated by Un.
Programmable controller CPU
Ethernet module
Fixed buffer data area
(S3)
Send data length
No.1
•
•
Send data
BUFSND
•
•
(2)
No.n
•
•
•
•
Send data
No.16
External device
Whether or not the BUFSND instruction has been completed can be checked by
the complete bit devices (D1) + 0 and (D1) + 1.
(a)
Complete bit device (D1) + 0
Turns on at the END processing of the scan where the BUFSND instruction
is completed, and turns off at the next END processing.
(b)
Complete bit device (D1) + 1
Turns on and off depending on the completion status of the BUFSND
instruction.
• Normal completion
: Stays off and does not change.
• Abnormal completion : Turns on at the END processing of the scan
where the BUFSND instruction is completed, and
turns off at the next END processing.
[Operation when the BUFSND instruction is being executed]
Sequence program
BUFSND instruction
Scan
END
processing
Scan
END
processing
Scan
END
processing
Instruction execution
Complete device
Abnormal completion
Complete device + 1
Send data
(3)
10 - 9
The ZP.BUFSND instruction is executed when the send instruction switches from
off to on.
10 - 9