![ICC ETH-1000 Instruction Manual Download Page 116](http://html2.mh-extra.com/html/icc/eth-1000/eth-1000_instruction-manual_3351193116.webp)
115
ICC
Service Object Status
If it is desired to reflect the status of this service object, check the
Reflect Status
checkbox and enter a database
address
between 0 and 4080 (0x0 – 0xFF0) at
which to store the status information. For more information on reflecting the
status of service objects, refer to section 8.5.2.
8.8.9.3
Configuration Example
This example will configure the gateway for end-to-end communication using
Metasys N2 master and Modbus/TCP server.
Say, for instance, we wish to communicate to an adjustable-speed drive that
supports Metasys N2 from a PLC that supports Modbus/TCP. We wish to monitor
the output frequency, output current, and output voltage of the drive, located at
analog input objects 1, 2 and 3, with multipliers of 0.01, 0.01, and 0.1
respectively. We’d also like to monitor the running, forward/stop, and reverse/stop
bits, located at binary input objects 1, 2 and 3, respectively. To run the drive, we
need to be able to command the frequency command at analog output object 2
with a multiplier of 0.01, the command forward/stop bit at binary output object 2,
and command reverse/stop bit at binary output object 3.
Configure the Ethernet port using the above requirements
•
Connect the gateway to the PC via a USB mini type-B cable.
•
Open the configuration utility and select the ETH-1000 (see section 8.1 for
more information on selecting a device).
•
Click on the
Ethernet Configuration
subtab.
•
Click
Use a static IP address
and enter the IP address settings that your
PLC is configured to communicate with.
•
Check the checkbox next to
Modbus/TCP Server
in the
Protocol
dropdown
menu, and then click on the
Modbus/TCP Server
subtab.
•
The default mapping of the gateway’s database into the Modbus register
space will be used, so no register remap objects need to be created.
Configure the RS-485 port (Metasys N2 Master) using the above requirements
•
Click on the
RS-485 Configuration
tab.
•
Select
Metasys N2 Master
from the protocol dropdown menu.
•
Create Service Objects to read and write the desired N2 objects:
o
We can create one service object to monitor the output frequency
and output current since they are the same type and have the same
multiplier value.
•
Select
Analog Input
from the
Type
selection group.
•
Enter the address of the drive into the
Dest Address
field.
•
Enter “1” into the
Start Inst
field.
•
Enter “2” into the
Num Insts
field.
•
Enter “0” into the
Database Addr
field.
•
Select
32-bit Unsigned
from the
Data Type
dropdown
menu.
•
Enter “0.01” into the
Multiplier
field.