Hitachi EH-150 Series Applications Manual page 56

Table of Contents

Advertisement

Chapter6 Communication Mode
(2) Sample program description
The s parameter and the sending data area parameter are set upon first scan.
TRNS 9 will be performed at 2nd scan (falling of R7E3), and initial settings for basic unit (unit 0) and port 1 of slot
1 are shown in the following table.
Items
Communication mode
Message composition
Modem line control
Data conversion type
Start character
Stop character
Check code calculation type
Receiving timeout interval
Data interval time
« Note »
 TRNS 9 is initialized at the 1st scan. So other settings and operations should be executed after the 2nd scan.
 Both initial setting and communication are operated by TRNS command however, do not use TRNS command
twice or more for a port. So each setting must be configured by one TRNS command with different parameter
tables.
Setup value
H0000
Free protocol mode
H13xx
Start character + data + check code + stop character
Hxx0x
RS, ER regular ON
Hxxx0
Through type
H02FF
STX (02)
H0D0A
CR/LF (0D0A)
H0003
Byte, ASCII, Sum
100
1000 ms
-
Disabled because of stop code used
6 - 14
Setup contents

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ehv seriesHx series

Table of Contents