12 - 22 12 - 22
12 DEDICATED INSTRUCTIONS
Program example
The following example shows a program that stores data received via the
nonprocedural protocol in D10 and later.
When the input/output signals of the C24 are from X/Y00 to X/Y1F:
1 When the completion device is off, execute the INPUT instruction. If the INPUT
instruction is executed when the completion device is on, data may not be
received properly.
1) Specify the receive channel.
2) Clear the reception result and receive data count storage device to 0.
3) Specify the allowable receive data count.
4) Store the receive data in the specified device.
5) After completed, the receive data within the allowable receive data count
(user-specified) is read from the receive data storage area in the buffer
memory.
Once the INPUT instruction is executed, the read completion signal (M0)
specified by user turns ON for one scan.
6) The receive data of the receive data count is transferred to D110.
7) The abnormal completion flag is reset by an external command.
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: ......