Chapter6 Communication Mode
6 - 8
[3] Message composition / Modem line control / Data conversion type
(1) Message composition
Specify message format as below. If message composition is registered, EH-SIO will handle sending / receiving
data automatically according to the setting.
Table 6.2 Registration message composition list
Data + Check code + Stop character *
2
Data + Stop character + Check code
Start character + Data + Stop character
Start character + Data + Check code *
1
Start character + Data + Check code *
1
+ Stop character
Start character + Data + Stop character + Check code *
2
*1 Check code is calculated for a data part.
*2 Check code is calculated for a data part and a stop character part.
When a start character is not specified, EH-SIO will start receiving by any data. When a stop character is not
specified, EH-SIO will stop receiving by interval time.
Reference : Message composition
If message composition is registered, only data part is handled by user program. The message composition of
start character (STX) + data + check code + stop character (CR) is explained with the example below.
Data sending:
Data receiving:
As shown in the above figure, the other part than data is handled by EH-SIO.
Automatic generation of check code from data part
Data and check code are checked automatically.
Received data by CPU module