ICS ELECTRONICS 9099 User manual

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.

1-7
1
1.5.7 Protocols
TCP/IP for VXI-11, HTTP and RPC communication
UPD and TCP/IP for RPC Port Mapper commands
Modbus TCP/IP for Modbus RTU conversion
Raw Socket for telnet compatible IP packet communication
1.5.8 Raw Socket
The 90x9's Raw Socket conguration is set to the following values:
Port 23
Sockets 4
Echo Off
Prompt None
Timeout 120 seconds xed
Logon message Message equal to *IDN? response.
Terminator Linefeed character
Carriage Returns Client generated carriage returns are ignored.
Backspace Prior character deleted up to the start of the buffer.
Echo On command Cntl-E
Echo off command Cntl-F
The Raw Socket connection will be closed if there is no communication for 120
seconds. To prevent the Raw Socket from timing out and disconnecting, the
client can issue a no change message like space-backspace or a Cntl-E-Cntl-F
sequence, on an occasional basis, to restart the timeout counter.
If Echo was enabled, all client character will be echoed back to the client. The
echo sequence for a backspace is a BS-space-BS to visually wipe the deleted
character off of the telnet client screen.

1-8
1
1.6 INTERNAL WEB SERVER
The 9099's WebServer provides HTML web pages to W3C compliant brows-
ers.
1.6.1 HTML Pages
The 9099's HTML pages conform to HTML version 4.01 or XHTML version
1.0. The WebServer serves the stored pages after substituting values for the
variable placeholders. The variables are listed in Appendix 5. The standard
pages are:
404.html 404 Error Page (required page)
501.html 501 Error Page (required page)
index.html Welcome Page (required page)
cong.html Conguration Page
conrm.html Conrmation Page
control.html General purpose 9099 and Modbus device control page
reboot.html Reboot Page
F4.html Sample F4 Control Page
F4T.html Sample F4T Control Page
EZ.html Sample EZ Zone Control Page
1.6.3 Graphics
ICS'S HTML upload utility supports les with .gif, .jpg, .png or .hgl extensions.
The standard graphic is:
ICS-Logo.gif ICS Logo
1.6.4 HTMLUserCongurability
The user can replace the HTML pages and image les with modied pages or
add additional pages and images to the unit. The user is responsible for assuring
that any substituted HTML page conforms to HTML version 4.01 or XHTML
version 1.0. Guidelines for modifying the pages, HTML les and the Upload
Utility are described in Application Bulletin AB80-5.
File types supported .html, .gif, .jpg, .png, .hgl and .xml
Number of les 32 maximum
File size 255 kbytes maximum for all les.
63 kbytes maximum for a single le.
File name size 25 characters including the extension.

1-9
1
1.7 GPIB INTERFACE (9009 ONLY)
1.7.1 488.1 Capabilities
The 9009's GPIB Bus interface meets the IEEE STD 488.1-1987 standard and
has the following capabilities:
SH1, AH1, T6, L3, SR1, PP0, DC1, RL0, DT0, C0 and
E1/E2 drivers.
1.7.2 Address Ranges
Primary addresses 0 - 30
1.7.3 Buffers
GPIB input 1 kbytes
GPIB output 1 kbytes
1.7.4 488.2 Common Commands
The 9009 conforms to IEEE STD 488.2-19A87. When addressed to listen in
the command mode, the unit responds to the following 488.2 Common Com-
mands:
*CLS, *ESE, *ESE?, *ESR?, *IDN?, *OPC, *OPC?, *PSC *RCL, *RST,
*SAV, *SRE, *SRE?, *STB, *TST?, and *WAI.
1.7.5 SCPI Parser
The extended SCPI parser complies with the SCPI Standard Version 1994.0.

1-10
1
1.8 USB INTERFACE (9009 ONLY)
1.8.1 USB Driver
Provides USB control through a virtual COM Port using the Microsoft's standard
driver for Virtual COM Ports.
1.8.2 Supported Operating Systems
Windows XP (SP2) or later,
Vista
Windows 7
Windows 8
Windows 10
1.8.3 Data Rates and Formats
Baud Rate: 115.2 Kbaud
Date bits 8
Parity none
Stop bits 1

1-11
1
1.9 SERIAL MODBUS INTERFACE
The 9099's asynchronous serial Modbus interface provides RS-232 single-ended
signals and RS-485 (RS-422) differential signals with an internal termination
network. Signals are selected by internal jumpers.
1.9.1 Modbus RTU Message Format
Messages conform to the Modbus RTU format and include the device address,
command, register number, data and CRC formatted as binary bytes. Supported
Modbus commands when using VXI-11.3 or raw socket protocol are: 01, 02,
03, 04, 05, 06, 07, 08, and 16 for integer values and commands 03 and 16 for
oating point 32-bit values.
Integer range 16 bits or 65,536
Floating point IEEE-754
There are no Modbus command restrictions when using the Modbus TCP/IPpro-
tocol. Message size and responses cannot exceed the 255 byte packet size.
1.9.2 Baud Rates
Although Modbus RTU devices typically support only 9600 and 19200 baud,
the 9099 is setable to the following baud rates. The 9099 selects the next higher
standard rate when a nonstandard rate is entered.
1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200 baud.
1.9.3 Data Character Formats:
Data bits 7 or 8 data bits per character
Parity none, even or odd
Stop bits 1 or 2 stop bits per character
1.9.4 RS-232Specications
All units have single-ended RS-232C drivers and receivers that are designed to
operate with up to 50 feet of cable. Hardware handshaking is not supported.
Signals have 15 Kv ESD protection.
Transmit +5 Vdc = Logic "0" or On
Levels -5 Vdc = Logic "1" or Off

1-12
1
Receive ± 2.4 Vdc minimum, ± 25 Vdc maximum
Levels
Signals AA, AB, BA, and BB
1.9.5 RS-422/RS-485Specications
The 9099 has balanced RS-485 line drivers and receivers that provide RS-422
and RS-485 compatible differential signal pairs. The line drivers and receiv-
ers are designed to operate with up to 1200 meters of twisted-pair cable. The
transmitter can be set for continuous on operation or it can be tristated when
not transmitting.
Modes Transmitter always on (RS-485 Mode Off) or
tristated when not transmitting (RS-485 mode On)
Transmit +2 Vdc differential for binary 0 or On
Levels -2 Vdc differential for binary 1 or Off
Receive ± 0.2 Vdc minimum, ± 25 Vdc maximum,
Levels differential or single-ended input with other input line
biased at mid-range.
Signals SD, RD
Signal pairs combined by internal jumpers.
Termination 3.3 volt Termination network with 100 Ω load resistor.
Network Network selected by jumpers.
1.9.6 Alarm Inputs
The 9099 has two TTL signal inputs with 10 kohm pullups to +5 Vdc. Input
levels should be < 0.6 Vdc for low and > 1 Vdc for high. The signals are
sampled at a > 1 kHz rate and reported in the Operational Register in the Status
Reporting Structure.

1-13
1
1.10 PROGRAMMABLE FUNCTIONS
Table 1-3 lists the 9099 and 9009's programmable interface and Modbus func-
tions that can be set by external commands and/or a web browser. PCB jumpers
are factory set for RS-232 signals.
TABLE 1-3 FACTORY CONFIGURATION
Command Functions Factory
or Variable Setting
:ADDRess Sets GPIB Address 4
:BAUD Sets Modbus transmit/receive baud rate 9600 #
:BITs Sets Modbus data bits per character 8 #
:SBITs Sets Modbus stop bits/per character 1 #
:PARity Sets Modbus parity type NONE #
:RS485 Enables tristating Modbus serial transmitter OFF #
when not transmitting.
:FORMat Sets talk format for response data ASCii #
:PROMPt Enables USB prompt. 1
:Echo Enables echoing character in the USB port. 0
CAL:IDN Sets OEM's IDN string empty string #
*ESE Enables Standard Event Status Register bits 0
*SRE Enables Status Byte Register bits 0
D Modbus Serial Timeout 300
C Modbus slave device ID number 1
(subaddr) Sets the substitute modbus slave address for 1
programs written with slave address 0.
(enable) Enables the 9099 to substitute its preset OFF
slave ID number for the ID number in the
Modbus TCP/IP packet. This parameter can
only be congured with a web browser.
Notes: # indicates a parameter that can be blocked by the LOCK command

1-14
1
1.11 INDICATORS
The 9099 has eight LED indicators that display the following conditions:
PWR Indicates power on
LAN Indicates that the unit is ready and is connected to an active
LAN. Blinks at user request to identify the unit. Off when
IP address has unexpectedly changed.
ACT Indicates messages are being transferred between the unit
and the LAN.
RDY Indicates the unit has passed self test.
Blinks when all sockets are used and the unit cannot open a
new socket or link.
TALK Indicates the unit was sent a device_read command
LSTN Indicates the unit was sent a device_write command.
SRQ On when the unit is requesting service. When a reverse
Interrupt channel is established and Service requests are
enabled, the SRQ LED will blink momentarily to indicate
that the unit has sent an service request message to the host
application.
ERR Blinks on when the unit has detected a soft error condition
such as a command error, device error or a communication
problem. Steady on when any of the ESR Register error bits
2 thru 6 are set or LAN ip address unexpectedly changed.
When the unit is turned on, it performs an internal selftest and startup which
takes about 7 seconds. Only the PWR LED is on during the self test-startup
time.
The Model 9009 blinks is GPIB address as a binary value during the self test.
The bit weights are:
RDY TALK LSTN SRQ ERR
16 8 4 2 1
At the end of a successful selftest, the unit turns the RDY LED on after the
outputs have been congured. At this time the LAN and ACT LEDs display the
unit's network status. LAN communication is immediate for static IP addresses.
DHCP IP address assignment times add to the LAN startup time.
If the unit detects a hard self test error, it blinks the error code on its front panel
LEDs. Refer to paragraph 5.4 for a description of the selftest errors and their
possible causes.

1-15
1
1.12 PHYSICAL
1.12.1 9009 Board Assembly
Size 5.5" L x 5.5" W x .5" H
(13.97 cm L x 13.97 cm W x 1.24 cm H)
(See Figure 1-1)
Material PC Board - FR406 Flame resistant Fiberglass
Components - RoHS compliant
Construction Lead Free
Weight 0.35 lbs (0.14 kg)
Temperature
Operating -10 °C to +55 °C
Storage -40 °C to +70 °C
Humidity 0-90% RH without condensation
Power 5 ± 0.2 Vdc or 5.5 to 15 Vdc @ 400 mA
Connectors
Ethernet RJ45
GPIB Standard 24-pin IEEE Conector with metric lock studs
Serial Cinch DE-9S female connector with lock studs
USB USB 'B' type
LEDs (J4) ICS P/N 902279 or AMP 4-640440-0
Power (P2) ICS P/N 902323 or AMP 640440-2

1-16
1
Figure 1-1 9009 Outline Dimensions
This manual suits for next models
1
Table of contents