10 - 17 10 - 17
MELSEC-Q
10 DEDICATED INSTRUCTIONS
[Operation during execution of a BIDOUT instruction]
BIDOUT instruction
Execution of BIDOUT
instruction
Completion of transmission by
a BIDOUT
ON
ON
OFF
OFF
END
processing
END
processing
END
processing
END
processing
Sequence
program
Completion device
Status display device
at completion
Abnormal
completion
Normal
completion
One scan
Error
(1) When a dedicated instruction is completed abnormally, the abnormal completion
signal (D)+1, turns on and the error code is stored in the transmission result (S1)+1.
In case of operation errors, the error flag (SM0) turns on and the error code is
stored in SD0.
See one of the following manuals according to the error code, and check and
correct the error.
<Error code>
4FFF
H
or less : QCPU User's Manual
(Hardware Design, Maintenance and Inspection)
7000
H
or more: Section 11.2
Program example
The following example shows a program that sends any data stored in D11 to D15
using the bidirectional protocol.
When the input/output signals of the Q series C24 are from X/Y00 to X/Y1F:
Transmission command is converted to
pulse.
Transmission data is stored.
Designate the number of the interface
(CH ) that will send the data.
Clear the transmission result storage device
to 0.
Designate the transmission data count in
word units. (Designate K10 when the unit is
bytes.)
The transmission data stored in the
designated device is sent.
After the BIDOUT instruction is executed,
the user designated transmission complete
signal (M1) turns ON for one scan.
Storing the transmission data and writing the
transmission data count in the buffer
memory, and issuing a transmission request
to Q series C24 are all executed by the
programmable controller CPU.
The completion flag is reset by the external
command.
Summary of Contents for MELSEC QJ71C24
Page 1: ......
Page 2: ......
Page 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Page 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Page 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Page 441: ......
Page 442: ......