background image

3-14 

3

TAbLE 3-2    IEEE-488.2 COMMON COMMANDS

 COMMAND       NAME 

 

       DESCRIPTION

3.4 

488.2 CONFORMANCE INFORMATION 

The IEEE 488.2 Standard mandated a list of common commands that are common 

to all IEEE 488.2 compatible devices.  The 9099 responds to these commands 

and to some optional common commands defined in the IEEE-488.2 Standard.  

Table 3-2 lists how the 9099 responds to these commands and describes their 

effect on the 9099 and its status reporting structures.

* CLS

*ESE 

<value>

*ESE?

*ESR?

Clears all event registers summarized in the 

status byte, except for "Message Available," 

which is cleared only if *CLS is the first mes-

sage in the command line.

Sets "Event Status Enable Register" to <value>.  

<value> is an integer between 0 and 255, 

whose binary equivalent corresponds to the 

state (1 or 0) of bits in the register.  If <value> 

is not between 0 and 255, an Execution Error 

is generated.

EXAMPLE: decimal 16 converts to binary 

00010000 which sets bit 4 to a logical 1.

9099  returns  the <value> of the "Event Status 

Enable Register" set by the *ESE command. 

<value> is an integer whose binary equivalent 

corresponds to the state (1 or 0) of bits in the 

register.

9099  returns the <value> of  the "Event Status 

Register" and then clears it. <value> is an in-

teger whose binary equivalent corresponds to 

the state (1 or 0) of bits in the register.

Clear Status

Event Status Enable

Event Status

Enable Query

Event Status

Register Query

Содержание 9099

Страница 1: ...ICS ELECTRONICS ICS a division of Systems West Inc MODEL 9009 and 9099 Ethernet Modbus Interfaces Instruction Manual MODBUS ...

Страница 2: ...erfaces 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 ...

Страница 3: ... 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 co...

Страница 4: ...tion 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 an...

Страница 5: ...bus 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 theVXI 11 raw socket and ModbusTCP IPconversion 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 com...

Страница 6: ...l 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 i...

Страница 7: ... 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 modification 9 Factory Rack Mounted U Ship with Universal 115 230 Vac Adapter ...

Страница 8: ...dAbort channelseach use a socket connection Areverse Interrupt channel is a TCP IPsocket 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 ...

Страница 9: ...ssage 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 Configurable port 80 Inte...

Страница 10: ... 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 definitions 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 Configuration Utility or with...

Страница 11: ...ns 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 a...

Страница 12: ... Sample F4 Control Page F4T html Sample F4T Control Page EZ html Sample EZ Zone Control Page 1 6 3 Graphics ICS S HTMLupload utility supports files with gif jpg png or hgl extensions The standard graphic is ICS Logo gif ICS Logo 1 6 4 HTML User Configurability The user can replace the HTML pages and image files with modified pages or add additional pages and images to the unit The user is responsi...

Страница 13: ...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 SCP...

Страница 14: ...ontrolthroughavirtualCOMPortusingtheMicrosoft sstandard 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 ...

Страница 15: ...EE 754 TherearenoModbuscommandrestrictionswhenusingtheModbusTCP 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 an...

Страница 16: ... 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 Net...

Страница 17: ...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 ...

Страница 18: ...e 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 t...

Страница 19: ...truction 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 6...

Страница 20: ...1 16 1 Figure 1 1 9009 Outline Dimensions ...

Страница 21: ... Board FR406 Flame resistant Fiberglass Components RoHS compliant Construction Lead Free Weight 3 lbs 1 4 kg including adapter Temperature Operating 10 C to 55 C Storage 40 C to 70 C Humidity 0 90 RH without condensation Power 9 to 32 Vdc 3 5 VA Connectors Ethernet RJ 45 Serial Cinch DE 9P male connector with lock studs ...

Страница 22: ...1 18 1 Figure 1 2 9099 Outline Drawing 18 92 cm Side View 14 15 cm End View 3 86 cm 254 cm 0 95 cm max connector ...

Страница 23: ... VDE and CE ap proval 1 14 INCLUDED ACCESSORIES 120217 9009 9099 Instruction Manual 123038 Support CD ROM with Configuration Program Documentation Sample Programs and Utilities 895011 Ethernet Crossover Cable 5 feet long A R Poweradapterwithappropriatecountryplug 9099 only 1 15 OPTIONALACCESSORIES 120217 9009 9099 Instruction Manual 895011 Ethernet Crossover Cable 5 feet long 114210 Single Small M...

Страница 24: ...1 20 1 Figure 1 3 9099 Certificate of Compliance ...

Страница 25: ...failstomeetspecifications notify ICS Electronics or your local sales representative immediately Also call the carrier immediately and retain the shipping carton and packing material for the carrier s inspection ICS will make arrangements for the unit to be repaired or replaced without waiting for the claim against the carrier to be settled 2 3 SHIPMENT VERIFICATION Take a moment to verify that the...

Страница 26: ...nd USB connectors protrude through the rear panel and provide good RFI EMI suppression Use the cutouts and mounting dimensions shown in Figure 2 1 for rear panel mounting Panels thicker than 0 050 inches willneedcounterboringtokeepthelockstudsintheircorrectpositions Provide a 0 1 inch clearance between the 9009 and any metal surface Mountawayfromanyheatproducingsurfaceandhighfrequency high current...

Страница 27: ... 8 Initialize the virtual COM port at 115 200 baud 5 Send the 9009 an IDN query to readback its IDN message and to verify communication with the 9009 6 Review the factory settings in Table 1 2 to determine if the baud rate or any other settings need to be changed for the Modbus slave device Use the D command see Table 3 5 to set the Modbus timeout to 1000 for initial tests 7 Obtaintheregisternumbe...

Страница 28: ...net cable directly to a PC or to the PC through a switch that is not connected to your network as shown in Figure 2 2 8099 Ethernet to Modbusl 9099 Modbus Interface Serial IO RS 232 or RS 422 RS 485 Ethernet Cable PC with a Windows Operating System Hub or Network Switch Local Network Connection Figure 2 2 9099 with Local or Benchtop Connection 3 Follow the directions in Section 2 6 for setting the...

Страница 29: ...of a query to the end of the response message Try several different queries Set the timeout to the manufacturer s time or to the longest measured time plus and additional 25 milliseconds Save the new setting Increase this value if you get Modbus timeout errors 9 Configure the 9099 s network settings for its permanent location Consult with your network administrator to obtain the correct settings i...

Страница 30: ... Use a short setting of 2 5 minutes when debugging programs to recover broken links faster and a longer setting of 10 60 minutes for debugged applications A value of 0 disables COMM_Timeout Value is 0 or 1 to 232 1 IP KeepAlive On or Off Enables the unit s socket layer to send the client socket a short test message once every 120 minutes If the client socket fails to reply the unit will close the ...

Страница 31: ...h the web browser 2 6 1 Web Browser Configuration Method This method uses a standard browser such as Firefox or Internet Explorer to view and change the current settings 1 Use any Ethernet cable to connect the 9009 or 9099 directly to your PC or indirectly through a switch Be sure the switch is disconnected from your company network as shown in Figure 2 1 2 Check your computer s network settings t...

Страница 32: ...er Default is 1 Modbus Parity None even Sets Modbus serial parity Default is none or odd Modbus RS485 On or Off Off or 0 keeps the transmitter continuously on for Mode RS 232 and 4 wire RS 422 485 networks On or 1 tristates the serial transmitter when not transmitting for 2 wire RS 422 485 networks Default is Off Slave Device 0 255 Sets the address the 9099 will use to address the Address slave Mo...

Страница 33: ...if you are doing Modbus TCP IP operation and want the 9099 to substitute a different slave device address for the one in the program you will be running Check the entered values carefully as the unit s webserver does minimal error checking Press the Update Flash button when done A Confirmation Page similar to the one shown in Figure 2 5 will appear in your browser 6 The new settings have been save...

Страница 34: ...ction Expert or National Instruments Measurement and Automation Explorer MAX to query and change the current settings using the SCPI commands in Table 3 3 Network setting changes can only be done with a web browser 1 Connect the 9009 or 9099 directly to your PC or indirectly through a switch as described in step 1 above and setup the PC as described in step 2 above ...

Страница 35: ...communication to the 9009 or 9099 5 Select the appropriate SCPI command from the SCPI Command Tree in Table 3 3 for the parameter you want to query or change Put a question mark after the command to query its current setting Send the command with a value to change the setting 6 Repeat Step 5 for each parameter you want to query or change 7 When done send the unit a SAV 0 command to save the new se...

Страница 36: ...Configuration Method This method uses an interactive utility such as ICS s GPIBkybd Agilent IO Connection Expert or National Instruments MAX to query and change the current settings using the SCPI commands in Table 3 3 GPIBkybd can be installed from the Support CD or downloaded from ICS s website 1 Connect the 9009 to a GPIB Controller 2 Run your utility program and find the 9009 Default is addres...

Страница 37: ... USB Configuration Method This method uses and interactive utility such as ICS s USBkybd program Hyperterminal or a similar utility USBkybd can be installed from the Support CD or downloaded from ICS s website 1 Connect the 9009 to your PC 2 Run the USBkybd and select the COM port noted during the driver installation IftheCOMportnumberislost checktheDeviceManager to see the active COM port 3 If yo...

Страница 38: ...rm input 1 Alarm input 2 RS 422 RS 485 RD B RD A SD A SD B 2 9 2 RS 232 Connections to a Modbus Device TheRS 232connectionusesjustthreelinestoconnecttheunittoaModbusslave device The lines are transmit data TxD receive data RxD and Ground Set the internal jumpers as shown in Table 2 3 for RS 232 signals Figure 2 6a shows the RS 232 connection to a Watlow F4 Temperature Con troller Both interfaces t...

Страница 39: ... RS 232 Connections to a Watlow F4 Controller 1 2 3 4 5 6 7 8 9 9099 WATLOW F4 9099 RXD TXD 1 12 13 14 15 16 GND Temperature Chamber b RS 232 Connections through a Bulkhead Connector Figure 2 6 RS 232 Connections to a Watlow F4 Temperature pv 83 5 sp 95 0 Humidity pv 20 5 sp 50 0 Watlow F4T CB CA CC CB CA C5 C3 C2 6 1 2 3 4 5 6 7 8 9 9099 RXD TXD GND Ethernet to Modbus RTU Interface Figure 2 7 RS ...

Страница 40: ...us device or RS 485 network the SD and RD signal pairs should be jumpered together internally as shown in Figure 2 8 and the unit has to be configured for half duplex RS 485 operation Use the SYST COMM SER RS485 ON command to configure the units The ON setting tristates the serial transmitter when the 9099 is not transmit ting which free s the network for the Modbus device s response Add jumpers W...

Страница 41: ...CA CB B5 D6 D5 EZ 8 AC Power Tx Rx Tx Rx 78F 96 1 2 3 4 5 6 7 8 9 9099 TXD RXD 3 3V W11 W12 W9 W10 Figure 2 9 9099 RS 485 Connection to an EZ Zone Controller Tx Rx Tx Rx 1 2 3 4 5 6 7 8 9 9099 TXD RXD 3 3V W11 W12 W9 W10 Temperature pv 83 5 sp 95 0 Humidity pv 20 5 sp 50 0 Watlow F4T CB CA CC CB CA C5 C3 C2 6 Figure 2 10 9099 RS 485 Connection to an F4T Controller ...

Страница 42: ...ader has regulated 3 3 Vdc power low true LED drive signals and ground J4 is an AMP 1 640456 0 connector with male pins Table 2 3 lists the J4 signals Connect the cathode of the remote LEDs to the LED drive signals and a resistor from the LED anode to 3 3 Vdc power Select a resistor to limit the LED current to 10 mA Refer to paragraph 1 11 for LED descriptions Table 2 3 9009 LED Drive Signals Pin ...

Страница 43: ...mpers as shown in the RS 485 column and set SYST COMM SER RS485 to 1 or ON For 4 wire RS 485 signals use the RS 485 jumper settings but set W7 to FD open W9 and W10 and set SYST COMM SER RS485 to 0 or OFF GPIB Lan Reset Button Serial 9009 UP W1 W3 JTAG W2 NTrst Erase Run W6 OPN W5 DEF JTAG W11 W12 Term Power Terminals 2 Wire W10 W9 P1 REG W7 FD HD 232 485 W4 W8 232 485 W14 W15 SRQ LAT W13 RS 232 E...

Страница 44: ...2 20 2 Temperature pv 83 5 sp 95 0 Humidity pv 20 5 sp 50 0 Watlow F4T CB CA CC CB CA C5 C3 C2 6 1 2 3 4 5 6 7 8 9 9099 RXD TXD GND Ethernet to Modbus RTU Interface Figure 2 12 9099 Jumper Locations ...

Страница 45: ...ex 4 wire or half duplex 2 wire Open HD operation Set to FD for 4 wire RS 422 operation W9 Connects transmit receive pairs together for 2 wire Open Install W10 operation Leave open for 4 wire RS 422 operation Open Install W11 Connects internal termination network to receive Open Install W12 signal pair Open Install W13 RS 232 Enable Open for RS 422 or RS 485 signals Install Open W14 9009 Only Sele...

Страница 46: ...ck mounting kit Push the unit down until it rests flat on the kit and the feet are in the four holes 2 Repeat step 1 for a second unit if two units are being held in one rack mounting kit 3 Align the unit s so the bezels are parallel with the front of the rack mount kit and protrude equally through the front panel of the rack mounting kit 4 Set the bracket so its two holes line up with the holes i...

Страница 47: ...ontrol methods have a common Status Reporting Structure and share a com mon parser with the same commands and settings Only one method should be used to control the 9099 and its slave Modbus device s during a test to prevent the obvious conflicts 3 2 2 General Concept The 9099 is an VXI 11 3 IEEE 488 2 compatible device and responds to three types of commands IEEE 488 2 Common Commands SCPI Comman...

Страница 48: ... The 9099 expects to receive a response from the Modbus device within a preset time period or it declares a timeout error The timeout period is programmable and is factory set to 300 milliseconds If the message was not a valid message or was an exception message or was missing then the 9099 sets the appropriate bit s in the Questionable Condi tion Register puts a decimal value in the Modbus Error ...

Страница 49: ... Apple OS users can create VXI 11 library files for their MACs as described in AB80 12 3 2 4 Operation with Raw Sockets Raw socket operation is similar to the operation with serial communication Use port 23 when making the raw socket connection All of the 9099 s SCPI and Modbus commands are available to the raw socket user and the handling of the Modbus slave device is the same as described in par...

Страница 50: ...ntrol characters are defined in the Raw Socket documentation Important to note is that the Raw Socket data must be terminated by a LF 0x0A Sending data terminated by a CR will not be acted upon since a CR is simply discarded by the 9099 s Raw Socket service Therefore when us ing telnet you must type the command and then terminate it with a LF use a CTRL J for the service to execute the typed comma...

Страница 51: ...ve device cannot be set to If Substitute Slave Address on the 9099 s Configuration page is enabled the slave address in the TCP IP packet is replaced with the 9099 s current slave device address when creating the RTU packet The 9099 s slave device address can be set with a web browser or with the Modbus C command Received Modbus RTU responses are checked for length and for a valid CRC If the recei...

Страница 52: ...s Error Register contents so the user can immediately tell if his commands caused an error Any of the 9099 commands can be entered in the Device Command textbox and executed by clicking the Send button Responses are automatically displayed in the Device Command window The 9099 uses its current Modbus device address value when accessing the Modbusslavedevice TheModbusdeviceaddresscanbesetwithawebbr...

Страница 53: ...unication path to the Modbus RTU slave device is serial and requires that the user set the 9099 and the Modbus slave device to the same serial settings Each Modbus device has its own address so that it can identify and respond to serial packets sent to its address Although the typical Tem perature Chamber or Process has only one Modbus Controller the 9099 can drive multiple Modbus devices on an RS...

Страница 54: ...3 8 3 Figure 3 1 Status Reporting Structure Flash Configuration Reset ...

Страница 55: ...an event has occurred and or that the device needs service Service Request generation is a multilevel function and is determined by the occurrence of an event that has its corresponding enable bit set to 1 The outputs from the event registers are summarized in separate bits in the Status Byte Register The Event registers and the Output Queue are cleared when read or by the CLS command Service Requ...

Страница 56: ... BIT DEFINITIONS Bit Weight Event Description 7 128 PON The Power on event occurs at power turn on and can be used to signal a power off on occurrence 6 64 Modbus Modbus Error detected Reading the Modbus Error Regis Error ter clears this Error bit 5 32 Cmd Command Error invalid command or value out of range 4 16 Exec Execution Error command could not be executed 3 8 Flash Flash configuration data ...

Страница 57: ...nputs and passes only the enabled state changes to the Questionable Event Register The Questionable Event Register bits becomes true 1 when the positive transition bit is enabled and the associated condition register bit makes a 0 to 1 transition When both transitions are selected for the same bit the corresponding Questionable Event Register bit sets whenever the digital input changes state The Q...

Страница 58: ...eration Registers STAT OPER COND quires the Operation Condition Register The 9099 can be set to monitor the Alarm inputs in the Operation Register and generate a Service Request SRQ when they change state The follow ing example sets the Operational Event register to monitor Alarm input 1 by capturing a negative transition on bit 1 STAT OPER NTR 1 enables bit 1 to set on a negative transition The O...

Страница 59: ...d Transition Reg isters are cleared at power turn on When the PSC flag is cleared the SRE ESE and SCPI Conditional and Operational Enable and Transition Register values are restored at power turn on time to their values prior to the power turn off The PSC flag is defaulted to on Use the PSC 0 command to dis able the PSC flag and restore the current register values at power turn on as shown in the ...

Страница 60: ... the first mes sage in the command line Sets EventStatusEnableRegister to value value is an integer between 0 and 255 whose binary equivalent corresponds to the state 1 or 0 of bits in the register If value is not between 0 and 255 an Execution Error is generated EXAMPLE decimal 16 converts to binary 00010000 which sets bit 4 to a logical 1 9099 returns the value of the Event Status Enable Registe...

Страница 61: ...ngselected9099opera tions have been finished Reads bit 0 in the Event Status Register when all pending selected 9099 operations have been finished Controls the automatic power on clearing of the ESE SRE and SCPI Enable and Transition registers PSC 0commandclearsthePSCflag saves the ESE SRE and the SCPI Transition and Enable register values and allows the 9099 to restore the saved register values a...

Страница 62: ...ter to value The value of bit six is ignored because it is not used by the Service Request Enable Register value is an integer between 0 and 255 whose binary equivalent corresponds to the state 1 or 0 of bits in the register If value is not between 0 and 255 an Execution Error is generated 9099returnsthe value ofthe ServiceRequest EnableRegister withbitsixsettozero value isanintegerwhosebinaryequi...

Страница 63: ...f the command shown in capitals denotes the abbreviated form of the keyword Either the abbreviated or whole keyword may be used when entering a complete command Bracketed keywords are optional and may be omitted STATus QUEStionable is the same as STAT QUES EVEN or also as stat ques There must be a space between the SCPI command and the parameter or chan nel list Ending a SCPI command with a questi...

Страница 64: ...Only ECHO 1 On 0 Off 0 PROMpt 1 On 0 Off 1 ERRor 0 No error VERSion 1994 0 STATus OPERation Alarm Inputs EVENt bits 0 and 1 8 and 9 active 0 CONDition bits 0 and 1 8 and 9 active 0 ENABle bits 0 and 1 8 and 9 active 0 ENABLE PTRansition 0 h7FFF All 1s PTRansition NTRansition 0 h7FFF 0 NTRansition QUEStionable Modbus Error Bits EVENt bits 0 2 12 13 active 0 CONDition bits 0 2 12 13 active 0 ENABle ...

Страница 65: ...0 and 1 8 and 9 active 0 ENABLE PTRansition 0 h7FFF All 1s PTRansition NTRansition 0 h7FFF 0 NTRansition QUEStionable Modbus Error Bits EVENt bits 0 2 12 13 active 0 CONDition bits 0 2 12 13 active 0 ENABle bits 0 2 12 13 active 0 ENABLE PTRansition 0 h7FFF All 1s PTRansition NTRansition 0 h7FFF 0 NTRansition PRESet FORMat Format Strings DATA TALK ASCii HEXL ASCII FT CALibrate Calibrate IDN string...

Страница 66: ... to denote a range of numbers 8 Numeric entries conform to IEEE 488 2 section 7 7 2 4 for decimal numeric param eters 9 ASCII formatted data is a series of decimal values 0 255 for each byte separated by commas e g 64 132 8 10 The CAL DATe command stores the CAL DATe parameter and the current configura tion in the 9099 s memory 11 The CAL DEFault command resets the 9099 s settings to their default...

Страница 67: ...s 1 Sets minimum number of stop bits between characters Value 1 2 RS485 OFF Tristates 9099 transmitter when not transmitting for two wire networks Values are ON to enable tristating and OFF for transmitter held in mark state RAW Identifies Raw Socket settings PORT 23 Sets port number Value range is 0 to 65 535 Default is 23 ECHO OFF Enables echo of raw socket data Value is 1 On 0 Off GPIB Identifi...

Страница 68: ...uestionable registers EVENt Returns contents of the event register associated with the command CONDition Returns contents of the condition register associated with the command ENABle 0 Sets the enable mask which allows the true condi tionsintheassociatedeventregistertobereported inthesummarybit Value 0to h7FFFindecimal or HEX PTRansition h7FFF Sets positive transition enable register Value 0 to h7...

Страница 69: ... Returns contents of the condition register associated with the command ENABle 0 Sets the enable mask which allows the true condi tionsintheassociatedeventregistertobereported in the summary bit PTRansition h7FFF Sets positive transition enable register Value 0 to h7FFF in decimal or HEX NTRansition 0 Sets the negative Transition register Values 0 to h7FFF in decimal or HEX PREset Sets the selecte...

Страница 70: ...on e g ICSElectronics 9099 S N 1509125 Rev 00 05 Ver 15 09 04 The word Model may not be used in the IDN string S N is a non case sensitive serial number identifier and must be present to display the user s serial number on the Welcome page DATe date 00 00 0000 Saves the date and the current configuration date is a 10 character string DATe Queries the calibration date The response is 00 00 00 when ...

Страница 71: ...n register reg and number of inputs to be read ninp The is an optional symbol for smart programs 4 Values for reg are 0 to 65535 Values for ninp are 1 to 2000 Responses are returned as a packed binary value with 8 inputs per byte 1 ON R reg num ReadRegisterCommand code0x03 Readsoneormultiple Modbus device registers User specifies starting register reg and number of registers to be read num The is ...

Страница 72: ... Modbus device register reg Values for reg are 0 to 65535 Values for b are 0 OFF or 1 ON 255 An example is WC 1000 ON W reg w Write Register Command code 0x06 Writes a 16 bit value w to a single Modbus device register reg Values for reg are 0 to 65535 Values for w are 32767 to 32767 An example is W 100 55 writes the decimal 55 to register 100 WB reg num w 0 w n WriteBlockCommand code0x10 Writesmul...

Страница 73: ...nt Status Register Returns a error code whose value is 0 to 255 Current error values are 0 No errors present 1 99 Exception Codes 1 99 100 CRC Error 101 Timeout Error indicates no characters received in the response message 2nn Partial or corrupted message received where nn is the number of received bytes Notes 1 All values are in decimal To enter HEX values the value must be preceded with a h i e...

Страница 74: ...st the program See AB80 3 for RPC programming Programs written for a LAN instrument need to be organized in the following manner 1 Open a socket and link to the 9099 and to any other instruments 2 Body of the test program with instrument reads writes etc 3 An exit routine that closes all links and sockets Leave the instrument links and channels open until the program is finished to avoidunnecessar...

Страница 75: ... a program and tend to breakout of the program without properly closing the sockets Power cycle a unit to clear up any open sockets Later with a finished program extend the COMM_Timeout to several hours to avoid prematurely closing the socket while you are not communicating with the 9099 Hard wired systems are pretty dependable and you can safely extend the 9099 s COMM_Timeout to a day Do not set ...

Страница 76: ...Resource String is TCPIP ip inst0 INSTR where ip is the ip address CAUTION The instructions given in this section are the general steps for using the Agilent and National Instruments software and may not be accurate for all versions of their software or for a particular operating system Check with their support engineers if you run into any problems using their software 3 7 3 Using Agilent s VISA ...

Страница 77: ...VISA program 3 7 4 Using Agilent s SICL Library Agilent SICLLibrary includes a complete set of VXI 11 2 and VXI 11 3 func tions and works well with C language and Visual Basic It is very stable and has been around a long time Agilent s SICL User s Guide lists all of SICL s functions and provides easy to follow instructions for creating a LAN Session and for controlling VXI 11 devices The SICL help...

Страница 78: ...Kikusui s website at http www kikusui co jp en download Use ICS s VISAkybd program with the Kikusui VISA to interactively control instruments VISAkybd does not have a search and find feature so you will have to manually enter the instrument s GPIB address or LAN IP address 3 7 6 Using National Instruments VISA and MAX National Instruments VISA comes with the NI Measurement and Automation Explorer ...

Страница 79: ...t error 6 The remaining tabs let you send a Device Trigger or Device Clear to the device and Serial Poll the device 3 7 7 Direct Control with TCP IP The 9099 s WebServer communicates thru port 80 If you write a program to open a socket to port 80 on the 9099 and send a single line containing the pa rameter via the socket it would be the same as having a browser communicate with the 9099 You can cr...

Страница 80: ...485 mode setting SYST COMM SER RS485 1 sets 485 mode on If the new setting did not verify or if the red ERR LED came on query the ESR Register The command was not executed if the ERR LED came on Send ESR reads Event Status Register and clears the ERR LED Check the ESR reading against the bit pattern in Figure 3 1 to find the cause of the error Correct and repeat the above steps for each parameter ...

Страница 81: ...commandmightbetoreadameasuredvalue Registernumbers and functions vary with different Modbus devices so consult your Modbus de vice manual for its register numbers and functions With the Watlow F4 series Controllers register 100 is the measured temperature value R 100 1 reads temperature from a Watlow F4 3 8 5 Writing to the Modbus Device The W command writes 16 bit integers to a register The comma...

Страница 82: ...can write each register separately with standard write commands or both registers can be written together with the Write Block command Ex amples are W 27 19 writes to register 27 W 28 4816 writes to register 28 WB 27 2 19 4816 writes to registers 27 and 28 3 8 8 32 Bit Read To read a 32 bit value two successive 16 bit registers are read and the user s program then puts the values together to form ...

Страница 83: ...rs The example reads the EZ Zone temperature registers RF 360 reads registers 360 and 361 3 8 12 Setting Modbus Device Timeouts The D command sets the time that the 9099 waits to receive a response from the Modbus device If the 9099 does not receive a response within the time period it assumes that the Modbus device is not responding and sets the timeout error Timeout errors can be determined by r...

Страница 84: ...re placed in the Modbus Error Register at the top of the figure If the proper Event Status and Status Byte register bits are enabled any Modbus Error code will generate a Service Request The commands to enable the bits are ESE 64 enables ESR bit 6 SRE 32 enables Status Byte bit 5 Some Modbus Errors set specific bits in the Questionable Event Register To generate a Service Request from a specific e...

Страница 85: ... characters long The word model may not be used in an IEEE 488 2 IDN message An example IDN message change sequence is CAL LOCK OFF unlocks all parameters CAL IDN Acme Test Co 101 s n 007 Rev 1 07 08 30 enters a new IDN message CAL LOCK ON relocks all parameters SAV 0 saves IDN message and lock status 3 8 16 Saving the Configuration The SAV 0 command saves the current configuration in nonvolatile ...

Страница 86: ...launches only the Find Server and Cre ate Link buttons are enabled The initial steps are to discover and link to the server 9099 and then to the desired instrument inst0 Press the Find Server button located in the VXI 11 Server frame to scan for servers If you know the IP address it can be manually entered in the VXI 11 Server window The number of servers found is displayed in the Device Re sponse...

Страница 87: ...ssages looks for an EOI or linefeed terminator and automatically reads the response to a query any string that includes a question mark The ESR IDN and STB queries only work with IEEE 488 2 compatible devices Figure 3 3 shows the VXI11_kybd panel that has just read the IDN response To output a message enter the message in the Device Command window and press Send If the message was a query contains...

Страница 88: ...ons on the right let you Lock and Unlock the instrument Locking an instrument prevents other clients from changing its statusorgivingitnewcommandswhileyouareusingittoperformanoperation Always Unlock the instrument when done with it When the Auto Lock check box is checked the VXI11_kybd program automatically locks the instrument when sending it a command and unlocks it when the command has been com...

Страница 89: ...ay extend the time the ERR LED is turned on In addition an error entry is made in the device internal error log The error log is accessible through the ErrorLog utility Launching the ErrorLog utility will clear the current contents of the device error log Future error log entries will then be displayed by the ErrorLog utility The ErrorLog utility reports soft error conditions and provides some min...

Страница 90: ...ine if the VXI 11 device is an Agilent instrument Others are due to the incorrect usage of the VXI 11 protocol in the current revision of the library Agilent is aware of these protocol errors and will correct these errors in later releases of the Agilent I O Suite These errors normally only show up during the opening of a SICL VISA device and can be safely ignored The occurrence of a soft error wi...

Страница 91: ...rotocol type error which are usually not seen by the typical application developer They are normally caused by communication protocol errors and should be reported to the developer of the communication package being used Normally this would be a VISA library RPC developer or some other type of communica tion package The second type of error is a procedural type of error An example of a pro cedural...

Страница 92: ...product nor document how the end product is operated In most cases the end user needs directions for 1 Setting the product s Network and or GPIB Settings 2 Resetting the Network GPIB Settings when he forgets them 3 Using commands to control the overall device Includes sending outputs and reading inputs if applicable The OEM needs to define the commands in terms of what they do to the overall produ...

Страница 93: ...sers of the 9009 or the 9099 Ethernet to Modbus RTU Interface are hereby given permission to copy any portion of this manual referenced ICS materialandutilityorexampleprogramsforthepurposeofdocumentingsystems maintaining or enhancing sales of systems that incorporate ICS s interfaces Other users may copy the manual for archival training or service purposes Reproduction of this manual either in who...

Страница 94: ...3 48 3 This page left intentionally blank ...

Страница 95: ... simultaneously access multiple Modbus slave devices IncomingEthernetmessagesarereceivedbytheLANInterfacechip Ifthemes sage is a Modbus command then it is converted into a series of binary characters to make up the Modbus RTU message packet The Modbus message packet shown in Figure 4 1 includes the slave device address the command number the registers and data if any that is being sent to the regi...

Страница 96: ...cknowledgement are encapsulated in the return packet IEEE 488 2 and SCPI commands are parsed and used to set control parameters perform an operation or query a parameter Responses are placed in the output buffer so they can be returned to the client when the unit is next read The other VXI 11 3 commands like Device Clear clears the serial buffers Device Trigger has no affect on the 9099 The ReadST...

Страница 97: ...mpatible The two pairs of signals can be used as a 4 wire differential interface or jumpered internally to form a 2 wire RS 485 signal pair The Rx signal pair can also be jumpered to an internal termination network that provides a pull up termination and pull down resistors For 2 wire operation the HD FD jumper is set to HD and the 9099 s RS485 parameter is set ON so the 9099 will not drive the RS...

Страница 98: ... buffers are mechanized as straight buffers because of the Modbus command response protocol The buffers are larger than any anticipated mes sage so no data loss ever occurs The 9099 s power supply is a switching regulator that converts a unregulated 9 to 32 volt DC input to 5 Vdc to run the 9099 s internal logic chips The 5 Vdc is down regulated to make 3 3 and 1 8 Vdc for theARM processor and the...

Страница 99: ... the processor and memory chips The USB interface uses a USB to serial conversion chip that communicates serially with the processor at 115200 baud The 9009 s accepts regulated 5 Vdc power or 5 5 to 15 Vdc unregulated power The input power is passed thru a low dropout linear regulator with a 5 Vdc output A jumper lets the user select the regulated or direct input DC power for the board The resulti...

Страница 100: ...4 4 6 This page is left intentionally blank ...

Страница 101: ... Test Errors Self Test errors occur at power turn on time The 9099 indicates self test er rors by blinking one or more of its LEDs at a 2 Hz rate Refer to paragraph 5 4 for more information about the Self Test Errors The Self Test error codes and their most likely causes are listed in Table 5 1 5 3 2 Operating Failures Operating failures are those failures that occur while using a unit that has pa...

Страница 102: ...rmation See paragraph 5 9 for repair instructions If the fault persists check the wiring especially any flat ribbon cables for faulty or open connectors and the devices connected to the interface board for possible faults WARNING If the fault isolation procedure requires internal measurements always remove power when dis assembling or assembling the unit Use extreme caution during troubleshooting ...

Страница 103: ...failure occurs turn the unit off for 10 seconds and turn power back on If the failure persists refer to paragraph 5 7 for repair instructions Note that some of the failures could occur while the 9099 is running TABLE 5 1 9099 SELF TEST ERROR CODES Card LEDs RDY LAN ACT RDY TALK LSTN SQR ERR Fault fatal error CPU FLASH RAM etc fatal error power supply Β LAN IC Network Socket Failure or DHCP See 5 5...

Страница 104: ...LEDs stuck on Internal fault Check TP4 5V TP6 3 3 V and TP5 1 8V for proper voltage Defective unit Return unit for repair See 5 9 Unit shows blinking Self test fault Refer to Self Test errors in LEDs at power turn on Table 5 3 No Network Activity ACT LED never on No network messages received Checknetwork router and gateways for proper settings Wrong settings PC and 9099 s network setting must be i...

Страница 105: ...le wiring against connections the 9099 manual Check 9099 internal jumper settings for correct signals RS 485 missing W11 and W12 not installed network termination Install W11 and W12 jumpers RS485 Mode wrong Verify SCPI setup RS485 must be on for 2 wire systems and off for 4 wire and RS 232 operation Half Full Duplex W7 set wrong Put in FD Error position for 4 wire signals HD for 2 wire signals Re...

Страница 106: ...ff connection COMM_Timeout 9099 not accessed for a long expired time period Extend 9099 COMM_Timeout period or add a background keepalive functon to the client program Modbus TCP IP Socketclosedfornoresponse faulty operation from addressed device or for a faulty response 9099 has to be reset Program uses all Check program for excess often 9099 resources openingandclosingoflinks Rewrite program to ...

Страница 107: ... instruments to disconnect when the link count goes to zero Turn Auto disconnect on for operation with Agilent VISA and programs Program needlessly Notethatopeningandclosing opens and closes sockets and links is a time links wasting operation and slows down your program Rewrite the program to avoid repeatedly opening and closing sockets and links ...

Страница 108: ...est program is running If the user is experiencing these errors when running a final program use the ICS Error Logger to record the errors Table 5 3 lists the VXI 11 Error Codes Table 5 3 VXI 11 Errors Error Meaning Error Meaning 0 No error 12 No lock held by this link 1 Syntax error 15 I O timeout 3 Device not accessible 17 I O error 4 Invalid link identifier 21 Invalid address 5 parameter error ...

Страница 109: ...1 16 inch diameter 1 6 mm that you can use to depress the rear panel LAN Reset button A wooden Q tip handle works well You should be able to feel the Reset button move as you gently depress it 3 Hold the Reset button depressed until the three front panel yellow LEDs blink Approximately 10 seconds 5 6 2 Factory Serial I O Configuration The 9099 s Serial IO configuration can be reset to the factory ...

Страница 110: ...s IP address reset it as described in paragraph 5 6 1 4 Run the 9099 Update Utility that you just unzipped If it will not run download the Visual Basic 6 runtime package from ICS s website or copy it from the Support CD supplied with the 9099 5 Enter the 9099 s IP address in the IPAddress window of the Update Pro gram highlight it and link to it 6 Press the Prgm Flash button to start the update pr...

Страница 111: ...am or to the spare sectors The Flash memory variable sector can be restored to factory settings by per forming the following steps 1 If the PC is already set to communicate with the 9099 skip this step Else disconnect the PC from your company network and change its Local Area Network setting to the 9099 s static IP range as described in paragraph 2 6 1 If you do not know the 9099 s IP address rese...

Страница 112: ... resolved over the phone as opposed to returning a unit for repair 2 Write a description of the problem and attach it to the material being returned Describe the installation system failure symptoms and how it was being used If the item being returned is a board assembly de scribe how you isolated the fault to it Include your name and phone number so we can call you if we have any questions Rememb...

Страница 113: ... A2 1 Sockets Channels and Links A 11 A2 2 Auto disconnect A 13 A2 3 Service Requests A 13 A2 4 Transferring Data A 14 A2 5 An Example VISA Program A 14 A3 VXI 11 RPC Gen Information A 17 A3 B Basic RPC Programming A 17 A3 C VXI 11 RPCL A 18 A4 ICS Configuration RPC Protocol A 22 A4 B Configuration Protocol A 23 A4 C Detailed Configuration Messages A 26 A4 D RPCL Listing A 51 ...

Страница 114: ...e VXI 11 responses also adhere to the IEEE 488 2 Standard ICS s 80xx series Interfaces follow all of the requirements in IEEE 488 2 Standard except where the difference between the TCP IP IEEE 488 2 Instrument Interface and IEEE 488 1 requires clarification ICS s 80xx Interfaces also include an IEEE 488 2 Status Reporting Structure and SCPI Command Parser that are similar to those in ICS s GPIB In...

Страница 115: ...g the device_intr_srq RPC to a service running on the same computer with the client application The service then handles the interrupt and often generates a flag for the client indicating what device wanted service The user s client application can then Serial Poll the VXI 11 3 Instrument with the device_readstb RPC to learn the cause of the Service request VXI 11 3 Instruments respond to a Select...

Страница 116: ... Operation Complete Standard Event Status Register ESR 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 Logical OR Standard Event Status Enable Register ESE NRf ESE Queue Not Empty 7 5 4 3 2 1 0 Logical OR 7 6 3 2 1 0 RQS MSS ESB MAV Service Request Generation Output Queue Status Byte Register read by Serial Poll read by STB Service Request Enable Register SRE NRf SRE Capabilities ...

Страница 117: ...ields nl Line feed and or EOI on last character terminates a program message Line feed ASCII 10 and EOI terminates a RESPONSE MESSAGE Asterisk defines a 488 2 common command Ends a query where a reply is expected A1 2 2 IEEE 488 2 Reporting Structure With IEEE 488 2 status reporting was enhanced from the simple serial poll response byte in IEEE 488 1 to the multiple register concept shown in Figur...

Страница 118: ...e Command Devices that support parallel polls must support the following three com mands IST Individual Status Query PRE Parallel Poll Register Enable Command PRE Parallel Poll Register Enable Query Devices that support Device Trigger must support the following commands TRG Trigger Command Controllers must support the following command PCB Pass Control Back Command Devices that save and restore se...

Страница 119: ...response to a serial poll The RQS bit is reset by the serial poll The same 488 2 device outputs the Status Byte Register contents plus the MSS bit in response to a STB query The MSS bit is cleared when the condition is cleared 488 2 restricts the Device Clear to only clearing the device s buffers and pend ing operations It does not clear the Status Reporting Structure or the output lines Use CLS t...

Страница 120: ...x A second benefit of SCPI is that its English like structure and words are self documenting eliminatingtheneedsforcommentsexplainingcrypticinstrument commands A third benefit is the reduction in programming effort to replace one manufacturer s instrument with one from another manufacturer where both instruments have the same capabilities This consistent programming environment is achieved by the ...

Страница 121: ...h SCPI messages in the same program mes sage without affecting the above rules Figure A 3 shows some compound command examples SYST COMM SER BAUD 9600 BAUD nl SYST COMM SER BAUD 9600 SYST COMM SER BITS 8 nl SYST COMM SER BAUD 9600 BAUD ESR BIT 6 BIT PACE XON PACE ESR nl Figure A 3 Compound Command Examples A typical response would be 9600 0 8 XON 32 nl The response includes five items because the ...

Страница 122: ... are enclosed in parenthesis and start with the ASCII character The values are separated with commas The length of the channel list is determined by the unit A range of values can be indicated by the starting and stopping values separated by a colon 1 2 3 4 lists sequential values 1 4 shows a range of sequential values 1 5 7 34 lists random values Figure A 4 Channel List Examples A1 3 4 Error Repo...

Страница 123: ...ple s OS X can communicate with the VXI 11 3 Instruments through either with RPC over TCP IP The VXI 11 Specification available at http www vxibus org or from ICS Electronic s website includes a RPCgen header file listing that can be used to generate RPC calls RPC calls can be used with virtually any operating system that hasTCP IPcommunication capability and a RPCgen utility Refer to ICS s Applic...

Страница 124: ...other user Some VXI 11 3 instruments have additional interfaces inst1 to instn that are used for other purposes An example is the 8063 which uses inst1 for transparent data transfer Sockets should be closed gracefully to prevent the VXI 11 Instrument from running out of resources Graceful socket closure requires several socket layer messages between the client and server sockets Most socket close ...

Страница 125: ... function that can be enabled for use with Agilent IO libraries programs that expect this behavior A2 3 Service Requests SRQs VXI 11 Instruments can generate Service Requests in a fashion similar to the SRQgenerationinaGPIBdevice InsteadofassertingtheGPIBSRQline ICS s VXI 11 3 Instruments generate a Service Request message device_intr_SRQ when the RQS bit in the Status Byte Register becomes true S...

Страница 126: ...ation The END indicator EOI is only asserted on the last packet The interface does not terminate a write operation until it receives a packet with the end condition set Reading large amounts of data from a GPIB device works the same way The interface does not terminate a read operation until the end condition is met There is no readdressing of the GPIB device between packets when multiple packets ...

Страница 127: ...he program will print the temp every 10 seconds include windows h include winbase h include stdio h include visa h main int argc char argv int retval length temp char cp result 1024 ViStatus status ViSession rmSession devSession if argc 2 printf Specify the VISA resource to use This may be n printf either a fully defined VISA resource or it may be a n printf VISA alias n exit 1 Before we use any V...

Страница 128: ...ead does not auto magically Null terminate the data Note that this will not remove the n if one is included in the result string result length 0 If the result string contains a n character terminate the string at that point replacing the n with a Null cp strchr result n if cp cp 0 Convert the response to a tempature sscanf result d temp printf Temp d d r temp 10 temp 10 Now pause for 10 seconds Sl...

Страница 129: ...cess of the resource via other link IDs Gateway A VXI 11 2 device that executes VXI 11 functions or network instrument messages to communicate GPIB devices Instrument Here a device connected via a GPIB bus or with a LAN inter face Client A client is the application on the computer The client typically uses an I O library such as VISA or an RPC package to com municate with the Gateway or Instrument...

Страница 130: ...tudy the VXI 11 functions as defined in the VXI 11 specification In par ticular study the create_link device_write and device_read These are the core instructions required to do simple communication with a VXI 11 device 6 Create a simple program to execute the following steps Following the last step you should have an IDN reply from the VXI 11 Device The IDN reply provides an ASCII string defining...

Страница 131: ...ill accept on a write struct Device_WriteParms Device_Link lid link id from create_link unsigned long io_timeout time to wait for I O unsigned long lock_timeout time to wait for lock Device_Flags flags opaque data the data length and the data itself struct Device_WriteResp Device_ErrorCode error unsigned long size Number of bytes written struct Device_ReadParms Device_Link lid link id from create_...

Страница 132: ..._INTR_VERSION Device_AddrFamily progFamily DEVICE_UDP DEVICE_ TCP struct Device_EnableSrqParms Device_Link lid bool enable Enable or disable interrupts opaque handle 40 Host specific data struct Device_LockParms Device_Link lid link id from create_link Device_Flags flags Contains the waitlock flag unsigned long lock_timeout time to wait to acquire lock struct Device_DocmdParms Device_Link lid link...

Страница 133: ...ce_trigger Device_GenericParms 14 Device_Error device_clear Device_GenericParms 15 Device_Error device_remote Device_GenericParms 16 Device_Error device_local Device_GenericParms 17 Device_Error device_lock Device_LockParms 18 Device_Error device_unlock Device_Link 19 Device_Error device_enable_srq Device_EnableSrqParms 20 Device_DocmdResp device_docmd Device_DocmdParms 22 Device_Error destroy_lin...

Страница 134: ...n is to be considered an addendum to the VXI 11 specifica tion for communication to the VXI 11 compliant ICS Edevice Interfaces The Edevice follows the VXI 11 2 and or VXI 11 3 specifications It is assumed the reader is conversant with ONC RPC and XDR specifications as published by Sun Microsystems All client Edevice communication is per formed through ONC RPC and thus requires knowledge of both O...

Страница 135: ...cedure number This information is encoded into an RPC com municationpacketwiththeprocedureargumentvalues Themessageisthensent to the RPC service running on the server device where the target procedure is then executed The server is required to respond to all procedure calls with an RPC reply message containing any all procedure return values Table B 1 lists the RPC messages used by the Edevice con...

Страница 136: ...mber 9 network IP number X Yes netmask 10 network netmask X Yes gateway 11 network gateway X Yes keepalive 12 keepalive time X No gpib_address 13 Edevice GPIB bus address system_controller 14 system controller ren_mode 15 REN active at boot eos_8bit_mode 16 EOS 8 bit comparison auto_eos_mode 17 automatic EOS on EOI eos_active 18 EOS active eos_char 19 EOS character reload_config 20 force reload of...

Страница 137: ...the last data field and may consist of any byte value When theAction boolean signals a read of a mode value setting the RPC com mand must contain a dummy mode value While the mode value in the RPC command is not used it must exist If the mode value is not contained within the RPC command an error status will result The successful modification of a configuration setting will result in the change ta...

Страница 138: ...f the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The name string must be a NULL terminated string with a 32 byte maximum length exclusive of the NULL An error of 5 is returned and th...

Страница 139: ...e current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The port value must be within the range of 0x0001 and 0xFFFF An error of 5 is returned and the RPC Port value is unchanged if the port va...

Страница 140: ...e current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The port value must be within the range of 0x0001 and 0xFFFF An error of 5 is returned and the VXI 11 Core Port value is unchanged if the...

Страница 141: ... of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The port value must be within the range of 0x0001 and 0xFFFF An error of 5 is returned and the VXI 11 Abort Port value is unchanged...

Страница 142: ...ion of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The port value must be within the range of 0x0001 and 0xFFFF An error of 5 is returned and the VXI 11 Abort Port value is unchan...

Страница 143: ... is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The timeout value is not range checked thus it is possible to define an impos sible timeout period A timeout value of zero prevents timeout checking If a channel remains inactive for the specified timeout period then the channel is c...

Страница 144: ...ng or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The name string must be a NULL terminated string with a 32 byte maximum length exclusive of the NULL An error o...

Страница 145: ...e a read of the current setting or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The mode must be either 0 dynamic or 1 static An error of 5 is returned and the st...

Страница 146: ...f the current setting or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The ip must be exactly 4 bytes in length An error of 5 is returned and the cur rent IP is un...

Страница 147: ... setting or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The netmask must be exactly 4 bytes in length An error of 5 is returned and the current netmask is unchan...

Страница 148: ...tting or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The gateway must be exactly 4 bytes in length An error of 5 is returned and the current gateway IP is unchan...

Страница 149: ...dify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The time value is not range checked thus it is possible to define an impossible timeout period A time value of zero prevents keepalive from being used If a channel remains inactive for the specif...

Страница 150: ...the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The address must be within the range of 0 and 30 An error of 5 is returned and the current GPIB address is unchanged if address is dete...

Страница 151: ...ishes to execute a read of the current setting or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The controller mode must be either 0 or 1 An error of 5 is returned...

Страница 152: ...urrent value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The ren mode must be either 0 or 1 An error of 5 is returned and the current REN mode is unchanged if ren is determined to be invalid The re...

Страница 153: ... read of the current setting or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The eos8bit mode must be either 0 or 1 An error of 5 is returned and the current 8 bi...

Страница 154: ...nt setting or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The autoEos mode must be either 0 or 1 An error of 5 is returned and the current automatic EOS mode is ...

Страница 155: ...he current setting or a modification of the current value action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The eosActive mode must be either 0 or 1 An error of 5 is returned and the current automatic EO...

Страница 156: ...action 0 read of current value action 1 modify current value If the action value is other than 0 or 1 then an error value of 5 is returned If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The eos character must be in the range of 0x00 through 0xFF An error of 5 is returned and the current EOS char is unchanged if eos is determined to be in...

Страница 157: ...o default settings struct Reload_Config_Resp unsigned int error Reload_Config_Resp reload_config void 20 If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The returned Reload_Config_Resp error value determines whether the default configuration was reloaded error Meaning 0 No error 1 Syntax error ...

Страница 158: ...e default settings with either reload_config or a reboot struct Commit_Config_Resp unsigned int error Commit_Config_Resp commit_config void 22 If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned ThereturnedCommit_Config_Resp errorvaluedetermineswhetherthecurrent configuration was saved as the default configuration error Meaning 0 No error 1 S...

Страница 159: ... If the RPC message is of insufficient length to satisfy the required length an error value of 1 is returned The returned Reboot_Resp error value determines whether the Edevice has initiated a reboot process Note that the timing of the reboot process may block the RPC reply Note that certain configuration settings are only set at boot time Thus when setting configuration settings it is recommended...

Страница 160: ...procedure is used to obtain the current contents of the error log struct error_log_Parms struct Error_Log_Resp unsigned int error unsigned int count unsigned int errors 100 error_log_Resp errorlogger error_log_Parms 26 The error log will contain 100 entries The count will signify how many are valid The remaining values will be of indeterminate values Note this function returns all entries and flus...

Страница 161: ...A 49 A4 Refer to the ErrorLogger utility for the error value definitions Error Meaning 0 No error ...

Страница 162: ...alues define ICS_READ 0 define ICS_WRITE 1 The interface_name procedure is used to read modify the current VXI 11 logical interface name struct Int_Name_Parms unsigned int action opaque name struct Int_Name_Resp unsigned int error opaque name The rpc_port_number procedure is used to read modify the TCP port used by the RPC server struct Rpc_Port_Parms unsigned int action unsigned int port struct R...

Страница 163: ...nsigned int port struct Abort_Port_Resp unsigned int error unsigned int port The config_port_number procedure is used to read modify the TCP port used by the Edevice configuration channel struct Config_Port_Parms unsigned int action unsigned int port struct Config_Port_Resp unsigned int error unsigned int port The comm_timeout procedure is used to read modfiy the TCP timeout value An inactive TCP ...

Страница 164: ...IP mode If static_ip_mode is set TRUE then the Edevice will use a static IP and will need a netmask and gateway IP struct Static_IP_Parms unsigned int action unsigned int mode struct Static_IP_Resp unsigned int error unsigned int mode The ip_number procedure is used to read modify the static IP number If static_ip_mode is set TRUE then the Edevice will use a static IP see the static_ip_mode functi...

Страница 165: ...ill use a static IP see the static_ip_mode function and will need a netmask and gateway IP struct Gateway_Parms unsigned int action unsigned int ip see IP note above struct Gateway_Resp unsigned int error unsigned int ip see IP note above The keepalive procedure is used to read modify the keepalive value If set to zero then keepalives will not be used If used then this is the time in seconds of in...

Страница 166: ...oller struct Sys_Control_Resp unsigned int error unsigned int controller The ren_mode procedure is used to read modify the REN mode If the REN mode is TRUE then REN will be asserted at boot time struct Ren_Parms unsigned int action unsigned int ren struct Ren_Resp unsigned int error unsigned int ren The eos_8_bit_mode procedure is used to read modify the 8 bit EOS compare mode If the 8 bit compare...

Страница 167: ...os_Resp unsigned int error unsigned int autoEos The eos_active_mode procedure is used to read modify the EOS active mode If the EOS mode is TRUE then an EOS character will terminate reads struct Eos_Active_Parms unsigned int action unsigned int eosActive struct Eos_Active_Resp unsigned int error unsigned int eosActive The eos_char procedure is used to read modify the EOS character struct Eos_Char_...

Страница 168: ...unsigned int error The reboot procedure is used to cause the Edevice to reboot This causes all device links to be cleared all connections closed all resources released and the default configuration to be loaded and used during initialization struct Reboot_Resp unsigned int error The idn_string procedure is used to obtain a response similar to the IEEE 488 2 IDN string It contains the FW revision t...

Страница 169: ..._Number_Parms 9 Netmask_Resp netmask Netmask_Parms 10 Gateway_Resp gateway Gateway_Parms 11 Keepalive_Resp keepalive Keepalive_Parms 12 Gpib_Addr_Resp gpib_address Gpib_Addr_Parms 13 Sys_Control_Resp system_controller Sys_Control_Parms 14 Ren_Resp ren_mode Ren_Parms 15 Eos_8bit_Resp eos_8_bit_mode Eos_8bit_Parms 16 Auto_Eos_Resp auto_eos_mode Auto_Eos_Parms 17 Eos_Active_Resp eos_active Eos_Active...

Страница 170: ...R input1sp Process 1 Temperature Setpoint 300 16 bit RW input1sp Process 1 Temperature Setpoint 300 16 bit RW degCon Displays C units 901 16 bit RW degCoff Displays F units 901 16 bit RW degC Radio Values On and Off 901 16 bit RW input2 Process 2 Humidity Reading 104 16 bit R input2sp Process 2 Humidity Setpoint 319 16 bit RW input2sp Process 2 Humidity Setpoint 319 16 bit RW input3 Process 3 Auxi...

Страница 171: ...8on Displays Output 8 On 2070 16 bit RW dout8off Displays Output 8 Off 2070 16 bit RW dout8 Radio Values On and Off 2070 16 bit RW A5 2 EZ html This page is for the Watlow EZ Zone Controllers Variable Description Register Type Temperature Humidity Variables EZinput1 Process 1 Temperature Reading 360 Float R EZinput1sp Process 1 Temperature Setpoint 2160 Float RW EZinput2 Process 2 Humidity Reading...

Страница 172: ...sp Humidity Setpoint 2942 Float RW Output Control Variables F4dout1on Displays Output 1 On 16594 16 bit RW F4dout1off Displays Output 1 Off 16594 16 bit RW F4dout1 Radio Values On and Off 16594 16 bit RW F4dout2on Displays Output 2 On 16596 16 bit RW F4dout2off Displays Output 2 Off 16596 16 bit RW F4dout2 Radio Values On and Off 16596 16 bit RW F4dout3on Displays Output 3 On 16598 16 bit RW F4dou...

Страница 173: ... Loop Set Point CH 1 2810 Float R CLCh2input Closed Loop Set Point CH 2 2970 Float R Cas1input Closed Loop Set Point Cascade 1 4188 Float R Cas1inputSP Set Point CASCADE 1 4042 Float RW Cas1inputSP Set Point value 4042 Float RW OLPartinput Cascade Outer Loop 1 part temp 4180 Float R OLAirinput Cascade Outer Loop 1 air temp 4182 Float R Cas1inputAct Outer Loop Current Reading 4190 Float R Ramp CH1 ...

Страница 174: ... Minutes and Hours 2956 16 bit RW Ramp2RateSP Sets displays ramp rate 2758 Float RW Ramp CH3 Cascade Variables Ramp3ActOff Displays Ramp Off 4054 16 bit RW Ramp3ActStart Displays Ramp Startup 4054 16 bit RW Ramp3ActSP Displays Ramp Setpoint 4054 16 bit RW Ramp3ActBoth Displays Ramp Both 4054 16 bit RW Ramp3Act Radio values Off Startup 4054 16 bit RW Setpoint and Both Ramp3UnitsMin Displays Ramp Sc...

Страница 175: ... Approvals 2 22 Configuration Settings 2 14 Firmware update 5 10 Rack Mounting Instructions 3 9 A Accessories 1 19 Agilent VISA 3 30 3 31 3 30 Alarm inputs 1 12 2 14 3 12 Auto Disconnect A 13 B Block Diagram 4 2 Block Diagram description 4 3 C CE Certificate 1 19 Channels 1 6 A 11 Commands SCPI example 2 6 COMM_Timeout 2 6 2 8 D Digital Inputs Monitoring changes 3 11 E EMI RFI Specifications 1 5 E...

Страница 176: ...EE 488 Message formats IEEE 488 2 3 14 IEEE 488 2 3 15 Common Commands 3 15 Status Reporting Structure 3 15 IEEE 488 2 Common Commands CLS 3 15 ESE 3 16 ESE 3 16 ESR 3 16 IDN 3 16 OPC 3 16 OPC 3 14 PSC 3 16 PSC 3 16 RCL 3 16 RST 1 9 SAV 1 9 SRE 1 14 SRE 2 1 STB 2 22 Table of 2 2 TRG 1 4 TST A 5 WAI A 7 IEEE 488 2 Interface Buffers A 5 IEEE 488 2 STANDARD A 5 Common Commands 1 6 Differences from 48...

Страница 177: ... 35 WC Write Coil 3 35 Modbus device querying 3 5 Modbus RTU Packet 3 5 N National Instruments VISA 3 30 3 32 Network Address 1 6 O OEM Copyright wavier 3 47 Documentation 3 46 Operation General Concept 3 1 General Description 3 1 Overview 3 17 SCPI conformance information 3 7 Serial Communication 4 1 Theory of 3 5 with Modbus TCP IP 3 3 with Raw Sockets 3 2 with VXI 11 Protocol 3 6 OS X A 11 Outl...

Страница 178: ... 3 13 Sockets A 12 A 11 A 59 SRQs A 13 SunOS A 11 T TCP IP Control of html vari ables 3 33 Termination network ii Theory of Operation 4 1 Timeout 3 37 Transferring Data A 14 Troubleshooting 5 1 Guide 5 1 Operating Failures 5 4 U UL CSA VDE Specifications 1 19 UNIX 3 28 Updating 9099 s firmware 5 10 USB bus operation 1 10 USB Interface Using 2 7 USB interface Specifications 2 13 V VISA Agilent 3 30...

Отзывы: