GE PACSystems RX3i Command Line Interface Manual

Profinet controller
Hide thumbs Also See for PACSystems RX3i:

Advertisement

GE
Intelligent Platforms
Programmable Control Products
PACSystems* RX3i
PROFINET Controller
Command Line Interface Manual, GFK-2572
July 2011

Advertisement

Table of Contents
loading

Summary of Contents for GE PACSystems RX3i

  • Page 1 Intelligent Platforms Programmable Control Products PACSystems* RX3i PROFINET Controller Command Line Interface Manual, GFK-2572 July 2011...
  • Page 2 Features may be described herein which are not present in all hardware and software systems. GE Intelligent Platforms assumes no obligation of notice to holders of this document with respect to changes subsequently made.
  • Page 3 Contact Information If you purchased this product through an Authorized Channel Partner, please contact the seller directly. General Contact Information Online technical support and http://support.ge-ip.com GlobalCare Additional information http://www.ge-ip.com/ Solution Provider solutionprovider.ip@ge.com Technical Support If you have technical problems that cannot be resolved with the information in this guide, please contact us by telephone or email, or on the web at http://support.ge-ip.com...
  • Page 5: Table Of Contents

    Contents Introduction ........................1-1 Accessing the Command Line Interface ................1-2 Initial Prompt ........................1-3 Viewing the Commands ....................1-4 Access Levels for the Command Line Interface ............... 1-5 Monitor-Level Commands .................... 2-1 alias ........................... 2-2 cls ............................2-3 help ........................... 2-4 history ..........................
  • Page 6 Contents Modify-Level Commands ....................3-1 arp ............................. 3-3 blinkId ..........................3-4 clear arp ..........................3-5 clear counters ........................3-6 clear counters profinet ...................... 3-8 clear log ..........................3-9 clear statLED ........................3-10 default ..........................3-11 loginCfg ........................... 3-12 logout ..........................3-13 monport ...........................
  • Page 7: Introduction

    Chapter Introduction A computer can monitor a PROFINET Controller module and check its operation on the network by accessing the module’s built-in Command Line Interface. If a problem occurs, the Command Line Interface can be used to help pinpoint the cause. The Command Line Interface operates in background mode on the PROFINET Controller.
  • Page 8: Accessing The Command Line Interface

    Accessing the Command Line Interface A computer can access the PROFINET Controller’s Command Line Interface either through the module’s built-in Micro USB port or through the PROFINET network, using telnet with a terminal emulation application such as HyperTerminal. When connecting through the Micro USB port, a driver compatible with the PROFINET Controller’s Micro USB port must first be installed as described in the PROFINET Controller Manual, GFK-2571.
  • Page 9: Initial Prompt

    Initial Prompt After connecting a computer to the Command Line Interface, the following prompt appears: device-name> The device-name is the PROFINET Device Name of the module. If the device has not been named yet, the device name is an empty character string “”. The >...
  • Page 10: Viewing The Commands

    Viewing the Commands To view the commands that are available in the current mode, at the Command Line prompt enter either: to see the available global and non-global commands. help to see only the non-global commands. to see only the global commands help global Completing a Partially-Typed Command Enter ? or press the Tab key to automatically complete a partially-typed command or parameter.
  • Page 11: Access Levels For The Command Line Interface

    Access Levels for the Command Line Interface The Command Line Interface provides two access levels of commands:  Monitor access level commands – these are commands that do not affect the operation of the module, or that are read-only. Monitor level commands are always accessible. The Command Line Interface always starts (or restarts after inactivity) at Monitor access level.
  • Page 12 Command Summary The tables in this section summarize the PROFINET Controller Command Line Interface commands. In addition, they indicate the access levels and modes where various commands are valid. A command that can set a parameter and that has an equivalent show command to display the current value(s) associated with that parameter displays the same information as the show command form if the command is entered without any parameters.
  • Page 13 Monitor Level Commands Command Description Global. Used to assign a different name to a string. For example entering Alias [replacement text] alias sh show would set up the alias sh for show that may be used in [command name]] subsequent commands, for example sh time for the show time command. Alias definitions are not saved between sessions.
  • Page 14 Command Description Global. Displays details on the most recent software exceptions. show debug exception Global. Display saved fatal error debug data stored non-volatile memory. show debug fatalInfo Global. Shows both ICMP and IGMP status and counters show icmp Global. Shows IP status and counters. show ip Global.
  • Page 15 Command Description Global. Displays PROFINET status and counters for configured show profinet [alarms <device> | all <device> | PROFINET devices. The optional parameters allow displaying detailed ars <device> | counters information for the specified remote device. <device> | iocrs <device>] Global.
  • Page 16 Modify Level Commands The following commands are additionally available in Modify level. Command Description Non-Global. clear clears ARP cache. arp [add |clear ] add adds a static entry in ARP table. Non-Global. Begin/End blinking Identification LED pattern. blinkId with no blinkId [begin | end] parameters displays whether the pattern is Blinking or Stopped.
  • Page 17: Monitor-Level Commands

    Chapter Monitor-Level Commands This chapter describes commands that are available with Monitor-level access to the Command Line Interface. The same commands are also available at the Modify level. Additional commands, restricted to Modify-level access, are defined in chapter 3. Monitor Access Level Commands ...
  • Page 18: Alias

    alias alias Global Command This command provides a mechanism for assigning a name to a string, which allows replacement of a word or string with another string. This is useful for abbreviating a command, or for adding default arguments to a regularly used command. For example, the command alias sh show sets up the alias sh for show, which may be used to issue subsequent commands, for example sh time for the show time command.
  • Page 19: Cls

    Global Command This command clears the current screen so that only a single command prompt appears at the top of screen. cls Command Format Example Screen Display device-name> alias sh show device-name> alias shcfg "show config" device-name> alias 'sho ip' 'show config ip' device-name>...
  • Page 20: Help

    help help Global Command This command displays commands that are available at the current access level. at the command prompt displays all commands available at the current access help level/mode (both global and non-global). at the command prompt displays all non-global commands available at the current access level/mode.
  • Page 21 help Displaying Non-Global Commands for Monitor Access Level Screen Display device-name> ? login - Enter Higher Access Level shConfig - Set/Show Shell settings Displaying Global Commands for Monitor Access Level Screen Display device-name> help global alias - Text substitution - Clear the screen help - Show available commands history...
  • Page 22 help Displaying Editing Keystrokes Screen Display device-name> help edit Available editing keystrokes Delete current character.....Ctrl-d Delete text up to cursor.....Ctrl-u Delete from cursor to end of line....Ctrl-k Move to beginning of line....Ctrl-a Move to end of line......Ctrl-e Get prior command from history....Ctrl-p Get next command from history....Ctrl-n Move cursor left......Ctrl-b Move cursor right......Ctrl-f...
  • Page 23 help Displaying Parameters for a Command This example shows the use of ? to display the parameters for the Show command.. Screen Display device-name> show ? - Show ARP table config - Show Configuration items icmp - Show ICMP status and/or counters - Show IP status and/or counters - Show local log table - Show active and non-volatile MAC addresses...
  • Page 24 help Automatic Completion of a Command This example uses ? for automatic completion. In this case, sh is ambiguous so the Command Line Interface shows the possible matching commands shConfig and show. Screen Display device-name> sh? shConfig show device-name> This example also uses ? for automatic completion. In this case, con is unambiguous and the Command Line Interface completes the command by displaying show config.
  • Page 25: History

    history history Global Command This command displays command history with a history number for each previously-entered command. The clear parameter clears the command history. executes a command associated with the history number in the command “!<historyNumber>” history. shows previous command in the command history. up arrow (↑) or <ctrl>p shows next command in command history.
  • Page 26 history Executing a Command from the Command History This example uses the ! operator to execute a specific command in the command history. In this case, the help command is executed. Screen Display device-name> alias sh show device-name> help login - Enter higher access level shConfig - Set/Show Shell settings...
  • Page 27 history Using the Up Arrow to Select a Command from History In this example, the last line is the result of four up arrows (↑) which displays the command at history number 3. Screen Display device-name> history 1. alias sh show 2.
  • Page 28: Log

    Global Command This command displays all the Local Log table entries. This command is equivalent to show log. displays a summary of log entries displays all log entries in detail log details displays the log table entry identified by the parameter log details <logEntryNumber>...
  • Page 29 Displaying the Local Log Table with Details > log details device-name IC695PNC001 PROFINET Controller: Ver. 1.00 (44A1) Log displayed: 06-JUL-2000 19:03:00.8000 Log last cleared: 01-JAN-2000 00:00:00.5000 Number of Entries Overflowed: Date Time Description --- --------- ------------- --- -------------------------------------- 001 01-JAN-00 00:00:00.5000 000 Module restart – Reason: Power Cycle Device Name Associated with Location ------------------------------------------------------------------ Fault Location...
  • Page 30 Displaying the Local Log Details for a Specific Log Entry This example displays the details for log entry number 6, which is listed in the sample Local Log table on page 2-12. > log details 6 device-name Date Time Description --- -------- --------------- ----------------------------------------- 006 06-JUL-00 18:44:00.0000 004 Loss of I/O Module Device Name Associated with Location...
  • Page 31 Fault Location Fields for Faults in Local Log Table When displaying the detailed view of a fault on the PROFINET Controller, the Fault Location field contents vary, depending on the exact type and location of the fault being logged. The table below shows the possible fault locations along with the expected display formats.
  • Page 32: Login

    login login Non-Global Command This command can be used to change the access level. The Command Line Interface prompts for a user name and password. Login name (cannot be changed): admin Default password: system The password can be changed from the Modify level. login Command Format login Example...
  • Page 33: Node

    1.00 (05D1) Boot FW: 1.00 (01D1) FPGA: 0.33 (46A1) BIOS: PNC1D001 (23-JUL-2010) PNIO Stack: 2.1.6.1 (c) 2008-2011 GE Intelligent Platforms, Inc. All rights reserved. <<< Node ID >>> Device Name: device-name IP Address: 10.10.0.134 Subnet Mask: 255.255.255.0 Default Gateway: 10.10.0.1 device-name>...
  • Page 34: Shconfig

    shConfig shConfig Global Command This command sets and displays the Command Line Interface terminal settings for the current session. Settings include configuration, such as number of rows/columns to display and whether to wrap the output at screen width. The default row/columns are 24/80 (equivalent to HyperTerminal defaults).
  • Page 35 shConfig Examples Displaying CLI Terminal Settings Screen Display device-name> shConfig Terminal Type: ANSI Screen width : 80 Screen height: 24 Hard wrap : Off Paging Retries Changing the Display Dimensions Screen Display > shConfig rows 20 columns 70 device-name Terminal Type: ANSI Screen width : 70 Screen height: 20 Hard wrap...
  • Page 36 shConfig Disabling the Paging Feature Screen Display > shConfig no paging device-name Terminal Type: ANSI Screen width : 80 Screen height: 24 Hard wrap : On Paging Retries Enabling the Paging Feature Screen Display > shConfig paging device-name Terminal Type: ANSI Screen width : 80 Screen height: 24 Hard wrap...
  • Page 37 shConfig Response to an Invalid Command Sequence with Retries Enabled This example shows the response to an invalid command sequence when retries is enabled. The illegal command line is re-displayed and the cursor points to the location of the error. Screen Display device-name>...
  • Page 38: Show Arp

    show arp show arp Global Command This command displays the contents of the Controller’s IP-to-physical address translation table used by Address Resolution Protocol (ARP). Show arp Command Formats show arp Example Screen Display device-name> show arp 01-JAN-2000 00:50:49.0000 <<< ARP Cache >>> 10.10.0.250 at 00:60:6f:30:8c:12 on gei0 PACSystems* RX3iPROFINET Controller Command Line Interface Manual –...
  • Page 39: Show Config

    show config show config Global Command Entering show config or show config all displays Device Name, ip parameters (IP Address, subnet mask, default gateway), redundant media role (disabled, client, manager), ring port assignment, ring test interval, and ring test retries. Entering individual parameter names displays the specified parameters.
  • Page 40 show config Displaying only the PNC deviceName Screen Display > show config deviceName device-name Parameter Parameter Value ---- ---------------- -------------------------------------------------- Device Name device-name device-name> Displaying only the PNC IP Parameters Screen Display > show config ip device-name Parameter Parameter Value ---- ---------------- -------------------------------------------------- IP Address...
  • Page 41 show config Parameter Sources The Src column indicates the entity that last set the parameter. The following table defines the entities that may be listed. The parameter was set via the hardware configuration from Proficy Machine Edition. The parameter was set through DCP, a protocol typically used by Proficy Machine Edition, PROFINET Controllers, third-party controllers and third-party programmers to set parameters such as Device Name and IP Address).
  • Page 42: Show Debug Exception

    show debug exception show debug exception Global Command This command displays details of the most recent software exceptions that have occurred since the module was last powered on or restarted. Exceptions may provide useful data for diagnosing problems with customer support. The information is lost when the Controller is power cycled.
  • Page 43: Show Debug Fatalinfo

    show debug fatalInfo show debug fatalInfo Global Command This command displays saved fatal error debug data stored in non-volatile storage. When a fatal error occurs, the controller halts normal processing, captures this data, and displays a failure mode indication by blinking a sequence on its faceplate LEDs. This information may provide useful data for diagnosing the problem with customer support.
  • Page 44 show debug fatalInfo Example - show debug fatalInfo device-name> show debug fatalInfo Log Size: 12288 bytes (3 pages) Record Size: 4096 bytes Max Records: CPU Type: 0x5a Errors Missed: 0 (old) + 0 (recent) Error count: Boot count: Generation count: 2 ==[1/2]============================================================== Severity/Facility: INFO/BOOT...
  • Page 45: Show Icmp

    show icmp show icmp Global Command This command displays Internet Control Message Protocol (ICMP) status and counters. show icmp Command Format show icmp Example Screen Display > show icmp device-name 01-JAN-2000 00:44:37.0000 <<< ICMP Status >>> 1846 total packets received 0 forwarded 0 incoming packets delivered 1576 incoming packets delivered...
  • Page 46 show icmp Counter Definitions The following table defines the ICMP counters. Counter Name Counter Description InMsgs The total number of ICMP messages received. InErrors The number of ICMP messages received that have errors (bad checksums, etc.). InDstUnr The number of ICMP Destination Unreachable messages received. InTimeEx The number of ICMP Time Exceeded messages received.
  • Page 47: Show Ip

    show ip show ip Global Command This command displays Internet Protocol (IP) status and counters. show ip Command Format show ip [conn | counters | status] Examples Displaying all IP Details Screen Display device-name> show ip 01-JAN-2000 00:44:37.0000 Network Stack Version: v4/v6 Host (v4 only build) stack ver. 3.1.2.0 <<<...
  • Page 48 show ip Screen Display 0.0.0.0.21 0.0.0.0.0 LISTEN <<< IP Counters >>> InRecv =00000023H InHdrErr=00000000H InAdrErr=00000000H ForwDgms=00000000H InUnkPro=00000000H InDiscds=00000000H InDelivs=00000023H OutReq =00000023H OutDiscd=00000000H OutNoRts=00000000H ReasmTO =0000003cH ReasmReq=00000000H ReasmOKs=00000000H ReasmFai=00000000H FragOKs =00000000H FragFail=00000000H FragCrea=00000000H Filtered=00000000H device-name> Displaying Active Internet Connections Screen Display device-name>...
  • Page 49 show ip IP Counters The following table defines each of the IP Counters. Counter Name Counter Description InRecv The total number of input datagrams received from interfaces, including those received in error. InHdrErr The number of input datagrams discarded due to errors in their IP headers. InAdrErr The number of input datagrams discarded because the IP address in their IP header’s destination field was not a valid address to be received at this entity.
  • Page 50 show ip Displaying IP Status Screen Display device-name> show ip status 01-JAN-2000 00:44:37.0000 Network Stack Version: v4/v6 Host (v4 only build) stack ver. 3.0.0.0 <<< IP Status >>> 1846 total packets received 0 forwarded 0 incoming packets delivered 1576 incoming packets delivered 724 requests sent out 1 dropped because of missing route Icmp:...
  • Page 51 show ip INET Route Table Flag Values The flags field in the INET route table represents the flags specified for a given route. The following is a list of the defined flag values: Letter Flag Description RTF_PROTO1 protocol specific routing flag #1 RTF_PROTO2 protocol specific routing flag #2 RTF_BLACKHOLE...
  • Page 52: Show Log

    show log show log Global Command This command displays the local log table. This command is equivalent to the command log described on page 2-12. PACSystems* RX3iPROFINET Controller Command Line Interface Manual – July 2011 2-36 GFK-2572...
  • Page 53: Show Mac

    show mac show mac Global Command This command displays active and non-volatile Media Access Control (MAC) addresses for the four external and one internal (interface) Ethernet ports. show mac Command Format show mac Example Screen Display device-name> show mac Port Active MAC Addresses Saved MAC Address -----------...
  • Page 54: Show Mem

    show mem show mem Global Command This command displays System Memory status for various memory pools. show mem shows status and counters for all memory pools. The following parameters request status for a specific memory pool: 1. heaps – shows various memory heaps. The number and name of memory heaps are PNC/PNS product dependent and are not described in detail in this document.
  • Page 55 show mem Displaying Memory Heap Status Screen Display > show mem heaps device-name 01-JAN-2000 05:44:17.0000 <<< OSVol Status >>> Free Bytes in Partition : 7843016 Free Blocks in Partition : 24 Maximum free block size : 7841296 Allocated Bytes in Partition : 8624368 Allocated Blocks in Partition : 1107 Max Heap Usage:...
  • Page 56 show mem Displaying Network System Memory Status Screen Display > show mem netSys device-name 01-JAN-2000 05:44:17.0000 <<< Network System Memory Pool Status >>> type number --------- ------ FREE 1138 TOTAL 1140 number of mbufs: 1140 number of times failed to find space: 0 number of times waited for space: 0 number of times drained protocols for space: 0 __________________...
  • Page 57 show mem Displaying Network Data Memory Pool Status Screen Display > show mem netData device-name 01-JAN-2000 05:44:17.0000 <<< Network Data Memory Pool Status >>> type number --------- ------ FREE TOTAL number of mbufs: 655 number of times failed to find space: 0 number of times waited for space: 0 number of times drained protocols for space: 0 __________________...
  • Page 58: Show Network

    show network show network Global Command This command displays Network Interface status and counters. show network Command Format show network Example In this example “lo0” is the internal loopback port; “gei0” is the internal network port. Screen Display > show network device-name 01-JAN-2000 05:44:17.0000...
  • Page 59: Show Node

    show node show node Global Command This command displays device identification and physical module information. Show node is equivalent to the node command. The show node command shows id and info data. all parameter – displays id, info and status data. id parameter - displays PROFINET Device name, IP Address, subnet mask and default gateway.
  • Page 60 1.00 (04D1) Boot FW: 1.00 (01D1) FPGA: 0.33 (46A1) BIOS: PNC1D001 (13-APR-2010) PNIO Stack: 2.1.6.1 (c) 2008-2011 GE Intelligent Platforms, Inc. All rights reserved. <<< Node ID >>> Device Name: device-name IP Address: 10.10.0.10 Subnet Mask: 255.255.255.0 Default Gateway: 0.0.0.0 device-name>...
  • Page 61 Boot FW: 1.00 (01D1) FPGA: 0.33 (46A1) BIOS: PNC1D001 (13-APR-2010) PNIO Stack: 2.1.6.1 (c) 2008-2011 GE Intelligent Platforms, Inc. All rights reserved. device-name> Displaying Ethernet Port/SFP/Link Status Screen Display > show node status device-name 01-JAN-2000 05:44:17.0000 <<< Node Status >>>...
  • Page 62 1.00 (04D1) Boot FW: 1.00 (01D1) FPGA: 0.33 (46A1) BIOS: C305D013 (23-JUL-2010) PNIO Stack: 2.1.6.1 (c) 2008-2011 GE Intelligent Platforms, Inc. All rights reserved. <<< Node ID >>> Device Name: device-name IP Address: 10.10.0.10 Subnet Mask: 255.255.255.0 Default Gateway: 0.0.0.0 <<<...
  • Page 63 show node Node Status Definitions Field Value Definition Module Module is operating correctly. Status NOT OK Module has encountered a fatal error. Config Programmer All configuration items for the module were delivered via source the Programmer. Other Some or all configuration items for the module were delivered via means other than the Programmer.
  • Page 64: Show Port

    show port show port Global Command The command show port displays a summary of internal and external port information: all displays detailed port information on all ports. Note that this display does not include fdb (filtering database) information. sfp shows information for either a specified Small Form-factor Pluggable (SFP) device or all SFP devices, and dumps all the SFP EEPROM contents.
  • Page 65 show port Displaying Port Status Screen Display > show port status device-name 01-JAN-2000 05:44:17.0000 <<< Port Status Details>>> Port State DataRate Mode SwitchState SwchOvrd MonitoredBy ------ ----- --------- ----------- ----------- -------- ---------- 1(Ext) 1000Mbps Full duplex FORWARDING Monitor Port Counters: InGdOcLo=00012E8FH InGdOcHi=00000000H InBdOcts=00000000H OutFCSEr=00000000H InUnicst=00000006H Deferred=00000000H InBrdcst=00000003H InMltcst=00000291H Octets64=00000002H Octet127=00000581H Octet255=00000000H Octet511=00000000H...
  • Page 66 show port Displaying Status and Details for SFPs device-name> show port sfp 01-JAN-2000 05:44:17.0000 <<< SFP Info >>> SFP Type Vendor Name Vendor Part No. Description -- ------------- ---------------- ---------------- ---------------------------- 03 1000BASE-T FINISAR CORP. FCLF-8521-3 Copper 1Gbit Enet Vendor Revision: Vendor Serial Number: A000000 Date Code: 010725...
  • Page 67 show port Displaying Help for the Show Port SFP Command The show port sfp help command provides definitions for the fields displayed in the show port sfp command output. Screen Display > show port sfp help device-name [Additional output not shown here. See the following table for definitions.] Definitions for show port sfp Command Output Heading Description...
  • Page 68 show port Displaying Status and Details for a Specific Port The following example shows counters and status details for port 3. Screen Display > show port 3 device-name 01-JAN-2000 05:44:17.0000 <<< Port Status Details>>> Port State DataRate Mode SwitchState SwchOvrd MonitoredBy ------ -----...
  • Page 69 show port Empty SFP Cages and Unsupported SFPs The following example shows the display when there is an empty SFP cage (Port 3) and when an SFP is unsupported (Port 4). Screen Display > show port device-name 01-JAN-2000 05:44:17.0000 <<< Port Status >>> Port State DataRate...
  • Page 70 show port Displaying the Filtering Database for a Given Port The following example shows the display for show port fdb command. The number of entries and mix of entry types in this example are not representative of what will normally be displayed but is merely intended to show the possible values that can be displayed.
  • Page 71 show port Entry States are defined below. Entry State Description UC_DYNAMIC Unicast dynamic entry UC_NO_PRI_TO_CPU_STATIC_NRL Static unicast entry that will be forwarded to management CPU without forcing priority and with no rate limiting (NRL). UC_TO_CPU_STATIC_NRL Static unicast entry that will be forwarded to management CPU without rate limiting.
  • Page 72: Show Profinet

    show profinet show profinet Global Command The show profinet command shows status and counters for the PROFINET Controller’s PROFINET network interface. show profinet displays summary data for each device it is configured to connect to. show profinet all <deviceNum> displays all detailed information for the specified IO Device. show profinet ar <deviceNum>...
  • Page 73 show profinet Displaying Detailed Information about a Device’s AR The following example displays AR details for device number 1. Screen Display device-name> show profinet ar 1 01-JAN-2000 00:06:38.0000 PNCDeviceName: device-name ProviderState: Dev# Vendor Device AR# ARStat DeviceName ---- ------ ------ --- ------ ---------------------------------- 0015h...
  • Page 74 show profinet Displaying Detailed Information about a Device’s IOCRs Note: The show profinet iocrs <device number> command displays values even when the connection to the device is not active. When the device is disconnected, the Current Data Status field and the Value column display the last values received. When using this command, be aware of the device’s connection status.
  • Page 75 show profinet Screen Display <<< IOCR 0x0001-(Output CR)-Update Period: 1 ms >>> IOCRProperties: 0x00000001 MediaRedundancy: No media redundant frame transfer RTClass: RT Class 1 IOCRTagHeader: 0xC000 IOCR User Priority: 6 (IO CR Priority) Vlan ID: 0x000 (No VLAN) Current Data Status: 0x01 Station Problem Indicator: Problem detected Provider State: Stop Data Valid: Invalid...
  • Page 76 show profinet Displaying Detailed Information about a Device’s Counters The following example shows counter details for device number 1. Screen Display device-name> show profinet counters 1 01-JAN-2000 00:06:38.0000 PNCDeviceName: device-name ProviderState: Dev# Vendor Device AR# ARStat DeviceName ---- ------ ------ --- ------ ------------------------------------ 0015h...
  • Page 77 show profinet Field Definitions The following table defines the fields shown in the preceding examples: Field Description PNCDevice Name The PROFINET Device Name of the PROFINET Controller. Provider State The PROFINET Provider state that is sent with each RTC frame. This reflects the state of the PLC CPU’s Output Enable line.
  • Page 78 show profinet Field Description CMInitiator The remote device timeout between the Connect response and ActivityTimeoutFactor receipt of new service requests from the PROFINET Controller. The IO device application stops this monitoring when IOCR operations start. This value is fixed at 60.0 seconds. RedundancyDataHoldTime The remote device timeout between loss of the Primary AR and recognition of a new Primary AR.
  • Page 79 Input/Output data or IOCS data is transmitted. ModId The Module Identification value associated with the IO Module. For GE Intelligent Platforms modules, the lowest word contains the major and minor types for the module. GFK-2572 Chapter 2 Monitor Level Commands...
  • Page 80 Field Description SubModId The Submodule Identification value associated with the IO Module. For GE Intelligent Platforms IO modules, the value is the same as the ModId. Leng The length of data in bytes transmitted for the ObjType within the RTC frame associated with the IOCR.
  • Page 81 show profinet Field Description PlugInd Number of Plug alarms received from the device. Includes: Plug and Plug Wrong Submodule alarm types. ManufInd Number of Manufacturing Specific alarms received from the device. OtherInd Number of alarms received that do not fall in one of the other specified alarm categories.
  • Page 82: Show Rdnmedia

    show rdnMedia show rdnMedia Global Command This command displays media redundancy status and counters. Status includes: Role (MRM, MRC, Disabled)  Ethernet ports used in ring  Ring status closed/open (MRM only)·  Redundant Media Counters includes: Count of the number of times a break has been detected/repaired since powerup/restart ...
  • Page 83: Show Sessiontimeout

    show sessionTimeout show sessionTimeout Global Command The Command Line Interface disconnects after a period of inactivity. This command displays the current session inactivity timeout value in seconds. This timeout determines how long the Command Line Interface will remain idle before closing the current session. A timeout warning is issued when one-half of the session timeout period has passed.
  • Page 84: Show Sm

    show sm show sm Global Command This command displays the PROFINET Controller / PLC backplane Shared Memory (SM) status and counters. show sm Command Format show sm Example Screen Display device-name> show sm 01-JAN-2000 00:06:38.0000 <<< Shared Memory Status >>> Shared memory startup complete (07H) Slave firmware version: 1.00...
  • Page 85 show sm Shared Memory Interface Counter Definitions The following table provides a description of each Shared Memory Interface counter. Counter Description IcRqRset “Slave hard reset request” interrupt commands sent. IcHIPmsg “High priority message waiting” interrupt commands sent. IcLOPmsg “Low priority message waiting” interrupt commands sent. IcTstInt “Test”...
  • Page 86: Show Tcp

    show tcp show tcp Global Command This command displays Transmission Control Protocol (TCP) status and counters. show tcp Command Format show tcp [details] Examples Displaying Status and Counters of TCP Connections Screen Display device-name> show tcp 01-JAN-2000 05:44:17.0000 <<< TCP Status >>> Tcp: 0 active connection openings 2 passive connection openings...
  • Page 87 show tcp Displaying Status Details of TCP Connections Screen Display device-name> show tcp details 01-JAN-2000 05:44:17.0000 <<< TCP Status Details >>> Tcp: 0 active connection openings 2 passive connection openings 0 failed connection attempts 1 connection resets received 1 connections established 43 segmemts received 36 segments sent out 11 segments retransmitted...
  • Page 88: Show Telnetd

    show telnetd show telnetd Global Command This command indicates whether the telnet server is enabled or disabled, and shows the number of telnet connections. show telnetd Command Format show telnetd Example Screen Display device-name> show telnetd 01-JAN-2000 05:44:17.0000 <<< Telnet Server Status >>> telnet Status: Enabled Max telnet Connections:...
  • Page 89: Show Time

    show time show time Global Command This command displays the current time of the Controller’s internal clock. The internal clock is synchronized with the PLC at power-up. show time Command Format show time Example Screen Display device-name> show time 01-JAN-2000 05:44:17.0000 device-name>...
  • Page 90: Show Udp

    show udp show udp Global Command This command displays User Datagram Protocol (UDP) status and counters. show udp Command Format show udp Example Screen Display device-name>show udp 01-JAN-2000 01:30:27.0 <<< UDP Status >>> Udp: 11711 packets received 11 packets to unknown port received 0 packet receive errors 6 packets sent <<<...
  • Page 91: Terminate

    terminate terminate Global Command This command ends the Command Line Interface session. When the session ends, terminal session parameters (for example, terminal row/column settings) are not saved. Note: In HyperTerminal, the session does not close after executing the terminate command. To re-establish the connection it may be necessary to disconnect and reconnect the HyperTerminal application and press the Enter key.
  • Page 93: Modify-Level Commands

    Chapter Modify-Level Commands This chapter describes commands that are available for Modify-level access to the Command Line Interface. Global commands, which are common to both Monitor- and Modify-level access, are defined in chapter 1. Modify Access Level Commands   Blinkld ...
  • Page 94 Example of Changing Access Level Initial display: device-name> Enter the login command to enter Modify Access Level using the admin user name and password (this is an example only; the password does not actually appear): device-name> device-name> login Login:admin Password:system device-name= Enter ? to view the available non-global commands in Modify level: device-name= ?
  • Page 95: Arp

    Non-Global Command This command provides the following methods for modifying the Address Resolution Protocol (ARP) table. shows ARP table. adds a static entry in ARP table. arp add clears arp cache arp clear Entering arp displays the current ARP table with the same display as show arp. arp Command Format arp [add <IP Address>...
  • Page 96: Blinkid

    blinkId blinkId Global Command This command displays the current setting, starts, or stops the module’s LED Identification pattern. This command is useful for identifying a specific Controller in a system with multiple Controllers. After receiving the blinkId begin command, the module will continue to blink its Identification LED pattern until one of the following occurs: ...
  • Page 97: Clear Arp

    clear arp clear arp Non-Global Command This command clears the Address Resolution Protocol (ARP) cache. The command clear arp is equivalent to the command arp clear, described on page 3-3. clear arp Command Format clear arp Example Clearing the ARP Cache Screen Display device-name=clear arp ARP Cache Cleared...
  • Page 98: Clear Counters

    clear counters clear counters Non-Global Command This command clears specified counters or clears all counters. clears all counters clears Internet Control Message Protocol and Internet Group Management Protocol icmp counters clears Internet Protocol counters clears network counters network profinet [all | <DeviceNum>] clears PROFINET counters. See page 2-8 for more information. clears Media Redundancy counters rdnMedia clears Shared Memory counters...
  • Page 99 clear counters Step 3. Use show udp to display the UDP details and counters. The counters have been cleared. Screen Display device-name=show udp 01-JAN-2000 01:58:09.0681 <<< UDP Status >>> Udp: 210 packets received 1 packets to unknown port received 0 packet receive errors 6 packets sent <<<...
  • Page 100: Clear Counters Profinet

    clear counters profinet clear counters profinet Global Command This command clears all Profinet counters the PROFINET Controller maintains locally for all of the currently configured devices, or for only the single device specified. clear counters profinet Command Formats clear counters profinet [all | <DeviceNum>] <all>...
  • Page 101: Clear Log

    clear log clear log Non-Global Command This command clears the Controller’s Local Log table. This also resets the counter of overflowed log entries. clear log Command Format clear log Example Clearing the Local Log Table Step 1. Use clear log to clear the Local Log table. Screen Display device-name= clear log STAT LED modified...
  • Page 102: Clear Statled

    clear statLED clear statLED Non-Global Command Normally, the STAT LED is solid green at power-up and is turned off when a fault (other than a fault logged due to restart) is logged in the Controller’s Local Log. This command returns the module’s STATUS LED to solid green (the Local Log table is not cleared).
  • Page 103: Default

    default default Non-Global Command This command returns the PROFINET Controller parameters to their factory default values. However, it does not affect the active or stored MAC addresses. This causes the following items to be changed to their default values:  Node Name ...
  • Page 104: Logincfg

    loginCfg loginCfg Non-Global Command This command changes the Modify Access level login password. Passwords are case-sensitive. The following characters are allowed for passwords: Any alphanumeric character and in addition: ` ~ @ ^ & + = { } [ ] \ / ;...
  • Page 105: Logout

    logout logout Non-Global Command This command returns the Command Line Interface to the Monitor Access Level. logout Command Format logout Example Screen Display device-name=logout device-name> GFK-2572 Chapter 3 Modify-Level Commands 3-13...
  • Page 106: Monport

    monport monport Non-Global Command This command enables or disables port monitoring. Port monitoring allows a port to monitor network activity on other ports, and is useful when using network sniffer tools to check network bus activity and diagnose connection problems. Entering no monport disables port monitoring. Each command completely overwrites any previous monport settings.
  • Page 107 monport Setting Port 3 to Monitor Ports 1, 2 and 4 Screen Display device-name= monport 3 < 1 2 4 <<< Monitor Port Status >>> Port MonitoredBy ------ ---------- 1(Ext) Port 3 2(Ext) Port 3 3(Ext) Monitor 4(Ext) Port 3 5(Int) device-name= Disabling Port Monitoring...
  • Page 108: Ping

    ping ping Non-Global Command This command sends ICMP Echo requests to a specified network device. The ping operation must complete before another command can be issued to the same Command Line Interface session. For example, if a very long ping operation (such as a large count <cnt> value) is executed, it is not possible to stop the operation.
  • Page 109 ping Sending an ICMP Echo Request with Default Values Screen Display device-name= ping 10.10.0.103 Ping initiated Command: ping 10.10.0.103 3 1 64 Pinging 10.10.0.103 (10.10.0.103) with 64 bytes of data: Reply from 10.10.0.103 bytes=64 ttl=64 seq=0 time=0ms Reply from 10.10.0.103 bytes=64 ttl=64 seq=1 time=5ms Reply from 10.10.0.103 bytes=64 ttl=64 seq=2 time=10ms --- 10.10.0.103 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2010 ms...
  • Page 110: Restart

    restart restart Non-Global Command This command restarts the module. This command has the same effect as pressing the Restart pushbutton. An entry indicating a command shell restart occurred is entered into the local log. restart Command Format restart Example Screen Display device-name= restart Do you want to restart the module <Y/N>...
  • Page 111: Sessiontimeout

    sessionTimeout sessionTimeout Global Command This command sets or displays the session inactivity timeout value for the current Command Line Interface session. Entering the command without the newTimeout parameter displays the current timeout setting. sessionTimeout Command Format sessionTimeout <newTimeout> <newTimeout> Specifies the new session inactivity timeout value in seconds. It determines the amount of time the Command Line Interface session can remain inactive (no keyboard input) before closing the session.
  • Page 112: Telnetd

    telnetd telnetd Non-Global Command This command enables or disables the telnet server. To take effect, change in telnet server status requires a power cycle or restart . telnet is disabled by default, and is enabled by accessing the Command Line Interface by connecting directly to the Controller via the Micro USB port.
  • Page 113 telnetd Changing the Maximum Number of Telnet Connections Step 1. Change the maximum connections. Screen Display device-name= telnetd 4 Max telnet Connections changed to 4 telnet changes will not take effect until next powerup or restart device-name= Step 2. Restart or power cycle the PNC. Use show telnet to display the Telnet status. Screen Display {Power-cycle occurs} device-name>...
  • Page 114: Time

    time time Non-Global Command This command can be used to display the PNC’s current time or to change the internal module clock Note that the PNC synchronizes its internal clock with the PLC CPU at module powerup. Changes made using the time command do not persist over power cycles. For more information see “PLC Time Synchronization”...
  • Page 115 Index IOCRs, 2-56 ! operator, 2-9, 2-10 Keystrokes, 2-6 ? command automatic completion, 1-4, 2-8 listing available commands or parameters, 1-4, 2-4, 2-7 log command, 1-7, 2-12 Login, 3-1 ↑ login command, 1-7, 2-16 loginCfg command, 1-10, 3-12 ↑ and ↓ operators, 2-11 logout command, 1-10, 3-13 Access levels, 1-5 Modify level, 1-5...
  • Page 116 Index show mem command, 1-8, 2-38 show network command, 1-8, 2-42 show node command, 1-8, 2-43 show port command, 1-8, 2-48 show profinet command, 1-9, 2-56 show rdnMedia command, 1-9, 2-66 show session timeout command, 1-9 show sessionTimeout command, 2-67 show sm command, 2-68 show tcp command, 1-9, 2-70 show telnetd command, 1-9, 2-72...

Table of Contents