User`s manual
332
13.6.1 Example of data reception
The following shows an example of data reception when ASCII-BIN conversion is enabled.
When the receive transparent code designation is set to Enable and ASCII-BIN conversion is set to Enable, Additional
code: 10H (DLE), transparent code: 04H (E0T)
When the receive transparent code designation is set to Enable and ASCII-BIN conversion is set to Enable, the codes of
receivable arbitrary data sections and the codes of receive data that is stored in the reception area of the buffer memory are
as follows:
Item Receivable codes Codes stored in the reception area
Sections for which the
reception transparent code
designation is enabled
Additional code 01H to FFH (Delete)
Transparent code
30H to 39H
41H to 46H
0H to 9H
AH to FH
Data length, data section
6DH
LH
04H
1
31H
2
32H
3
33H 34H 35H05H
4
D
43H
C
BIDIN
X83
M0
M1
ON
ON
44H30H
(0004H)
41H 42H
06H
LH
0
40
0
34H 30H 30H
5BA0
30H
0
30H45H 46H
FE0
44H
D
30H 41H
A
E
N
Q
A
C
K
00H , 04H
34H , 12H
BCH , 5AH
0AH , 0DH
F0H , DEH
600H
00H , 04H
601H
34H , 12H
602H
BCH , 5AH
603H
604H
0AH , 0DH
D3
D10
D11
D12
D13
F0H , DEH
Reception data read
request
This diagram is for when word
units are used.
Buffer memory Sequence program
device memory
1)
2)
3)
Data length
Data section
Data sectionData length
Two bytes of reception data is read to the programmable
controller CPU as one-byte data (excluding additional code).
Set to even byte except for additional code
Sets CH1 to the reception channel
Sets the normal completion flag
Sets the abnormal completion flag
Executes reception
Reception data read request
Sets the allowable number of receive data to 6
Completion device
Status display device
at completion
One scan
Abnormal
completion
Normal
completion
Programmable
controller CPU
External device side
Programmable
controller CPU side
Data length (Number of data received): Excluding additional code
Number of bytes after ASCII-BIN conversion: ((8)/2=4)
when word units are used
(8) when byte units are used
Sum
check
code
*