------------------------------------------------------------------------------------------------------------- ModbusTCP registers for firmware version 6-5-1-7 and later ------------------------------------------------------------------------------------------------------------- List of supported Modbus commands ------------------------------------------------------------------------------------------------------------- |---------------------------|-------|--------------------------|--------------------------------------------| | Command | Code | Register Mode | Description | | | [HEX] | | | |---------------------------|-------|--------------------------|--------------------------------------------| | Read Holding Register(s) | 0x03 | Read | Reads 16 bit register(s) | |---------------------------|-------|--------------------------|--------------------------------------------| | Read Input Register(s) | 0x04 | Read | Reads 16 bit register(s) | |---------------------------|-------|--------------------------|--------------------------------------------| | Write Single Register | 0x06 | Write | Write one 16 bit register. When security | | | | | is used must be user "SCADAUSER" in user | | | | | list set. This user must have PIN1 set | | | | | properly. | |---------------------------|-------|--------------------------|--------------------------------------------| Device information ------------------------------------------------------------------------------------------------------------- |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | Variable | Adr. | Adr. | Nr. | Mode | Type | Description | | | [HEX] | [DEC] | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | serial number | 0x00 | 0 | 1 | Read | BCD | 1st two digits of s/n | | | 0x01 | 1 | 1 | Read | BCD | 2nd two digits of s/n | | | 0x02 | 2 | 1 | Read | BCD | 3rd two digits of s/n | | | 0x03 | 3 | 1 | Read | BCD | 4th two digits of s/n | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | device type | 0x04 | 4 | 1 | Read | HEX | 0x06=MS6, 0x55=MS55 | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | selftest status | 0x05 | 5 | 1 | Read | DEC | 1=passed, 0=fail | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | internal acoustics | 0x06 | 6 | 1 | Read | DEC | 1=active, 0=inactive | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | alarm OUT | 0x07 | 7 | 1 | Read | DEC | 1=active, 0=inactive | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | memory usage | 0x08 | 8 | 1 | Read | DEC | 0 - 100 % | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | realy board state | 0x09 | 9 | 1 | Read | BIN | every bit represent one relay | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | unused | 0x0A | 10 | 6 | Read | | | | | ~ | ~ | | | | | | | 0x0F | 15 | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| Current values ------------------------------------------------------------------------------------------------------------- |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | Variable | Adr. | Adr. | Nr. | Mode | Type | Description | | | [HEX] | [DEC] | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | measured value INT | 0x10 | 16 | 16 | Read | DEC | signed 16b number (-32760 to 32760) | | | ~ | ~ | | | | (22=22; 0x8000=error) | | | 0x1F | 31 | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | measured value INT*100 | 0x20 | 32 | 16 | Read | DEC | signed 16b number (-32760 to 32760) | | | ~ | ~ | | | | (225=2.25; 0x8000=error) | | | 0x2F | 47 | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | alarm 1 state (yellow) | 0x30 | 48 | 16 | Read | DEC | 0=alarm inactive, 1=alarm active | | | ~ | ~ | | | | | | | 0x3F | 63 | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | alarm 2 state (red) | 0x40 | 64 | 16 | Read | DEC | 0=alarm inactive, 1=alarm active | | | ~ | ~ | | | | | | | 0x4F | 79 | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | measured value float | 0x50 | 80 | 32 | Read | FLT | not a standard IEE754 float, | | | ~ | ~ | | | | for more information contact | | | 0x6F | 111 | | | | manufacturer | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| Remote conditions ------------------------------------------------------------------------------------------------------------- |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | Variable | Adr. | Adr. | Nr. | Mode | Type | Description | | | [HEX] | [DEC] | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | conditions state | 0x70 | 112 | 64 | Read/Write | DEC | current condition state is returned | | | ~ | ~ | | | | to read command: (0=cond. inactive, | | ch 1 cond 1 = 0x70 | 0xAF | 175 | | | | 1=cond. active) | | ch 1 cond 2 = 0x71 | | | | | | | | ch 1 cond 3 = 0x72 | | | | | | remote conditions can be set by | | ch 1 cond 4 = 0x73 | | | | | | write command: (0=deactivate cond., | | ch 2 cond 1 = 0x74 | | | | | | 1=activate cond.) | | ch 2 cond 2 = 0x75 | | | | | | | | ch 2 cond 3 = 0x76 | | | | | | exception 2 (illegal data address) | | ch 2 cond 4 = 0x77 | | | | | | is returned to write request of | | ch 3 cond 1 = 0x78 | | | | | | condition which is not remote | | ch 3 cond 2 = 0x79 | | | | | | | | etc. | | | | | | by exception 3 (ilegal data value) | | | | | | | | is signalised write error | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| Alarm confirmation ------------------------------------------------------------------------------------------------------------- |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | Variable | Adr. | Adr. | Nr. | Mode | Type | Description | | | [HEX] | [DEC] | | | | | |---------------------------|-------|-------|-----|------------|------|-------------------------------------| | alarm confirmation | 0xB0 | 176 | 1 | Write | | write arbitrary values for alarm | | | | | | | | confirmation, register is write | | | | | | | | only | | | | | | | | error is signalised by exception | | | | | | | | 3 (ilegal data value) | |---------------------------|-------|-------|-----|------------|------|-------------------------------------|