146 • HRVS-DN Communication (ModBus Protocol)
_____________________________________________________________________________________________
16.11 Discrete Hardwired Inputs (1x References)
The HRVS-DN incorporates 16 Discrete Inputs, (bit parameters), from which only 6 are operative. The other
10 are reserved and were incorporated to enable use of word (16 bits) type parameters. Input # is "1 based".
The actual address is 1 lower than input #. For example input #1 is addressed as 0 (10000). The inputs have
the following 1x references:
Input # Address HRVS-DN use Comment
1 0 Stop Open Input (Input reads" 0") to Stop. (Terminal # 4)
Close Input (Input reads "1") to enable Start / Run.
2 1 Soft Stop Open Input (Input reads"0") to Soft Stop. (Terminal # 5)
Close Input (Input reads"1") to enable Start / Run.
3 2 Start Close Input (Input reads "1") to Start. (Terminal # 6)
4 3 Input # 1 Close Input (Input reads "1") to turn On. (Terminal # 7)
Open Input (Input reads "0") to turn Off.
Programmable to: 0- Test1
1- Slow Speed
2- Reset
5 4 Input # 2 Close Input (Input reads "1") to turn On. (Terminal # 8)
Open Input (Input reads "0") to turn Off.
Programmable to: 0- Dual Adjust
1- S. Spd Rvrs
2- Reset
6 5 Reserved
7 6 Ext. Fault 1 Close to Trip (Input reads" 1") (Terminal # 19)
8 7 Ext. Fault 2 Close to Trip (Input reads" 1") (Terminal # 20)
9..16 8..15 Reserved
Example 9:
To read all discrete inputs of HRVS-DN # 12, the host computer sends the following Query frame:
byte 1: Serial Link No. ($0C) (12)
byte 2: Function ($02)
byte 3: Starting Address High ($00)
byte 4: Starting Address Low ($00)
byte 5: No. of Points High ($00)
byte 6: No. of points Low ($08)
byte 7: CRC_Low ($XX)
byte 8: CRC_High ($XX)
The HRVS-DN response, when only Stop and Soft Stop terminals (Inputs 1&2) are connected:
byte 1: Serial Link No. ($0C) (12)
byte 2: Function ($02)
byte 3: Byte Count ($01)
byte 4: Data (Inputs 7..0) ($03)
byte 5: CRC_Low ($XX)
byte 6: CRC_High ($XX)
16.12 Diagnostics
Modbus Function 08 , as implemented in the HRVS-DN supports only Subfunction $0000. It provides for
"loopback" (Return Query Data) feature, for checking the Communication Serial Link between the master and
the HRVS-DN.
To request HRVS-DN # 1 to return Query data, the master should send following Query frame:
byte 1: Serial Link No. ($01)
byte 2: Function ($08)