How to map MODBUS ID to IP address for ... Master)

Transcription

How to map MODBUS ID to IP address for ... Master)
How to map MODBUS ID to IP address for IC200SET001 (only for Modbus
Master)
1. The VersaMax Serial to Ethernet Adapter uses different versions of the firmware files depending upon
the revision of the adapter. Each of the supported protocols, Modbus, SNP/SRTP and pass-through, has
different files for the different revisions of the adapter. The adapter revision is printed on the modules
product label and is the two letter suffix on the module part number (e.g. IC200SET001-BC).
Please reference the Operational Notes of the Important Product Information (document GFK-1853) for
the adapter for complete details on which file to use.
2. Upgrade IC200SET001 with Modbus firmware.
Use the upgrade utility Pumpkin (reference KB article 14140) to load the Modbus RTU firmware to the
IC200SET001. Detailed procedures on updating the firmware may be found in GFK-1852, chapter 5
3. Set the IP address of the IC200SET001 using the procedure described in GFK-1852, chapter 1 Quick
Start or chapter 4 Configuration.
4. Follow the steps in GFK-1852 chapter 4 ModbusTCP/RTU firmware Configuration Setup, to configure
the Modbus firmware. However, GFK-1852 doesn’t include information about how to configure Option
5 Modbus ID to IP Address Mapping. This information is described below and with the following screen
shot
a. Close Idle TCP socket after seconds (3-60sec, 0=open ). ………….. Defalt 10
b. Redundant entry retries after (15-60 sec, 0=disable) ,……………….0 Disable
c. The next step is to assign the IP address to which the Modbus message will be sent
SET001 uses the provided IDs to recognize & accept incoming messages and re-transmit the
messages to the associated IP address (mapped). Select A)dd to add an ID or range of IDs or D)elete
to remove a previously entered ID. Upon selecting Add, enter the ID or the lowest numerical ID If
entering a range at the< From prompt>, then enter the same ID or the highest numerical ID if enter
a range at the <To prompt>. The next step is to assign the IP address to which the Modbus
message will be set. If using a range of IDs, leave the last octet of the IP as zero.
Take the following command for example, slave of ID 2 is mapped to IP 10.0.0.2, Slave of ID 3 is
mapped to IP 10.0.0.3 and Slave of ID 4 is mapped to IP 10.0.0.4. Slave ID valid range is 0-247.