Mitsubishi QJ71C24/-R2 User Manual page 234

Melsec system q programmable logic controllers, serial communication modules gx configurator-sc
Hide thumbs Also See for QJ71C24/-R2:
Table of Contents

Advertisement

9 DEDICATED INSTRUCTIONS
Error
Program example
9 - 4
(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 the SD0.
See one of the following manuals according to the error code, and check and
correct the error.
<Error code>
4FFF
or less : QCPU(Q Mode) User's Manual
H
(Hardware Design, Maintenance and Inspection)
7000
or more: Section 10.2 of the User's Manual (Basic)
H
A program that sends data stored in D10 to D11 using an on-demand transmission
When input/output signals of the Q series C24 are from X/Y00 to X/Y1F
POINT
(1) The status of communication via dedicated instructions can be read by an
SPBUSY instruction.
(2) Designate the storage capacity of transmission data (stored in D10 to D11 in
the program example above) and data length (stored in D2 in the program
example above) within the range of the buffer memory the user has assigned
for an on-demand function.
MELSEC-Q
On-demand transmission command pulse
Set the transmission channel to CH1.
Set the send data count to 2 words.
Set the transmission data to D10 to D11.
Reset the normal completion flag.
Reset the abnormal completion flag.
Set the transmission ready flag.
On-demand transmission execution
Normal completion
Abnormal completion
Reset the transmission ready flag.
9 - 4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24nSh-080007Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2 ... Show all

Table of Contents