Download TCP/IP Ethernet Communications for the Series 90 PLC User`s Manual

Transcript
Appendix IP Address Assignment for Style B Station
D
Manager
This appendix discusses assigning an IP address for a Module using the Style B Station Manager.
Each Ethernet interface has a 12-digit MAC address, provided on a label on the module. This
address is required in order to assign an IP address.
IP Address Assignment Using Telnet
Obtain the MAC address from the label on the module, then follow the procedure below for
assigning the IP address to the Ethernet Interface, remotely, over the network. In order for an IP
address assignment to be performed over the network, the PLC must be in Stop/No I/O mode. IP
address assignment over the network will not be processed until the PLC is stopped and is not
scanning I/O.
1.
On a PC, associate the IP address for the module to the MAC address of the module using the
following method. In a command (DOS) window, enter the following command:
> ARP –s ip_address mac_addres [interface]
where ip_address is the IP address the user wants to assign to the Ethernet Interface, and the
mac_address is the MAC address from the label on the PLC whose IP address is being
assigned. The optional interface parameter is the IP address of the interface that should be
used. This parameter should be specified when the PC has multiple network interfaces.
2.
Next, telnet to the IP address (ip_address) being assigned to the Ethernet Interface:
> telnet ip_address 1.
This telnet command will fail, but the IP address provided with the telnet command will be set
on the Ethernet Interface until the next restart of the module or until a hardware configuration
is stored to the PLC.
Note that a temporary IP address can be assigned even if the PLC has been previously configured
by the Programmer. The IP address assigned over the network remains in effect until the PLC is
power-cycled or until the configuration is explicitly stored or cleared. The intended usage of this IP
address assignment mechanism is to permit initial communication to the programmer. Once
connected, the intended IP address should be permanently stored to the PLC via the configuration
data.
GFK-1186G
D-1