ICS ELECTRONICS 4809A User manual

ICS
ELECTRONICS
ICS
a division of Systems West Inc.
MODEL 4809A, 4819A, 4829A and 4899A
GPIB Modbus Interfaces
Instruction Manual
MODBUS

i
MODEL 4809A, 4819A, 4829A, 4899A
GPIB Modbus Interface
Instruction Manual
7034 Commerce Circle, Pleasanton, CA 94588
Phone 925.416.1000, Fax 925.416.0105 Publication Number 120148
Web Site http://www.icselect.com April 2017 Edition Rev 19
ICS
ELECTRONICS
ICS
division of Systems West Inc.

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 Corporation 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
installedandusedinaccordancewiththeinstructionmanual,maycauseinterference
to radio communications. The Model 4899A 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 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 4809A, 4819A and 4829A boards should be tested for RFI/EMI compli-
ance as a component in the user's equipment.
Certicate of Compliance reproduced in Figure 1-4.
TRADEMARKS
The following trademarks referred to in this manual are the property of the fol-
lowing 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
© 2000-2017 ICS Electronics div of Systems West Inc.

General Information
ProductDescriptions,Specications,FactoryConguration,Physical
Characteristics, Certications andAccessories List.
Installation
Shipment Check, Installation Guide, Conguration Instructions,
GPIB and Serial Connections, Internal Jumper Settings and Rack
Mounting instructions.
Operation
Operation Description, GPIB Addressing, 488.2 Commands, SCPI
Commands,ModbusCommands,ProgrammingGuidelinesandOEM
Documentation.
Theory of Operation
Block diagram Description
Maintenance, Troubleshooting and Repair
Maintenance,Troubleshootingguide,SelftestErrorCodesandRepair
Directions
Appendices
A1 IEEE 488 Bus Description, IEEE 488.2 Message Formats,
Common Commands and SCPI Commands
A2 Serial Communication and Interfacing
A3 GPIB Connector/Switch Board Description and Installation
Index
Contents
2
4
5
I
3
1
A

ii
Thispageleftintentionallyblank.

1-1
1
1
General Information
1.1 INTRODUCTION
ThissectionprovidesthespecicationsforICS'sModel4809A,4819A
4829Aand4899AGPIB<->ModbusInterfacesandtheiraccessoryitems.
Models4809A,4819Aand4829AarePCboardassembliesdesignedfor
mountinginsideanotherpieceofequipment.TheModel4899Aisanen-
closedMinibox™productdesignedforbenchtopusewithotherequipment.
Allthreeproductsarefunctionallyequivalent.Themanualdescribesthe
units'functionsbyreferringtothe4899Abut,whereverthetextreferstothe
Model4899A,italsoappliestotheothermodelsunlessotherwisestated.
Anymodeldifferencesarenotedinparenthesisorinseparateparagraphs.
1.2 DESCRIPTION
TheModel4809A/4819A/4829A/4899AGPIB<->ModbusInterfacesare
IEEE-488.2/GPIB to Serial Interfaces with special rmware to control
ModbusRTUSlavedevicesfromtheGPIBorHP-IBbus.Theylettheuser
sendsimplecommandswithASCIIvaluesovertheGPIBbustocontrol
andqueryslaveModbusdevices.EachinterfaceconvertsGPIBcommands
intotheModbusprotocolandaddstheCRCchecksumtomakeacomplete
ModbusRTUmessage.ThemessagesaresentseriallyoveraRS-232link
oroveraRS-485network.Responsesarecheckedandvalidresponsedata
fromaqueryisreturnedtotheGPIBbuswhenthe4899Aisnextaddressed
totalk.The4809Aand4899AhandlebothRS-232andRS-485Modbus
devices.The4819AhandlesonlyRS-232deviceswhilethe4829Ahandles
onlyRS-422/RS-485devices.
Theunitscontainanumberofadvancedfeaturesthatincreasetheirex-
ibilityandsimpliestheiruseinsystemapplications.AllhaveIEEE-488.2

1-2
1
compatible interfaces with an expanded Status Reporting Structure that
complieswiththeSCPIstandard.SCPIcommandsareusedtosettheunit's
GPIBaddress,tosettheserialconguration,andtoenablebitsintheStatus
ReportingStructuretogenerateSRQs.Theusercan alsoenterhisown
IDNmessagetopersonalizetheunitaspartofhisassembly.Allsettings
aresavedinnonvolatilememory.
TheModel4899AispackagedinasmallMinibox™metalcasethatisless
than1Uinheight(1.6inches)Thefrontpanelcontainsthepowerswitchand
LEDswhichindicatetheunit'sstatus.TherearpanelcontainstheGPIBand
serialconnectorsandaDCpowerjack.The4899Aacceptsawiderangeof
DCvoltagesandisshippedwithanadapterforthelocalpowerlines.The
4899Acanbeusedasastand-aloneboxorrackmountedinsideastandard
19-inchwideequipmentrack.
TheModel4809Aisasmall,low-prolePCassemblydesignedformount-
inginsidethehostchassis.Ithastwoat-ribbonconnectorsforitsGPIB
signals.Oneconnectorcanbeconnectedtoapanel-mountedGPIBconnector
onapin-to-pinbasis.ThesecondconnectormatestooneofICS'sGPIB
Connector/AddressSwitchAssemblieswhichmountaGPIBconnectorand
anGPIBaddressswitchontherearpanelofthehostchassis.ICS'sGPIB
Connector/AddressSwitchAssembliesareavailableintwomountingstyles
asdescribedinAppendix3.TheRS-232andRS-422serialsignalsare
availableonaat-ribbonheaderandonaDB-25Pconnector.The4809A
hasthesamestatusLEDsasthe4899Aandrunson5to12voltpower.
TheModel4819Aand4829AaresmallPCassemblieswithGPIBandRS-
232serialinterfaces.Botharedesignedtobemountedtotherearpanelof
thehostchassissotheGPIBandexternalserialconnectorsprotrudethrough
therearpanel.BothinterfacescanbeusedtocontroltheinternalModbus
device.The4819AORstheexternalserialinputandtheserialModbuspack-
etsgeneratedbyGPIBbuscommandsintoasingle-endedRS-232signalsto
drivetheinternalModbusdevice.Modbusdeviceresponsesareavailableat
eitherinterface.The4819AhasthesamediagnosticLEDsasthe4899Aand
runson5to12voltpower.The4829AprovidesdifferentialRS-422/RS-485
signalstodrivemultipleModbusslavedevices.The4829Aalsoincludes
theRS-232toRS-485conversionfunctionsoexternalRS-232signalscan
beusedtocontroltheinternalRS-422/RS-485Modbusdevice.

1-3
1
1.3 MODEL 4809A/4819A/4829A/4899A SPECIFICATIONS
Thefollowingspecicationsapplytoallmodels.Optionsforyourunit
maybefoundbycomparingthelistbelowtothoselistedontheseriallabel
onyourunit.
4899A-X GeneralModelNumber
OptionCodes
-1 SpecialCrystal
-3 CustomPaint
-5 CustomFrontPanel
-7 SpecialProgram
-9 FactoryInstalledRackMountKit
-A ShipwithAustralian230VacAdapter
-B ShipwithBritish230VacAdapter
-E ShipwithEuropean230VacAdapter
BaseModelNumber
4899A-MiniboxProduct
4809A-BoardProduct
114922-4809Aboardonlyversion
4819A-BoardProduct
115122-4819Aboardonlyversion
4829A-BoardProduct
115782-4829Aboardonlyversion
Noteoptions-3,-5,-9,andtheACadaptersdonotapplytotheModel
4809Aor4819Aandtotheirboardonlyversions.
The48x9AversioninterfaceshaveadditionaloatingpointModbuscom-
mandsnotavailableintheoriginal48x9interfaces.The48x9Aseriesunits
arefullycompatiblewiththeoriginal48x9interfaces.

1-4
1
1.4 IEEE 488 INTERFACE
1.4.1 488.1 Capabilities
The488BusinterfacemeetstheIEEESTD488.1-19A87standardandhas
thefollowingcapabilities:
SH1,AH1,T6,L3,SR1,PP0,DC1,RL0,DT0,C0and
E1/E2drivers.
1.4.2 Address Ranges
Primaryaddresses 0-30
1.4.3 Buffers
GPIBinput 2kbytes
GPIBoutput 1kbytes
Serialinput/output 256bytes
1.4.4 488.2 Common Commands
The4899AconformstoIEEESTD488.2-19A87.Whenaddressedtolistenin
thecommandmode,theunitrespondstothefollowing488.2commands:
*CLS,*ESE,*ESE?,*ESR?,*IDN?,*OPC,*OPC?,*PSC*RCL,*RST,
*SAV,*SRE,*SRE?,*STB,*TST?,and*WAI.
1.4.5 SCPI Parser
The extended SCPI parser complies with the SCPI Standard Version
1994.0.

1-5
1
1.5 SERIAL MODBUS INTERFACE
The4899Aand4809A'sserialModbusinterfaceprovidesRS-232single-
endedandRS-485(RS-422)differentialsignals.Signalsareselectedby
internaljumpers.The4899AhasaDB-25Sconnectoronitsrearpanel,
the4809Ahasa26-pinat-ribbonheaderandaDB-25Pconnector.Signal
pinoutsconformtoEIARS-530specicationandarelistedinTable2-2.
The4819AprovidesRS-232single-endedsignalsonaDE-9Sconnector.
DCE/DTEjumpersletuserexchangeTXandRXsignalpinnumbers.Signal
pinoutsarelistedinTable2-3.
The4829AprovidesRS-422/RS-485differentialsignalpairsonaDE-9S
connector.On-boardjumpersletuserconnecttheTXandRXsignalpairs
togetherfor2-wirenetworks.TheRXpairincludesaterminationnetwork
forbiasing2-wirenetworks.SignalpinoutsarelistedinTable2-4.
1.5.1 Modbus RTU Messages
MessagesconformtotheModbusRTUformatandincludethedevicead-
dress,command,registernumber,dataandCRCformattedasbinarybytes.
SupportedModbuscommandsare:01,02,03,04,05,06,07,08,and16for
integervaluesandcommands03and16foroatingpoint32-bitvalues.
Integerrange 16bitsor0to65,536
Floatingpoint IEEE-754
1.5.2 Baud Rates:
Parserselectsclosestratetospeciedratewhenanonstandardrateentered.
Standardratesare:50,110,300,600,1200,2400,4800,7200,9600,14400,
19200,28800,38400,57600,76800and115200baud.
BaudRates: 4899A-Anyratefrom50to115,200baud.
4809A-Anyratefrom50to38,400baud.
4819A-Anyratefrom50to57,600baud.
4829A-Anyratefrom50to57,600baud.

1-6
1
1.5.3 Data Character Formats:
Databits8databitspercharacter
Parity none
Type Asynchronouscharacter
Stopbits1or2stopbitspercharacter
1.5.4 RS-232 Specications
Single-endedRS-232Cdriversandreceiversthataredesignedtooperate
withupto50feetofcable.
Transmit +9Vdc=Logic"0"orOn
Levels -9Vdc=Logic"1"orOff
Receive ±1.5Vdcminimum,±25VdcMaximum
Signals
4899A AA,AB,BA,BB,CA,CB,CDandCF
4809A
4819A AA,AB,BAandBB
CCheldhigh,CAjumperedbacktoCB
1.5.5 RS-422/RS-485 Specications
The4809A,4829Aand4899AhavedifferentialRS-485linedriversand
receiversthatprovideRS-422andRS-485 compatiblesignals.Theline
driversandreceiversaredesignedto operate with up to 1200 meters of
twisted-paircable.Thetransmittercanbesetforcontinuousonfor4-wire
systemsoritcanbetristatedwhennottransmittingfor2-wiresystems.
Modes Transmitteronortristatedwhennottransmitting
Transmit +5Vdcdifferentialforbinary0orOn
Levels -5Vdcdifferentialforbinary1orOff
Receive ±0.2Vdcminimum,±25Vdcmaximum,
Levels differentialorsingle-endedinputwithotherinputline
biasedatmid-range.
Signals SD,RD,RS,CS,RRandTRsignalpairs

1-7
1
1.6 PROGRAMMABLE FUNCTIONS
AllunitsuseIEEE488.2andSCPIcommandstochangetheirprogram-
mablefunctionsandjumperstoselecttheserialsignals.Table1-1lists
theprogrammablefunctionsandtheirfactorydefaultsettings.The4899A
and4809AarefactorysetforRS-232signals.The4829Aisfactoryset
for4-wireoperation.
TABLE 1-1 FACTORY CONFIGURATION
Command Functions Factory
Setting
:ADDRess SetsGPIBbusaddress 4
:EXT EnablesExternalGPIBAddressSwitch OFF(4809Aonly)#
:BAUD Setstransmit/receivebaudrate 9600#
:PARity Setsparitytype NONE#
:CHECK Enablesparitychecking OFF#
:BITs Setsnumberofdatabitspercharacter 8#
:SBITs Setsnumberofstopbits/percharacter 1#
:RS485 Tristatetransmitterenabled OFF#
:FORMat Setstalkformatforresponsedata ASCii#
*ESE EnablesStandardEventStatusRegisterbits 0
*SRE EnablesStatusByteRegisterbits 0
Notes:#indicatesaparameterthatcanbeblockedbytheLOCKcommand

1-8
1
1.7 INDICATORS
SixLEDsthatdisplaythefollowingconditions:
PWR - Indicatespoweron.
RDY - Indicatesunithaspassedselftest.
TALK - Indicatesunithasrecognizeditstalkaddress.
LSTN - Indicatesunithasrecognizeditslistenaddress.
SRQ - OnwhentheRQSbitisset.
ERR - OnwhenESRbits2thru6areseton.
Whenthe4899Aisturnedon,itperformsaninternalselftestwhichtakes
about0.5seconds.OnlythePWRindicatorisonduringselftest.Atthe
endoftheselftestthe4899AdisplaysitscurrentGPIBaddressbyblinking
thefrontpanelLEDsforone-halfsecond.TheGPIBaddressisthesumof
thebinarybitweights.TheLEDbitweightsare:
RDY TALK LSTN SRQ ERR
16 8 4 2 1
Anyerrorsfoundduringselftestareindicatedbyarepeatedblinkingofthe
errorcodepattern.Refertoparagraph5.4foradescriptionoftheselftest
errorsandtheirpossiblecauses.
Duringnormaloperation,theERRLEDindicatesthattherewasaproblem
withtheGPIBcommandorwiththeModbuscommunication.IftheERR
LEDilluminatesatpowerturn-on,itindicatesthattheunithasnotbeen
calibratedsincethememorywaslastinitialized.Refertoparagraph5.3.1
fordirectionsoncalibratingtheunit.

1-9
1
1.8 PHYSICAL
1.8.1 4899A Minibox
Size 7.45"Lx5.57"Wx1.52"H
(18.92cmLx14.15cmWx3.86cmH)
(SeeFigure1-1)
Weight 3lbs(1.4kg)includingadapter
Temperature Operating -10°Cto+55°C
Storage -40°Cto+70°C
Humidity 0-90%RHwithoutcondensation
Shock/VibrationNormalhandlingonly
Construction Allmetalcase
Power 9to32Vdc@3.5VA
Connectors IEEE488Interface
Amphenol57-20240withmetricstuds
SerialInterface
CinchDB-25Sfemaleconnectorwithlockstuds

1-10
1
Figure 1-1 4899A Outline Dimensions
18.92 cm
Side View
14.15 cm
End View
3.86
cm
.254
cm
0.95 cm
max
connector

1-11
1
1.8.2 4809A Board Assembly
Size 5.50"Lx4.50"Wx0.5"H
(139.7mmLx114.3mmWx12.7mmH)
(SeeFigure1-2)
Weight 6oz.(0.17kg)
Temperature Operating-10°Cto+55°C
Storage -40°Cto+70°C
Humidity 0-90%RHwithoutcondensation
Shock/Vibration Normalhandlingonly
Construction Flame-retardantprintedcircuitboard
Power 5±0.25Vdc@300MA(regulated)
5.5to12Vdc(unregulated)
Connectors GPIB-24-pin3M2524maleheader
GPIB/AddressSw-26-pin3M2526maleheader
Serial-26-pin3M2526maleheaderandDB-25Pmale
connector.

1-12
1
GPIB
Serial I/O
4809A
5.500
4.500
0.200
typ
8 plcs
0.150 dia hole
0.300 clear pad
1
1
1
RDY
LST
FULL
PWR
TLK
BSY
1
+ -
4819A
or
4829A
J1
GPIB
Connector
J2
Serial
Connector
J3
Device
Serial
Connector
Status
LEDs
4.50
4.00
0.190 dia mounting holes (4 plcs)
0.300 dia mounting pads
Mounting Blocks (2 plcs)
0.20 typ.
0.20 typ.
0.50 typ.
Figure 1-3 4819A/4829A Outline Dimensions
Figure 1-2 4809A Outline Dimensions

1-13
1
1.8.3 4819A and 4829A PHYSICAL
Size 4.00"Lx4.50"Wx0.7"H
(10.16cmLx11.43cmWx1.78cmH)
(SeeFigure1-3)
Weight 8oz(0.22kg)
Temperature Operating -10°Cto+55°C
Storage -20°Cto+70°C
Humidity 0-90%RHwithoutcondensation
Shock/Vibration Normalhandlingonly
Construction Flame-retardantprintedcircuitboard.
Connectorshellsgroundedtochassissupports
andmountingbrackets.
Power 5±0.25Vdc@300MA(regulated)
5.5to12Vdc(unregulated)
Connectors GPIB-24-pinIEEE-488connectorwithmetric
studs
ExternalRS-232Interface-DE-9Smaleconnector
withlockstuds
InternalSerialInterface-DE-9Pfemaleconnector
withlockstuds

1-14
1
1.9 4899A CERTIFICATIONS OR APPROVALS
EMI/RFI Meetslimitsforpart15,ClassAofUSFCCDocket
20780andcomplieswithEECStandardsEN55022and
50082-1.CECerticateofCompliancereproducedin
Figure1-4.
UL/CSA/VDE ACWalladapterhasapplicableUL/CSA/VDEandCE
approvals

1-15
1
Figure 1-4 4899A Certicate of Conformance
Certicate of Conformity
ApplicationofCouncilDirectives.......................................89/336/EEC
Standard(s)towhichConformityisDeclared.....EN55022,EN50082-
1
Manufacturer'sName ICS Electronics div
Systems West, Inc.
Manufacturer'sAddress 473 Los Coches Street
Milpitas, CA 95035
USA
Importer'sName
Importer'sAddress
Typeofequipment GPIB to Serial Converter
ModelNo. 4899
SerialNo.Thru,Yearofmanufacturer
I, the undersigned, hereby declare that the equipment specied above con-
forms to the above Directive(s) and Standard(s) by virtue of its similarity
with the Model 4894.
Place
Signature
Date
(FullName)
Title
1999
Milpitas,CA, USA
Sept.14, 1999 Gerald K. Mercola
President
This manual suits for next models
3
Table of contents
Other ICS ELECTRONICS Recording Equipment manuals