User`s manual
397
CHAPTER 17 DEDICATED INSTRUCTIONS
17
17.6 G(P).PRR
17.6.5 Program example
A program that sends arbitrary data and the first to fifth user frames registered in the transmission frame setting
When the input/output signals of the Q series C24 are X/Y80 to X/Y9F
(0005H)
(0001H)
(0000H)
(0001H)
(0000H)
(041BH)
(8000H)
(8001H)
(03F3H)
(03F2H)
(AB56H)
(3412H)
(0004H)
(0005H)
(0001H)
(0000H)
(0000H)
(0001H)
(0000H)
(041BH)
(8000H)
(8001H)
(03F3H)
(03F2H)
(AB56H)
(3412H)
(0004H)
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D2
D1
D0
Send data count
Normal end
Send data
Interface No.
Transmission result
CR/LF output
Output head pointer
Output counter
Send data count
Abnormal end
Send data
Interface No.
Transmission result
CR/LF output
Output head pointer
Output counter
Transmission instruction
Sets arbitrary transmission data.
Sets the transmission user frames
in D5 to D9.
Sets normal completion flag.
Sets abnormal completion flag.
Sets the number of transmitted data.
Sets CH1 to the transmission channel.
Clears the device in which transmission
results are stored.
Sets the output head pointer.
Sets the output counter.
Sets to no CR/LF output.
Executes user frame transmission.
(other than 0000H)
Transmission frame No.
Transmission frame No.
Sets transmission frame No. in the buffer
memory.