Specifications
2 - 2
(2) Communication using the ASCII code
The Ethernet module sends/receives 1-byte data as data equivalent to two
characters in the ASCII code.
(a) Merit
On the external device side, data can be displayed as they are.
(b) Demerit
1) The capacity of data to be sent/received is doubled in size compared with
the data in the binary code, and the load on the line is increased.
2) Numerical data must be converted between ASCII and binary codes.
3) (On the Ether module side, data will be automatically converted.)
Example: When sending/receiving "1234"
3
1
H
32
H
33
H
34
H
1
2
H
3
4
H
External device
Ethernet module
A
SCII code
Co
nv
er
sio
n
1-byte data on the PLC side are sent/received as data equivalent to two characters
"
"
1
"
"
2
"
"
3
"
"
4
(3) Relationship between each communication method and data codes
The following shows the usability of data codes in each communication method.
Communication data code setting
Data communication function
Binary code ASCII code
Automatically open UDP
port
*
1
-
Communication using MC
protocol
User open port
With procedures Communication using fixed
buffer
No procedure *
1
-
Communication using random access buffer
: Selectable -: N/A
*1 The Ethernet module performs communication using binary code data
regardless of the communication data code setting by GX Developer.