User`s manual

295
CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES
11
11.5 Transmission Program
(2) Sequence program example when setting is not done with GX Configurator-SC
The following is the method of data transmission without performing the transmission frame No. designation
using the GX Configurator-SC.
For further details on the PRR instruction, see Page 369, CHAPTER 17.
(0004H)D0
(3412H)D1
(AB56H)D2
(0004H)
(3412H)
(AB56H)
(03F2H)D5
(03F3H)D6
(8001H)D7
(8000H)D8
(041BH)D9
(0000H)D10
(0001H)D11
(0000H)D12
(0000H)D13
(0001H)D14
(0005H)D15
(03F2H)
(03F3H)
(8001H)
(8000H)
(041BH)
(0000H)
(0001H)
(0000H)
(0001H)
(0005H)
Sets arbitrary transmission data.
Sets the transmission user frames in D5 to D9.
Sets normal completion flag.
Sets abnormal completion flag.
Sets output frame No. in the buffer memory.
Sets the number of transmitted data.
Sets CH1 to the transmission channel.
Sets the output head pointer.
Sets the output counter.
Sets to no CR/LF output.
Executes user frame transmission.
Clears the device in which transmission results
are stored.
Send data count
Normal end
Send data
Transmission frame No.
Interface No.
Transmission result
CR/LF output
Output head pointer
Output counter
Send data count
Abnormal end
Send data
Transmission frame No.
Interface No.
Transmission result (other than 0000H)
CR/LF output
Output head pointer
Output counter