ABB TPU2000 Technical Manual page 268

Modbus/modbus plus/ modbus tcp/ip automation
Table of Contents

Advertisement

TPU2000/2000R Modbus/Modbus Plus/ Modbus TCP/IP Automation Guide
The valid commands for the TPU2000 relay are listed below. The words transmit and receive in the command are with
respect to the relay. The commands are spelt out in a 10 byte RS-232 protocol or a 3 byte INCOM protocol.
It will be easy to understand the commands in a 33 bit INCOM context and then translate the protocol to a 10 byte RS-232
protocol. The protocol messages are of two types - command and data.
S
Bit
1
Bit
These INCOM message types can be represented in a 10 byte RS-232 protocol as follows:
STX C/D
Byte
The address bytes, Addr Lo, Addr Mid, and Addr Hi, are a 3 digit hex address. The checksum is 256 minus the sum of the
ASCII characters in bytes 1 to 8. CS Lo is the low byte and CS Hi is the high byte of the checksum.
Example (3 4 1 command with a unit address of 001)
STX
C/D
Inst
Cmd
SCmd
Addr Lo
Addr Mid
Addr Hi
CS Lo
CS Hi
Checksum = 256 - (STX + C/D + Inst + Cmd + SCmd + Addr Lo + Addr Mid + Addr Hi)
256 - (2 + 1 + 3 + 4 + 1 + 1 + 0 + 0) = F4
STX C/D
1
Byte
Command Message (33 bit INCOM)
S C/D Inst
2
3
4 to 7 8 to 11
Figure 3 - Command Message (INCOM)
Data Message (33 bit INCOM)
S
S
C/D
Data 1
1
2
3
4 to 11
Figure 4 - Data Message (INCOM)
Command Message (10 byte RS-232)
Inst
Cmd SCmd Addr Lo Addr Mid Addr Hi CS Lo CS Hi
1
2
3
4
Figure 5 - Command Message (10 byte RS 232)
=
hex 02 = use 2 -->Start of transmission
=
hex 31 = ascii 1 -->Command type of message
=
hex 33 = ascii 3 -->Instruction byte
=
hex 34 = ascii 4 -->Command byte
=
hex 31 = ascii 1 -->Subcommand byte
=
hex 31 = ascii 1 -->Unit address low byte
=
hex 30 = ascii 0 -->Unit address mid byte
=
hex 30 = ascii 0 -->Unit address high byte
=
hex 34 = ascii 4 -->Checksum low byte
=
hex 46 = ascii F -->Checksum high byte
Data Message (10 byte RS-232)
D1 Lo D1 Hi D2 Lo D2 Hi D3 Lo D3 Hi
2
3
4
Figure 6 - Data Message (10 byte RS 232)
Cmd
Subcmd
Address
12 to 15
16 to 27
Data 2
12 to 19
5
6
7
5
6
7
BCH
28 to 32
Data 3
BCH
20 to 27
28 to 32
8
9
10
CS Lo CS Hi
8
9
10
S
33
S
33
258

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tpu2000r

Table of Contents