EasyManua.ls Logo

Hitachi EH-150 Series - Page 52

Hitachi EH-150 Series
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter6 Communication Mode
6 - 10
Fre
e Protocol
Binary ASCII conversion type :
The data stored in sending data area are changed into an ASCII code and transmitted, and the received data are
changed into binary data and stored in receiving data area.
Figure 6.10 Example of Binary ASCII conversion type
The A-F CPU module data are changed into capital letter of ASCII code.
When there is an ASCII code outside 0-9 / A-F in received message, the ASCII code error will be detected.
« Note »
EH-SIO is not able to send / receive odd number of byte data (in Binary ASCII conversion type).
Binary through type :
The binary data stored in sending data area are transmitted, and the received binary data are stored in the
receiving data area. This conversion type uses DLE (0x10) for discernment of a control code (a start character
and stop character). Upon transmission, DLE is added in front of control code and 0x10 data and transmitted.
Then, upon data receiving, DLE is removed from received data and passed to CPU module.
Figure 6.11 Example of Binary Through Type
Ex.) Start character STX(0x02), Stop character CR(0x0D), when data part is 40302010
The data are actually transmitted as 10024030201010100D in a circuit.
In addition, when including a check code in message composition, a check code is calculated except for
discernment DLE.
« Note »
EH-SIO is not able to send / receive odd number of byte data (in Binary through type).
CPU module
H3031
H1234
EH-SIO
33 30 33 31 31 32 33 34
External device
34 31 34 32 41 42 43 44
H4142
HABCD
Binary
ASCII
CPU module
H3031
H020D
EH-SIO
30 31 02 0D
41 42 10 10 02
H4142
H1002
Binary
Binary
External device

Table of Contents

Related product manuals