Trusted, Communication interface t8151b – Rockwell Automation T8xxx Trusted Communications Interface User Manual

Page 48

Advertising
background image

Trusted

TM

Communication Interface T8151B

Issue 21 Apr 10

PD-T8151B

48

Communications data may be filtered, but the filtering is based on internal numbers for ports and
sockets, not any obvious pattern. The first step therefore is to capture all data and identify the socket
and port numbers for the data of interest.

Type ‘c’ to check that filtering is turned off. The three filters should show [off].

trc:?c

Comms logging disabled

Socket filter : [off]

Peer port filter : [off]

Peer IP address filter: [off]

Comms. log empty.

trc:?

Type ‘c 1’ to collect one buffer (128 packets) of communications.

Type ‘c’ to check on the state of the buffer. Repeat this until the buffer has reached 128 packets.

trc:?c

Comms logging enabled - single shot

Socket filter : [off]

Peer port filter : [off]

Peer IP address filter: [off]

128 packets recorded (full)

Type ‘c off’ to stop collection.

Type ‘c d’ to display the buffer. An example segment is shown here with an OPC server on port 2446
and a Modbus Master on serial port 1. For this example, the modbus master will be examined. This is
socket 1, IP 0.0.0.0 and port 0.

12:16:52.063 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:16:52.140 Rx Socket:6 IP:192.200.81.140 Port:2446 Length:20

01 11 F0 00 00 0B 0B 73 6F 65 6C 6F 67 2E 63 62

66 00 2B 50

12:16:52.140 Tx Socket:6 IP:192.200.81.140 Port:2446 Length:8

01 11 F0 00 00 0B 8F 0E

12:16:52.155 Rx Socket:6 IP:192.200.81.140 Port:2446 Length:13

01 11 F0 02 00 04 04 00 00 00 00 27 D1

12:16:52.156 Tx Socket:6 IP:192.200.81.140 Port:2446 Length:8

01 11 F0 02 00 04 6E CA

12:16:52.171 Rx Socket:6 IP:192.200.81.140 Port:2446 Length:8

01 12 00 00 00 50 B9 F5

To filter for socket number 1, type ‘c sock 1’. The log can also filter for port and IP (e.g. ‘c ip 0.0.0.0’).
Choose filter settings that isolate the desired communications.

Then start the collection again, either a single fill ‘c 1’ or fill continuously until stopped ‘c on’. Type ‘c’ to
check the size of the buffer.

When the buffer is full or an event has occurred that needs capturing, type ‘c off’. Type ‘c d’ to display
the buffer, which will now only show the filtered communications.

c d

WED 2007-11-21

12:26:34.717 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:26:35.743 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:26:36.768 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:26:37.788 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:26:38.813 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:26:39.840 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:26:40.864 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:26:41.886 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

12:26:42.909 Tx Socket:1 IP:0.0.0.0 Port:0 Length:8

01 08 00 00 55 55 1F 64

------- End of Log -------

Advertising