12 - 29 12 - 29
12 DEDICATED INSTRUCTIONS
(3) Whether a BIDIN instruction was completed normally can be checked by the
completion device ((D2)) or status display device at completion ((D2)+1).
(a) Completion device: Turns on at the END processing of the scan where the
BIDIN instruction is completed normally, and turns off at
the next END processing.
(b) Status display device at completion: Does not change when left off.
[Operation during execution of a BIDIN instruction]
Execution of BIDIN instruction
Completion of reception by
BIDIN instruction
ON
OFF
OFF
Sequence
program
BIDIN
instruction
Completion device
Status display device
at completion
END
processing
END
processing
One scan
END
processing
END
processing
Error
(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
H
or less: MELSEC-L CPU Module User's Manual (Hardware Design,
Maintenance and Inspection)
7000
H
or later: Section 15.2
Program example
The following example shows a program that receives any data using the bidirectional
protocol and stores that data in D10 or later.
The input/output signals of the C24 are from X/Y00 to X/Y1F:
Summary of Contents for MELSEC LJ71C24
Page 1: ......
Page 2: ......
Page 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Page 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Page 23: ...A 21 A 21 MEMO...
Page 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Page 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Page 425: ......
Page 426: ......
Page 427: ......