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.
Содержание MELSEC LJ71C24
Страница 1: ......
Страница 2: ......
Страница 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Страница 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Страница 23: ...A 21 A 21 MEMO...
Страница 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Страница 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Страница 391: ...App 62 App 62 APPENDIXES 3 Refresh parameter setting In Refresh Parameter set the following network parameters...
Страница 425: ......
Страница 426: ......
Страница 427: ......