ADAM-5000 Series RS-485 Based Data Acquisition and Control System User’s Manual
Copyright Notice This document is copyrighted, 2001, by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd., reserves the right to make improvements to the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. However, Advantech Co., Ltd.
A Message to the Customer….. Advantech Customer Services Each and every Advantech product is built to the most exacting specifications to ensure reliable performance in the unusual and demanding conditions typical of industrial environments. Whether your new Advantech equipment is destined for the laboratory or the factory floor, you can be assured that your product will provide the reliability and ease of operation for which the name Advantech has come to be known.
Product Warranty Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for one year from the date of purchase. This warranty does not apply to any products which have been repaired or altered by other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation. Advantech assumes no liability as a consequence of such events under the terms of this Warranty.
4. Carefully pack the defective product, a completely filled-out Repair and Replacement Order Card and a photocopy of dated proof of purchase (such as your sales receipt) in a shippable container. A product returned without dated proof of purchase is not eligible for warranty service. 5. Write the RMA number visibly on the outside of the package and ship it prepaid to your dealer.
Contents Chapter 1 Introduction ……………………………………… 1-1 1.1 Overview........................................................................1-2 1.2 System Configuration....................................................1-3 1.3 A Few Steps to a Successful System............................ 1-4 Chapter 2 Installation Guideline….…………………………2-1 2.1 General ......................................................................... 2-2 2.2 Module Installation ..............................................
5.1.5 Terminal Emulation ..................................................... 5-7 5.1.6 Data Scope ................................................................... 5-8 5.1.7 Saving a Module’s Configuration to File .................. 5-10 5.1.8 Load Module’s Configuration File ............................ 5-12 5.1.9 Module Configuration ................................................ 5-14 5.1.10 Module Calibration .................................................... 5-15 5.1.
Appendix A Quick Start Example….….………………………. A-1 A.1 System Requirements to Setup an ADAM-5000 System…. A-2 A.2 Basic Configuration Hook-up ..................................... A-5 A.3 Baud Rate and Checksum ........................................... A-8 A.4 A Distributed ADAM-5000 Network System Hook-up .... A-11 Appendix B Data Format and I/O Ranges……………………. B-1 B.1 Analog Input Formats ................................................... B-2 B.
E.5 Grounding reference (Ground bar for the factory, environment should have a standard resistance below W)…………….E-5 E.6 Some Suggestions on Wiring Layout ..........................E-6 Appendix F Grounding Reference………………………….…. F-1 F.1 Grounding ................................................................. F-3 F.2 Shielding ................................................................... F-9 F.3 Noise Reduction Techniques.................................... F-14 F.4 Check Point List ......
Figures Figure 1-1 ADAM-5000 Configurations……………….…………..1-3 Figure 2-1 ADAM-5000 Diagnostic indicators……….…………..2-3 Figure 2-2 ADAM-5000 Network address DIP switch.………….2-4 Figure 2-3 Module alignment and installation………………..…..2-6 Figure 2-4 ADAM-5000 Panel mounting.………………………..2-7 Figure 2-5 ADAM-5000 Rail mounting.…………………..……..2-8 Figure 2-6 ADAM-5000E Rail mounting..………………………..2-9 Figure 2-7 ADAM-5000 Wiring and connections..……………….2-10 Figure 2-8 Built-in Communication Ports for Diagnostic………..
Figure 5-10 Execute Span Calibration……………………...…..5-17 Figure 5-11 CJC Calibration…………………………….…..…..5-17 Figure 5-12 Execute CJC Calibration……………….………..…..5-18 Figure 5-13 RTD Module Calibration………………….…..…..5-18 Figure 5-14 Analog Output Calibration……………………..…..5-18 Figure 6-1 Baud rate codes………………………….………..…..6-6 Figure 6-2 Analog module error codes……….……………..…..6-18 Figure 6-3 Data format for 8-bit parameters……..…………..…..6-38 Figure 6-2 Data format of 8-bit parameters……..…………..…..
1 Introduction
Introduction 1.1 Overview The ADAM-5000 series is a complete product line that provides a wide variety of features in a data acquisition and control application. It includes 4 I/O-slots ADAM-5000/485 and 8 I/O-slots ADAM-5000E. They are remotely controlled by the host computer through a set of commands and transmitted in a RS-485 network. The system kernel is small, but offers many good features to the users. The modulardesign also provides more flexibility in the system configuration.
Chapter 1 1.2 System Configuration The following diagram shows the system configurations possible with the ADAM-5000. Note: ADAM-5000 To avoid system over heating, only four ADAM-5024 are allowed to be installed on ADAM-5000E.
Introduction 1.3 A Few Steps to a Successful System Step 1:Review the installation Guideline You should always make safety your first priority in any system application. Chapter 2 provides several guidelines that will help provide a safer, more reliable system. Step 2: Understand the System Kernel The system module is the heart of ADAM-5000 system. Make sure you take time to understand the various features and setup requirements.
2 Installation Guideline
Installation Guideline 2.1 General Environmental Specifications The following table lists the environmental specifications that general ly apply to the ADAM-5000 system (System kernel and I/O modules). Specification Rating Storage temperature -13 to 185°F (-25 to 85°C) Ambient operating temperature 14 to 158°F (-10 to 70°C) Ambient humidity* 5 to 95%, non-condensing Atmosphere No corrosive gases * Equipment will operate below 30% humidity.
Chapter 2 A complete description of the diagnostic indicators and how to use them for troubleshooting is explained in Chapter 7. Figure 2-1 ADAM-5000 Diagnostic indicators Setting the Network Address Switch Set DIP switch 8 to OFF to install Avvantech Protocol , Set the network address using the 8-pin DIP switch. Valid settings range from 0 to 127 (00h to 7Fh) where ON in any of the 8 DIP switch positions equates to a binary 1, and OFF equates to a binary 0. Note: 00h is special for initial setting.
Installation Guideline Figure 2-2 ADAM-5000 Network address DIP switch Dimensions and Weights(ADAM-5000) The following diagrams show the dimensions of the system unit and an I/O unit of the ADAM-5000. All dimensions are in millimeters.
Chapter 2 Dimensions and Weights(ADAM-5000E) The following diagrams show the dimensions of the system unit and the I/O unit of the ADAM-5000E. All dimensions are in millimeters.
Installation Guideline 2.2 Module Installation When inserting modules into the system, align the PC board of the module with the grooves on the top and bottom of the system. Push the module straight into the system until it is firmly seated in the backplane connector. Once the module is inserted into the system, push in the retaining clips (located at the top and bottom of the module) to firmly secure the module to the system. Figure 2-3 Module alignment and installation 2.
Chapter 2 2.4 Mounting The ADAM-5000 system can be installed on a panel or DIN rail. Panel Mounting Mount the system on the panel horizontally to provide proper ventilation. You cannot mount the system vertically, upside down or on a flat horizontal surface. A standard #7 tating screw (4mm diameter) should be used.
Installation Guideline DIN Rail Mounting The system can also be secured to the cabinet by using mounting rails. If you mount the system on a rail, you should also consider using end brackets on each end of the rail. The end brackets help keep the system from sliding horizontally along the rail. This helps minimize the possibility of accidentally pulling the wiring loose. If you examine the bottom of the system, you will notice two small retainingclips.
Chapter 2 Figure 2-6 ADAM-5000E Rail mountings 2.5 Wiring and Conections This section provides basic information on wiring the power supply and I/O units, and on connecting the network. DC Power Supply Unit Wiring Be sure that the DC power supply voltage remains within the allowed fluctuation range of between 10 to 30 VDC. Terminals +VS and GND are for power supply wiring. Note: The wire(s) used should be at least 2mm2.
Installation Guideline INIT* is used for changing baud rate and checksum. COM is provided as reference to the RS-485 ground signal. DATA+ and DATA- are provided for the RS-485 twisted pair connection. Figure 2-7 ADAM-5000 Wiring Connections I/O Module Wiring The system uses plug-in screw terminal blocks for the interface between I/O module and field devices. The following information must be considered when connecting electrical devices to I/O modules. 2-10 1. The terminal block accepts 0.5 mm2 to 2.
Chapter 2 5. Avoid running wires near high energy wiring 6. Avoid running input wiring in close proximity to output wiring where possible 7. Avoid creating sharp bends in the wires RS-485 Port Connection There is a pair of DB9 ports in the ADAM-5000 system. The ports are designed to link the RS-485 through a cable to a network in a system. The pin assignment of the port is as follows: Note: The wiring of the RS-485 should be through a twisted pair.
RS-232 Port Connection The RS-232 port is designed for field configuration and diagnostics. Users may connect a notebook PC to the RS-232 port to configure or troubleshoot your system in the field. Further, the ADAM-5000 system can also be configured as the slave of the host computer through this port connection.
Chapter 2 Figure 2-8 Build-in Communication Ports for Diagnostic Connection Flexible Communication Port Function Connection(ADAM-5000E only) The Flexible Communication Port Function prevents ADAM-5000E from system glitches due to communication line problems. This function enables simultaneous connections via COM1 and COM2 port of your host PC to the RS-232 and RS-485 port of ADAM-5000E specifically. While working in conjunction with specific HMI software (e.g.
Installation Guideline Figure 2-9 Flexible Communication Port Function Connection 2-14 ADAM-5000
3 ADAM-5000 System
ADAM-5000 System 3.1 Overview The ADAM-5000 series is a data acquisition and control system which can control, monitor and acquire data through multichannel I/O modules. Encased in rugged industrial grade plastic bases, the systems provide intelligent signal conditioning, analog I/O, digital I/O, RS-232 and RS-485 communication. The ADAM-5000/485 can handle up to any 4 combinations of I/O modules (64 I/O points), while the ADAM-5000E can handle up to 8 combinations of I/O modules (128 I/ O points).
Chapter 3 Diagnosis There are 4 LEDs (indicated as PWR, RUN, TX and RX) to provide visual information on the general operation of the ADAM-5000 system. The LEDs also indicate the error status when the ADAM-5000 system performs the self test. Besides the LED indica- tors, the system also offers software diagnosis via the RS232 port. For details, refer to Chapter 7. 3-Way Isolation and Watchdog Timer Electrical noise can enter a system in many different ways.
ADAM-5000 System output of a channel of an analog input module. The relationship and their High/Low alarm limits may be downloaded into the system‘s EEPROM by the host computer. The alarm functions can be enabled or disabled remotely. When the alarm function is enabled, the user may select whether the digital output is triggered. If the digital outputs are enabled, they are used to indicate the High and Low Alarm state. The High and Low alarm states can be read at any time by the host computer.
Chapter 3 programmed in virtually any high-level language. The details of all commands will be covered in Chapter 6. Flexible Communication Connection ADAM-5000’s built-in RS-232/485 conversion capability enables users to freely choose either RS-232 port or RS-485 port to connect with host PC. When user select either port to connect with their host PC, the other port could be utilized according to their specific needs.
ADAM-5000 System program execution without undue influence on your system. Probability of a system crash has thus minimized. 3.3 System Setup A Single System Setup thru the RS-232 Port If users would like to use a PC to locally control and monitor a simple application, the ADAM-5000 system provides up to 64 points or 128 points and front-end wiring through the RS-232 port to the host computer.
Chapter 3 3.
ADAM-5000 System Isolation Diagnosis Basic Function Block Diagram Figure 3.
4 I/O modules
This manual introduces the detail specifications functions and application wiring of each ADAM-5000 I/O modules. To organize an ADAM-5510 Series Controller, you need to select I/O modules to interface the main unit with field devices or processes that you have previously determined. Advantech provides 19 types of ADAM5000 I/O modules for various applications so far. Following table is the I/ O modules support list we provided for user’s choice.
5 Software Utilities
Software Utilities There is a software utility available to the ADAM-5000 systems. The Windows utility software helps you to configure your ADAM-5000. A DLL (Dynamic Link Library) driver is provided to write Windows applications, and a DDE (Dynamic Data Exchange) server is a service that links the ADAM-5000 systems to popular Windows packages such as Intouch, FIX DMACS, ONSPEC, Genesis and Excel. 5.
Chapter 5 5.1.1 Overview Main Menu The window utility consists of a toolbar on the top and a display area that shows forth the relevant information about the connected modules. The utility’s main toolbar is as shown below: The main toolbar buttons are shortcuts to some commonly used menu items: Save: Saves the connected module to PC. Save the information of all connected modules to .txt file .By doing this; users can keep track of every different setting environment.
Software Utilities Example: Figure 5-1 Display the connected module Figure 5-2 Save the information of connected modules to txt file 5.1.
Chapter 5 Baud rate: The communication speed (baud rate) can be configured from 1200 bps to 115.2 Kbps. Prefix Char: The Prefix Char is added to each ADAM command as follows: [Prefix Char] + [ADAM Command] Note: This is a special command only for ADAM-4521, ADAM-4541 and ADAM-4550. Timeout: Timeout means the time limit for waiting a response after the system has issued a command. If no response has been received when timeout has passed, we’ll see the “Timeout!” message on the screen. 5.1.
Software Utilities 2. Click the right mouse button: 3. Click the Tools menu and choose the Search command: 4.
Chapter 5 5.1.5 Terminal Emulation You can issue commands and receive response by clicking the Terminal button. There are two ways to issue commands: 1. Issue single command: Enable or Disable 2. Batch command Users can compose a sequence of commands and save them into a .txt file. Just click the Browse button to list all the .txt files available and select the file for continuous execution of the batch of commands therein. 3. Back to the main menu.
Software Utilities Enable or Disable Figure 5-4 Checksum function enabled 5.1.6 Data Scope Data Scope enables you to monitor the issue of commands and the responses on another connected PC within your system.
Chapter 5 When you issue commands from PC#1, you will get response. : Send single command or batch command. : Send a single command or batch command repeatedly. : Stop issuing commands. : Save history of the terminal emulation to txt file. On PC#3, you can observe all commands issued from PC#1. Meanwhile, you can also observe all responses received at PC#2.
Software Utilities When your system is connected with multiple ADAM-4000 or ADAM-5000 modules, just click the addresses of the modules to see relevant information (multiple selection from 00 to FF is allowed). Then check the Filter option and click Update button to see relevant information of the modules. Note that the information about other unselected modules won’t show forth. 5.1.
Chapter 5 3. Click the Tools menu. Choose the “Save Configuration file” command and then specify the file name. The configuration file is now saved.
Software Utilities 5.1.8 Load Module’s Configuration File • Reload previous settings. Sets the input range, baud rate, data format, checksum status and/or integration time and alarm status for a specified analog input module. • Sets the output range, baud rate, data format, checksum status and slew rate for a specified analog output module. • Sets the baud rate and checksum status for a digital I/O module.
Chapter 5 3. Click the Tools menu and choose Download configuration file to set the environment command: 4. Choose the file name: The configuration file is now loaded.
Software Utilities 5.1.9 Module Configuration • Sets the input range, baud rate, data format, checksum status, and/ or integration time for a specified analog input module. • Sets the output range, baud rate, data format, checksum status and slew rate for a specified analog output module. • Sets the baud rate and checksum status for a digital I/O module. • Sets the input mode, baud rate, checksum status and/or frequency gate time for a specified counter/frequency module.
Chapter 5 • Address: Represents the address of the module. The Range is from 0 to 255. • Baudrate: Represents the baud rate. • Checksum: Represents the checksum status, i.e., Disabled/ Enabled. • Firmware Ver: Represents the version of firmware. • Input range: Represents the input range of modules. You can refer to Chapter 4. • Data format: Represents the data format (e.g. engineering format). You can refer to Chapter 4. 5.1.10 Module Calibration Calibration is to adjust the accuracy of ADAM module.
Software Utilities Figure 5-7 Zero Calibration (5). Click the Execute button to begin the calibration Figure 5-8 : Execute Zero Calibration Span Calibration: (1). Use a precision voltage source to apply a calibration voltage to the modules’ terminals of the specific channel. (2). Click the “Span Calibration” button.
Chapter 5 (3). Click the Execute button to begin the calibration Figure 5-10 : Execute Span Calibration CJC Calibration: CJC (cold junction sensor) calibration only applies to the ADAM-5018 (1). Prepare a voltage source which is accurate to the mV level. (2). Run the zero calibration and span calibration function. (3). Use a temperature emulation device (such as Micro-10) to send a temperature signal to the ADAM module and then compare this signal with the reading from the ADAM module.
Software Utilities (5). Click the Execute button to begin the calibration Figure 5-12 : Execute CJC Calibration Analog Input Resistance Calibration: RTD sensor calibration only applies to the ADAM-5013 Figure 5-13 : RTD Module Calibration .
Chapter 5 5.1.11 Data Input and Output Analog Input Module with Digital Output • The function can only be used when the alarm status is “Disable”. Digital Output Module • Click the item to turn it on or off.
Software Utilities Enter a value that users want to get • • Fast Decrease decrease increase • 5-20 fast increase ADAM-5000
Chapter 5 5.1.12 Alarm Setting • Set the alarm status, high alarm value, low alarm value, and then click the Update button. • Alarm setting: Disables or enables the alarm either in Latching or Momentary mode. • High alarm value: Downloads the high alarm limit value into the module. The format is always in engineering units. • Low alarm value: Downloads the low alarm limit value into the module. The format is always in engineering units.
Software Utilities • Low level voltage: Set the low trigger level for non-isolated input signals. The range is from 0.1 V to 5.0 V. • High level minimum width: Set the minimum width at high level. The unit is µsec (microseconds) and its resolution is 1 µsec. Users can set value from 2 to 65535. • Low level minimum width: Set the minimum width at low level. The unit is µsec (microseconds) and its resolution is 1 µsec. Users can set value from 2 to 65535. 5.1.13 Download Procedure 1.
Chapter 5 3. Choose the baud rate. 4. Choose Download file.
Software Utilities Firmware downloads in progress. Firmware downloads complete. NOTICE: THE FIRMWARE UPGRAD OPERATION IS ONLY USED BY RS-232 PORT.
Chapter 5 5.2 DLL (Dynamic Link Library) Driver The ADAM-5000 API Dynamic Link Library (DLL) enables you to quickly and easily write Windows applications for ADAM5000 systems. The library supports both C++ and Visual Basic. Since ADAM-5000 systems communicate with a host computer through the host‘s COM port, no additional driver (DRV or VxD) needs to be installed. The DLL includes all necessary function calls to utilize the ADAM-5000 systems to their fullest extent.
Software Utilities 5-26 ADAM-5000
6 Command Set
Command Set 6.1 Introduction To avoid communication conflicts when several devices try to send data at the same time, all actions are instigated by the host computer. The basic form is a command/response protocol with the host initiating the sequence. When systems are not transmitting they are in listen mode. The host issues a command to a system with a specified address and waits a certain amount of time for the system to respond.
Chapter 6 The command set is divided into the following five categories: • CPU Command Set • Analog Input Command Set • Analog Input Alarm Command Set • Analog Output Modules Command Set • Digital I/O Modules Command Set Every command set category starts with a command summary of the particular type of module, followed by datasheets that give detailed information about individual commands.
Command Set 6.
Chapter 6 %aannccff Name Configuration Description Sets baud rate and checksum status for a specified ADAM-5000 system. Syntax %aannccff(cr) % is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure. nn is reserved for system use. Its default value is 00h. cc represents the baud rate code. ff is a hexadecimal number that equals the 8-bit parameter representing checksum status.
Command Set CPU %aannccff (cr) is the terminating character, carriage return (0Dh). Example command: %23000A40(cr) response: !23(cr) The ADAM-5000 system with address 23h is configured to a baud rate of 115.2 Kbps and with checksum generation or validation. The response indicates that the command was received. Wait 7 seconds to let the new configuration setting take effect before issuing a new command to the system.
Chapter 6 $aa2 Name Configuration Status Description Returns the configuration status for a specified system module. Syntax $aa2(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. 2 is the Configuration Status command. (cr) is the terminating character, carriage return (0Dh). Response !aaccff(cr) if the command is valid. ?aa(cr) if an invalid operation was entered.
Command Set CPU $aa2 (See also the %aannccff configuration command) Example command: $452(cr) response: !450600(cr) The command requests the ADAM-5000 system at address 45h to send its configuration status. The ADAM-5000 system at address 45h responds with a baud rate of 9600 bps and with no checksum function or checksum generation.
Chapter 6 $aaM Name Read Module Name Description Returns the module name from a specified ADAM-5000 system. Syntax $aaM(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. M is the Module Name command. (cr) is the terminating character, carriage return (0Dh). Response !aa5000(cr) if the command is valid. ?aa(cr) if an invalid operation was entered.
Command Set CPU #aaF Example command: $15M(cr) response: !155000(cr) The command requests the system at address 15h to send its module name. The system at address 15h responds with module name 5000 indicating that there is an ADAM-5000 at address 15h.
Chapter 6 $aaF Name Read Firmware Version Description Returns the firmware version code from a specified ADAM-5000 system. Syntax $aaF(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. F is the Firmware Version command. (cr) is the terminating character, carriage return (0Dh). Response !aa(version)(cr) if the command is valid. ?aa(cr) if an invalid operation was entered.
Command Set CPU $aaF Example command: $17F(cr) response: !17A1.06(cr) The command requests the system at address 17h to send its firmware version. The system responds with firmware version A1.06.
Chapter 6 $aaT Name Read I/O Type Description Returns the I/O module no. of all slots for a specified ADAM-5000 system. Syntax $aaT(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. T is the I/O Module Types command. (cr) is the terminating character, carriage return (0Dh). Response !aabbccddee(cr) if the command is valid. ?aa(cr) if an invalid operation was entered.
Command Set CPU $aaT Example command: $12T(cr) response: !1218245160(cr) The command requests the ADAM-5000 system at address 12h to send all existing I/O module numbers. The system at address 12h responds with I/O module numbers 18, 24, 51 and 60 in slots 0-3. This means that the ADAM-5000 system contains an ADAM-5018, ADAM-5024, ADAM-5051 and ADAM-5060 in slots 0 thru 3.
Chapter 6 $aa5 Name Reset Status Description Checks the reset status of the addressed ADAM-5000 system to see whether it has been reset since the last Reset Status command was issued to the ADAM-5000 system. Syntax $aa5(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system whose Reset Status is to be returned. 5 is the Reset Status command.
Command Set CPU $aa5 Example command: $395(cr) response: !391(cr) The ADAM-5000 system at address 39h was reset or powered up since the last Reset Status command was issued.
Chapter 6 $aaE Name Software Diagnostics Description Requests the specified ADAM-5000 system to return the error status Syntax $aaE(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. E is Software Diagnostics command. (cr) is the terminating character, carriage return (0Dh) Response !aabbccddee(cr) if the command is valid. ?aa(cr) if an invalid operation was entered.
Command Set CPU Figure 6-2 Analog module error codes Example: command: $01E(cr) response: !0100000001 The command diagnoses the system at address 01h and responds with its error status code. The system responds that the module in slot 3 has a span calibration error.
Chapter 6 6.
Command Set Note: 6-20 5013 RTD Input The ADAM-5013 module also has "Alarm Setting" functions. The alarm command set for the ADAM5013 is the same as that for the ADAM-5017, ADAM5017H, and the ADAM-5018. Please refer to pages 6-71 to 6-89 for this set of commands.
Chapter 6 $aaSiArrff Name RTD Configuration Description Sets slot index, input range, data format and integration time for a specified RTD input module in a specified system. Syntax $aaSiArrff(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure. Si identifies the desired slot i (i:0to3). A represents the I/O module configuration command. rr represents the 2-character hexadecimal code of the input range.
Command Set 5013 RTD Input $aaSiArrff address of an ADAM-5000 system. (cr) is the terminating character, carriage return (0Dh). Example command: $35S3A2000(cr) response: !35(cr) The RTD input module in slot 3 of the ADAM-5000 system at address 35h is configured to an RTD type Pt -100 to 100° C, engineering unit data format, and integration time 50ms (60Hz). The response indicates that the command has been received.
Chapter 6 $aaSiB Name RTD Configuration Status Description Returns the configuration parameters for a specified RTD input module in a specified system. Syntax $aaSiB(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the desired slot i (i:0to3) B represents the configuration status command (cr) is the terminating character, carriage return (0Dh). Response. !aarrff(cr) if the command is valid.
Command Set 5013 RTD Input $aaSiB (cr) is the terminating character, carriage return (0Dh). Example command: $35S3B(cr) response: !352000(cr) The RTD input module in slot 3 of the ADAM-5000 system at address 35h responds with an RTD type Pt -100 to 100° C, engineering unit data format, and integration time 50ms (60Hz).
Chapter 6 $aaSi Name All RTD Data In Description Returns the input values of all channels of a specified RTD input module in a specified system in engineering units only. Syntax $aaSi(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si is the I/O slot of the ADAM-5000 system you want to read. (cr) is the terminating character, carriage return (0Dh). Response. >(data)(data)(data)(cr) if the command is valid.
Command Set 5013 RTD Input $aaSi Example command: $35S3(cr) response: >+80.01 +20.00 -40.12(cr) The command requests the RTD input module in slot 3 of the ADAM-5000 system at address 35h to return the input values of all channels. The RTD input module responds with input values of all channels in sequence from 0 to 2 : +80.01° C, +20.00° C, -40.12° C.
Chapter 6 $aaSiCj Name Specified RTD Data In Description Returns the input value of a specified channel for a specified RTD input module of a specified system in engineering units only. Syntax $aaSiCj(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. SiCj identifies the desired slot i (i:0 to 3) and the desired channel j (j:0 to 2) of the module you want to interrogate.
Command Set 5013 RTD Input $aaSiCj Example command: $35S3C0(cr) response: >+80.01(cr) The command requests the RTD input module in slot 3 of the ADAM-5000 system at address 35h to return the input value of channel 0. The RTD input module responds that the input value of channel 0 is +80.01° C.
Chapter 6 $aaSiER Name Initialize EEPROM Data Description Initializes all EEPROM data in a specified analog input module to their default values. This command is sent following a failed attempt to calibrate a module (the module shows no effect from an attempted calibration). Following initialization, the problem module should readily accept calibration. Syntax $aaSiER(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system.
Command Set 5013 RTD Input $aaSi5mm Name Enable/Disable Channels for multiplexing Description Enables/Disables multiplexing for separate channels of the specified input module Syntax $aaSi5mm(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. Si identifies the I/O slot of the system. 5 represents the enable/disable channels command. mm are two hexadecimal values. Each value is interpreted by the module as 4 bits.
Chapter 6 $aaSi5mm invalid. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. (cr) is the terminating character, carriage return (0Dh) Example command: $00S1501(cr) response: !00(cr) The command enables/disables the channels of the analog input module in slot 1 of the system at address 00h. Hexadecimal 0 is a fixed value. Hexadecimal 1 equals binary 0001, which enables channel 0 and disables channels 1 and 2.
Command Set 5013 RTD Input $aaSi6 Name Read Channels Status Description Asks a specified input module to return the status of all channels Syntax $aaSi6(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the I/O slot of the system you want to read channels status. The channel status defines whether a channel is enabled or disabled. 6 represents the read channels status command.
Chapter 6 $aaSi6 (cr) is the terminating character, carriage return (0Dh) Example command: $00S16(cr) response: !0001(cr) The command asks the analog input module in slot 1 of the system at address 00h to send the status of its input channels. The analog input module responds that channel 0 of its multiplex channels is enabled, the others are disabled (01h equals 0000 and 0001).
Command Set 5013 RTD Input $aaSi0 Name RTD Span Calibration Description Calibrates a specified RTD input module of a specified system to correct for gain errors. Syntax $aaSi0(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system which contains the RTD module. Si identifies the slot i (i:0 to 3) containing the RTD module to be calibrated. 0 represents the span calibration command. (cr) is the terminating character, carriage return (0Dh).
Chapter 6 $aaSi1 Name RTD Zero Calibration Description Calibrates a specified RTD input module of a specified system to correct for offset errors. Syntax $aaSi1(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system which contains the module which is to be calibrated. Si identifies the slot i (i:0 to 3) containing the RTD module to be calibrated. 1 represents the zero calibration command.
Command Set 5013 RTD Input $aaSi2 Name RTD Self Calibration Description Causes a specified RTD input module of a specified system to do a self calibration. Note: This command is for use when RTD Zero and Span calibration commands have been tried and had no effect. A user first issues an RTD self calibration command, and then issues zero and span calibration commands. Syntax $aaSi2(cr) $ is a delimiter character.
Chapter 6 6.3 Analog Input Command Set Note: ADAM-5000 See pages 71-89 for Analog Input Alarm Command Set.
Command Set 5017/5018 Analog Input $aaSiArrff Name Configuration Description Sets slot index, input range, data format and integration time for a specified analog input module in a specified system. Syntax $aaSiArrff(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure. Si identifies the I/O slot you want to configure. A is I/O module configuration command.
Chapter 6 $aaSiArrff Response !aa(cr) if the command is valid. ?aa(cr) if an invalid operation was entered. There is no response if the module detects a syntax error or communication error or if the specified address does not exist. ! delimiter character indicating a valid command was received. ? delimiter character indicating the command was invalid. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system.
Command Set 5017/5018 Analog Input $aaSiB Name Configuration Status Description Returns the configuration status parameters for a specified analog input module of a specified system. Syntax $aaSiB(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the I/O slot you want to read. B is configuration status command.
Chapter 6 $aaSiB (cr) is the terminating character, carriage return (0Dh) Example command: $26S1B response: !260000 The ADAM-5018 analog input module in slot 1 of the ADAM-5000 system at address 26h responds with an input range ±15mV, engineering units data format, and integration time 50ms (60Hz).
Command Set 5017/5018 Analog Input $aaSi5mm Name Enable/Disable Channels for multiplexing Description Enables/Disables multiplexing for separate channels of the specified input module Syntax $aaSi5mm(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. Si identifies the I/O slot of the system. 5 identifies the enable/disable channels command. mm are two hexadecimal values. Each value is interpreted as 4 bits.
Chapter 6 $aaSi5mm aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. (cr) is the terminating character, carriage return (0Dh) Example command: $00S1581(cr) response: !00(cr) The command enables/disables channels of the analog input module in slot 1 of the system at address 00h. Hexadecimal 8 equals binary 1000, which enables channel 7 and disables channels 4, 5 and 6. Hexadecimal 1 equals binary 0001, which enables channel 0 and disables channels 1, 2 and 3.
Command Set 5017/5018 Analog Input $aaSi6 Name Read Channels Status Description Asks a specified input module to return the status of all channels Syntax $aaSi6(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the I/O slot of the system you want to read channels status. The channel status defines whether a channel is enabled or disabled. 6 is the read channels status command.
Chapter 6 $aaSi6 channels 0-3. A value of 0 means the channel is disabled, while a value of 1 means the channel is enabled. (cr) is the terminating character, carriage return (0Dh) Example command: $02S16(cr) response: !02FF(cr) The command asks the analog input module in slot 1 of the system at address 02h to send the status of its input channels. The analog input module responds that all its multiplex channels are enable (FF equals 1111 and 1111).
Command Set 5017/5018 Analog Input #aaSi Name All Analog Data In Description Returns the input value of all channels for a specified analog input module of a specified system in engineering unit only. Syntax #aaSi(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si is the I/O slot of ADAM-5000 system you want to read.
Chapter 6 $aaSi Example command: #12S1(cr) response: +1.4567 +1.4852 +1.4675 +1.4325 +1.4889 +1.4235 +1.4787 +1.4625(cr) The command requests the analog input module in slot 1 of the ADAM-5000 system at address 12h to return the input values of all channels. The analog input module responds that input values of all channels are in sequence from 7 to 0: +1.4567, +1.4852, +1.4675, +1.4325, +1.4889, +1.4235, +1.4787 and +1.4625.
Command Set 5017/5018 Analog Input #aaSiCj Name Specified Analog Data In Description Returns the input value of a specified channels for a specified analog input module of a specified system in engineering unit only. Syntax #aaSiCj(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the I/O slot you want to interrogate. Cj identifies the channel you want to read.
Chapter 6 #aaSiCj Example command: #22S2C2(cr) response: >+1.4567 The command requests the analog input module in slot 2 of the ADAM-5000 system at address 22h to return the input value of channel 2. The analog input module responds that the input value of channel 2 is +1.4567.
Command Set 5017/5018 Analog Input $aaSiER Name Initialize EEPROM data Description Initializes all EEPROM data in a specified analog input module to their default values. This command is sent following a failed attempt to calibrate a module (the module shows no effect from an attempted calibration). Following initialization, the problem module should readily accept calibration. Syntax $aaSiER(cr) $ is a delimiter character.
Chapter 6 $aaSiØ Name Span Calibration Description Calibrates a specified analog input module to correct for gain errors Syntax $aaSiØ(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system which is to be calibrated. Si identifies the I/O slot which is to be calibrated. Ø represents the span calibration command. (cr) is the terminating character, carriage return (0Dh) Response !aa(cr) if the command is valid.
Command Set 5017/5018 Analog Input $aaSi1 Name Zero Calibration Description Calibrates a specified analog input module to correct for offset errors Syntax $aaSi1(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system which is to be calibrated. Si identifies the I/O slot which is to be calibrated. 1 represents the zero calibration command. (cr) is the terminating character, carriage return (0Dh) Response !aa(cr) if the command is valid.
Chapter 6 $aaSi3 Name CJC Status Command (ADAM-5018 / 5018P only) Description Returns the value of the CJC (Cold Junction Compensation) sensor for a specified analog input module Syntax $aaSi3(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. Si identifies the I/O slot which contains the CJC Status you wish to retrieve. 3 is CJC Status command.
Command Set 5017/5018 Analog Input $aaSi3 Example command: $09S13(cr) response: >+0036.8(cr) The command requests the analog input module in slot 1 of the ADAM-5000 system at address 09h to read its CJC sensor and return the data. The analog input module responds with 36.8°C.
Chapter 6 $aaSi9shhh Name CJC Zero Calibration (ADAM-5018 / 5018P only) Description Calibrates an analog input module to adjust for offset errors of its CJC (Cold Junction Compensation) sensor Syntax $aaSi9shhhh(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. Si identifies the I/O slot which contains the CJC Status you wish to retrieve. 9 is CJC Status command.
Command Set 5017/5018 Analog Input $aaSi9shhhh Example command: $07S29+0042(cr) response: !07(cr) The command increases the CJC offset value of the analog input module in slot 2 of the system at address 07h with 66 counts (42 hex) which equals about 0.6°C. Note: 6-56 An analog input module requires a maximum of 2 seconds to perform auto calibration and ranging after it receives a CJC Calibration command. During this interval, the module cannot be addressed to perform any other actions.
Chapter 6 6.
Command Set 5017H/5017UH Analog Input Note: The ADAM-5017H / 5017UH module also has "Alarm Setting" functions. The alarm command set for the ADAM-5017UH is the same as that for the ADAM-5013, ADAM-5017, ADAM5017H and ADAM-5018. Please refer to pages6-71 to 6-89 for this set of commands.
Chapter 6 $aaSiCjrrFF Name Set Input Range Description Sets the input range for a specified channel of a specified analog input module in a specified system. Syntax $aaSiCjArrFF $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure. SiCj identifies the slot i (i:0 to 3) of the ADAM-5000 system and the channel j (j:0 to 7) of the ADAM-5017H / 5017UH whose range you want to set. A represents the set input range command.
Command Set 5017H/5017UH Analog Input $aaSiCjrrFF address of an ADAM-5000 system. (cr) is the terminating character, carriage return (0Dh). Example command: $35S3C1A0bFF(cr) response: !35(cr) Channel 1 of the ADAM-5017H / 5017UH module in slot 3 of the ADAM-5000 system at address 35h is set to the input range 0-20 mA, engineering unit data format. The response indicates that the command has been received as a valid command.
Chapter 6 $aaSiCjB Name Read Input Range Description Returns the input range in engineering units for a specified channel of a specified analog input module in a specified system. Syntax $aaSiCjB $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. SiCj identifies the slot i (i:0 to 3) of the ADAM-5000 system and the channel j (j:0 to 7) of the ADAM-5017H / 5017UH module you want to interrogate.
Command Set 5017H/5017UH Analog Input $aaSiCjB Example command: $35S3C1B(cr) response: !350b00(cr) Channel 1 of the ADAM-5017H / 5017UH module in slot 3 of the ADAM-5000 system at address 35h responds with an input range 0-20 mA, engineering unit data format.
Chapter 6 $aaSiAFFff Name Set Data Format Description Sets the data format in engineering units or in two's complement format for a specified analog input module in a specified system. Syntax $aaSiAFFff $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure. Si identifies the I/O slot of the ADAM-5000 system containing the ADAM-5017H module you want to configure. AFF represents the set data format command.
Command Set 5017H/5017UH Analog Input $aaSiAFFff invalid. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. (cr) is the terminating character, carriage return (0Dh). Example command: $35S3AFF00(cr) response: !35(cr) The data format of the ADAM-5017H / 5017UH module in slot 3 of the ADAM-5000 system at address 35h is configured for engineering unit format. The response indicates that the command has been received as a valid command.
Chapter 6 $aaSiB Name Read Data Format Description Returns the data format for a specified analog input module in a specified system. Syntax $aaSiB $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the I/O slot of the ADAM-5000 system containing the ADAM-5017H / 5017UH module you want to interrogate. B represents the read data format command. (cr) is the terminating character, carriage return (0Dh).
Command Set 5017H/5017UH Analog Input $aaSiB Example command: $35S3B(cr) response: !35FF00(cr) The ADAM-5017H / 5017UH module in slot 3 of the ADAM-5000 system at address 35h responds that it is configured for engineering unit data format.
Chapter 6 #aaSi Name All Analog Data In Description Returns the input value of all channels for a specified analog input module of a specified system in engineering units or two’s complement data format Syntax #aaSi # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the I/O slot (i:0 to 3) of ADAM-5000 system you want to read. (cr) is the terminating character, carriage return (0Dh).
Command Set 5017H/5017UH Analog Input #aaSi the interrogated module of the specified system. The (dddd) from all channels is shown in sequence from 7 to 0. If (dddd)=” “, it means the channel is invalid. (cr) is the terminating character, carriage return (0Dh). Example command: #35S3(cr) response: +6.000 +7.000 +8.125 +4.250 +10.000 +8.500 +7.675 +5.445 (cr) The command requests the ADAM-5017H / 5017UH module in slot 3 of the ADAM-5000 system at address 35h to return the input values of all channels.
Chapter 6 #aaSiCj Name Specified Analog Data In Description Returns the input value of a specified channel of a specified analog input module in a specified ADAM5000 system in engineering units or two’s complement data format Syntax #aaSiCj(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure. Si identifies the I/O slot (i:0 to 3) of ADAM-5000 system you want to read. Cj identifies the channel you want to read.
Command Set 5017H/5017UH Analog Input #aaSiCj If (data)=” “, it means the channel is invalid. (dddd) is the input value in two’s complement format of the specified channel of the specified module. If (dddd)=” “, it means the channel is invalid. (cr) is the terminating character, carriage return (0Dh). Example command: #35S3C2(cr) response: +9.750 (cr) The command requests the ADAM-5017H / 5017UH module in slot 3 of the ADAM-5000 system at address 35h to return the input value of channel 2.
Chapter 6 6.7 Analog Input Alarm Command Set Note: ADAM-5000 This command set applies to the ADAM-5013, ADAM5017, ADAM-5017H , ADAM5017UH , ADAM-5018P and the ADAM-5018P.
Command Set Analog Input Alarm 5013/5017/5017H/5017UH/5018/5018P $aaSiCjAhs Name Set Alarm Mode Description Sets the High/Low alarm of the specified input channel in the addressed ADAM-5000 system to either Latching or Momentary mode. Syntax $aaSiCjAhs(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of anADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired channel j (j : 0 to 7). Ahs is the Set Alarm Mode command.
Chapter 6 $aaSiCjAhs Example command: $03S0C1AHL(cr) response: !03(cr) Channel 1 of slot 0 in the ADAM-5000 system at address 03h is instructed to set its High alarm in Latching mode. The module confirms that the command has been received.
Command Set Analog Input Alarm 5013/5017/5017H/5017UH/5018/5018P $aaSiCjAh Name Read Alarm Mode Description Returns the alarm mode for the specified channel in the specified ADAM-5000 system. Syntax $aaSiCjAh(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired channel j (j : 0 to 7). Ah is the Read Alarm Mode command.
Chapter 6 $aaSiCjAh Example command: $03S0C1AL(cr) response: !03M(cr) Channel 1 of slot 0 in the ADAM-5000 system at address 03h is instructed to return its Low alarm mode. The system responds that it is in Momentary mode.
Command Set Analog Input Alarm 5013/5017/5017H/5017UH/5018/5018P $aaSiCjAhEs Name Enable/Disable Alarm Description Enables/Disables the High/Low alarm of the specified input channel in the addressed ADAM-5000 system Syntax $aaSiCjAhEs(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired channel j (j : 0 to 7). AhEs is the Set Alarm Mode command.
Chapter 6 $aaSiCjAhEs Example command: $03S0C1ALEE(cr) response: !03(cr) Channel 1 of slot 0 in the ADAM-5000 system at address 03h is instructed to enable its Low alarm function. The module confirms that its Low alarm function has been enabled. Note: ADAM-5000 An analog input module requires a maximum of 2 seconds after it receives an Enable/Disable Alarm command to let the setting take effect. During this interval, the module cannot be addressed to perform any other actions.
Command Set Analog Input Alarm 5013/5017/5017H/5017UH/5018/5018P $aaSiCjCh Name Clear Latch Alarm Description Sets the High/Low alarm to OFF (no alarm) for the specified input channel in the addressed ADAM-5000 system Syntax $aaSiCjCh(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired channel j (j : 0 to 7). Ch is the Clear Latch Alarm command.
Chapter 6 $aaSiCjCh Example command: $03S0C1CL(cr) response: !03(cr) Channel 1 of slot 0 in the ADAM-5000 system at address 03h is instructed to set its Low alarm state to OFF. The system confirms it has done so accordingly.
Command Set Analog Input Alarm 5013/5017/5017H/5017UH/5018/5018P $aaSiCjAhSkCn Name Set Alarm Connection Description Connects the High/Low alarm of the specified input channel to the specified digital output in the addressed ADAM-5000 system Syntax $aaSiCjAhCSkCn(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired analog input channel j (j : 0 to 7).
Chapter 6 $aaSiCjAhCSkCn Example command: $03S0C1ALCS1C0(cr) response: !03(cr) Channel 1 of slot 0 in the ADAM-5000 system at address 03h is instructed to connect its Low alarm to the digital output of point 0 of slot 1 in the same ADAM5000 system. The system confirms it has done so accordingly.
Command Set Analog Input Alarm 5013/5017/5017H/5017UH/5018/5018P $aaSiCjRhc Name Read Alarm Connection Description Returns the High/Low alarm limit output connection of a specified input channel in the addressed ADAM-5000 system Syntax $aaSiCjRhC(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired analog input channel j (j : 0 to 7).
Chapter 6 $aaSiCjRhC (cr) represents terminating character, carriage return (0Dh) Example command: $03S0C1RLC(cr) response: !03S1C0(cr) Channel 1 of slot 0 in the ADAM-5000 system at address 03h is instructed to read its Low alarm output connection. The system responds that the Low alarm output connects to the digital output at point 0 of slot 1 in the same ADAM-5000 system.
Command Set Analog Input Alarm 5013/5017/5017H/5017UH/5018/5018P $aaSiCjAhU(data) Name Set Alarm Limit Description Sets the High/Low alarm limit value for the specified input channel of a specified ADAM-5000 system. Syntax $aaSiCjAhU(data)(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired analog input channel j (j : 0 to 7). AhU is the Set Alarm Limit command.
Chapter 6 $aaSiCjAhU(data) Example command: $03S0C1AHU+080.00(cr) response: !03(cr) Channel 1 of slot 0 in the ADAM-5000 system at address 03h is configured to accept type-T thermocouple input. The command will set its High alarm limit to +80°C. The system confirms the command has been received. Note: ADAM-5000 An analog input module requires a maximum of 2 seconds after it receives a Set Alarm Limit command to let the settings take effect.
Command Set Analog Input Alarm 5013/5017/5017H/5017UH/5018/5018P $aaSiCjRhU Name Read Alarm Limit Description Returns the High/Low alarm limit value for the specified input channel in the addressed ADAM-5000 system Syntax $aaSiCjRhU(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired analog input channel j (j : 0 to 7). RhU is the Read Alarm Limit command.
Chapter 6 $aaSiCjRhU Example command: $03S0C1RHU(cr) response: !03+2.0500(cr) Channel 1 of slot 0 in the ADAM-5000 system at address 03h is configured to accept 5V input. The command instructs the system to return the High alarm limit value for that channel. The system responds that the High alarm limit value in the desired channel is 2.0500 V.
5013/5017/5017H/5017UH/5018 Command Set Analog Input Alarm $aaSiCjS Name Read Alarm Status Description Reads whether an alarm occurred for the specified input channel in the specified ADAM-5000 system Syntax $aaSiCjS(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i (i : 0 to 3) and the desired analog input channel j (j : 0 to 7). S is the Read Alarm Status command.
Chapter 6 $aaSiCjS Example command: $03S0C1S(cr) response: !0301(cr) The command instructs the system at address 03h to return its alarm status for channel 1 of slot 0. The system responds that a High alarm has not occurred and that a Low alarm has occurred.
Command Set 6.
Chapter 6 $aaSiCjArrff Name Configuration Description Sets the output range, data format and slew rate for a specified channel of a specified analog output module in a specified system. Syntax $aaSiCjArrff(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure. SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j : 0 to 3) of the module you want to configure. A is I/O module configuration command.
Command Set 5024 Analog Output $aaSiCjArrff Response !aa(cr) if the command is valid. ?aa(cr) if an invalid operation was entered. There is no response if the module detects a syntax error or communication error or if the specified address does not exist. ! delimiter character indicating a valid command was received. ? delimiter character indicating the command was invalid. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system.
Chapter 6 $aaSiCjB Name Configuration Status Description Returns the configuration parameters of a specified channel in a specified analog output module of a specified system. Syntax $aaSiCjB(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j : 0 to 3) you want to read. B is configuration status command.
Command Set 5024 Analog Output $aaSiCjB Bits 0 and 1 represent data format. Bits 2, 3, 4 and 5 represent slew rate. The other bits are not used and are set to 0. (See Configuration command $aaSiCjArrff) (cr) is the terminating character, carriage return (0Dh) Example command: $24S1C1B response: !243210 The analog output channel 1 in slot 1 of the ADAM5000 system at address 24h responds with an output range 0 to 10V, engineering units data format, and a slew rate of 1.0mA/sec.
Chapter 6 $aaSiCj(data) Name Analog Data Out Description Sends a digital value from the host computer to a specified channel of a specified slot in a specified ADAM-5000 system for output as an analog signal. Upon receipt, the analog output module in the specified slot will output an analog signal corresponding to the digital value received. Syntax #aaSiCj(data)(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system.
Command Set 5024 Analog Output #aaSiCj(data) ? delimiter character indicating the command was invalid. (cr) is the terminating character, carriage return (0Dh) Example command: #33S1C115.000(cr) response: >(cr) The command instructs the module in slot 1 of the ADAM-5000 system at address 33h to output a value of 15 mA from it's channel 1. The module should be an analog output module with it's channel 1 configured for a range of 0-20 mA or 4-20 mA.
Chapter 6 $aaSiCj4 Name Start-Up Output Current/Voltage Configuration Description Stores a default output value in a specified channel. The output value will take effect upon startup or reset. Syntax $aaSiCj4(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j : 0 to 3) of the module you want to set. 4 is the Start-Up Output Current/Voltage Configuration command.
Command Set 5024 Analog Output $aaSiCj4 Example command: $0AS1C14(cr) response: !0A(cr) Presume the present output value of channel 1 of slot 1 in the ADAM-5000 system at address 0Ah is 9.4 mA. The command tells the analog output module to store the present output value in its non-volatile memory. When the system is powered up or reset, its default output value will be 9.4 mA. The response from the ADAM-5000 system at address 0Ah indicates the command has been received.
Chapter 6 $aaSiCj0 Name 4 mA Calibration Description Directs the specified channel to store parameters following a calibration for 4 mA output Syntax $aaSiCj0(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j : 0 to 3) of the module you want to calibrate. 0 is the 4 mA calibration command.
Command Set 5024 Analog Output $aaSiCj0 be connected to the module's output. (See also the analog output module's Trim Calibration command in Chapter 4, Section 4.5, Analog Output Module Calibration for a detailed description.
Chapter 6 $aaSiCj1 Name 20 mA Calibration Description Directs the specified channel to store parameters following a calibration for 20 mA output Syntax $aaSiCj1(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j : 0 to 3) of the module you want to calibrate. 1 is the 20 mA calibration command.
Command Set 5024 Analog Output $aaSiCj1 be connected to the module's output. (See also the analog output module's Trim Calibration command in Chapter 4, Section 4.5, Analog Output Module Calibration for a detailed description.
Chapter 6 $aaSiCj3hh Name Trim Calibration Description Trims the specified channel a specified number of units up or down Syntax $aaSiCj3hh(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j : 0 to 3) of the module you want to calibrate. 3 is the trim calibration command.
Command Set 5024 Analog Output $aaSiCj3hh (cr) is the terminating character, carriage return (0Dh) Example command: $07S1C2314(cr) response: !07(cr) The command tells channel 2 of the analog output module in slot 1 of the ADAM-5000 system at address 07h to increase its output value by 20 (14h) counts which is approximately 30 µA. The analog output module confirms the increase.
Chapter 6 $aaSiCj6 Name Last Value Readback Description Returns either the last value sent to the specified channel by a #aaSiCj(data) command, or the start-up output current/voltage. Syntax $aaSiCj6(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j : 0 to 3) for the module you want to return a prior value. 6 is the last value readback command.
Command Set 5024 Analog Output $aaSiCj6 Example command: $0AS2C16(cr) response: !0A03.000(cr) The command tells channel 1 of the analog output module in slot 2 of the ADAM-5000 system at address 0Ah to return the last output value it received from an Analog Data Out command, or its start-up output current /voltage. The analog output module returns the value 3.000 mA (this assumes that the module was configured for the range 0-20 mA).
Chapter 6 6.
Command Set 5050/5051/5052/5055/5056 5060/5068/5069 Digital I/O $aaSi6 Name Digital Data In Description This command requests that the specified module in an ADAM-5000 system at address aa return the status of its digital input channels and a read back value of its digital output channels. Syntax $aaSi6(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. Si identifies the I/O slot of the system you want to read.
Chapter 6 There is no response if the module detects a syntax error or communi cation error or if the specified address does not exist. Note: ! delimiter character indicating a valid command was received. ? delimiter character indicating the command was invalid. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. (datainput) a 2-character hexadecimal value representing the input values of the digital input module.
Command Set 5050/5051/5052/5055/5056 5060/5068/5069 Digital I/O $aaSiBB(data) Name Digital Data Out Description This command either sets a single digital output channel or sets all digital output channels Syntax #aaSiBB(data)(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. Si identifies the slot (i:0 to 7) of the ADAM-5000 system which contains the module whose output values you want to set.
Chapter 6 hexadecimal characters represent the channels’ status. Note that the numbers of channels on the ADAM-5056 and ADAM-5055S/5060/5068/5069 differ. - A 4-character hexadecimal value is used to set the channels, from 15 thru 0, of the ADAM-5056. - A 2-character hexadecimal value is used to set the channels, from 5 thru 0, of the ADAM-5060. Bits 6 and 7 always default to 0 in the ADAM-5060. - A 2 character hexadecimal value is used to set the channels, from 7 thru 0, of the ADAM-5055S/5068/5069.
Command Set 5050/5051/5052/5055/5056 5060/5068/5069 Digital I/O command: #14S1001234(cr) response: >(cr) An output byte with value 1234h (0001001000110100) is sent to the digital output module (ADAM-5056) in slot 1 of the ADAM-5000 system at address 14h. Channels 2, 4, 5, 9 and 12 will be set to ON, and all other channels are set to OFF.
Chapter 6 $aaSiM Name Read Channel Masking Status Description Ask the specified module to return the masking status of digital output channels Syntax $aaSiM(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. Si identifies the I/O slot of the system you want to read. M is Channel Masking Status command. (cr) is the terminating character, carriage return (0Dh) Response !aa(data)(cr) if the command is valid.
Command Set 5050/5051/5052/5055/5056 5060/5068/5069 Digital I/O - A 4-character value represents the output channels in sequence from 15 thru 0 in an ADAM-5056 module. - A 2-character value represents the output channels in sequence from 5 thru 0 in an ADAM-5060 module. - A 2-character value represents the output channels in sequence from 7 thru 0 in ADAM-5055S/5068 module. Each bit represents a channel.
Chapter 6 6.
Command Set 6-116 5080 Counter/ Frequency Module ADAM-5000
Chapter 6 ADAM-5000 6-117
Command Set 5080 Counter/ Frequency Module $aaT Name Read Module Name Description Returns the module name from a specified ADAM-5000 system. Syntax $aaT(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. T is the command for reading Module Name. (cr) is the terminating character, carriage return (0Dh). Response !aaFFFFFFFF(cr) if the command is valid. ?aa(cr) if an invalid operation was entered.
Chapter 6 $aaT Example command: $25T(cr) Response !25FF80FFFF(cr) ADAM-5080 is plug in slot 1 and the command requests the system at address 25h to send its module name.
Command Set 5080 Counter/ Frequency Module $aaF Name Read Firmware Version Description Returns the firmware version code from a specified ADAM-5000 system. Syntax $aaF(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. F is the command for reading Firmware Version. (cr) is the terminating character, carriage return (0Dh). Response !aa(version)(cr) if the command is valid.
Chapter 6 $aaF Eample command: $18F(cr) response: !18A2.3(cr) The command requsets the system at address 18h to send its firmware version. The system responds with firmware version A2.3.
5080 Counter/ Frequency Module Command Set $aaSiArrff Name Set Configuration Description Set slot index and counter mode. Syntax $aaSiArrff(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure. Si identifies the I/O slot i you want to configure. A is command for setting I/O module configuration. rr indicates which mode is. rr=00 represents Bi-direction counter mode. rr=01 represenrs UP/DOWN counter mode.
Chapter 6 $aaSiArrff Example command: $24S1A0002(cr) response: !24(cr) The ADAM-5080 in Slot 1 of ADAM-5000 system at address 24h is in Bi-direction mode and configured for hexdecimal format.
Command Set 5080 Counter/ Frequency Module $aaSiB Name Read Configuration. Description The command requests the Configuration of slot Syntax $aaSiB(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the desired slot i B represents the configuration status command (cr) is the terminating character, carriage return (0Dh). Response. !aarrff(cr) if the command is valid.
Chapter 6 $aaSiB Example command: $35S3B(cr) response: !350100(cr) The ADAM-5080 in Slot 3 of ADAM-5000 system at address 35h responds that it is configured in UP/DOWN counter mode and for engineering unit data format.
Command Set 5080 Counter/ Frequency Module #aaSi Name Read All Channel Counter (Frequency) Data Description Return the input value of all channels for the specified input module for a specified system in engineering unit only. Syntax #aaSi(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si is the I/O slot of ADAM-5000 system you want to read.
Chapter 6 $aaSi Example command: #16S2(cr) response: If the response you got is in Counter mode, you'll see one similar to the example below: >1235458013267521306934521463051832106549(cr) What you see here is actually the input values of all channels that is returned from slot 2 of the ADAM-5000 system at address 16h.
Command Set 5080 Counter/ Frequency Module #aaSi However, if the response is in frequency mode, you'll see one similar to the example below: >0000098700000006490000000762000000011600(cr) As all 4 values are concatenated into one numerical string such as above, we can still easily discern the values of 4 channels specifically as: 0000098700,0000064900,0000076200,0000011600 What you see here is actually the input values of all channels returned from slot 2 of the ADAM5000 system at address 16h and in decima
Chapter 6 $aaSiCj Name Read One Channel Counter (Frequency) Data Description The command will return the input value from one of the four channels of a specified module. Syntax #aaSiCj(cr) # is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to interrogate. Si identifies the I/O slot you want to interrogate. Cj identifies the channel you want to read.
Command Set 5080 Counter/ Frequency Module #aaSiCj Example 6-130 command: $35S3C2(cr) response: >0000000451(cr) The command requests the ADAM-5080 module in slot 3 of the ADAM-5000 system at address 35h to return the input value of channel 2. The counter module responds that the input value of channel 2 is 451.
Chapter 6 $aaSiØ(data) Name Set Digital filter Scale Description Set the filter seconds to start to measure the input signal. Syntax $aaSiØ(data)(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system which is to be calibrate. Si identifies the sepcified slot. Ø is the command for setting digital filter scale. (data) represents filter secends from 8µs~65000 µs. Be aware that (data) has 5 characters.
Command Set 5080 Counter/ Frequency Module $aaSiØ(data) Example command: $26S3000765(cr) response: !26(cr) The ADAM-5080 in slot 3 of the ADAM-5000 system at address 26h need 765μ seconds to start to measure the input.
Chapter 6 $aaSiØ Name Read Digital filter scale Description Read the filter seconds to start to measure the input signal. Syntax $aaSiØ(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system which is to be calibrate. Si identifies the I/O slot which is to be accessed. Ø is the command for reading digital filter scale. (cr) is the terminating character, carriage return (0Dh) Response !aa(data)(cr) if the command is valid.
Command Set 5080 Counter/ Frequency Module $aaSiØ Example 6-134 command: $26S30(cr) response: !2600765(cr) The command requests the ADAM-5080 in slot 3 of the ADAM-5000 system at address 26h to read the filter seconds. The module responds with 765μ seconds.
Chapter 6 $aaSiCj5s Name Set Counter Start/Stop Description Request the addressed counter/frequency module to start or stop the counting. Syntax Response $aaSiCj5s(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i and the channel j of the module you want to set. 5 is the command for setting counter Start/Stop. s represents start/stop command. s=0 indicate stop counter. s=1 indicate start counter.
Command Set 5080 Counter/ Frequency Module $aaSiØ Example 6-136 command: $26S3C251(cr) response: !26(cr) The command requests channel 2 of ADAM-5080 in slot 3 in ADAM-5000 system at address 26h to start counter.
Chapter 6 $aaSiCj5 Name Read counter Start/Stop Description Requests the addressed counter/frequency module indicate whether counters are active. Syntax Response to $aaSiCj5(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i and the channel j of the module you want to set. 5 is the command for reading counter Start/Stop.
Command Set 5080 Counter/ Frequency Module $aaSiCj5 Example 6-138 command: $26S3C25(cr) response: !261(cr) The channel 2 of ADAM-5080 in slot 3 in ADAM-5000 system at address 26h is instructed to return its counter status. The counter status is in start status.
Chapter 6 $aaSiCj6 Name Clear Counter Description Clear the counters of the specified counter/frequency module Syntax $aaSiCj6(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i and the channel j for the module you want to return a prior value. 6 is the command for clearing counter. (cr) is the terminating character, carriage return (0Dh) Response !aa(cr) if the command is valid.
Command Set 5080 Counter/ Frequency Module $aaSiCj6 Example 6-140 command: $26S3C26(cr) response: !26(cr) The command requests the channel 2 of ADAM-5080 in slot 3 in ADAM-5000 system at address 26h to clear counter value.
Chapter 6 $aaSiCj7 Name Read Overflow Flag Description The command requests the addressed module to return the status of the overflow flag of counter. Syntax $aaSi7(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. Si identifies the I/O slot i (i : 0 to 3). 7 is the command for the last value readback. Response !aaff ff ff ff(cr) if the command is valid. ?aa(cr) if an invalid operation was entered.
Command Set 5080 Counter/ Frequency Module $aaSiCj6 Example 6-142 command: $26S37(cr) response: !2600000001(cr) The command requests the ADAM-5080 of slot 3 in ADAM-5000 system at address 26h to return the overflow value. The overflow value in channel 3 is 01. The others are 00.
Chapter 6 $aaSiCjP(data) Name Set Initial Counter Value Description Set initial counter value for counter of the specified counter module. Syntax Response @aaSiCjP(data)(cr) @ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i and the channel j for the module you want to return a prior value. P represents Set Initial Counter Value command. (data) is initial value from 0 to 4294967296.
Command Set 5080 Counter/ Frequency Module $aaSiCj6 Example 6-144 command: @26S3C2P0000004369(cr) response: !26(cr) The channel 2 of ADAM-5080 in slot 3 in ADAM-5000 system at address 26h is instructed to set initial counter value. The initial counter value is 4369.
Chapter 6 $aaSiCjPG Name Read Initial Counter Description Read initial counter value of specified module. Syntax @aaSiCjG(cr) @ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system. SiCj identifies the I/O slot i and the channel j for the module you want to return a prior value. G is the last value readback command. (cr) is the terminating character, carriage return (0Dh) Response !aa(data)(cr) if the command is valid.
Command Set 5080 Counter/ Frequency Module $aaSiCjG Example command: @26S3C2G(cr) response: !260000004369(cr) The channel 2 of ADAM-5080 in slot 3 in ADAM-5000 system at address 26h is instructed to return counter initial value. The initial counter value is 4369.
Chapter 6 $aaSiCjAhEs Name Set Alarm Disable/Latch Description The addressed counter module is instructed to set alarm disable or latch. Syntax $aaSiCjAhEs(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i and the desired channel j. AhEs is the command for setting Alarm Disable/Latch Mode command.
Command Set 5080 Counter/ Frequency Module $aaSiCjG Example command: $03S0C1ALED(cr) response: !03(cr) Channel 1 of slot 0 of ADAM-5080 in ADAM-5000 system at address 03h is instructed to disable its Low alarm function. The module confirms that its Low alarm function has been disable.
Chapter 6 $aaSiCjAh Name Read Alarm Disable/Latch Description Return the alarm mode for the specified channel. Syntax $aaSiCjAh(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i and the desired channel j. A is the Read Alarm Mode command.
Command Set 5080 Counter/ Frequency Module $aaSiCjAh Example command: $03S0C1AL(cr) response: !03L(cr) Channel 1 of slot 0 of ADAM-5080 in ADAM-5000 system at address 03h is instructed to return its Low alarm mode. The system responds that it is latched.
Chapter 6 $aaSiCjCh Name Clear Alarm Status Description Returns the alarm status to normal Syntax $aaSiCjCh(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i and the desired channel j. C is the clear Alarm Mode command.
Command Set 5080 Counter/ Frequency Module $aaSiCjCh Example command: $03S0C1CL(cr) response: !03(cr) Channel 1 of slot 0 of ADAM-5080 in ADAM-5000 system at address 03h is instructed to set its Low alarm state to normal. The system confirms it has done so accordingly.
Chapter 6 $aaSiCAhCSkCh Name Set Alarm Connection Description Connect the High/Low alarm of the specified input channel to the specified digital output in the addressed ADAM-5000 system Syntax Response $aaSiCjAhCSkCn(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i and the desired channel j . AhC is the command for setting Alarm Connection command.
Command Set 5080 Counter/ Frequency Module $aaSiCAhCSkCh Example 6-154 command: $03S0C1ALCS1C0(cr) response: !03(cr) Channel 1 of slot 0 of ADAM-5080 in ADAM-5000 system at address 03h is instructed to connect its Low alarm to the digital output of point 0 of slot 1 in the same ADAM-5000 system. The system confirms it has dome so accordingly.
Chapter 6 $aaSiCjRhC Name Read Alarm Connection Description Return the High/Low alarm limit output connection of a specified input channel in the addressed ADAM-5000 system Syntax $aaSiCjRhC(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i and the desired channel j. RhC is the command for reading Alarm Connection.
Command Set 5080 Counter/ Frequency Module $aaSiCAhCSkCh Example 6-156 command: $03S0C1RLC(cr) response: !03SØC1(cr) Channel 1 of slot 0 of ADAM-5080 in ADAM-5000 system at address 03h is instructed to read its Low alarm output connection. The system responds that the Low alarm output connects to the digital output at point 0 of slot 1 in the same ADAM-5000 system.
Chapter 6 $aaSiCjAhU(data) Name Set Alarm Limit Description Set the High/Low alarm limit value for the specified input channel of a specified ADAM-5000 system. Syntax Response $aaSiCjAhU(data)(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i and the desired channel j. AhU is the Set Alarm Limit command.
Command Set 5080 Counter/ Frequency Module $aaSiCjAhU(data) Example 6-158 command: $03SØC1AHU0000000020(cr) response: !03(cr) The channel 1 of slot 0 of ADAM-5080 in ADAM-5000 system at address 03h is configured to set High alarm limit value to 20.
Chapter 6 $aaSiCjRhU Name Read Alarm Limit Description Return the High/Low alarm limit value for the specified input channel in the addressed ADAM-5000 system Syntax $aaSiCjRhU(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i and the desired channel j. RhU is the Read Alarm Limit command.
Command Set 5080 Counter/ Frequency Module $aaSiCjRhU Example command: $03SØC1RHU(cr) response: !030000000026(cr) The channel 1 of slot 0 of ADAM-5080 in the ADAM5000 system at address 03h is configured to return the High alarm limit value. The High alarm limit value is 26.
Chapter 6 $aaSiCjS Name Read Alarm Status Description Read whether an alarm occurred for the specified input channel in the specified ADAM-5000 system Syntax $aaSiCjS(cr) $ is a delimiter character. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system. SiCj identifies the desired slot i and the desired channel j. S is the Read Alarm Status command.
Command Set 5080 Counter/ Frequency Module $aaSiCjS Example command: $03SØC1S response: !0311(cr) The channel 1 of slot 0 of ADAM-5080 in the ADAM5000 system at address 03h is configured to read alarm status. The High alarm has occured and low alarm has occured.
7 Troubleshooting
Troubleshooting The ADAM-5000 system provides two kinds of diagnosis: hardware diagnosis and software diagnosis to help the user detect and identify various types of system and I/O module failures. 7.1 Hardware Diagnosis When the ADAM-5000 is first powered on, the system does a selfdiagnosis. The diagnosis information will be indicated on the LEDs of the system module in the following sequence: 1. The LEDs will come on according to the following sequence: PWR -> RUN -> TX -> RX, 2.
Chapter 7 7.3 System Indicators While the ADAM-5000 system is in operation the indicators on the front can help you diagnose problems with the system. The table below gives a quick reference of potential problems associated with each status indicator. POW Indicator In general there are 3 reasons for the system power status LED (PWR) to be OFF.
Troubleshooting 1. External power to the system is incorrect or is not applied. 2. Power supply is faulty. 3. Other component(s) have the power supply shut down. Incorrect External Power If the voltage to the power supply is not correct, the system may not operate properly or may not operate at all. Use the following guidelines to correct the problem. 1. First, turn off the system power and check all incoming wiring for loose connections. 2.
Chapter 7 If the power supply operates normally, you probably have either a shorted device or a shorted cable. If the power supply does not operate normally, then test for a module causing the problem by using the following procedure. To isolate which module is causing the problem, disconnect the external power and remove one module at one time till the PWR LED operates normally. Follow the procedure below: 1. Turn off power to the base. 2. Remove a module from the base. 3. Reapply power to the base.
Troubleshooting 7.5 I/O Module Troubleshooting There is a LED to indicate the connection between the base and an I/O module in any ADAM-5000 system. The LED is on when the connection is good. If you suspect an I/O error, there are several things that could be causing the problem. • A loose terminal block • The power supply has failed • The module has failed Some Quick Steps When troubleshooting the ADAM-5000 series digital I/O modules, there are a few facts you should be aware of.
A Quick Start Example
Quick Start Example This chapter provides guidelines to what is needed to set up and install a distributed ADAM-5000 network system. A quick hookup scheme is provided that lets you configure a single system before you install a network system. Be sure to carefully plan the layout and configuration of your network before you start. Guidelines regarding layout are given in Appendix B: RS-485 Network. A.
Appendix A Host Computer Any computer or terminal that can output in ASCII format over either RS-232 or RS-485 can be connected as the host computer. When only RS-232 is available, an ADAM RS-232/RS-485 Converter is required to transform the host signals to the correct RS-485 protocol. The converter also provides opto-isolation and transformer -based isolation to protect your equipment.
Quick Start Example network with long cables, we advise the use of thicker wire to limit the line voltage drop. In addition to serious voltage drops, long voltage lines can also cause interference with communication wires.
Appendix A transmit both DATA and RTS signals. It is advisable that the follow- ing standard colors be used for the communication lines: DATA+ (Y) Yellow DATA- (G) Green ADAM Utility Software A menu-driven utility program is provided for ADAM-5000 system configuration, monitoring and calibration. It also includes a terminal emulation program that lets you easily communicate through the ADAM command set.
Quick Start Example Default Factory Settings Baud rate: 9600 Bits/sec.
Appendix A ADAM systems can also be configured by issuing direct command from within the terminal emulation program that is included with the ADAM utility software. The following example guides you through the setup of an analog input module. Assume that an ADAM-5018 Thermocouple Input module in slot 1 on an ADAM-5000/485 system still has its default settings (baud rate 9600 and address 01h). The system is first request- ed to send its default settings and then reconfigured.
Quick Start Example 0F = set input range to type K thermocouple 00 = set data format to engineering units, 50ms (60Hz) (See Chapter 6, Command Set for a full description of the syntax of the configuration command for an analog input module) When the module received the configuration command it will respond with its new address: !01(cr) Wait 7 seconds to let the new configuration settings take effect before issuing a new command to the module. Note: A.
Appendix A known state. This state is called the INIT* state. INIT* state defaults: Baud rate:9600 Address:00h Checksum:disabled Forcing the system into the INIT* state does not change any parameters in the system's EEPROM. When the system is in the INIT* state with its INIT* and GND terminal shorted, all configuration settings can be changed and the system will respond to all other commands normally.
Quick Start Example + +Vs - GND INIT* COM DATA+ DATA- Figure A-3 Grounding the INIT* terminal 3. A-10 Wait at least 7 seconds to let self-calibration and ranging takeef- fect. 4. Configure the baud rate and/or checksum status. 5. Switch the power to the ADAM-5000 system OFF. 6. Remove the grounding on the INIT* terminal and power the ADAM-5000 system ON. 7. Wait at least 7 seconds to let self-calibration and ranging takeef- fect. 8. Check the settings.
Appendix A A.
Quick Start Example This page intentionally left blank A-12 ADAM-5000
B Data Formats And I/O Ranges
Data Formats and I/O Ranges B.1 Analog Input Formats The ADAM analog input modules can be configured to transmit data to the host in Engineering Units. Engineering Units Data can be represented in Engineering Units by setting bits 0 and 1 of the data format/checksum/integration time parameter to 0. This format presents data in natural units, such as degrees, volts, millivolts, and milliamps.
Appendix B Example 1 The input value is -2.65 and the corresponding analog input module is configured for a range of ±5 V. The response to the Analog Data In command is: -2.6500(cr) Example 2 The input value is 305.5ºC. The analog input module is configured for a Type J thermocouple whose range is 0ºC to 760ºC. The response to the Analog Data In command is: +305.50(cr) Example 3 The input value is +5.653 V. The analog input module is configured for a range of ±5 V range.
Data Formats and I/O Ranges B.2 Analog Input Ranges - ADAM-5018 Module Range Code 00h 01h 02h 03h Input Range Description ±15 mV ±50 mV ±100 mV ±500 mV Data Formats +F.S. Zero -F.S. Displayed Resolution Engineering Units +15.000 ±00.000 -15.000 1 µV % of FSR +100.00 ±000.00 -100.00 0.01% Two's Complement 7FFF 0000 8000 1 LSB Engineering Units +50.000 ±00.000 -50.000 1 µV % of FSR +100.00 ±000.00 -100.00 0.
Module Range Code Input Range Description 0Eh Type J Thermocouple 0°C to 760°C 0Fh 10h ADAM-5018 11h 12h 13h 14h ADAM-5000 Type K Thermocouple 0°C to 1370°C Type T Thermocouple -100°C to 400°C Type E Thermocouple 0°C to 1000°C Type R Thermocouple 500°C to 1750°C Type S Thermocouple 500°C to 1750°C Type B Thermocouple 500°C to 1800°C Data Formats Maximum Specified Signal Minimum Specified Signal Displayed Resolution Engineering Units +760.00 +000.00 0.1°C % of FSR +100.00 +000.
Module Range Code 00h 01h 02h Input Range Description ±15 mV ±50 mV ±100 mV +F.S. Engineering Units +15.000 ±00.000 15.000 1 µV % of FSR +100.00 ±000.00 100.00 0.01% Two's Complement 7FFF 0000 8000 1 LSB Engineering Units +50.000 ±00.000 50.000 1 µV +100.00 ±000.00 100.00 0.01% Two's Complement 7FFF 0000 8000 1 LSB Engineering Units +100.00 ±000.00 100.00 10 µV +100.00 ±000.00 100.00 0.
Module Range Code Input Range Description 0Eh Type J Thermocouple 0°C to 760°C 0Fh 10h ADAM5018P 11h 12h 13h 14h ADAM-5000 Type K Thermocouple 0°C to 1370°C Type T Thermocouple -100°C to 400°C Type E Thermocouple 0°C to 1000°C Type R Thermocouple 500°C to 1750°C Type S Thermocouple 500°C to 1750°C Type B Thermocouple 500°C to 1800°C Data Formats Maximum Specified Signal Minimum Specified Signal Displayed Resolution Engineering Units +760.00 +000.00 0.1°C % of FSR +100.00 +000.
Appendix B B.3 Analog Input Ranges - ADAM-5017H Range Code Input Range Data Formats +Full Scale Zero 00h ±10 V Engineering 11 Two's Comp 01h 02h 03h 04h 05h 06h 07h 0 ~ 10 V ±5 V 0~5V ±2.5 V 0 ~ 2.5 V ±1 V 0~1V 08h ±500 mV 09h 0 ~ 500 mV 0ah 0bh 4 ~ 20 mA 0 ~ 20 mA Scale -Full Displayed Resolution 0 -11 2.7 mV 0FFF 0 EFFF 1 Engineering 11 0 Don't care 2.7 mV Two's Comp 0FFF 0 Don't care 1 Engineering 5.5 0 -5.5 1.
B.3.1 Analog Input Ranges - ADAM-5017UH Range Code Input Range Data Formats +Full Scale Zero 08h ±10 V Engineering +10.000 Two's Comp 48h 46h 07h 0 ~ 10 V 0~20mA 4~20mA Scale -Full Displayed Resolution +00.000 -10.000 1 mV 0FFF 0 7FFF 1 Engineering +10.000 +00.000 - 1 mV Two's Comp 0FFF 0 Don't care 1 Engineering +20.000 +00.000 - 1μV Two's Comp 0FFF 0 Don't care 1 Engineering +20.000 +00.
Data Formats and I/O Ranges B.4 Analog Ontput Formats You can configure ADAM analog output modules to receive data from the host in Engineering Units. Engineering Units Data can be represented in engineering units by setting bits 0 and 1 of the data format/checksum/integration time parameter to 0. This format presents data in natural units, such as milliamps.
Appendix B B.
Data Formats and I/O Ranges B-12 ADAM-5000
C RS-485 Network
RS-485 Network EIA RS-485 is the industry’s most widely used bidirectional, balanced transmission line standard. It is specifically developed for industrial multi-drop systems that should be able to transmit and receive data at high rates or over long distances.
Appendix C C.1 Basic Network Layout Multi-drop RS-485 implies that there are two main wires in a segment. The connected systems tap from these two lines with so called drop cables. Thus all connections are parallel and connecting or disconnecting of a node doesn’t affect the network as a whole. Since ADAM-5000 systems use the RS-485 standard and an ASCII-based commands set, they can connect and communicate with all ASCIIbased computers and terminals.
RS-485 Network Star Layout In this scheme the repeaters are connected to drop-down cables from the main wires of the first segment. A tree structure is the result. This scheme is not recommended when using long lines since it will cause a serious amount of signal distortion due to signal reflections in several line-endings.
Appendix C Random This is a combination of daisychain and hierarchical structure.
RS-485 Network Combination of an ADAM-4000 and an ADAM-5000 in a RS-498 Network The following figure shows how to integrate ADAM-4000 and ADAM-5000 systems in a network. Figure C-4 ADAM-4000 and ADAM-5000 in a network Note: C.2 The speed of ADAM-4000 and ADAM-5000 in a RS485 network should be the same. Line Termination Each discontinuity in impedance causes reflections and distortion. When a impedance discontinuity occurs in the transmission line the immediate effect is signal reflection.
Appendix C Figure C-5 Signal distortion The value of the resistor should be a close as possible to the characteristic impedance of the line. Although receiver devices add some resistance to the whole of the transmission line, normally it is sufficient to the resistor impedance should equal the characteristic impedance of the line.
RS-485 Network Figure C-6 Termination resister locations Because each input is biased to 2.4 V, the nominal common mode voltage of balanced RS-485 systems, the 18 kΩ on the input can be taken as being in series across the input of each individual receiver. If thirty of these receivers are put closely together at the end of the transmission line, they will tend to react as thirty 36kΩ resistors in parallel with the termination resistor.
Appendix C The star connection causes a multitude of these discontinuities since there are several transmission lines and is therefore not recommend. Note: C.3 The recommend method wiring method, that causes a minimum amount of reflection, is daisy chaining where all receivers tapped from one transmission line needs only to be terminated twice. RS-485 Data Flow Control The RS-485 standard uses a single pair of wires to send and receive data.
RS-485 Network This page intentionally left blank C-10 ADAM-5000
D .
How to Use the Checksum Feature A checksum helps you to detect errors in commands from the host to the modules, and in responses from the modules to the host. The feature adds two extra checksum characters to the command or response string, which does reduce the throughput. D.1 Checksum Enable/Disable To enable configuration of a module’s checksum feature, its INIT* terminal should be shorted to its GND terminal, after which the module should be rebooted.
Appendix D Example 2 This example explains how to calculate the checksum value of a Read High alarm limit command string: Case 1. (If the Checksum feature is disabled) Command: $07S1RH(cr) Response: !07+2.0500(cr) when the command is valid. Case 2. (If the Checksum feature is enabled) Command: $07S1RHA9(cr) Response: !07+2.0500D8(cr) where: A9 represents the checksum of this command, andD8 represents the checksum of the response.
How to Use the Checksum Feature Printable ASCII Characters D-4 ADAM-5000
Appendix E E ADAM-4000/5000 System Grounding Installation ADAM-5000 E-1
ADAM-4000/5000 System Grounding Installation E.1 Power Supplies For relevant wiring issues, please refer to the following scheme: Figure E-1 : Grounding Scheme E.2 Grounding Scheme The outer case for the module is made of iron and fitted with a fan and convection holes with filters. If possible, wiring should be connected to the module through an external terminal block (T/B) to avoid external wires directly getting into the inside of the module.
Appendix E FAN (Outflowing) ADAM 5000/485 T/B Relay Figure E-2 : External Terminal Block Reference E.3 External DI,DO,AI,AO Wiring Reference The common end of some D.I. and D.O. modules is connected with the GND of ADAM-5000/4000 system. Therefore, the common end of external DI and DO signal wiring should not be grounded with those on-site machineries. Within an environment that is subject to multiple interferences, it is advised that a higher voltage level, e.g.
ADAM-4000/5000 System Grounding Installation The shielding material of the wires should only be grounded on one end as illustrated in the following diagram. This is to avoid ground loop. ADAM System On-Site Facilities AI Grounding Figure E-3 : Grounding for on-site facilities and ADAM-5000/4000 Systems Since shielded twisted-pair has been adopted for signal wires, only DATA+ and DATA- of ADAM-5000 system should be connected.
Appendix E E.5 Grounding reference (Grounding bar for the factory environment should have a standard resistance below 5 Ω) Since ADAM-4000 / 5000 system comes with a plastic outer case with DC power supply, its grounding procedure should be done according to the following points: Power supply : The E terminal of the external power supply should be connected with the panel. The outer case of panel should be fixed with two grounding bus.
ADAM-4000/5000 System Grounding Installation E.6 Some Suggestions on Wiring Layout Since communication is carried through high-frequency signals, it is advisable that the wiring layout should be paid due attention to. Any wire should best remain as a single integral wire. Nevertheless, if you should need another wire for extended connection, it is suggested that you use soldering iron to connect the disparate wires together. The parts of copper mesh should be soldered together too.
Appendix F F Grounding Reference ADAM-5000 F-1 ,
Grounding Reference Field Grounding and Shielding Application Overview Unfortunately, it’s impossible to finish the system integration task at a time. We always meet some troubles in field. Such as communication network or system isn’t stable, noise influence, and equipment is damaged or hungs up by thunders. However, the most possible issue is just the improper wiring; ie, grounding and shieldinF. As you know the 80/20 rule in our life: we spend 20% time for 80% works, but 80% time for left 20% works.
Appendix F 3. Noise Reduction Techniques 4. Check Point List F.1 Grounding 1.1 The Earth for reference Why we think the EARTH as GROUND? As you know that the EARTH can t be conductive indeed. But those parallel resistors make the EARTH as a single point and just for reference. Figure F-1 : Think the EARTH as GROUND • Why we think the EARTH as GROUND? As you know that the EARTH can not be conductive indeed. But all buildings base on EARTH.
Grounding Reference 1.2 The Frame Ground and Grounding Bar N Single Phase, Three Line L 110V 220V N 110V L G N N G G G Neutral is the physical cable from Generator. Ground is the local physical cable that connected to Ground Bar . Figure F-2 : Grounding Bar According to previous description, the grounding is the most important issue for our system. Just like ‘Frame Ground’ of the computer, this signal offers a reference point of the electronic circuit inside the computer.
Appendix F 1.3The Frame Ground and Grounding Bar Figure F-3 : Normal mode and Common mode Have you ever tried to measure the voltage between ‘Hot’ and concrete floor, or measure the voltage between ‘Neutral’ and concrete floor? You will get nonsense value with above testinF. ‘Hot’ and ‘Neutral’ were just a relational signal, so you will get the AC110V or AC220V by measure those two signal.
Grounding Reference Figure F-4 : Normal mode and Common mode • Ground-pin is longer than others, for first contact to power system and noise bypass. • Neutral-pin is broader than Live-pin, for reduce contact impedance.
Appendix F 1.4 Wire impedance T/B AI ADAM 5000/485 AO DC P/S E Grounding Bus Tr Copper mesh for Shielding (should be grounded only on one end) Grounding Bus E Connect to ground bar on the factory. The ground bar should have a resistance below 5 ohm. Figure F-5 : The purpose of high voltage transmission • What’s the purpose of high voltage transmission? We can see the high voltage tower stand at suburban.
Grounding Reference Above diagram just shows you that the wire impedance will consume the power. 1.5 Single Point Grounding Single Point Grounding ADAM 4013 +16 ADAM 4014 +18 ADAM 4017 +20 ADAM 4021 +22 V Power Supply Those devices will influence each other with swiftly load change. Figure F-7 : Single point groundF.(1) • What’s Single Point Grounding? Maybe you had some displease experiences just like take hot water shower in Winter.
Appendix F Single Point Grounding +24 V +16V +18V +20V +22 +22V +22V +22V +22 Power Supply +24 V Power Supply More cable, but more stable system. Figure F-8 : Single point groundinF.(2) Above diagram shows you that single point grounding system will be a more stable system. Actually, when you use the thin cable powering those devices, the end device will get lower power. The thin cable will consume the energy. F.2 Shielding 2.
Grounding Reference • Single isolated cable Above diagram shows you the structure of the isolated cable. You can see the isolated layer spiraling Aluminum foil to cover those wires. This spiraled structure makes an isolated layer for isolating the cables from the external noise. Figure F-10 : Double isolated cable • Double isolated cable You can see the double isolated cable structure as figure 10. The first isolated layer spiraling Aluminum foil covers those wires.
Appendix F Besides, following tips just for your reference. • The shield of cable can’t be used for signal ground. The shield is just designed for adhering noise, so the environment noise will couple and interfere your system when you use the shield as signal ground. • The density of shield is the higher the better, especially for commu- nication network. • Use double isolated cable for communication network / AI / AO. • Both sides of shields should be connected to their frame while inside the device.
Grounding Reference • Never stripping too long of the plastic cable cover. Otherwise, this improper status will destroy the characteristic of the ShieldedTwisted-Pair cable. Besides, those nude wires are easy to adhere the noise. • Cascade those shields together by “Soldering”. Please refer to following page for further detail explanation. • Connect the shield to Frame-Ground of DC power supply to force those adhered noise flow to the ‘frame ground’ of the DC power supply.
Appendix F Figure F-13 : System Shielding(1) • Shield connection (1) When you want to visit somewhere, you must like to find out an easiest way to achieve your goal, aren’t you? So as electronic circuit, all signals use the easiest way. If we connected those two cables just with few wires, it is a difficult way for signal. So the noise will try to find out another path for easier way for flow.
Grounding Reference • Shield connection (2) Above diagram shows you that the fill soldering just makes a easier way for the signal. F.3 Noise Reduction Techniques • Enclose noise sources in shield enclosures. • Place sensitive equipment in shielded enclosure and away from computer equipment. • Use separate grounds between noise sources and signals. • Keep ground/signal leads as short as possible. • Use Twisted and Shielded signal leads.
Appendix F Figure F-15 : Noise Reduction Techniques F.
Grounding Reference F-16 ADAM-5000
ADAM-5000 I/O Modbus Mapping Table G
ADAM-5000 I/O Modbus Mapping Table The model list of ADAM-5000 I/O series support Modbus protocol G.
Appendix G G.2 Modbus Commands for 5000 Series Set COM port config. #aaOUrff(cr) >aa(cr) OU: cmd. name r: reserved(any value) ff: Bit 1, 0 (Stop Bits) 00: 1 Stop Bits 01: 1.5 Stop Bits 10: 2 Stop Bits Bit 4, 3, 2 (Data Bits) 000: 5 001: 6 010: 7 011: 8 Bit 7, 6, 5 (Parity) 000: None 001: Even 010: Odd Read COM port $aaOU(cr) config.
ADAM-5000 I/O Modbus Mapping Table Write Modbus slot address setting Finish Modbus address setting Read Modbus addressing mode #aaPNssFFxxxxy (cr) >aa(cr) #aaPD(cr) >aa(cr) $aaPD(cr) >aaS(cr) G-4 ADAM 5000 Series User’s Manual S: 1=>adjustable modbus address 0=> fixed modbus address
Appendix G G.3 Modbus Address Mapping ADDR 4X Item Attribute 410001 Module Name 1 R 410002 Module Name 2 R 410003 Versoin 1 R 0xv2 0x72 410004 Versoin 2 R 0x00 0x00 410005 Slot0, 1 Module Name R 0x18 0x10(5024, 5050) 410006 Slot2, 3 Module Name R 0x01 (Ext.) 410007 Slot4, 5 Module Name R 410008 Slot6, 7 Module Name R 410009 Slot0, 1 Ext. Module Name R 410010 Slot2, 3 Ext. Module Name R 410011 Slot4, 5 Ext. Module Name R 410012 Slot6, 7 Ext.
ADAM-5000 I/O Modbus Mapping Table 410030 Slot4 End Addr. R 410031 Slot5 Start Addr. R 410032 Slot5 End Addr. R 410033 Slot6 Start Addr. R 410034 Slot6 End Addr. R 410035 Slot7 Start Addr. R 410036 Slot7 End Addr. R 410037 Slot8 Start Addr. R 410038 Slot8 End Addr.
Appendix 410117~ 410150 Control & Status Flag 410151~ 410152 410153~ 410154 410155~ 410156 410157~ 410158 410159~ 410160 410161~ 410162 410163~ 410164 410165~ 410166 410201~ 410208 410209~ 410216 410217~ 410224 410233~ 410240 410241~ 410248 410249~ 410256 410257~ 410264 G Reserved Slot0 Control & Status Flag R/W Slot1 Control & Status Flag R/W Slot2 Control & Status Flag R/W Slot3 Control & Status Flag R/W Slot4 Control & Status Flag R/W Slot5 Control & Status Flag R/W Slot6 Control & Stat
ADAM-5000 I/O Modbus Mapping Table G.