Hitachi EH-150 Series Applications Manual page 52

Table of Contents

Advertisement

Chapter6 Communication Mode
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.
CPU module
H3031
H1234
H4142
HABCD
 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
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.
CPU module
H3031
H020D
H4142
H1002
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).
EH-SIO
33 30 33 31 31 32 33 34
34 31 34 32 41 42 43 44
Figure 6.10 Example of Binary  ASCII conversion type
EH-SIO
Figure 6.11 Example of Binary Through Type
6 - 10
External device
ASCII conversion type).
External device
30 31 02 0D
41 42 10 10 02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ehv seriesHx series

Table of Contents