Prog command, Rem command – GE GEFanuc Automation Programmable Control Products TCP/IP Ethernet Communications for the Series 90t-70 PLC GFK-1004B User Manual

Page 155

Advertising
background image

5

5-28

TCP/IP Ethernet Communications User’s Manual – January 1996

GFK-1004B

A typical PING command is shown below.

= ping 3.16.18.76 10

<<< Ping Results >>>

Command: ping 3.0.0.1 10 100 64

Remote IP Address = 3.0.0.1, Sent = 10, Received = 10, No Response = 0

Round-trip (ms) min/avg/max 0/1/10

The bounds for <cnt> are 0 through ffffH; the default is 1. The bounds for <sch> are 0
through 7fffH; the default is 100 (1 second). A value of 0 for <sch> results in the default
value of 100 being used. The bounds for <len> are 8 through 7fffH and are limited by
system buffer memory; the default is 64.

PROG Command

The PROG command has the form:

> PROG

This command causes the name of the current PLC CPU program to be displayed. A
typical PROG command is shown below:

> PROG

> CPU Program Name is “JEFF914”

>

Note that there is a prompt (“>”) before the output of the command. This is because the
PROG command retrieves the program name from the CPU asynchronously and prints
the name when it arrives, possibly interspersed with other Station Manager output.

REM Command

The REM command has the form:

REM <node> <cmd> [<cmd parms>]

where <node> is the MAC address of a remote Ethernet Interface

<cmd> is any station manager command except REM
<cmd parms> is a list of any parameters required by <cmd>.

The REMote command sends the Station Manager command which is its argument and
any associated parameters to the node whose address is specified. The Station Manager
on the remote node acts on the command as if it had been entered at its local serial port,
but directs all output from processing the command back over the network to the station
where the REM command originated. The results are displayed at the local station with
the notation “REM” along with the prompt from the remote station to denote that the
data was returned from the remote station. (A REM command cannot be issued to the
node on which it is entered.)

A typical REM command is shown below:

= rem 08001901001f node

REM> IC697 PLC Factory LAN Interface

REM> Copyright (c) 1990-1995. All rights reserved.

REM> PROM version 2.00 (xxAx), Software version 2.0000 (xxAx)

REM> TCP/IP Ethernet

REM> IP address = 3.16.18.47

REM> MAC address = <<08001901001f>> MAC default = <<08001901001f>>

REM> EM7A2

REM>

Advertising