ICS ELECTRONICS 9099 Manuale utente

ICS
ELECTRONICS
ICS
a division of Systems West Inc.
MODEL 9009 and 9099
Ethernet Modbus Interfaces
Instruction Manual
MODBUS

i
MODEL 9009 and 9099
Ethernet Modbus Interfaces
Instruction Manual
7034 Commerce Circle, Pleasanton, CA 94588
Phone 925.416.1000, Fax 925.416.0105 Publication Number 120217
Web Site http://www.icselect.com July 2017 Edition Rev 2
ICS
ELECTRONICS
ICS
division of Systems West Inc.
9009
9099

ii
LIMITED WARRANTY
Within 12 months of delivery, ICS Electronics will repair or replace this product, at our
option, if any part is found to be defective in materials or workmanship (labor is included).
Return this product to ICS Electronics, or other designated repair station, freight prepaid,
for prompt repair or replacement. Contact ICS for a return material authorization (RMA)
number prior to returning the product for repair.
CERTIFICATION
ICS Electronics certies that this product was carefully inspected and tested at the factory
prior to shipment and was found to meet all requirements of the specication under which
it was furnished.
EMI/RFI WARNING
This equipment generates, uses, and can radiate radio frequency energy and, if not installed
and used in accordance with the instruction manual, may cause interference to radio com-
munications. The Model 9099 has been tested and found to comply with the limits for a
Class A computing device pursuant to Subpart J of Part 15 of the FCC Rules and to comply
with the EEC Standards EN 55022; VDE 0878-22:2011-12 and EN 55024:2010; VDE 0878-
24:2010-09 which are designed to provide reasonable protection against such interference
when operated in a commercial environment. Operation of this equipment in a residential
area is likely to cause interference, in which case the user, at his own expense, will be required
to take whatever measures may be required to correct the interference.
Certicate of Conformance reproduced in Figure 1-2.
TRADEMARKS
The following trademarks referred to in this manual are the property of the following
companies:
VEE is a trademark of Agilent, Palo Alto, CA
LabView is a Trademark of National istruments, Austin, TX
ICS and GPIB AnyWhere are trademarks of ICS Electronics, Pleasanton, CA
© 2013-2017 ICS Electronics div of Systems West Inc.

i
General Information
Product Description, Model Numbers, VXI-11 Conformance, Interface
Specications, Web Server, Congurable Functions and Default Settings,
Indicators, Physical Specications, Certications and Accessories.
Installation
Shipment Verication, Installation Guide, Conguration Instructions,
Serial Connections, 9009 Connections, Internal Jumper Settings and
Rack Mounting Instructions.
Operation
Operation Description, Status Reporting Structure, IEEE-488.2
and SCPI Conformance, SCPI Commands, Modbus Commands,
Programming Guidelines, VXI-11 Keyboard, Error Logger Utility
and OEM Documentation.
Theory of Operation
Block Diagram Descriptions
Maintenance, Troubleshooting and Repair
Maintenance, Troubleshooting Guide, Selftest Error Codes, Reverting
to Factory Settings, Updating Firmware, Sanitizing Procedure, and
Repair Information
Appendices
A1 IEEE-488.1, IEEE-488.2 and SCPI Descriptions
A2 VXI-11 Concept
A3 VXI-11 RPCgen Information
A4 ICS RPC Conguration Commands
A5 HTML Variables
Index
Contents
2
4
5
I
3
1
A

1-1
1
1
General Information
1.1 INTRODUCTION
This section provides a description and specications for ICS's Model 9009
and 9099 Ethernet to Modbus Interfaces. All specications and functional
descriptions apply to both units unless otherwise stated.
1.2 DESCRIPTION
The Model 9009 and 9099 Ethernet to Modbus Interfaces provide a user with
multiple ways to control Modbus RTU slave devices with RS-232 and RS-422/
RS-485 signals. The Model 9009 is a PC board assembly with an Ethernet,
GPIB and USB user interfaces. The Model 9099 is an enclosed unit that has
an Ethernet user interface. Both units have a 9-pin connector with user se-
lected RS-232 or RS-422/RS-485 signals for controlling Modbus RTU slave
devices.
In both units, the Ethernet Interface provides a user with multiple protocols
and conversion capability to control serial Modbus RTU devices. The Ethernet
Interfaces support the VXI-11, raw-socket and Modbus TCP/IP conversion and
include a webserver with HTML control pages for the more popular tempera-
ture controllers.
The VXI-11 and raw-socket protocols let the user send simple commands
with ASCII values over a 10/100 Mbs TCP/IP network to control and query
Modbus slave devices. The simple commands are converted into the Modbus
RTU messages and the CRC checksum is added to make a complete Modbus
RTU packet. The Modbus RTU packets are sent serially over a RS-232 link
to a single Modbus slave device or over a RS-485 network to one or multiple
Modbus devices. Responses are checked and valid response data from a query
is returned when the 9099 is next addressed to talk.

1-2
1
The 9099 contains a number of advanced features that increase its exibility
and simplies their use in test system applications. The 9099 is an IEEE-488.2
compatible interface with an expanded Status Reporting Structure that complies
with the SCPI standard. SCPI commands are used to set the GPIB, USB and
serial conguration, and to enable bits in the Status Reporting Structure to
generate Service Requests. The user can also enter his own IDN message to
personalize the unit as part of his assembly.
ModbusTCP/IPpackets are automatically converted into Modbus RTU packets.
The Modbus conversion is transparent and the 9099 does not restrict the Modbus
addresses, functions or data but they are restricted by the capabilities of the
slave device. Response data from the slave device is returned to the sender
as a TCP/IP response packet. Message length is limited to 255 bytes.
The 9099 contains a webserver which provides the user with several types
of webpages. The Welcome page displays information about the 9099 and
displays its status. The Conguration Page provides a way to view the 9099's
current settings and to change the network, serial and USB settings. There
is some overlap with the SCPI setup commands. A rear panel 'LAN Reset'
button allows the user to return the 9099 to its default network settings. Two
Temperature Controller pages and a general Control page let a user view and
control different processes and devices run by temperature controllers.
The 9009's GPIB and USB Interfaces access the 9009's parser as does the
Ethernet interface and use the same simple commands to control and query
Modbus slave devices as does the Ethernet interface. The GPIB interface is
fully IEEE-488.2 compliant. The USB Interface uses Microsoft's Virtual COM
port driver for easy communication with the 9009.
The 9009 and 9099 are VXI-11.3 compliant, can be used in systems with LXI
devices and can be found with the LXI 'VXI-11 Discovery Method'.
The Model 9009 is a 5.5 x 5.5 inch PC board assembly that can be mounted on
the rear panel or inside a host chassis. It accepts 5 to 15 Vdc power.
The Model 9099 is packaged in a small Minibox™ metal case that is less than
1U in height (1.6 inches) The front panel contains the power switch and LEDs
which indicate the unit's status. The rear panel contains the Ethernet and se-
rial connectors, LAN Reset button and a DC power jack. The 9099 accepts
a wide range of DC voltages and is shipped with an universal power adapter
and plugs.

1-3
1
1.3 MODEL SPECIFICATIONS
The following specications apply to all 9009 and 9099 models. Options
for your unit may be found by comparing the list below to those listed on the
program label on your unit.
90x9 - X General Model Number
Option Codes
-6 Special settings
-7 Special Program
-8 Hardware modication
-9 Factory Rack Mounted
-U Ship with Universal 115/230 Vac Adapter

1-4
1
1.4. VXI-11 CONFORMANCE
The 9099 complies with the VXI-11.3 Specication.
1.4.1 RPC Protocol
The RPC protocol conforms to ONC RPC Version 2.
1.4.2 Sockets
The 9099's VXI-11 service supports 15 TCP/IP sockets for client communica-
tion with a maximum of 4 active sockets. The sockets are normally opened and
closed by the clients. The unit will close the socket and release all resources
if a broken connection is detected or when the link count goes to zero if Auto
Disconnect is enabled.
There is a separate socket for UDP RPC Port Mapper communication.
1.4.3 Channels
Supports Core,Abort and Interrupt channels. Core andAbort channels each use
a socket connection. A reverse Interrupt channel is a TCP/IP socket connection
that does not count against the 15 client communication sockets limit.
1.4.4 Device Links and Locks
The 9099 supports a maximum of 64 device links and 64 locks that can be used
over multiple Core channels by one or more clients.
1.4.5 VXI-11 Interface Name
The 9099 has only one instrument personality and the default name is inst0.
The name may be changed to any 8 character string.
1.4.6 VXI-11.3 Supported Functions
The 9099 supports all VXI-11.3 functions including:
create_link destroy_link create_intr_channel destroy_intr_channel
device_lock device_unlock device_abort
device_read device_write device_clear device_trigger
device_remote device_local device_readstb create_intr_channel
device_intr_SRQ device_enable_SRQ

1-5
1
1.5 ETHERNET INTERFACE
1.5.1 Type
IEEE-802.3 Compliant, Auto MDIX
1.5.2 Speed
Auto speed sensing, 10 Mbs with 10BaseT and 100 Mbs with 100BaseT
1.5.3 Network Address
Static: IP Address, Subnet Mask, and Gateway IPv4 values are user set from
0.0.0.0 to 255.255.255.255. Default values are listed in Table 1-3.
DHCP: Unit accepts IPv4 address from a DHCP Server or falls back to an
AutoIP of 169.254.90.99. The 9009 falls back to 169.254.90.09.
1.5.4 KeepAlive Message
User enabled. Message sent if no activity for 120 minutes. Releases the socket
and all associated resources if the connection is broken.
1.5.5 COMM Timeout
User set period of 0 to 232 seconds. Releases socket and all associated resources
if no activity occurred during the time period.
1.5.6 Port Usage
TABLE 1-1 9099 PORT USAGE
Port Usage Protocols Notes
23 Raw socket TCP Congurable port#
80 Internal WebServer HTML over TCP Web Browser
111 RPC Port Mapper RPC over TCP
502 Modbus TCP/IP TCP
5555 Core Channel RPC over TCP
2000-2999 Abort Channel RPC over TCP
xxxx Reverse Notication RPC over TCP Dened by user
5556 Conguration Port, RPC
Error Logger

1-6
1
TABLE 1-2 FACTORY NETWORK SETTINGS
Command
Function Choices Default Source (1)
IP Address Mode Static or Dynamic Static E
with autoIP fallback
to 169.254.90.99 or
169.254.90.09.
IP Address 0.0.0.0 to 192.168.0.254 E
255.255.255.255
Net Mask 0.0.0.0 to 255.255.255.0 E
255.255.255.255
Gateway IP 0.0.0.0 to 192.168.0.1 E
255.255.255.255
COMM Timeout 120 sec E
IP KeepAlive On or Off On E
Interface Name Any string(4) inst0 E
Auto Disconnect On or Off Off E
Sockets
User Description any string blank E
Raw Socket Enable On or Off Off E
Raw Socket Port# 0-65635 23 E
Raw Socket Echo On or Off Off E
Enable
Notes: 1. E = Set via Ethernet Interface using a web browser.
2. Function denitions are described in Table 2-1
3. The MAC Address is factory set and is not user changeable. The MAC Address
can be read with the VXI-11 Conguration Utility or with a web browser.
4. The interface name denes the device type. Changing it may cause your ap-
plication to stop working.
5. Setting Auto Disconnect on may cause your application to loose its connection
to the 9099 if the application destroys all links.
Questo manuale è adatto per i seguenti modelli
1
Indice

















