VersaMax Serial To Ethernet Adapter, GFK-1852Agfk1852A
VersaMax Serial To Ethernet Adapter, GFK-1852Agfk1852A
VersaMax Serial To Ethernet Adapter, GFK-1852Agfk1852A
Intelligent Platforms
User's Manual
GFK-1852A February,2010
GFL-002
Warning
Warning notices are used in this publication to emphasize that hazardous voltages,
currents, temperatures, or other conditions that could cause personal injury exist in this
equipment or may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment,
a Warning notice is used.
Caution
Caution notices are used where equipment might be damaged if care is not taken.
This document is based on information available at the time of its publication. While efforts
have been made to be accurate, the information contained herein does not purport to cover all
details or variations in hardware or software, nor to provide for every possible contingency in
connection with installation, operation, or maintenance. 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.
* indicates a trademark of GE Intelligent Platforms, Inc. and/or its affiliates. All other
trademarks are the property of their respective owners.
GlobalCare
Additional information http://www.ge-ip.com/
3H
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 www.ge-ip.com/support
5H
Americas
Online Technical Support www.ge-ip.com/support
6H7
Phone 1-800-433-2682
International Americas Direct Dial 1-780-420-2010 (if toll free 800 option is unavailable)
Technical Support Email support.ip@ge.com
8H9
Phone +800-1-433-2682
EMEA Direct Dial +352-26-722-780 (if toll free 800 option is unavailable or if
dialing from a mobile telephone)
Technical Support Email support.emea.ip@ge.com
14H5
Asia Pacific
Online Technical Support www.ge-ip.com/support
18H9
Phone +86-400-820-8208
+86-21-3217-4826 (India, Indonesia, and Pakistan)
Technical Support Email support.cn.ip@ge.com (China)
20H1
support.jp.ip@ge.com (Japan)
2H3
customercare.cn.ip@ge.com (China)
28H
Preface
Related Publications
GFK-1645 VersaMax Micro PLCs and Nano PLCs User’s Manual
GFK-1852A v
Contents
Chapter 4 Configuration....................................................................................4-1
Configuration Steps...................................................................................... 4-1
Entering Serial Configuration Mode ............................................................ 4-2
Entering Network Configuration Mode ....................................................... 4-2
VMSE’s IP Address ..................................................................................... 4-2
Default IP Address..................................................................................... 4-2
Assigning a New IP Address ..................................................................... 4-3
Unix ........................................................................................................... 4-4
Configuration Parameters............................................................................. 4-4
SRTP/SNP Firmware – Configuration Setup.............................................. 4-5
Network / IP Settings ................................................................................... 4-6
IP Address.................................................................................................. 4-6
Gateway IP Address................................................................................... 4-6
Netmask ..................................................................................................... 4-6
GFK-1852A vii
Contents
• PLCs
• CNC Controllers
• Terminals
• Time/attendance and data collection devices
• Industrial robots
• Data display units
• Instruments
GFK-1852A 1-1
1
SRTP/SNP Firmware
The SRTP/SNP firmware is used to connect GEPLCs, or other devices,
that support the SNP protocol, to Ethernet.
Devices that support Ethernet (VersaPro CIMPLICITYHMI,
Series 90-30, Series 90-70, and 3rd party devices) can communicate with
PLCs with a serial SNP port by using the VMSE with the SRTP/SNP
firmware. This firmware handles the conversion from Ethernet (SRTP)
to SNP and also handles the timing requirements of SNP.
Note: The VMSE can not handle multidropped SNP devices if the
communications are originating from a device using SRTP. To multidrop SNP
Slaves off a VMSE, another VMSE is required at the Master end, and the Master
needs to send messages via SNP not SRTP.
TCP/RTU firmware
Modbus
Modbus TCP/RTU firmware is used to communicate between devices that use
Modbus TCP and devices that use Modbus RTU serial protocol.
1-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Introduction and Quick Start 1
Quick Start
The easiest way to configure the IC200SET001 VMSE is over Ethernet. The
steps in the following procedure need to be done in the order listed to configure
the VMSE.
Preliminary Step
Connect the VSME to the Ethernet network.
Default IP Address
The VMSE is shipped with a default IP address of 0.0.0.0, which automatically
enables the DHCP within the VMSE.
NOTE: Using the ARP (Address Resolution Protocol) command (see below) you
can always override the IP address given to the VMSE by your DHCP server.
A. Type ping (any valid IP address on your network) at the MS-DOS prompt,
and then press the Enter key. (This step is required to “establish” the ARP
table by creating an entry in the table.) The address pinged should reply as
shown in the example in the next figure. In this example, the command and
valid IP address was typed as follows:
ping 3.16.16.14
ARP Table
1-4 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Introduction and Quick Start 1
If the response is “No arp entries found,” repeat steps A. and B. to ping other
devices until the arp -a command lists one or more devices. Note that
dynamic ARP table entries such as the one created above will be
removed from the arp table automatically after several minutes, so if you
do not complete this procedure and have to come back to it at a later
time, you may have to start from the beginning. Static entries which are
created manually, will not be removed automatically.
C. Type the following at the prompt, then press the Enter key:
arp –s (IPAddress you want the VMSE to have) ( Mac Address of VMSE)
This example uses: arp -s 3.16.27.44 00-20-4a-51-0e-5b
NOTE: You will not see any reply on the screen (see Figure 1-5).
D. Type telnet (IP Address) 1 (don’t forget the space between the IP address
and the 1), and then press the Enter key.
This example uses: Telnet 3.16.27.44 1
This connection will fail, but the VMSE will change its IP address to the one
designated in the ARP command line. You should see the following screen
after a short time-out period:
1-6 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Introduction and Quick Start 1
G. After the Enter button is pressed in the previous step, the Telnet window
opens with the VMSE Serial number, shown in the next figure. Confirm the
Telnet connection by pressing the Enter key within 3 seconds. It you don’t
respond by pressing the Enter key within 3 seconds, the telnet connection will
time out and you will have to close the telnet window and repeat the previous
step.
Once you press the Enter key, the following VMSE Configuration screen
will appear:
1-8 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Introduction and Quick Start 1
J. Reconnect by typing telnet 191.12.3.77 9999 at the MS-DOS prompt, and
then pressing the Enter key. This will take you to the VMSE Configuration
screen, shown in Figure 1-7.
K. Use this screen to configure the VMSE. An example is provided in the
following “Configuration” section.
Note
The VMSE comes equipped with SNP/SRTP firmware by
default. If you are using a protocol other than SNP/SRTP, you
must load the correct firmware for your protocol from the
supplied CD (see Chapter 5 for firmware upgrade details) before
proceeding with configuration. Note that changing the firmware
will not change the IP address set in the previous steps.
Configuration
This section is just an overview. See Chapter 4 for configuration details.
Before proceeding with the configuration procedure, ensure that you have the
correct firmware loaded in the VMSE. The VMSE comes equipped with
SNP/SRTP by default. If you are using a different protocol, you must load the
correct firmware for that protocol. See Chapter 5 for instructions.
You have six Command choices at the Configuration screen Command Prompt
(see next figure). You do not have to press the Enter key after typing a command
number or letter.
• 1 – to configure Network/IP Settings
• 2 – to configure CH1 Serial and Protocol Settings
• 3 – to configure SNP ID to IP Mapping Table
• d – to revert to default settings
• s – to save your changes and quit
• q – to quit without saving your changes
Command Prompt
Figure 1-9. VMSE Configuration Screen
1-10 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Introduction and Quick Start 1
Configuration Example
The following figure shows the results of pressing the 2 key to select the “CH1
Serial and Protocol Settings” parameter group.
Notice that the first parameter in the group (“Protocol Mode”) is displayed. The
current value is shown in parentheses (001 in this example) before the prompt.
Simply pressing the Enter key would retain the current parameter value; typing 2
and pressing the Enter key would set the Protocol Mode parameter to Mode #2.
Parameter Prompt
Figure 1-10. Configuring the “Protocol Mode”
After each parameter value has been entered, the next parameter in order will
appear at the prompt, as shown in the following figure:
Figure 1-11. Continuing Configuration of the “CH1 Serial & Protocol Settings”
Once you finish configuring all of the parameters in the selected group (“CH1
Serial & Protocol Settings” in the above example), you will be returned to the
Command Prompt where you can continue editing parameters or you can exit.
Be sure to type S if you desire to save your changes when exiting.
1-12 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Chapter VMSE Interfaces
2
Serial Interface
The VMSE has RJ45 and screw block serial ports. The RJ45 port only
supports RS232, whereas the screw block port supports RS232 and
RS485/422. By setting the switch located on the face of the VMSE and
configuring the VMSE setup, RS232 or RS485/422 can be selected.
NOTE: The VMSE is a single serial port device, meaning that only one port
can be used at a time. In the configuration menu, Channel One refers to either
one of the ports being used.
GFK-1852A 2-1
2
Network Interface
The VMSE supports 10 Mbit Ethernet through its RJ45 (10BaseT) connector.
Power Requirements
The VMSE is not shipped with a power supply. The required input voltage can
vary between 9VDC and 30VDC with a maximum of 3 Watts. The VMSE can
be powered from the 24 Volt supply on the VersaMax, Series 90-30, or an
external supply can be used. Take care not to exceed the capacity of the
VersaMax or Series 90-30 power supply.
2-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Chapter Network Protocols
3
The VMSE product uses TCP/IP protocols for network communication. The
supported standards are: ARP, UDP, TCP, ICMP, Telnet, TFTP, DHCP, and
SNMP. For transparent connections, TCP/IP (binary stream) or Telnet
protocols are used. Firmware upgrades can be made with the TFTP protocol.
The IP protocol defines addressing, routing and data block handling over the
network. The TCP (transmission control protocol) assures that no data is lost
or duplicated, and that everything sent into the connection on one side
arrives at the target exactly as it was sent.
For typical datagram applications where devices interact with others without
maintaining a point to point connection, a UDP datagram is used.
IP Address
Every active device connected to the TCP/IP network must have a unique IP
address. This IP address is used to reference a specific device, for example,
to build a connection to the VMSE’s serial port. See Appendix A for a
complete description of IP Addressing.
GFK-1852A 3-1
3
Port Number
Every TCP connection and every UDP datagram are defined by a destination
IP address and a port number. An IP address is necessary to address a device
(host) on the network. A port number is necessary to address an application
or a channel on a network host. The port number can be compared to an
extension on a PBX (telephone) system.
A Telnet application (login to a host with an ASCII terminal) is commonly
assigned TCP port number 23. More than one Telnet connection can be
established to one host using the Telnet port; however, the other peer IP
address/port number combination must be different.
In the VMSE (PassThru Firmware), a port number can be configured on the
channel (port). The VMSE uses this port number for outgoing messages and
incoming connections or UDP datagrams, which are addressed to its port
number. Port 9999 (decimal) is used for remote configuration.
3-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Chapter Configuration
4
The VMSE can be configured using remote or local methods. Either use an
ASCII terminal or a terminal emulation program to locally access the serial
port, or use a Telnet connection to configure the unit over the network.
The VMSE configuration is stored in nonvolatile flash memory and is
retained without power. The configuration can be changed any time. The
VMSE performs a reset after the configuration has been changed and stored.
Configuration Steps
The following steps need to be done, in the order listed, to configure the
VMSE for use. These steps can be done via the serial port or over the
network using Telnet.
• Set the Network Configuration - IP Address, Gateway Address, and
Network Mask.
• Load appropriate firmware if needed - SRTP/SNP, PassThru,
Modbus TCP/RTU.
• Configure Channel for application - Depends on firmware option
chosen. See Chapter 1 for firmware option details.
GFK-1852A 4-1
4
If you know the assigned IP address, you can establish a Telnet connection to
port 9999. Under Windows 95/98/NT, open an MS-DOS command window and
type the command “telnet x.x.x.x 9999”, where x.x.x.x is an IP address already
configured in the VMSE and 9999 is the desired TCP/IP port. Make sure you put
a space between the x.x.x.x and 9999.
VMSE’s IP Address
Default IP Address
The VMSE is shipped with a default IP address of 0.0.0.0, which automatically
enables the DHCP within the VMSE.
4-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
NOTE: Using the ARP command (see below) you can always override the
IP address given to the VMSE by your DHCP server.
If DHCP is enabled on the VMSE, but there is no DHCP server on the
network, the VMSE's request will eventually time out and the unit will boot
up with no IP address. If a static IP address is assigned to the VMSE, the
DHCP support will be disabled within the product. To re-enable DHCP
support, the IP address should be set back to 0.0.0.0.
Unix
Unix arp details when the hardware address of the VMSE is 00-20-4A-01-
64-0B.
The command example for most Unix systems is:
arp -s 191.12.3.77 00:20:4A:01:64:0B
Configuration Parameters
After configuration mode is entered (confirm with <ENTER>), the
parameters can be changed; default values can be confirmed with the
ENTER key. The parameters must be saved , and the VMSE performs a
power reset.
The Configuration for each of the firmware loads of the VMSE is slightly
different. If you need to load a different firmware than is in the VMSE, load
the firmware first, and then follow the directions for configuration for the
appropriate firmware. The next sections contain the details for configuration
setup for each of the firmware loads.
4-4 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
Network / IP Settings
To change the Network/IP settings, press ‘1’. The following values can be
set/changed: IP Address, Gateway Address, NetMask.
IP Address
The IP address must be set to a unique value in your network. If you are not
familiar with IP addresses, please refer to Appendix A.
If the VMSE is given an address that is already in use it will not connect to
the network.
Gateway IP Address
The router/gateway address is needed to communicate to other LAN
segments. The default gateway must be set to the IP address of the router
that connects these segments. This address must be within the local network.
Netmask
A netmask defines how many bits from the IP address are to be taken as the
network section and how many bits are to be taken as the host section (re
class A: 8/24 (net/host), class B: 16/16, class C: 24/8 bits). If set to 0, the
standard netmask for the actual IP address is used. Appendix A covers the
calculation of the right value in detail.
The VMSE prompts for the number of host bits, and then calculates the
netmask. It is shown in standard format “255.255.xxx.xxx” when saved
parameters are displayed.
4-6 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
SNP T1 – T4 Timers
T1 – Turn-Around Delay
T2 – ACK/NAK Timeout
T3 – Link Idle Timeout
T4 – After Break Delay
4-8 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
Basic Parameters
To change the basic parameters (Server Configuration), press ‘0’. The
following values can be set/changed: IP Address, Gateway Address,
NetMask, and Telnet Password.
IP Address
The IP address must be set to a unique value in your network. If you are not
familiar with IP addresses, please refer to Appendix A.
If the VMSE is given an address that is already in use it will not connect to
the network.
Gateway IP Address
The router/gateway address is needed to communicate to other LAN
segments. The default gateway must be set to the IP address of the router
port that is on the local network.
Netmask
A netmask defines how many bits from the IP address are to be taken as the
network section and how many bits are to be taken as the host section
(defaults are: class A: 8/24 (net/host), class B: 16/16, class C: 24/8 bits). If
set to 0, the standard netmask for the actual IP address is used. Appendix A
covers the calculation of the right value in detail.
The VMSE prompts for the number of host bits, and then calculates the
netmask. It is shown in standard format “255.255.xxx.xxx” when saved
parameters are displayed.
4-10 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
Channel 1 Parameters
To change the Channel 1 configuration, press “1”. The following sections
describe the item that can be changed and the values to use.
Baud Rate
The baud rate can be set within the defined limits from 300 to 38400 bits per
second.
Interface Mode
The line interface (I/F) mode is a bit-coded byte with the following
meanings. It is entered in hexadecimal notation:
Function 7 6 5 4 3 2 1 0
RS-232C 0 0
RS-422 / 485 0 1
RS485 2-wire 1 1
7 Bit 1 0
8 Bit 1 1
No parity 0 0
Even Parity 1 1
Odd Parity 0 1
1 Stop Bit 0 1
2 Stop Bit 1 1
Flow Control
This parameter sets the local handshake method for stopping and starting
output. Generally, flow control is not required if the connection is used to
pass a blocked protocol with block sizes <1k (ACK/NAK).
No flow control: 00
XON/XOFF flow control in both directions: 01
Hardware handshake with RTS/CTS lines: 02
XON/XOFF, pass characters to host: 05
Port Number
This setting is the source port number in TCP connections, and is the number
used to identify the channel for remote initiating connections. The port
number may not be set to 0 or 9999 (range: 1-65535). In general the port
numbers 0..1023 are reserved in UNIX systems for specific applications. It is
advisable to use numbers in the range 2000-30000 to avoid potential
conflicts.
If the UDP Datagram mode is selected, the port number is used as the UDP
source port number for outgoing datagrams; datagrams sent to the VMSE
with this port number are received to this channel.
Remote IP Address
When automatic connection mode is selected, a connection is made to this IP
address on the network.
4-12 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
Connect Mode
This parameter defines how the VMSE makes a connection and how it reacts
to incoming connections over the network.
Function 7 6 5 4 3 2 1 0
Connection Acceptance
Never accept incoming 0 0 0
Accept incoming with active DTR only 0 1 0
Accept unconditional (if not busy) 1 1 0
Response on Serial to Connect
Nothing (quiet) 0
Character response (C= conn, D-disc, 1
N=not available/unreachable)
Active Connection Startup
No active connection startup 0 0 0 0
Start connection with any character on 0 0 0 1
the serial line
Start connection with active-going DTR 0 0 1 0
line
Start connection with CR (0x0d) only 0 0 1 1
Manual connection startup 0 1 0 0
(‘C’ + address)
Datagram mode 1 1 0 0
Modem Emulation Mode 0 1 1 0
Datagram Mode
When selecting this option you will be prompted for Datagram type
Datagram type: 01 (Directed UDP)
4-14 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
Disconnect Mode
In disconnect mode, DTR drop can be activated or ignored to end a
connection:
- Disconnect with DTR drop: 80
- Ignore DTR: 00
4-16 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
Buffer Flushing
With this parameter it is possible to control line handling and network
buffers with connection startup and disconnect. Also, selection between two
different packing algorithms is possible.
Function 7 6 5 4 3 2 1 0
Clear input buffer (line to network)
With active connection 1
With passive connection 1
At time of disconnect 1
Clear output buffer (network to line)
With active connection 1
With passive connection 1
At time of disconnect 1
Alternate packing algorithm1 1
Inactivity Timeout
With this parameter an inactivity time can be set. If the set time expires
without an activity on the serial line, the connection is dropped.
Pack Control
Alternative pack algorithm settings are controlled here. Set this value to 00 if
specific functions are not needed.
Function 7 6 5 4 3 2 1 0
Idle time to force transmit: 12ms (avg.) 0 0
Idle time to force transmit:52 ms (avg.) 0 1
Idle time to force transmit: 250ms (avg.) 1 0
Idle time to force transmit: 5secs (!) 1 1
No trailing chars after sendchar(s) 0 0
One trailing char after sendchar(s) 0 1
Two trailing chars after sendchar(s) 1 0
Sendchars define 2-byte sequence 1
Send immediate after Sendchar 1
4-18 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
Send Characters
Up to two characters can be entered in hexadecimal representation in the
parameter “sendchar.” If a character received on the serial line matches one
of these characters, it is immediately sent together with any awaiting
characters to the TCP connection. This is specially useful to minimize the
response time for specific protocol characters on the serial line (i.e. ETX,
EOT etc.). Setting the first Sendchar to “00” disables the recognition of
the characters.
Alternatively, the two characters can be interpreted as a sequence (see “Pack
Control” section).
4-20 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Configuration 4
Network/IP Settings
To change the Network/IP settings, press ‘1’. The following values can be
set/changed: IP Address, Gateway Address, NetMask
IP Address
The IP address must be set to a unique value in your network. If you are not
familiar with IP addresses, please refer to Appendix A.
If the VMSE is given an address that is already in use it will not connect to
the network.
Gateway IP Address
The router/gateway address is needed to communicate to other LAN
segments. The default gateway must be set to the IP address of the router
that connects these segments. This address must be within the local network.
Netmask
A netmask defines how many bits from the IP address are to be taken as the
network section and how many bits are to be taken as the host section (re
class A: 8/24 (net/host), class B: 16/16, class C: 24/8 bits). If set to 0, the
standard netmask for the actual IP address is used. Appendix A covers the
calculation of the right value in detail.
The VMSE prompts for the number of host bits, and then calculates the
netmask. It is shown in standard format “255.255.xxx.xxx” when saved
parameters are displayed.
Protocol
At the first prompt, select 1 for Save or 2 for Master. At the second prompt,
select 1 for Modbus/RTU or 2 for Modbus/ASCII.
Serial Interface
Enter the interface setup as BBBB,D,P,S,RSxxx where BBBB is the baud
rate (default is 19200), D is the number of data bits , P is parity, S number of
stop bits, and RSxxx is 232 or 485 .
4-22 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Chapter Monitor Mode and Firmware Upgrade
5
To enter monitor mode: The same principle as setting the parameters is used
(see chapter 4). To enter Monitor Mode using a serial connection. Power
cycle the unit and hold down the “x” key. The within one second the prompt
UTS Snr 222-195 V3.5
Press Enter to go to Setup Mode
With appear.
At this point type “M”(must be uppercase)
The prompt 0> will appear, which indicates Monitor mode has been
entered.
To enter the monitor mode using a Telnet connection: After the Telnet
session is established, you will see messages similar to the following
examples:
Serial Number 1103062 MAC Address 00:20:4A:11:0B:F6
Software Version 00.9B1 (000630)
Press Enter to go into Setup Mode (wait to close)
At this point, type M (upper case). If you see the 0> prompt, it means that
you have entered the monitor mode successfully.
GFK-1852A 5-1
5
Monitor Commands
The following commands are available in the monitor mode. Many commands
have an IP address as an optional parameter (x.x.x.x). If it is given, the
command is applied to another VMSE with that IP address. If no IP address is
given, the command is executed locally.
All commands must be given in capital letters; only blanks (spaces) are
accepted between parameters.
Command Description
DL Download firmware to the VMSE
SF x.x.x.x Send firmware to VMSE with IP x.x.x.x
VS x.x.x.x Query software header record (16-byte)
GC x.x.x.x Get configuration as HEX records
SC x.x.x.x Set configuration from HEX records
PI x.x.x.x Check with Ping if x.x.x.x is alive and reachable
AT Show the VMSE’s ARP table entries
TT Shows all the incoming and outgoing TCP connections (used
only with “monitor mode” from Telnet)
NC Shows the IP configuration of the VMSE
RS Resets the power on the VMSE
SI x.x.x.x:n.n.n.n With this command, you can remotely assign an IP address to
another VMSE, where x.x.x.x is the new IP address and
n.n.n.n is the remote VMSE serial number written twice. For
example:
SI194.39.78.234:146.138.146.138
IP address = 194.39.78.234
Remote VMSE serial # (146-138) = 146.138.146.138
NOTE: Since this is obtained by sending broadcast packets,
this IP assignment cannot be done over the routers.
QU Quit - exit diagnostics mode
5-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Monitor Mode and Firmware Upgrade 5
You must now use the Hyperterminal menu bar and select Transfer… Send
Text File. This will give you a dialog box to select the file to download.
Select the .hex file for the firmware you want to load. The download will take
about five minutes and the hyperterminal will appear dead until the download
completes. You must allow sufficient time for the download to complete,
otherwise you may not be able to communicate with the VMSE. The figure
below shows the results after the download completes successfully.
After a complete reprogramming, the VMSE restarts.
After changing the firmware load in the VMSE, select defaults on the new
firmware before setting the configuration to your desired settings; this keeps
the VMSE from becoming confused.
Firmware Distribution
To distribute the firmware of one VMSE to others, the “SF” command is used.
After entering monitor mode on the VMSE, simply send the firmware with the
“SF” command to the other devices.
5-4 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Monitor Mode and Firmware Upgrade 5
The TFTP program PumpKIN from Klever is distributed on the VMSE CD.
Install the PumpKIN program on your computer by double clicking on the
PumpKIN.EXE file. The PumpKIN program will be installed in the
ACCESSORIES Menu.
Start PumpKIN and you will see the PumpKIN window
Click on the Put File Button to download new firmware to the VMSE
Click on the browse button next to local file, browse to the firmware you wish
to download.
Destinatio
File for Serial File for Network
Functionality n
Download Download
(password)
SNP/SRTP SNPD0151.HEX SNPD0151.ROM G3
PassThru AQGD510.Hex AQGD510.ROM G3
Modbus MBGD0200.Hex MBGD020.Rom G3
Note: The number in each file denotes revision, newer revisions if available
will be posted on the GE Tech Support WEB site.
Destination (Password)
Destination (password ) for Network loads, for version “AA” only, depend on
what file is already in the VMSE. Enter the Destination code based on what is
already in the VMSE not on what you are downloading.
For example, if you are downloading PassThru into a new unit which has the
default software of SNP/SRTP, you would enter a destination of G1. Note:
The destination is case sensitive. The letter “G” in this example must be
upper case.
5-6 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Monitor Mode and Firmware Upgrade 5
Windows NT Procedure
To download new firmware from a computer to a VMSE, it is necessary to
have a TFTP (Trivial File Transfer Protocol) client send a binary file.
Windows NT has a TFTP client built-in, but Windows 95/98 users must obtain
TFTP software. See the “Obtaining TFTP Software for Windows 95/98”
section on the last page of this chapter. The parameters to send a binary file
are as follows:
• Host – enter the IP address of the VMSE you are downloading.
• Source (or Local File) – a full path to the file to download to the VMSE.
• Destination (or Remote File) – this a like a password in the VMSE you
are downloading.
• PUT– send the file to the VMSE.
Go to the Command Prompt (MS-DOS Prompt), enter the above information,
then press the Enter key. See the example that follows:
1 2 3 4 5 6 7
Destination (Password)
Destination (password ) for Network loads depend on what file is already in
the VMSE. Enter the Destination code based on what is already in the VMSE
not on what you are downloading.
For example, if you are downloading PassThru into a new unit which has the
default software of SNP/SRTP, you would enter a destination of G1. Note:
The destination is case sensitive. The letter “G” in this example must be
upper case.
5-8 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Chapter Serial Line Interfaces
6
Serial Line Interfaces
The VMSE has RJ45 and screw block serial ports. The RJ45 port only
supports RS-232, whereas the screw block port supports RS-232 and RS-
485/422. By setting the switch located on the face of the VMSE and by
selecting the matching setting with the configuration software, RS-232 or RS-
485/422 can be selected.
NOTE: The VMSE is a one serial port device, meaning that only one port can
be used at a time. In the configuration menu, Channel One refers to either one
of the ports being used. If Channel Two appears, it should be disregarded (this
channel applies to another type of product).
GFK-1852A 6-1
6
6-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Serial Line Interfaces 6
Pin 1
6-4 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Serial Line Interfaces 6
Cable Diagrams
Cable IC200CBL504
RS-232 Serial Communications for VMSE RJ45 Serial Port to VersaMax
Nano/Micro PLC RJ45 Port
This cable is shipped in the box with the VMSE and can also be purchased
separately.
VMSE PLC
Connector Connector
1 NC NC 1
2 NC NC 2
RXD - 6 4 - TXD
TXD - 5 3 - RXD
Sig. Gnd.- 8 – Sig.
4 G d
3 NC NC 5
7 NC NC 6
8 NC NC 7
Specifications
• RJ45 Connector: Male, 8-pin
• D-Sub Connector: Female, 9-pin
• Cable: Standard RS-232 serial cable
• Maximum cable length: 15 meters (50 feet)
6-6 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Serial Line Interfaces 6
1 NC NC 1
DSR - 7 4 - DTR
RXD - 6 3 - TD
TXD - 5 2 - RD
Sig. Gnd. - 5 – Sig.
4 G d
CTS - 3 7 - RTS
RTS - 2 8 - CTS
8 NC NC 6
NC 9
Specifications
• RJ45 Connector: Male, 8-pin
• D-Sub Connector: Female, 9-pin
• Cable: Standard RS-232 serial cable
• Maximum cable length: 15 meters (50 feet)
1 NC NC 1
2 NC NC 4
RXD - 6 3 - TD
TXD - 5 2 - RD
Sig. Gnd.- 5 – Sig. Gnd.
4 7 - RTS
3 NC
7 NC 8 - CTS
8 NC NC 6
NC 9
Specifications
• RJ45 Connector: Male, 8-pin
• D-Sub Connector: Female, 9-pin
• Cable: Standard RS-232 serial cable
• Maximum length: 15 meters (50 feet)
6-8 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Serial Line Interfaces 6
Figure 6-12. VMSE Screw Terminals to 15-Pin D-Sub PLC Serial Port
D-Sub
100 ohm, 1/2 w resistor**
VMSE Connector
RX (-) - 1 12 - SD (-)
TP*
RX (+) - 2 13 - SD (+)
TX (+) - 3 11 - RD (+’)
TP*
TX (-) - 4 10 - RD (-’)
Signal Gnd. 8 7 - Signal
G d
1 - Shield
** 9 - Term. Resis.
6 - RTS (-)
15 - CTS (-’)
* TP = Twisted Pair
8 - CTS (+’)
** If using a multidrop arrangement,
14 - RTS (+’)
terminate only at the first and last
receive terminals.
Specifications
• D-Sub Connector: Male, 15-pin
• Cable: Shielded, twisted-pair rated for RS-485 use. Ground shield at one
end only, as shown above.
• Maximum cable length: 1200 meters (4,000 feet)
• VMSE Switch setting: Set to RS-422 position (see Figures 6-2 and 6-3).
Also, the “Interface Type” configuration parameter must be set to RS-422.
*
Serial Serial
Switch=** Switch=RS-422 Line 2
Line 1
VMSE #1 VMSE #2 *
Ethernet Cable
** VMSE #1 must be set to the configuration (RS-232 or RS-422) that matches the Master
6-10 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Serial Line Interfaces 6
Pin 1 Pin 6
External View
2 RD Receive Data
3 TD Transmit Data
6 NC No Connection
9 NC No Connection
Pin 1 Pin 6
Pin 5 Pin 9
External View
6-12 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Serial Line Interfaces 6
Pin 1 Pin 9
Pin 8 Pin 15
External View
Pin 1
External View
6-14 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Serial Line Interfaces 6
Pin 1
External View
Pin 5 Pin 9
Pin 6
Pin 1
External View
6-16 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Chapter Technical Data
7
CPU, Memory, and Controllers
• V.40 CPU, 10MHz clock
• National Semiconductor DP839xx Ethernet Controller
• 128 kByte RAM, 128 kByte Flash EPROM
• 256 Byte E²PROM for parameter storage
Serial Interface
• RJ-45 connector for RS232 interface
• Screw terminals for RS232 or RS422/485 interface
• Speed software selectable 300 to 38.4k baud
• Switch selectable RS-232C or RS-422/485 – screw terminal connector
only
Network Interface
• Integrated 10BaseT port (RJ-45 connector)
Power Consumption
• Maximum 3 Watt
Operating Temperature
• 0-60 degrees C (32-140 degrees F)
GFK-1852A 7-1
7
LEDs
• Four LEDs for Ethernet channel, link, activities, and error. See Chapter
Six for details.
• Two LEDs for serial channel status.
Case
• Plastic case for DIN rail mounting
Dimensions
90mm
(3.54”) Depth = 36mm (1.42”)
Weight
• Approx. 150g (0.33 lb)
7-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
60mm
(2.36”)
Appendix IP Addresses
A
IP Addressing
An IP address is a 32-bit value, divided into four octets of eight bits each. The
standard representation is four decimal numbers (in the range of 0..255), divided by
dots.
Example: 192.2.1.123
This is called dotted-decimal notation.
The IP address is divided in two parts: network and host. To support different needs,
three ”network classes” have been defined. Depending on the network class, the last
one, two or three bytes define the host, while the remaining part defines the network.
In the following, ‘x’ stands for the host part of the IP address:
Class A Network
IP address 1.x.x.x to 127.x.x.x
Only 127 different networks of this class exist. These have a very large number of
potential connected devices (up to 16,777,216)
Example: 10.0.0.1, (network 10, host 0.0.1)
Class B Network
IP address 128.0.x.x to 191.255.xxx.xxx
These networks are used for large company networks. Every network can consist of
up to 65,534 devices.
Example: 172.1.3.2 (network 172.1, host 3.2)
GFK-1852A A-1
A
Class C Network
IP address 192.0.0.xxx to 223.255.255.xxx
These network addresses are most common and are often used in small companies.
These networks can consist of a maximum number of 254 hosts.
Example: 192.7.1.9 (network 192.7.1, host 9)
The remaining addresses 224.x.x.x - 239.x.x.x are defined as ”class D” and are used
as a multicast addresses.
The addresses 240.x.x.x. - 254.x.x.x are defined as "class E" and are reserved
addresses.
Network Address
The host address with all host bits set to "0" is used to address the network as a
whole (in routing entries, for example).
Broadcast Address
The address with the host part bits set to ‘1” is the broadcast address, meaning “for
every station”.
Network and Broadcast addresses must not be used as a host address (e.g.
192.168.0.0 identifies the entire network, 192.168.0.255 identifies the broadcast
address).
A-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
IP Addresses A
IP Netmask
The netmask is used to divide the IP address differently from the standard defined by
the classes A, B, C. A netmask defines how many bits from the IP address are to be
taken as the network section and how many bits are to be taken as the host section.
When the number of host bits is entered, the VMSE calculates the netmask. The
netmask is displayed in standard decimal-dot notation.
Network Bits Host Bits Netmask
Class A 8 24 255.0.0.0
Class B 16 16 255.255.0.0
Class C 24 8 255.255.255.0
Figure A-1. Standard IP Network Netmask
Netmask Examples
Class A 10.x.x.x
Class B 172.16.x.x
Class C 192.168.0.x
Network RFC’s
For more information regarding IP addressing see the following documents. These
can be located on the World Wide Web using one of the directories or indices:
RFC 950 Internet Standard Subnetting Procedure
RFC 1700 Assigned Numbers
RFC 1117 Internet Numbers
RFC 1597 Address Allocation for Private Internets
A-4 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Appendix Binary to Hexadecimal Conversion Table
B
Hexadecimal digits have values from 0..15, represented as 0...9, A (for 10), B
(for 11) ... F (for 15). Use the following table to convert binary-to-decimal-to-
hex:
Decimal Binary Hexadecimal
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F
Figure B-1. Decimal, Binary, and Hexadecimal Conversion Table
To convert a binary value that has more than four bits, separate it into groups
of four bits. (If the number of binary bits is not an even multiple of four, add
leading zeroes to make it an even multiple.) Each group of four binary bits
represents a single hexadecimal number. For example, let’s convert the binary
number 1011110000 to the hexadecimal number 2F0. First separate the binary
number into groups of four bits (add two leading zeroes): 0010 1111 0000.
Then use the above conversion table to find the hexadecimal value for each
group: 0010 = 2, 1111 = F, 0000 = 0.
GFK-1852A B-1
B
B-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Appendix Declaration of Conformity
C
Declaration of Conformity
according to ISO/IEC Guide 22 and BS 7514
GFK-1852A C-1
C
C-2 VersaMax Serial to Ethernet Adapter User's Manual – July 2003 GFK-1852A
Index
E
A Ethernet, 2-2
ARP, 4-3 External transceiver, 2-2
command example, 1-4
Automatic connection
address, 4-14 F
Firmware
B download from VMSE to
VMSE, 5-4
Baud rate configuration, 4-11 download via network host,
Broadcast address, A-2 5-7
Buffer flushing, 4-17 downloading via serial port,
5-3
VMSE options, 1-2
C Flow control config., 4-12
Force Telnet mode, 4-16
Cable diagrams, 6-5 Front panel layout
Class A network, A-1 of VMSE, 6-4
Class B network, A-1
Class C network, A-2
Configuration G
memory, 4-1
parameters, 4-4 Gateway IP address, 4-10, 4-
Telnet, 4-10 21
Configuration setup
SRTP/SNP, 4-5
Connect mode, 4-13
I
Connections IC200CBL504
terminal screw, 6-4 serial cable, 6-5
Connector, VMSE IC690ACC901 Miniconverter
pin-out, 6-2 9-pin pin-out, 6-16
Controller cable, 6-6
specifications, 7-1 Inactivity timeout, 4-17
CPU Interface Mode config., 4-11
specifications, 7-1 IP address, 3-2, 4-6, 4-10, 4-
21, A-3, A-4
D factory default, 4-2
forcing new IP, 4-2
Datagram mode, 4-14 remote, 4-12
DHCP, 4-2 IP addressing, A-1
Diagrams IP Networks
cable, 6-5 private, A-4
front panel layout, 6-3
Dimensions, 7-2
Disconnect mode
L
DTR disconnect, 4-16 Layout
GFK-1852A Index-1
Index
TCP
auto connection, 4-14 W
connections, 4-12 Weight
TCP/IP, 3-1, 4-2 of VMSE, 7-2
Telnet, 3-1, 3-2, 4-1, 4-3 Windows 95/98
configuration, 4-10 command example, 4-3
force mode, 4-16
standard port no., 4-12