ICS ELECTRONICS 4807 User manual

ICS
ELECTRONICS
ICS
a division of Systems West Inc.
DAQ & Ctl
MODEL 4807/2307/4867/2367
Data Acquisition and Control
Boards and Modules
Instruction Manual

MODEL 4807/2307/4867/2367
Data Acquisition and Control
Boards and Modules
Instruction Manual
7034 Commerce Circle
Pleasanton, CA 94588
Phone 925.416.1000 Fax: 925.416.0105 Publication Number 120154
Web: http://www.icselect.com September 2015 Edition Rev 5.2
ICS
ELECTRONICS
ICS
division of Systems West Inc.

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 certifies that this product was carefully inspected and tested at the
factorypriortoshipmentandwasfoundtomeetallrequirementsofthespecification
under which it was furnished.
EMI/RFI WARNING
This equipment generates, uses, and can radiate radio frequency energy and, if not
installedandusedinaccordance withtheinstruction manual,maycause interference
to radio communications. The Models 4867 and 2367 have 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 and EN
50082-1, 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. The Models 4807 and 2307 have not been tested but may
be used in an assembly that will be tested prior to resale.
Certificate of Compliance reproduced in Figures 1-2 and 1-3.
TRADEMARKS
Thefollowing trademarksreferredtoin thismanualarethe propertyofthe following
companies:
HP is a trademark of Hewlett-Packard Corporation, Palo Alto, CA
ICS is a trademark of Systems West, Inc., San Jose, CA
REVISION HISTORY
CE Certificate added September 2009
© 2006-2015 ICS Electronics div Systems West, Inc.

General Information
Product Description, Specifications, GPIB Interface, Serial
Interface,Analog& DigitalI/O,Factory Configurations,Physical,
Certifications and Accessories.
Installation
Shipment Verification, Configuration Instructions, Use of the
Support CD-ROM, Non-PC Configuration Instructions, Cabling,
I/O Connections, Example Connections and Terminal Board.
Programming Instructions
General Operation, GPIB and Network Addressing, 488.2 Status
Structure, 488.2 Commands, SCPI Commands, Single Letter
Commands and Programming Guidelines.
Theory of Operation
Theory of Operation and Block Diagram Descriptions
Troubleshooting and Repair
Self-test Error Codes, Troubleshooting Guide, and Repair
Information
Appendix
A1 Background information on IEEE 488.1 Bus, IEEE 488.2
MessageFormats,Protocols,CommonCommandsandSCPI
A2 Serial Data Communication Backgrounder
A3 GPIB Connector/Switch Assembly Dimensions and
Installation Notes
Index
Contents
2
4
A
I
3
1
I
5

ii
This page left intentionally blank

1-1
1
1
General Information
1.1 INTRODUCTION
This section provides specifications for ICS's Models 4807 and 2307 Data
AcquisitionandControlBoardsandModels4867and2367DataAcquisition
and Control Modules. All specifications and functional descriptions apply
equally to both types of units unless otherwise stated.
1.2 DESCRIPTION
1.2.1 All Units
All units covered by this manual provide the same analog and digital
interface that contains digital and analog signals to control external devices
and input digital data, analog voltages and temperature readings from
external devices.
The analog section of the interface provides four analog outputs, six analog
inputsandfour thermocoupleinputs. Theanalogoutputs areprogrammable
over a 0 to 5 Vdc range. The analog inputs are single-ended inputs with
programmable ranges of ±10, ±5, 0 to 5 and 0 to 10 Vdc. The thermocouple
inputs accept type J thermocouples and can read temperatures from -100 °C
to + 400 °C.
The parallel digital interface provides 32 programmable digital lines with
TTL levels for controlling devices or for inputting digital data. The digital
interface is user configurable into gated inputs and/or latched outputs in
increments of eight bits. As inputs, each data line has a pullup resistor for
sensing contact closures or for interfacing with CMOS signals. As outputs,

1-2
1
each line can source up to 24 mA or sink up to 48 mA. The boards can also
monitor 15 of the digital lines and interrupt the system controller when a
change occurs.
The units also provide six relay driver outputs that can be used to actuate
external solenoids, drive relays or operate any device requiring a high sink
current.
All units use SCPI and/or short form commands to set their configuration
parameters, transfer data, operate the control lines, take measurements and
to set its address. All settings are retained in nonvolatile Flash memory and
are recalled at power turn-on or when the unit is reset. This means that the
unit has to only be configured once until used in another application. The
SCPI and short form commands can also be used to query the current
parametersettingsandallinputsignals. SCPIstandsforStandardCommands
for Programmable Instruments. Refer to the appendix for additional
information about SCPI commands.
At power turn-on, the units perform a self test of their internal logic. At the
end of the self test, the units displays their address by momentarily blinking
the address on its LEDs before displaying the normal Power-on - Ready
condition.
1.2.2 Board Units
The Model 4807 and 2307 DAQ and Control Boards are small 4.5 x 5.5 inch
PCBassembliesthat arepoweredfrom5 Vdc. Theanaloganddigital signals
are on a right-angle metal shell connector with lock studs for secure signal
connections in any application. The Model 4807 has an GPIB/IEEE-488.2
compatibleinterfaceanda headerforconnectiontoan ICS GPIBConnector/
Address Switch Assembly. The Model 2307 has RS-232/RS-422/RS-485
compatible serial interfaces on a right-angle 9-pin DE connector for direct
connection to a serial link. Both boards are designed to be installed
internally in a piece of equipment and to be shielded by the host equipment's
case.
The 2307 may be controlled over an RS-232 or RS-422/RS-485 point-to-
point data link in which case it does not need or use an address. The 2307
can also operate on a multidrop RS-422 or RS-485 network, when address
mode is enabled. In this case the 2307 can be enabled to recognize an

1-3
1
address string prefixed to the SCPI commands and only responds to those
commands with an address that matches the one stored in its Flash memory.
For secure applications, the 2307 can be set to operate in a packet mode
where the commands and responses are encoded in a packet with a
checksum. In this case, the 2307 only executes commands in valid packets
that contain the board's address.
1.2.3 Modules
The Model 4867 and 2367 DAQ and Control Modules are packaged in
ICS's Minibox case and are powered by a companion wall mounted AC
power adapter. The analog and digital signals are on a right-angle metal
shell connector with lock studs for secure signal connections in any
application. TheModel4867hasanGPIB/IEEE-488.2compatibleinterface
and a standard GPIB connector for connection to an IEEE-488 Bus. The
Model 2367 has RS-232/RS-422/RS-485 compatible serial interfaces on a
right-angle 25-pin DB connector for direct connection to a serial link. Both
modules are designed for stand-alone use or for mounting in a rack mount
kit.
The 2367 may be controlled over an RS-232 or RS-422/RS-485 serial link
as described above for the Model 2307.
1.2.4 OEM Boards
The PC Board Assemblies from the 4867 and 2367 Modules are available
as OEM PCB Assemblies. These PCB Assemblies are available with just
GPIB or Serial interfaces or with both GPIB and Serial interfaces.
P/N 115097-01 GPIB Interface
P/N 115097-02 Serial Interface
P/N 115097-03 GPIB and Serial Interface
The OEM Board Assemblies have 0.187 inch high standoffs for mounding
against a metal plate.

1-4
1
1.3 MODEL 4807/2307/4867/2367 SPECIFICATIONS
The following specifications apply to all Data Acquisition and Control
models. Options for your unit may be found by comparing the list below
to those listed on the serial label on your unit.
4807 - X General Model Number
Option Codes
-1 Special Crystal
-3 Custom Paint
-5 Custom Front Panel
-7 Special Program
-8 Hardware Modification
-A Ship with Australian 230 Vac Adapter
-B Ship with British 230 Vac Adapter
-E Ship with European 230 Vac Adapter
-J Ship with Japanese 100 Vac Adapter
Base model number
4807 for GPIB Boards
115042 for 4807 board only orders
2307 for Serial Boards
114642 for 2307 board only orders
4867 for GPIB Modules
2367 for Serial Modules

1-5
1
1.4 IEEE 488 INTERFACE (4807 AND 4867)
1.4.1 488.1 Capabilities
The 4807/4867's 488 Bus interface meets the IEEE STD 488.1-1987
standard and has the following capabilities:
SH1, AH1, T6, L4, SR1, PP0, DC1, RL0, DT1, C0 and E2 drivers.
1.4.2 GPIB Addressing
Mode Address Ranges
Single Primary addresses 0-30
Dual Primary Primary addresses 0-29 and 1-30
Dual SecondaryPrimary addresses 0-30,
Secondary addresses 0 and 1
1.4.3 Buffers
Input Buffer 1024 bytes
1.4.4 Serial Poll Responses and SRQ Generation
The Serial Poll Responses and SRQ generation uses an IEEE-488.2 type
reporting structure that has been enhanced by the addition of Questionable
and Conditional Registers for reporting the digital input signal status and
monitoring signal changes. The enhancement conforms to the SCPI 1994.0
Specification.
1.4.5 488.2 Common Commands
The 4803/2303 conforms to IEEE STD 488.2-1987 and responds to the
following 488.2 commands:
*CLS, *ESE, *ESE?, *ESR?, *IDN?, *OPC, *OPC?, *PSC, *PSC?,
*RCL, *RST, *SAV, *SRE, *SRE?, *STB, *TRG, *TST?, and
*WAI.

1-6
1
1.5 SERIAL INTERFACES (2307 AND 2367)
Signal selection made by jumpers on the 2307 or 2367 PCB Board.
1.5.1 Baud Rate and Character Format
Baud Rate Anyrate from 300to115,200 baud. Standardrates
are: 300, 600, 1200, 2400, 4800, 7200, 9600,
14400,19200,28800,38400,57600,76800,92160
and115200baud. Non-standardraesareconverted
to closest standard rate.
Format 7 or 8 data bits; odd, even or no parity;
Stop Bits 1 or 2 stop bits
1.5.2 RS-232 Interface
The RS-232 Interface has the following characteristics:
Signals BA, BB and AB
Mode Full Duplex with or without echo
Flow control none
Control-E Sets echo on
Control-F Sets echo off
1.5.3 RS-422/RS-485 Interface
The RS-422/RS-485 Interface may be used in point-to-point or network
applications and has the following characteristics:
Signals Tx/Rx+ and Tx/Rx- signal pairs
Mode Full Duplex or Half Duplex
Prompts CR-LF-prompt for terminal control
LF-prompt for computer control
Modes None, Addressed and Packet Protocol
Addresses 16
1.5.4 Buffers
Input Buffer 1024 bytes

1-7
1
1.5.5 RS-232 Transmission Protocol
1.5.5.1 Echos and Prompts
The 2307 and 2367 returns a prompt when ready for the next command. If
Echo is enabled, the prompt character is lined along the left edge of the
screen. The CNTL-E and CNTL-F commands turn echo on and off and
change the prompt sequence and message terminators as follows:
Command Echo Message Terminator Prompt
CNTL-E On Response CR LF CR LF >
CNTL-F Off Response LF > LF
The user should not attempt to send a new command until it has completed
the current command. Echo mode changes are immediate.
1.5.5.2 Service Request Message (SRM)
The 2307 and 2367 emulate the IEEE-488.1 SRQ line by transmitting an
asynchronous Service Request Message (SRM) when it is not busy
processingamessage andwhenan enabled StatusBytebit becomes set. The
SRM format is:
SRM n <LF> where n is the decimal value of the Status
Byte Register
e.g. SRM 96 indicates bits 5 and 6 are on.
1.5.6 RS-422/RS-485 Basic Protocol
When the Network mode is set to Off, the RS-422 interface operates as does
theRS-232interfacewithEchoOFF. Allresponsesmessages are terminated
with a linefeed character (LF). A '> LF' prompt is sent after each command
or after the response message. The transmitter is enabled until the prompt
is sent. SRM messages are sent when enabled.
1.5.7 RS-422/RS-485 Network Address Protocol
When Network Address is enabled, the first two characters of each received
message are checked for an address character that matches the address set
in the unit's Flash memory. If a valid address is detected, then the unit
responds to the command or query as it would normally. The Address

1-8
1
character sequence is an STX character (02) followed by the address
character. The address character is the ASCII number with a hex value of
30 - 3F. An example is the IDN query sent to a 2307 at address 4.
i.e. STX 4 * I D N ? (LF)
Promptsaresupportedwhennetwork addressing isenabled. Thetransmitter
is enabled until the prompt is sent. SRM messages are inhibited when
Network Address is selected
1.5.8 RS-422/RS-485 Packet Protocol
When Network Packet protocol is enabled, the unit operates with serial
packets that contain the commands, queries and responses. The unit
responds to packets containing an address character that matches the
address set in the Flash memory. If the checksum and command is valid,
the command is executed and an ACK packet is returned. If the checksum
or command is invalid, a NAK response is returned. ACK/NAK command
response packets contain the current ESR Register value.
The general packet format is:
STX Addr Message Characters....ETX Checksum
An acknowledgment packet is:
ACK Addr ESR_Register_Value ETX Checksum
ACK Addr Query_response ETX Checksum
An NAK packet is:
NAK Addr ESR_Register_Value ETX Checksum
Where:
ASCII characters 0 to 1F hex are reserved for message control.
ASCII characters 20-7F are for address and data.
Address character is 30-3F hex.
STX is ASCII character 02 hex.
ETX is ASCII character 03 hex.
ACK is ASCII character 06 hex.
NAK is ASCII character 15 hex.
Checksum is the exclusive OR sum of all of the characters
from the STX character though the ETX character.

1-9
1
1.6 DIGITAL SIGNAL SPECIFICATIONS
The Digital I/O signals have the following specifications:
1.6.1 Data Lines
Number 32 with internal 33 kohm pullups to + 5 Vdc
Input High >=2.4 Vdc or open circuit
Levels Low < 0.5 Vdc at 200 µA
Max 5.5 Vdc
Output High > 3.0 Vdc with 3 mA source
Levels > 2.0 Vdc with 24 mA source
Low < 0.55 Vdc with 48 mA sink
1.6.2 Monitored Digital Inputs
Ifthe firstsixteenDigital I/Olines(CH1-16) areconfigured as inputs, CH1-
15 are sampled at an approximate 1 kHz rate and the values placed in the
QuestionableRegisterintheIEEE-488.2 Status ReportingStructure. Signal
changes may be used to generate a Service Request. The digital input lines
are reported at the following bits in the Questionable Register and may be
read as normal inputs.
CH# - 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1.6.3 Timing Chart
The digital output lines are initialized to the saved configuration values at
the end of the selftest. During the selftest time, the output signals are
tristated and pulled passively high. Figure 1-1 shows the output signal
timing.
Data Lines
Lines tristated Lines driven
Power turn-on
Tselftest Tconfig
Figure 1-1 Data Outputs After Power Turn-on

1-10
1
1.6.4 Timing Chart
Thetimes in Table 1-1 are for a4807/5867 witha 20MHz clock. 2307/2367
times are 1.35 times longer.
TABLE 1-1 4807/4867 TIMING
Symbol Command/Notes Time
TdLoad Loading time for 6 hex characters 4.0 ms
TdTDAV Delay to first Talk DAV Pulse 0.7 ms
TdOut Terminator to data stable
"SOURCE:DATA hhhh" 5.0 ms
":DATA hhhh" 3.6 ms
"PO hhhh" 1.5 ms
"hhhh" (dual address mode) 0.1 ms
"bb" (binary format, dual address) 70 µs
TdStb Strobe delay after data stable 100 µsec
Strobe Data Strobe Pulse Width 5 µsec
TdSTB Delay from comd terminator to pulse
"SOUR:DATA:STR" 7.5 ms
":DATA:STR" 6.3 ms
"SP" 0.8 to 1.1 ms
TdStb2 Delay to next data strobe
"SOURCE:DATA hhhh,hhhh" 140 µs
":DATA hhhh,hhhh" 140 µs
"PO hhhh,hhhh" 140 µs
"hhhh,hhhh" (dual address mode) 160 µs
"bbbb" (binary format, dual address) 19 µs
TdRST Delay from comd terminator to pulse 7 ms
Reset Reset Pulse Width 65 µsec
TdTRG Delay from comd terminator to pulse
"*TRG" 1.8 ms
GET 50 to 200 µs
Trigger Trigger Pulse Width 5 µsec
TSelfTest Pon to Digital I/O lines configured 350 ms
TConf Byte configuration glitch 5 µs max
TStable Last byte configured to Stable high 5 µs min

1-11
1
1.7 ANALOG OUTPUTS
The Analog Outputs have the following specifications at 25 °C. The analog
outputs maybe scaled and offset so the command value can represent the
controlled parameters.
Channels 4
Range 0 to +4.9 Vdc
Loading 5 kohms
Resolution 1 part in 1024 (10 bits)
Non-linearity ±2 bits
Zero Error ±2 bits
End Point Error ±2 bits
Temperature Drift ±10 ppm
Temperature 0 °C to + 70 °C
Ripple 30 mVp-p @ 500 kHz
Update time 8 msec from command terminator to analog
output.
1.8 ANALOG INPUTS
The Analog Inputs have the following specifications at 25 °C. Analog
signals are continuously sampled and averaged to eliminate conversion
delay and noise. Zero and gain are firmware individually controlled by
channel and by range to provide scaled inputs. Default averaging value set
to minimize 60 Hz noise.
Channels 6
Ranges ±10, ±5, 0 to +5 and 0 to +10 Vdc
Input voltage ±16 Vdc max
Input Impedance 10 Kohms
Crosstalk -80 db typical
Resolution 1 part in 4096 (12 bits)
Non-linearity ±7 bits
End point Error ±5 bits
Temp Error ±5 ppm/°C
Averaging Programmable from 1 to 100 samples
Sample Rate 50 s/sec for 4807, 29 s/sec for 2307
Query response 8.5 msec for a single channel query from
query terminator to response.

1-12
1
1.9 THERMOCOUPLE INPUTS
The Thermocouple Inputs have the following specifications at 25 °C.
Temperature inputs are continuously sampled and averaged to eliminate
conversion delay and noise. Default averaging value set to minimize 60 Hz
noise.
Channels 4
Thermocouple Type J
Ranges -100 °C to + 400 °C
Resolution 0.1 °C
Non-linearity ±3 °C
Temp Drift Error ±2 °C over 0 to 50 °C
Averaging Programmable from 1 to 100 samples
Sample Rate 12.6 s/sec for 4807, 29 s/sec for 2307
Query response 8.5 msec for a single channel query from
query terminator to response.
1.10 RELAY DRIVER OUTPUTS
TheRelayDriveroutputssink current toactuate externalrelaysorsolenoids.
Internal spike suppression diodes are connected to the V Common line. The
driver outputs have the following specifications:
Outputs 6
Driver form Open collector with diode to V common
Current Rating 300 mA max
V on < 0.7 Vdc @ 20 mA,
< 1.2 Vdc @ 200 mA
V off V common - 0.7 Vdc
V common 0 to 48 Vdc
Return Separate line for driver return current,
same potential as logic ground
Output delay 2 msec typical from command
terminator

1-13
1
1.11 CONFIGURABLE FUNCTIONS
Setup configuration parameters are saved in nonvolatile Flash memory.
Table 1-1 lists the 4807/4867's configuration parameters and their factory
settings. Table 1-2 lists the 2307/2367's configuration parameters.
TABLE 1-1 4807/4867 CONFIGURATION PARAMETERS
Command Function Factory Setting
:ADDRess Sets 4807's GPIB address 4
:EXTernal Enables external address switch OFF
:INPut Sets number of Talk bytes 4 #
:POLarity Sets Input polarity 1 #
:TALK Selects Input Format HEX #
:OUTput Sets number of Listen bytes 0 #
:POLarity Sets Output polarity 1 #
:LISTen Sets Output Format HEX #
:LIMit Output voltage 10 #
:OFFSET Output voltage offset 0 #
:SLOPe Output voltage scale factor 1 #
:RANGe Measure voltage range 10 #
:POLarity Measure voltage range polarity 2 #
:AVERage Averaging value (temp/A/D) 16/32 #
:LOCK Blocks # items from changes Off
:IDN Sets user's IDN message ICS IDN msg #
:QUES Reg Enables digital signal changes 0 *
:PTRANSISTION Enables positive going inputs All 1s *
:NTRANSISTION Enables negative going inputs All 0s *
*ESE Enables events to generate an SRQ 0
*SRE Enables Summary bits to generate 0
an SRQ
* Indicates parameters that cannot be saved in the unit's nonvolatile memory.
# Indicates parameters that may be blocked by the LOCK command.

1-14
1
TABLE 1-2 2307/2367 CONFIGURATION PARAMETERS
Command Function Factory Setting
:BAUD Sets baud rate 9600
:PARity Sets parity NONE
:BITS Sets number of data bits 8
:SBITS Sets number of stop bits 1
:NETwork Enables network protocol OFF
:ADDRESS Sets 2307's Serial address 4
:RS485 Tristates transmitter when idle ON
:INPut Sets number of Talk bytes 4 #
:POLarity Sets Input polarity 1 #
:TALK Selects Input Format HEX #
:OUTput Sets number of Listen bytes 0 #
:POLarity Sets Output polarity 1 #
:LISTen Sets Output Format HEX #
:LIMit Output voltage 10 #
:OFFSET Output voltage offset 0 #
:SLOPe Output voltage scale factor 1 #
:RANGe Measure voltage range 10 #
:POLarity Measure voltage range polarity 2 #
:AVERage Averaging value (all channels) 20 #
:LOCK Blocks # items from changes Off
:IDN Sets user's IDN message ICS IDN msg #
:QUES Reg Enables digital signal changes 0 *
:PTRANSISTION Enables positive going inputs All 1s *
:NTRANSISTION Enables negative going inputs All 0s *
*ESE Enables events to generate an SRQ 0
*SRE Enables Summary bits to generate 0
an SRQ
* Indicates parameters that cannot be saved in the unit's nonvolatile memory.
# Indicates parameters that may be blocked by the LOCK command.

1-15
1
1.12 INDICATORS
The board has six diagnostic LEDs that display the following conditions:
PWR - Indicates power on.
RDY - Indicates unit has passed self test.
TALK/TX - Indicatesunit has recognizeditstalk addressor
is transmitting a serial message.
LSTN/RX - Indicates unit has recognized its listen address
or is receiving a serial message.
SRQ/SRM - Indicates unit is generating an SRQ.
ERR - Indicates unit has detected an command error
and the command was not executed or the
Flash is corrupted.
When the board is turned on, it performs an internal self test which takes
about 0.4 seconds. The PWR indicator is on during selftest. At the end of
the self test, the unit displays its current serial network address setting by
blinking a binary pattern on the LEDs. The LED bit weights are:
RDY TALK/TX LSTN/RX SRQ/SRM ERR
16 8 4 2 1
Any errors found during self test are indicated by a repeated blinking of the
error code pattern. Refer to Table 5-3 for a description of the self test errors
andtheirpossible causes. Whenallofthe LEDs excepttheERRLEDblink
on for 1 second, the unit is writing configuration parameters to the Flash
memory. When all of the LEDs blink on for 1 second, the unit is initializing
the Flash memory to factory defaults
1.13 EXTERNAL RESET INPUT
The -ExtRst is a low true input with a 33 Kohm pullup that is used to reset
the unit. The unit is held in the reset state while -ExtRst is low.
This manual suits for next models
3
Table of contents
Other ICS ELECTRONICS Computer Hardware manuals