Chapter6 Communication Mode
6 - 14
F
re
e
P
ro
to
col
(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
Setup value
Setup contents
Communication mode
H0000
Free protocol mode
Message composition
H13xx
Start cha data + check code + stop character
Modem line control
Hxx0x
RS, ER regular ON
Data conversion type
Hxxx0
Through type
Start character
H02FF
STX (02)
Stop character
H0D0A
CR/LF (0D0A)
Check code calculation type
H0003
Byte, ASCII, Sum
Receiving timeout interval
100
1000 ms
Data interval time
-
Disabled because of stop code used
« 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.
Summary of Contents for EH-150 Series
Page 2: ......
Page 10: ...M E M O ...
Page 30: ...Chapter 4 Installation 4 10 M E M O ...
Page 156: ...Chapter 7 System setup 7 12 M E M O ...
Page 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...