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

Page 47: Trace diagnostics

Advertising
background image

Trusted

TM

Communication Interface T8151B

Issue 21 Apr 10

PD-T8151B

47

Each task will provide help on its commands on typing the task prefix. For example, Modbus Master
commands are shown below. To enter a command, type its prefix, a space and the command, e.g.
mbm m.

ci:?mbm

Modbus Master Diagnostic Commands:

m - Displays Master Configuration [master].

s - Displays Slave Configuration [slave].

t - Displays Message Configuration [slave].

b - Displays Broadcast Message Configuration [master].

l - Controls diagnostic logging [{all|m|s}{on|off}]

c - Displays communications logs [r][all|m|s]

cont - (!)Set the value in the control register for slave or master.

stat - (!)Set the value in the status register for slave or master.

caddr - (!)Set the address of the control register for slave or master.

saddr - (!)Set the address of the status register for slave or master.

h - Displays this help message.

ci:?

Some useful commands are listed below.

ls d

Show current event log

ls b

Show backup event log before last power loss (only from hardware build C)

pio s

Simplex peer link status (errors, connections)

pio p n

Status of peer number n (packet counts errors, IP address etc.)

dxp s

Dual per link status

fps r

Press the reset pushbutton

fps q

Displays current date and time in proper format

fps d <date> <time>

Set the date and time in the format yyyy-mm-dd hh:mm:ss

mbs s

Modbus slave packet counts and errors

mbs p

Modbus slave port setup

uart s

Serial port setup

mbm m

Modbus Master setup for each master

mbm s

Modbus Master setup for each slave

mbm t

Modbus Master setup for each message sent to/from slaves

mbm c

Modbus Master communications statistics

tcp s

Ethernet port connection status (note the connections and the ports they use)

tcp p

Ethernet port configuration

tcp ns

Ethernet general statistics: number of packets, error counts

tcp ne

Ethernet detailed network errors

tcp diag on

Open diagnostic port over Ethernet

tcp diag off

Close diagnostic port over Ethernet

These last two commands have been highlighted because they open and close the ability to connect
command line diagnostics over an Ethernet link. This will allow a site engineering workstation to
access these diagnostic commands across a network, and avoids the need to physically plug into the
system. By default, the Ethernet diagnostics are disabled for security.

5.4.3. Heirarchical prompts

Some tasks actually provide a second layer prompt; the prompt will change on typing the prefix. To
disconnect from these prompts, type a full stop/period ‘.’ In the communication interface, tasks trc and
1.15 connect to a new prompt layer.

1.15 opens access to the processor. The command line interface is then routed through to the active
processor. Similar commands route communications from the processor to a standby processor and to
communication interfaces. It is possible to connect to the processor and back again using these
commands; note that these connections should be closed with ‘.’ before disconnecting.

5.4.4. Trace diagnostics

trc provides access to trace diagnosticws (activity logging). Once in the trc:? prompt, there is no need
to type trc before each command. Most of the trace diagnostics are for R&D use only, but the c
command may be useful for capturing communications data.

Advertising