User`s manual
317
CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES
12
12.6 Example of Data Communication Using the Bidirectional Protocol
12.6.2 Example of data transmission
The following shows an example of data transmission.
(1) When the send transparent code designation is set to Enable and the ASCII-
BIN conversion is set to Disable
Additional code: 10H (DLE), transparent code: 02H (STX) (1st group)
Additional code: 10H (DLE), transparent code: 03H (ETX) (2nd group)
ON
ON
400H
401H
402H
403H
404H
D3
00H , 04H
D10
D11
D12
D13
(1102H)
11H , 02H
(B) (A)
42H , 41H
(LF) (CR)
0AH , 0DH
00H , 03H
00H , 04H
(1102H)
11H , 02H
(B) (A)
42H , 41H
(LF) (CR)
0AH , 0DH
00H , 03H
(0003H) (0003H)
10H 11H05H 41H42H00H 0DH0AH02H 10H 00H03H04H B4H00H
LH
BA
(1102H)
(0003H)
LH
(0004H)
E
N
Q
D
L
E
D
L
E
C
R
L
F
BIDOUT
X50
M0
M1
06H
A
C
K
Completion device
Transmission
command
Additional code (2nd group)
Transparent code (2nd group)
Data section
Data
length
Additional code (1st group)
Transparent code (1st group)
One scan
Abnormal
completion
Normal
completion
The following diagram is for word unit
Data length (transmission data count):
Excluding additional codes
For word unit: 0004H
For byte unit: 0008H
Transmission
data
Address
Buffer memory
Sequence program
device memory
Sets CH1 to the transmission channel
Sets the transmission data in D10 to D13
Sets transmission data count to 4
Sets the normal completion flag
Sets the abnormal completion flag
Executes transmission
Transmission instruction
Sum
check
code
Programmable
controller CPU
External device side
Programmable
controller CPU side
Status display device
at completion