Error
Program example
12 - 25
[Operation during execution of a BIDOUT instruction]
Sequence
program
BIDOUT instruction
Completion device
Status display device
at completion
(1) When a dedicated instruction is completed, 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, Error flag (SM0) turns on and the error code is stored
in SD0.
Refer to the following according to the error code, and check and correct the error.
<Error code>
4FFF
or less: MELSEC-L CPU Module User's Manual (Hardware Design,
H
Maintenance and Inspection)
7000
or later: Section 15.2
H
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 C24 are from X/Y00 to X/Y1F:
END
END
processing
processing
Execution of BIDOUT
instruction
OFF
OFF
12 DEDICATED INSTRUCTIONS
END
END
processing
processing
Completion of transmission by
a BIDOUT
ON
Abnormal
ON
completion
Normal
completion
One scan
12 - 25