12 - 6 12 - 6
12 DEDICATED INSTRUCTIONS
Program example
A program that sends data stored in D10 to D11 using an on-demand transmission
When input/output signals of the C24 are from X/Y00 to X/Y1F
1)
2)
3)
4)
5)
7)
8)
9)
6)
10)
11)
1) On-demand transmission command is converted into pulse.
2) Set the transmission channel to CH1.
3) Set the send data count to 2 words.
4) Set the transmission data to D10 to D11.
5) Reset the normal completion flag.
6) Reset the abnormal completion flag.
7) Set the transmission ready flag.
8) On-demand transmission is executed.
9) Normal completion
10) Abnormal completion
11) Reset the transmission ready flag.
POINT
(1) The status of communication via dedicated instructions can be read by the
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.
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: ......