AdvantechメーカーRS-485の使用説明書/サービス説明書
ページ先へ移動 of 348
ADAM-5000 Series RS-485 Based Data Acquisition and Control System User's Manual.
Copyright Notice This document is copyrighted, 2000, 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.
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.
Product W arranty 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.
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.
Contents Chapter 1 Introduction ............................................................ 1 - 1 1. 1 Overview .................................................................. 1- 2 1. 2 System Configuration ........................................
4. 5 Analog I/O Modules Calibration ............................. 4-18 4.6 Digital Input/Output Modules ................................. 4-24 4. 7 Relay Output Modules ............................................ 4-38 4. 8 Counter/Frequency Module ..
6. 8 Analog Output Command Set ................................ 6-90 6. 9 Digital Input/Output Command Set ...................... 6-107 6.10 ADAM-5080 Counter/Frequency Command Set ........................................................ 6 - 1 1 5 Chapter 7 T roubleshooting .
C.2 Line T ermination ...................................................... C-6 C.3 RS-485 Data Flow Control ...................................... C-9 Chapter D How to Use the Checksum Feature ............................................... D - 1 D.
Figur es Figure 1-1: ADAM-5000 System Configurations ................................. 1 -3 Figure 2-1: ADAM-5000 Diagnostic indicators .................................... 2 -3 Figure 2-2: ADAM-5000 Network address DIP switch ........................
Figure 4-21: Dry contact signal input (ADAM-5050) ............................ 4-25 Figure 4-22: Wet contact signal input (ADAM-5050) ........................... 4-26 Figure 4-23: Digital output used with SSR (ADAM-5050/5056) .......... 4-26 Figure 4-24: ADAM-5051 module frontal view .
Figure 5-6: Save the information of connected modules to txt file .... 5-12 Figure 5-7: Setup options .................................................................. 5-12 Figure 5-8: Checksum function enabled .......................................
Figure F-1 1: System Shielding ............................................................ F-1 1 Figure F-12: The characteristic of the cable ........................................ F-12 Figure F-13: System Shielding (1) ............................
T ables T able 4-1: T echnical specifications of ADAM-5013 ............................. 4 - 4 T able 4-2: Calibration resistances of ADAM-5013 .............................. 4 -6 T able 4-3: T echnical specifications of ADAM-5017 ....................
1 Introduction.
1-2 ADAM-5000 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.
ADAM-5000 1-3 Chapter 1 1.2 System Configuration The following diagram shows the system configurations possible with the ADAM-5000. Figure 1-1 ADAM-5000 System Configurations Note: T o av oid system ov er heating, only f our ADAM-5024 are allowed to be installed on AD AM-5000E.
1-4 ADAM-5000 Introduction 1.3 A Few Steps to a Successful System Step 1: Review the Installation Guideline Y ou 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.
2 Installation Guideline.
2-2 ADAM-5000 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).
ADAM-5000 2-3 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 the network address using the 8-pin DIP switch.
2-4 ADAM-5000 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.
ADAM-5000 2-5 Chapter 2 Modu le 5000/485 5000E 5013 5017 5017H 5018 5024 5050 Wei ght 470g 45g 525g 79g 45g 72g 75g 63g Dimensions and Weights (ADAM-5000E) The following diagrams show the dimensions of the system unit and the I/O unit of the ADAM-5000E.
2-6 ADAM-5000 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 .
ADAM-5000 2-7 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 ventila- tion. Y ou cannot mount the system vertically , upside down or on a flat horizontal surface.
2-8 ADAM-5000 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.
ADAM-5000 2-9 Chapter 2 Figure 2-6 ADAM-5000E Rail mounting 2. 5 Wiring and Connections 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 V DC .
2-10 ADAM-5000 Installation Guideline INIT* is used for changing baud rate and checksum. COM is provided as reference to the RS-485 ground signal. DA T A+ and DA T A- are provided for the RS-485 twisted pair connection.
ADAM-5000 2-11 Chapter 2 5 . A void running wires near high energy wiring 6 . A void running input wiring in close proximity to output wiring where possible 7 . A void creating sharp bends in the wires RS-485 Port Connection There is a pair of DB9 ports in the ADAM-5000 system.
2-12 ADAM-5000 Installation Guideline 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.
ADAM-5000 2-13 Chapter 2 This Diagnostic Function requires the RS-485 port of ADAM-5000E to be connected to COM1 of host PC, and the RS-232 port of ADAM-5000E to COM2 of the previous host PC or other PCs.
2-14 ADAM-5000 Installation Guideline ADAM ADAM ADAM Host PC COM1 ADAM-4520 RS-485 RS-485 RS-232 ADAM-4000 ADAM-5000E ADAM-5000/485 ADAM-5000E COM2 AFX FIX A DAM A DAM ADAM-5000 ADAM-5000 PWR PWR RUN .
3 ADAM-5000 System.
3-2 ADAM-5000 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.
ADAM-5000 3-3 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.
3-4 ADAM-5000 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 .
ADAM-5000 3-5 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.
3-6 ADAM-5000 ADAM-5000 System program execution without undue influence on your system. Probabili- ty of a system crash has thus minimized. 3.3 System Setup A Single System Setup thru the RS-232 Port.
ADAM-5000 3-7 Chapter 3 3. 4 T echnical Specifications of the ADAM-5000 Processor CPU 80188, 16-bit micr oproc essor RA M 32 KB ROM (Fl ash) 128 KB I/ O C apacit y 4 sl ots ( A DA M- 5000/485) 8 sl ots ( A DA M- 5000E) W a tchdo g Ti mer Ye s Power Cons umpt i on 1.
3-8 ADAM-5000 ADAM-5000 System DA T A+ DA T A- Opto -Co upled Is olat ion +5V GND +10~ +V GND Power Is olat ion Memory 16 B it up WDT& Reset P. S .
4 I/O Modules.
4-2 ADAM-5000 I/O Modules 3 R T D ADAM-50 1 3 EXC 0+ SEN 0+ SEN 0- EXC 0+ A. GND EXC 1+ SEN 1+ SEN 1- EXC 1+ A. GND EXC 2+ SEN 2+ SEN 2- EXC 2- A. GND 16 1 4.1 RTD Input Module ADAM-5013 3-channel RTD input module The ADAM-5013 is a 16-bit, 3-channel R TD input module that features programmable input ranges on all channels.
ADAM-5000 4-3 Chapter 4 Application wiring Figure 4-2: RTD inputs EXC 0+ SEN 0+ SEN 0- EXC 0- A.G ND 2 Wire RTD EXC0 + SEN0 + SEN0 - EXC0 - A.GND 3 Wire RTD EXC 0+ SEN 0+ SEN 0- EXC 0- A.
4-4 ADAM-5000 I/O Modules T echnical specifications of ADAM-5013 T able 4-1: T echnical specifications of ADAM-5013 A nal og input channel s three I nput type Pt or N i R T D RTD ty p e and t emperat ur e Pt -100 t o 100° C a= 0.00385 ran g e P t 0 t o 10 0° C a=0.
ADAM-5000 4-5 Chapter 4 4.2 ADAM-5013 RTD Input Resistance Calibration 1 . Apply power to the ADAM-5510/P31 system that the R TD input module is plugged into and let it warm up for about 30 minutes 2 . Make sure that the module is correctly installed and is properly configured for the input range you want to calibrate.
4-6 ADAM-5000 I/O Modules Note: If the above procedure is ineffective, the user must first issue an RTD Self Calibration command $aaSi2 to the module and then complete steps 4 and 5 after self calibration is complete.
ADAM-5000 4-7 Chapter 4 4.3 Analog Input Modules ADAM-5017 8-channel analog input module The ADAM-5017 is a 16-bit, 8-channel analog differential input module that provides programmable input ranges on all channels.
4-8 ADAM-5000 I/O Modules Application wiring Figure 4-5: Millivolt and volt input Figure 4-6: Process current input Note: T o k eep measurement accuracy please shor t the channels that are not in use.
ADAM-5000 4-9 Chapter 4 T echnical specifications of ADAM-5017 T able 4-3: T echnical specifications of ADAM-5017 A nal og input channel s E i g ht d i ffe re nti a l I nput type mV , V, mA I nput ran.
4-10 ADAM-5000 I/O Modules ADAM-5017H 8-channel high speed analog input module The ADAM-5017H is a 12-bit plus sign bit, 8-channel analog differen- tial input module that provides programmable input ranges on each channel. It accepts millivolt inputs (± 500 mV , 0-500 mV), voltage inputs (±1 V , 0-1 V , ±2.
ADAM-5000 4-11 Chapter 4 Application wiring Figure 4-8: Millivolt and volt input Figure 4-9: Process current input 1 V0+ V0- V1+ V1- V + - mV/V - + V1- V1+ V0- V0+ 1 0 - 20 mA 0.
4-12 ADAM-5000 I/O Modules T echnical specifications of ADAM-5017H T able 4-4: T echnical specifications of ADAM-5017H A nal og In put C hannel s 8 di f fe ren tial A DC Res ol ut i on 12 bi ts, plu s sig n bi t T ype of A DC Su cce ssiv e ap prox i m ation I sol ati on V olt age 3000 V DC S am plin g R a te 1, 000 H z / m odu l e n o.
ADAM-5000 4-13 Chapter 4 Table 4-5: ADAM-5017H input signal ranges ADAM-5018 7-channel thermocouple input module The ADAM-5018 is a 16-bit, 7-channel thermocouple input module that features programmable input ranges on all channels. It accepts millivolt inputs (±15 mV , ±50 mV , ±100 mV , ±500 mV), voltage inputs (±1 V , ±2.
4-14 ADAM-5000 I/O Modules ADAM-5018 Figure 4-10: ADAM-5018 module frontal view Application wiring Figure 4-1 1: Thermocouple input 16 1 ADAM-5018 7 T/C V3- V3+ V2- V2+ V1- V1+ V0- V0+ V4+ V4- V5+ V5-.
ADAM-5000 4-15 Chapter 4 T echnical specifications of ADAM-5018 T able 4-6: T echnical specifications of ADAM-5018 4.4 Analog Output Modules ADAM-5024 4-channel analog output module The ADAM-5024 is a 4-channel analog output module. It receives its digital input from the host computer , via the RS-485 interface of the ADAM-5510/P31 main unit.
4-16 ADAM-5000 I/O Modules Y ou can specify slew rates and start up currents through the configu- ration software. The analog output can also be configured as current or voltage output through the software utility .
ADAM-5000 4-17 Chapter 4 Application wiring Figure 4-13: Analog output T echnical specifications of ADAM-5024 T able 4-7: T echnical specifications of ADAM-5024 I3+ I3- V0+ VO- Analog Output Channels Four Output Type V, mA Output Range 0-20mA, 4-20mA, 0-10V Isolation Voltage 3000 Vdc Output Impedance 0.
4-18 ADAM-5000 I/O Modules 4.5 Analog I/O Modules Calibration Analog input/output modules are calibrated when you receive them. However , calibration is sometimes required. No screwdriver is neces- sary because calibration is done in software with calibration parame- ters stored in the ADAM-5000 analog I/O module's onboard EEPROM.
ADAM-5000 4-19 Chapter 4 4 . Execute the Zero Calibration command (also called the Offset Calibration command). This is also done with the ADAM utility software. (See the “Zero Calibration” option in the Calibration sub- menu of the ADAM utility software.
4-20 ADAM-5000 I/O Modules 6 . Only for ADAM-5018: Execute the CJC (cold junction sensor) Calibration command. This can be done with the ADAM utility software. (See the “CJC Calibration” option in the Calibration submenu of the ADAM utility software.
ADAM-5000 4-21 Chapter 4 Calibration voltage (ADAM-5017/5018) Table 4-8: Calibration voltage of ADAM-5017/5018 Module Input Range Code (Hex) Input Range Span Calibration Voltage 5018 00h ±15 mV +15 mV 01h ±50 mV +50 mV 02h ±100 mV +100 mV 03h ±500 mV +500 mV 04h ±1V +1 V 05h ±2.
4-22 ADAM-5000 I/O Modules Calibration voltage (ADAM-5017H) Table 4-9: Calibration voltage of ADAM-5017H (1) Note: Y ou can substitute 2.5 V for 20 mA if y ou remov e the current conversion resistor for that channel. Howev- er , the calibr ation accuracy will be limited to 0.
ADAM-5000 4-23 Chapter 4 Analog output module calibration The output current of analog output modules can be calibrated by using a low calibration value and a high calibration value. The analog output modules can be configured for one of two ranges: 0-20 mA and 4-20 mA.
4-24 ADAM-5000 I/O Modules value of 4 mA. 5 . Check the actual output value at the modules terminals. If this does not equal 4 mA, use the "Trim" option in the "Calibrate" sub- menu to change the actual output.
ADAM-5000 4-25 Chapter 4 Figure 4-19: Dip switch setting for digital I/O channel ADAM-5050 Figure 4-20: ADAM-5050 module frontal view Application wiring Figure 4-21: Dry contact signal input (ADAM-505.
4-26 ADAM-5000 I/O Modules Figure 4-22: Wet contact signal input (ADAM-5050) Figure 4-23: Digital output used with SSR (ADAM-5050/5056) limits current to 100 mA Power Ground Power Ground +Vss -Vss.
ADAM-5000 4-27 Chapter 4 T echnical specifications of ADAM-5050 T able 4-10: T echnical specifications of ADAM-5050 ADAM-5051 16-channel digital input module The ADAM-5051 provides sixteen digital input channels.
4-28 ADAM-5000 I/O Modules Digital Input +5 V DC Contact Clos ure 10K Power GND Internal Logic Internal Logic Application wiring Figure 4-25: TTL input (ADAM-5051) Figure 4-26: Contact closure input (.
ADAM-5000 4-29 Chapter 4 Figure 4-27: ADAM-5051D Module Overview Compatible ADAM-5000 Series Main Units ADAM-5051D is designed to be implemented with the following Advantech ADAM-5000 series main unit.
4-30 ADAM-5000 I/O Modules Digit al Input +5 V DC Contact Closure 10K Powe r G ND Digi tal Input +5 V DC TTL Input 10K Powe r G ND ADAM-5051D Application Wiring Figure 4-28: TTL Input (ADAM-5051D) Fig.
ADAM-5000 4-31 Chapter 4 ADAM-5052 8-channel isolated digital input module The ADAM-5052 provides eight fully independent isolated channels. All have 5000 V RMS isolation to prevent ground loop effects and to prevent damage from power surges on the input lines.
4-32 ADAM-5000 I/O Modules T echnical specifications of ADAM-5052 T able 4-13: T echnical specifications of ADAM-5052 ADAM-5056 16-channel digital output module The ADAM-5056 features sixteen digital output channels. The digital outputs are open-collector transistor switches that you can control from the ADAM-5510/P31.
ADAM-5000 4-33 Chapter 4 Internal Logic R2 limit curre nt to 100 mA - Vss + Vss Open Collector Power Gr ound Power Gr ound Application wiring Figure 4-33: Digital output used with SSR (ADAM-5050/5056) T echnical specifications of ADAM-5056 There are 16-point digital input and 16-point digital output modules in the ADAM-5000 series.
4-34 ADAM-5000 I/O Modules Compatible ADAM-5000 Series Main Units ADAM-5056D is designed to be implemented within the following Advantech ADAM-5000 series main units: ADAM-5000/485 ADAM-5000E ADAM-551.
ADAM-5000 4-35 Chapter 4 Digital Output Holding Function A yellow mini jumper is added to the PCB, the major function of which is to hold the digital output value at its last status so that it won't be erased when the RESET button of your system is pressed or your system software going into reset.
4-36 ADAM-5000 I/O Modules Main Units Supporting Digital Output Holding Function The Digital Output Holding Function is applicable only to ADAM- 5510 and ADAM-5511. Other main units, such as ADAM-5000/485, ADAM-5000/CAN and ADAM-5000E, do not support this function, since their firmwares will automatically clear the digital output.
ADAM-5000 4-37 Chapter 4 A D AM - 5 056 A D AM -5056D Num ber of Channel s 16 16 O p erati ng Vol tage 30 Vm ax 30 Vma x Di git al O utput O p en Coll ect or t o 30V 100mA max load O p en Coll ect or .
4-38 ADAM-5000 I/O Modules 4.7 Relay Output Modules ADAM-5060 relay output module The ADAM-5060 relay output module is a low-cost alternative to SSR modules.
ADAM-5000 4-39 Chapter 4 T echnical specifications of ADAM-5060 T able 4-17: T echnical specifications of ADAM-5060 ADAM-5068 relay output module The ADAM-5068 relay output module provides 8 relay channels of Form A. Switches can be used to control the solid-state relays.
4-40 ADAM-5000 I/O Modules NO C Form A (NO) Application wiring Figure 4-39: Relay output T echnical specifications of ADAM-5068 T able 4-18: T echnical specifications of ADAM-5068 Poi nt s 8 Form A Contact R at ing AC : 120 V @ 0. 5 A DC : 30 V @ 1 A Breakdown V olt age 500 V AC ( 50/60 H z ) Rel ay O n Ti me ( typi cal ) 7 ms ec.
ADAM-5000 4-41 Chapter 4 4.8 Counter/Frequency Module Overview Compatible ADAM-5000 Series Main Units ADAM-5080 is a 4-channel counter/frequency module designed to be implemented within the following Advantech ADAM-5000 series main units: ADAM-5000/485 (with firmware V ersion A2.
4-42 ADAM-5000 I/O Modules C0A+ COA- COB+/D+ C1A+ C1A- C1B+/D+ C1B-/D- C2A+ C2A- C2B+/D+ C2B-/D- C3A+ C3A- C3B+/D+ C3B-/D- COB-/D- GND GND GND GND GND GND GND GND ISOLA TE TTL ADAM-5080 4 C/F V 0 Inter nal Logi c Vcc selected, it means the Alarm status will be "latched" whenever the alarm being triggered.
ADAM-5000 4-43 Chapter 4 Figure 4-42: TTL Input Level ADAM-5080 Counter/Frequency Mode Selection Users can select Bi-direction, Up/Down Counter or Frequency option as shown in Figure 4. Figure 4-43: Counter / Frequency Mode Note: All four channels of AD AM-5080 will operate simulta- neously in the mode you have selected.
4-44 ADAM-5000 I/O Modules C0A+ C0A- C0B+/D+ C0B-/D- Features -- Counter Mode Up/Down Counting The Up/Down Counter Function offers two types of counting: Up Couting (increasingly) and Down Counting (decreasingly). Up Counting : when C0A+ and C0A- sense any input signals, the counter counts up.
ADAM-5000 4-45 Chapter 4 C0A+ C0A- C0B+/D+ C0B-/D- C0A+ C0A- C0B+/D+ C0B-/D- Figure 4-45: Wiring for Bi-direction Counting Figure 4-46: Wiring for Frequency Mode Up Counting : when the input signal is within logic level "1", the counter value increases.
4-46 ADAM-5000 I/O Modules Setting Initial Counter V alue In oder to utilize the alarm function, users have to set a high-alarm limit value and/or a low alarm limit value, and a initial value to fulfill the requirements for a basic alarm setting.
ADAM-5000 4-47 Chapter 4 Figure 4-48: Sending Alarm Signal (recommended settings) Figure 4-49: Sending Alarm Signal (settings not recommended) Max value High alarm limit value Initial value Low alarm .
4-48 ADAM-5000 I/O Modules Overflow V alue Overflow value is the number of times the counter value exceeds the Max/Min values you specified. When the counter value exceeds Maximum value, the overflow value increases; When the counter value goes under Minimum value, the overflow value decreases.
ADAM-5000 4-49 Chapter 4 Figure 4-50: Digital Output Mapping Features--Digital Output Mapping If users want to use Digital Output function, ADAM utility is available for setting specifically which module, channel or slot to receive the alarm signals. 1 2 3 4 5 6 1 : High Alarm State --Set Alarm state to "Latch" or "Disable".
4-50 ADAM-5000 I/O Modules TTL/Isolated Input Level According to your need, you can select either TTL or Isolated Input Level by setting the configuration for the jumpers. Select the proper jumper settings for either TTL or Isolated Input according to Figure Figure 10.
ADAM-5000 4-51 Chapter 4 ADAM-5080 T echnical Specifications Table 4-19: ADAM-5080 technical specifications C ha nne l 4 I n pu t Fr equ en cy 0. 3 ~ 1000 H z m ax . (Fr equ en cy m ode) 5000 H z max . ( C ou n ter mode) I n pu t Lev el I sol at e d or T T L l ev el Mi n i mum Pul s e W i d th 500 µ sec.
4-52 ADAM-5000 I/O Modules.
5 Software Utilities.
5-2 ADAM-5000 Software Utilities There are some software utilities available to the ADAM-5000 sys- tems. The DOS and W indows utility software helps you to configure your ADAM-5000.
ADAM-5000 5-3 Chapter 5 Figure 5-1 Main screen Normally you will use the Search command to scan the network. Highlight the Search command on the menu bar and press <Enter> (or simply press the "s" key). The "Search Installed Modules" window will then appear to prompt you to enter the range it should scan.
5-4 ADAM-5000 Software Utilities current values of its inputs. An example is shown in Figure 5-2 for an ADAM-5000 system. Figure 5-2 Setup options There are three different options: System Setting, Module Setting and Output Data. Highlight the parameter you wish to change and press <Enter>.
ADAM-5000 5-5 Chapter 5 After you have made the changes for a block of parameters, press <ESC>. Y ou will be asked if you are satisfied with the changes you have made or not. Answer "Y" to keep the changes you have made or "N" to leave the values unchanged.
5-6 ADAM-5000 Software Utilities Calibration Press <Enter> on the Calibrate option on the top bar and a selection bar appears in the status field. Move the selection bar over the module you wish to configure and select it by pressing <Enter>.
ADAM-5000 5-7 Chapter 5 underneath. T o resend a command simply press <Enter>. Choose Full Screen to select T erminal Emulation mode. This mode provides additional information on the configuration status under Settings shown at the right side of the screen.
5-8 ADAM-5000 Software Utilities 2 . Set the node ID of the ADAM-5000/485 system to “0” and reset the ADAM-5000 system. 3 . Run the ADAM Utility (ADAM.exe) under DOS to search for the ADAM-5000/485 at address “00h”. 4 . When the ADAM-5000/485 appears on the screen, choose “Setup” and select “Download”.
ADAM-5000 5-9 Chapter 5 5.3 DDE (Dynamic Data Exchange) Server The ADAM-5000 DDE server takes advantage of DDE, a built-in W indows communication service. The DDE server acquires data from the ADAM-5000 systems and passes it to your application program via the hot link (DDE).
5-10 ADAM-5000 Software Utilities 5.4 ADAM-4000 and ADAM-5000 Windows Utility The ADAM-4000 and 5000 W indows Utility offers a graphical interface that helps you configure the ADAM-4000 and ADAM-5000 DA&C Modules. This windows utility makes it very convenient to monitor your Data Acquisition and Control system.
ADAM-5000 5-11 Chapter 5 Search: Search for the address of connected modules on network. T erminal: Issue commands and receives response. Data Scope: Display the current data. Save Configuration: Saves the configuration of selected module into txt file.
5-12 ADAM-5000 Software Utilities Figure 5-6 Save the information of connected modules to txt file 5.4 .3 COM Port Settings Figure 5-7 Setup options Baud rate: The communication speed (baud rate) can be configured from 1200 bps to 115.
ADAM-5000 5-13 Chapter 5 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-14 ADAM-5000 Software Utilities 3 . Click the T ools menu and choose the Search command: 4 . The connected modules on network is currently being searched: 5.4 .5 T erminal Emulation Y ou can issue commands and receive response by clicking the T erminal button.
ADAM-5000 5-15 Chapter 5 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.
5-16 ADAM-5000 Software Utilities 5.4 .6 Data Scope Data Scope enables you to monitor the issue of commands and the responses on another connected PC within your system.
ADAM-5000 5-17 Chapter 5 : 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. Mean- while, you can also observe all responses received at PC#2.
5-18 ADAM-5000 Software Utilities • Save the output range, baud rate, data format, checksum status and slew rate for a specified analog output module. • Save the baud rate and checksum status for a digital I/O module. • Save the input mode, baud rate, checksum status and/or frequency gate time, input signal mode, gate mode, alarm status, etc.
ADAM-5000 5-19 Chapter 5 and then specify the file name. The configuration file is now saved. 5.4 .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.
5-20 ADAM-5000 Software Utilities There are three ways to load a configuration file: 1 . Click the T oolbar button: 2 . Click the right mouse button: 3 .
ADAM-5000 5-21 Chapter 5 4 . Choose the file name: The configuration file is now loaded. 5. 4.9 Module Configuration • Sets the input range, baud rate, data format, checksum status, and/ or integration time for a specified analog input module.
5-22 ADAM-5000 Software Utilities For Example: The configuration of ADAM-4011 • 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.
ADAM-5000 5-23 Chapter 5 5.4 .10 Module Calibration Calibration is to adjust the accuracy of ADAM module. There are several modes for module’ s calibration: Zero calibration and span calibration. Only analog input and output modules can be calibrated.
5-24 ADAM-5000 Software Utilities CJC Calibration 1 . Prepare an accurate voltage source. 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 value from the ADAM module.
ADAM-5000 5-25 Chapter 5 5.4 .1 1 Data Input and Output Analog Input Module with Digital Output • The function can only be used when the alarm status is “Disable”.
5-26 ADAM-5000 Software Utilities Enter a value that users want to get • • Fast Decrease decrease increase • fast increase.
ADAM-5000 5-27 Chapter 5 5.4 .12 Alarm Settings • 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.
5-28 ADAM-5000 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.
ADAM-5000 5-29 Chapter 5 3 . Choose the baud rate. 4 . Choose Download file..
5-30 ADAM-5000 Software Utilities Firmware download in progress. Firmware download complete..
6 Command Set.
6-2 ADAM-5000 Command Set 6.1 Introduction T o 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 initiat- ing the sequence.
ADAM-5000 6-3 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 Com.
6-4 ADAM-5000 Command Set 6.3 CPU Command Set Command Syntax Command Name Description %aannccff Conf igu rati on Sets the baudrate and checksum status for a specified ADAM-5000 system $aa2 Co nfig ura.
ADAM-5000 6-5 Chapter 6 %aannccff %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.
6-6 ADAM-5000 Command Set %aannccff %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 genera- tion or validation.
ADAM-5000 6-7 Chapter 6 $aa2 $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 hexadeci- mal address of the ADAM-5000 system you want to interrogate.
6-8 ADAM-5000 Command Set $aa2 $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.
ADAM-5000 6-9 Chapter 6 $aaM $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.
6-10 ADAM-5000 Command Set $aaM $aaM 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.
ADAM-5000 6-11 Chapter 6 $aaF $aaF Name Read Firmware V ersion 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 hexadeci- mal address of the ADAM-5000 system you want to interrogate.
6-12 ADAM-5000 Command Set $aaF $aaF Example command: $17F(cr) response: !17A1.06(cr) The command requests the system at address 17h to send its firmware version.
ADAM-5000 6-13 Chapter 6 $aaT $aaT Name Read I/O T ype 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 hexadeci- mal address of the ADAM-5000 system you want to interrogate.
6-14 ADAM-5000 Command Set $aaT $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.
ADAM-5000 6-15 Chapter 6 $aa5 $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 .
6-16 ADAM-5000 Command Set $aa5 $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.
ADAM-5000 6-17 Chapter 6 $aaE $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.
6-18 ADAM-5000 Command Set Error Code Error Message 00h No er rors 01h Span calibration error of Analog Input Module 02h Self-calibration error of Analog Input Module 04h Zero calibrati on error of A .
ADAM-5000 6-19 Chapter 6 6.4 ADAM-5013 RTD Input Command Set Comm and Synt ax Comm and Nam e Descr ipt i on $aaSiAr rf f R T D Con f igu rat ion S et s s l ot in dex , i n pu t r a n ge, dat a f o r m.
6-20 ADAM-5000 Command Set Command Sy nt ax Command Nam e D escr i pt i on $aaS i6 Read Ch an n el s S t at u s Asks a specif ied in pu t m o d ule to re turn th e st at u s of al l ch an n e l s $aaS.
ADAM-5000 6-21 Chapter 6 $aaSiArrff $aaSiArrff Name R TD Configuration Description Sets slot index, input range, data format and integration time for a specified R TD input module in a specified system. Syntax $aaSiArrff(cr) $ is a delimiter character .
6-22 ADAM-5000 Command Set $aaSiArrff $aaSiArrff address of an ADAM-5000 system. (cr) is the terminating character , carriage return (0Dh). Example command: $35S3A2000(cr) response: !35(cr) The R TD i.
ADAM-5000 6-23 Chapter 6 $aaSiB $aaSiB Name R TD Configuration Status Description Returns the configuration parameters for a specified R TD 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.
6-24 ADAM-5000 Command Set $aaSiB $aaSiB (cr) is the terminating character , carriage return (0Dh). Example command: $35S3B(cr) response: !352000(cr) The R TD input module in slot 3 of the ADAM-5000 system at address 35h responds with an R TD type Pt -100 to 100° C, engineering unit data format, and integration time 50ms (60Hz).
ADAM-5000 6-25 Chapter 6 $aaSi $aaSi Name All R TD Data In Description Returns the input values of all channels of a specified R TD input module in a specified system in engineering units only .
6-26 ADAM-5000 Command Set $aaSi $aaSi Example command: $35S3(cr) response: >+80.01 +20.00 -40.12(cr) The command requests the R TD input module in slot 3 of the ADAM-5000 system at address 35h to return the input values of all channels. The R TD input module responds with input values of all channels in sequence from 0 to 2 : +80.
ADAM-5000 6-27 Chapter 6 $aaSiCj $aaSiCj Name Specified R TD Data In Description Returns the input value of a specified channel for a specified R TD input module of a specified system in engineering units only . Syntax $aaSiCj(cr) $ is a delimiter character .
6-28 ADAM-5000 Command Set $aaSiCj $aaSiCj Example command: $35S3C0(cr) response: >+80.01(cr) The command requests the R TD input module in slot 3 of the ADAM-5000 system at address 35h to return the input value of channel 0. The R TD input module responds that the input value of channel 0 is +80.
ADAM-5000 6-29 Chapter 6 $aaSiER $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).
6-30 ADAM-5000 Command Set $aaSi5mm $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.
ADAM-5000 6-31 Chapter 6 $aaSi5mm $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) Ex.
6-32 ADAM-5000 Command Set $aaSi6 $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.
ADAM-5000 6-33 Chapter 6 $aaSi6 $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.
6-34 ADAM-5000 Command Set $aaSi0 $aaSi0 Name R TD Span Calibration Description Calibrates a specified R TD 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 R TD module.
ADAM-5000 6-35 Chapter 6 $aaSi1 $aaSi1 Name R TD Zero Calibration Description Calibrates a specified R TD input module of a specified system to correct for offset errors.
6-36 ADAM-5000 Command Set $aaSi2 $aaSi2 Name R TD Self Calibration Description Causes a specified R TD input module of a specified system to do a self calibration. Note: This command is for use when R TD Zero and Span calibration commands have been tried and had no effect.
ADAM-5000 6-37 Chapter 6 6.5 Analog Input Command Set Note: See pages 71-89 for Analog Input Alarm Command Set. C o mman d S yn ta x C o mman d N a me D e sc rip tio n $aaS iA rr ff C on figu rat i on S et s sl ot index , i n put ran ge, data f ormat an d int egration t i me for a spe cified an alog inpu t modu l e in a speci fied sy stem .
6-38 ADAM-5000 Command Set $aaSiArrff $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 .
ADAM-5000 6-39 Chapter 6 $aaSiArrff $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.
6-40 ADAM-5000 Command Set $aaSiB $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.
ADAM-5000 6-41 Chapter 6 $aaSiB $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).
6-42 ADAM-5000 Command Set $aaSi5mm $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.
ADAM-5000 6-43 Chapter 6 $aaSi5mm $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.
6-44 ADAM-5000 Command Set $aaSi6 $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.
ADAM-5000 6-45 Chapter 6 $aaSi6 $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 (0.
6-46 ADAM-5000 Command Set #aaSi #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 engineer- ing unit only . Syntax # a a S i(cr) # is a delimiter character .
ADAM-5000 6-47 Chapter 6 #aaSi #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.
6-48 ADAM-5000 Command Set #aaSiCj #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 .
ADAM-5000 6-49 Chapter 6 #aaSiCj #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.
6-50 ADAM-5000 Command Set $aaSiER $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).
ADAM-5000 6-51 Chapter 6 $aaSiØ $aaSi0 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.
6-52 ADAM-5000 Command Set $aaSi1 $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.
ADAM-5000 6-53 Chapter 6 $aaSi3 $aaSi3 Name CJC Status Command (ADAM-5018 only) Description Returns the value of the CJC (Cold Junction Compensa- tion) 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.
6-54 ADAM-5000 Command Set $aaSi3 $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.
ADAM-5000 6-55 Chapter 6 $aaSi9shhhh $aaSi9shhhh Name CJC Zero Calibration (ADAM-5018 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 .
6-56 ADAM-5000 Command Set $aaSi9shhhh $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.
ADAM-5000 6-57 Chapter 6 6.6 ADAM-5017H Analog Input Command Set C o mman d Syn t ax C o mman d Nam e De scri p t ion Re marks $aaS i CjAr rFF Set I n pu t R an ge S ets in pu t r an ge f or a specifi.
6-58 ADAM-5000 Command Set Note: The AD AM-5017H module also has "Alar m Setting" functions. The alar m command set f or the AD AM- 5017H is the same as that for the AD AM-5013, AD AM-5017, and AD AM-5018. Please refer to pages 6-71 to 6-89 for this set of commands.
ADAM-5000 6-59 Chapter 6 $aaSiCjArrFF $aaSiCjArrFF Name Set Input Range Description Sets the input range for a specified channel of a speci- fied 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.
6-60 ADAM-5000 Command Set $aaSiCjArrFF $aaSiCjArrFF 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 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.
ADAM-5000 6-61 Chapter 6 $aaSiCjB $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.
6-62 ADAM-5000 Command Set $aaSiCjB $aaSiCjB Example command: $35S3C1B(cr) response: !350b00(cr) Channel 1 of the ADAM-5017H module in slot 3 of the ADAM-5000 system at address 35h responds with an input range 0-20 mA, engineering unit data format.
ADAM-5000 6-63 Chapter 6 $aaSiAFFff $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 .
6-64 ADAM-5000 Command Set $aaSiAFFff $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).
ADAM-5000 6-65 Chapter 6 $aaSiB $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.
6-66 ADAM-5000 Command Set $aaSiB $aaSiB Example command: $35S3B(cr) response: !35FF00(cr) The ADAM-5017H module in slot 3 of the ADAM-5000 system at address 35h responds that it is configured for engineering unit data format.
ADAM-5000 6-67 Chapter 6 #aaSi #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 engineer- ing units or two’ s complement data format Syntax #aaSi # is a delimiter character .
6-68 ADAM-5000 Command Set #aaSi #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).
ADAM-5000 6-69 Chapter 6 #aaSiCj #aaSiCj Name Specified Analog Data In Description Returns the input value of a specified channel of a specified analog input module in a specified ADAM- 5000 system in engineering units or two’ s complement data format Syntax #aaSiCj(cr) # is a delimiter character .
6-70 ADAM-5000 Command Set #aaSiCj #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.
ADAM-5000 6-71 Chapter 6 6.7 Analog Input Alarm Command Set Note: This command set applies to the AD AM-5013, AD AM-5017, AD AM-5017H and the AD AM-5018. C o mman d S yn tax C o mman d N a me D e sc rip tion $aaS i CjAh s Set Alar m Mode Sets t h e High / L ow a l a r m in eit h er M om en t ar y or L a t c hi ng m o d e .
6-72 ADAM-5000 Command Set $aaSiCjAhs $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 .
ADAM-5000 6-73 Chapter 6 $aaSiCjAhs $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.
6-74 ADAM-5000 Command Set $aaSiCjAh $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.
ADAM-5000 6-75 Chapter 6 $aaSiCjAh $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.
6-76 ADAM-5000 Command Set $aaSiCjAhEs $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.
ADAM-5000 6-77 Chapter 6 $aaSiCjAhEs $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.
6-78 ADAM-5000 Command Set $aaSiCjCh $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.
ADAM-5000 6-79 Chapter 6 $aaSiCjCh $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 .
6-80 ADAM-5000 Command Set $aaSiCjAhCSkCn $aaSiCjAhCSkCn 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 .
ADAM-5000 6-81 Chapter 6 $aaSiCjAhCSkCn $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 ADAM- 5000 system.
6-82 ADAM-5000 Command Set $aaSiCjRhC $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 .
ADAM-5000 6-83 Chapter 6 $aaSiCjRhC $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.
6-84 ADAM-5000 Command Set $aaSiCjAhU(data) $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 .
ADAM-5000 6-85 Chapter 6 $aaSiCjAhU(data) $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 thermocou- ple input. The command will set its High alarm limit to +80°C.
6-86 ADAM-5000 Command Set $aaSiCjRhU $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.
ADAM-5000 6-87 Chapter 6 $aaSiCjRhU $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.
6-88 ADAM-5000 Command Set $aaSiCjS $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.
ADAM-5000 6-89 Chapter 6 $aaSiCjS $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.
6-90 ADAM-5000 Command Set 6.8 Analog Output Command Set Comm and Sy nt ax Comm and Na me Descr i pt ion $aaS iC jAr rf f Co n f i gu r a t i on S ets t h e ou tpu t r a n ge, d ata f ormat an d sl ew rat e f o r a specified ch an n el i n a specified an alog ou t pu t modu l e in a specified sy st em.
ADAM-5000 6-91 Chapter 6 $aaSiCjArrff $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 .
6-92 ADAM-5000 Command Set $aaSiCjArrff $aaSiCjArrff ? delimiter character indicating the command was invalid. aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system.
ADAM-5000 6-93 Chapter 6 $aaSiCjB $aaSiCjB Name Configuration Status Description Returns the configuration parameters of a specified channel in a specified analog output module of a specified system.
6-94 ADAM-5000 Command Set $aaSiCjB $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.
ADAM-5000 6-95 Chapter 6 #aaSiCj(data) #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.
6-96 ADAM-5000 Command Set #aaSiCj(data) #aaSiCj(data) ? delimiter character indicating the command was invalid. (cr) is the terminating character , carriage return (0Dh) Example command: #33S1C1 15.
ADAM-5000 6-97 Chapter 6 $aaSiCj4 $aaSiCj4 Name Start-Up Output Current/V oltage 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 .
6-98 ADAM-5000 Command Set $aaSiCj4 $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 .
ADAM-5000 6-99 Chapter 6 $aaSiCj0 $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.
6-100 ADAM-5000 Command Set $aaSiCj0 $aaSiCj0 be connected to the module's output. (See also the analog output module's T rim Calibration command in Chapter 4, Section 4.
ADAM-5000 6-101 Chapter 6 $aaSiCj1 $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.
6-102 ADAM-5000 Command Set $aaSiCj1 $aaSiCj1 be connected to the module's output. (See also the analog output module's T rim Calibration command in Chapter 4, Section 4.
ADAM-5000 6-103 Chapter 6 $aaSiCj3hh $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.
6-104 ADAM-5000 Command Set $aaSiCj3hh $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.
ADAM-5000 6-105 Chapter 6 $aaSiCj6 $aaSiCj6 Name Last V alue 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 .
6-106 ADAM-5000 Command Set $aaSiCj6 $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.
ADAM-5000 6-107 Chapter 6 6.9 Digital Input/Output Command Set Comm and Sy nt ax Comm and Nam e Descr i pt ion $aaS i6 Di gi t a l Data I n Ret u rn s th e v a l u es of di gi t al I /O ch an n el s f.
6-108 ADAM-5000 Command Set $aaSi6 $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 readback value of its digital output channels.
ADAM-5000 6-109 Chapter 6 $aaSi6 $aaSi6 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. (dataoutput) a 2-character hexadecimal value which is the readback of a digital output channel or relay .
6-110 ADAM-5000 Command Set #aaSiBB(data) #aaSiBB(data) Name Digital Data Out Description This command either sets a single digital output channel or sets all digital output channels simultaneously . Syntax #aaSiBB(data)(cr) # is a delimiter character .
ADAM-5000 6-111 Chapter 6 #aaSiBB(data) #aaSiBB(data) A 4-character hexadecimal value is used to set the channels, from 15 thru 0, of the ADAM-5056. A 2 char- acter 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.
6-112 ADAM-5000 Command Set #aaSiBB(data) #aaSiBB(data) sent to the digital output module (ADAM-5056) in slot 1 of the ADAM-5000 system at address 14h.
ADAM-5000 6-113 Chapter 6 $aaSiM $aaSiM Name Read Channel Masking Status Description Asks 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.
6-114 ADAM-5000 Command Set $aaSiM $aaSiM 0 in an ADAM-5068 module. Each bit represents a channel. A value of 1 means the channel is masked, while a value of 0 means the channel is valid.
ADAM-5000 6-115 Chapter 6 6.10 ADAM-5080 Counter/Frequency Command Set Comm and Syntax Comm and Name D escri pt i on $aaT Read M odu l e N ame Re tu rns the m o d ul e n am e fr om a s pecified AD AM- 5000 sy ste m. $aaF Re ad F i rmwa re Ve r s i o n Re tu rns the fi r mwa re v er sion code f r om a spec i f i ed ADA M- 5000 sy stem.
6-116 ADAM-5000 Command Set 5080 Counter/ Frequency Module Command Syntax C omm and N ame Descri pti o n $aaSi C j 6 Clear Cou n ter Clear th e cou n t ers of the s p e c i fi e d cou n ter /f requ en.
ADAM-5000 6-117 Chapter 6 Comm and Synt ax Comm and Name Descr i pti on $aaSi C j A h U (dat a) S et A l arm Li mit Sets th e H igh /Low a la rm li mi t value fo r the sp ecif ied in pu t ch an n el of a speci f i ed AD A M- 5000 sy st em.
6-118 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaT $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.
ADAM-5000 6-119 Chapter 6 $aaT $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.
6-120 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaF $aaF Name Read Firmware V ersion 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.
ADAM-5000 6-121 Chapter 6 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.
6-122 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiArrff $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.
ADAM-5000 6-123 Chapter 6 $aaSiArrff $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.
6-124 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiB $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.
ADAM-5000 6-125 Chapter 6 $aaSiB $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.
6-126 ADAM-5000 Command Set 5080 Counter/ Frequency Module #aaSi #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 .
ADAM-5000 6-127 Chapter 6 #aaSi #aaSi Example command: #16S2(cr ) response: If the response you got is in Counter mode, you'll see one similiar to the example below: >1235458013267521306934521.
6-128 ADAM-5000 Command Set 5080 Counter/ Frequency Module #aaSi #aaSi However , if the response is in frequency mode , you'll see one similar to the example below: >00000987000000064900000007.
ADAM-5000 6-129 Chapter 6 #aaSiCj #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.
6-130 ADAM-5000 Command Set 5080 Counter/ Frequency Module #aaSiCj #aaSiCj Example 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.
ADAM-5000 6-131 Chapter 6 $aaSiØ(data) $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.
6-132 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiØ(data) $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.
ADAM-5000 6-133 Chapter 6 $aaSiØ $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.
6-134 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiØ $aaSiØ Example 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.
ADAM-5000 6-135 Chapter 6 $aaSiCj5s $aaSiCj5s Name Set Counter Start/Stop Description Request the addressed counter/frequency module to start or stop the counting. Syntax $aaSiCj5s(cr) $ is a delimiter character . aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system.
6-136 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCj5s $aaSiCj5s Example 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 .
ADAM-5000 6-137 Chapter 6 $aaSiCj5 $aaSiCj5 Name Read counter Start/Stop Description Requests the addressed counter/frequency module to indicate whether counters are active. Syntax $aaSiCj5(cr) $ is a delimiter character . aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system.
6-138 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCj5 $aaSiCj5 Example 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.
ADAM-5000 6-139 Chapter 6 $aaSiCj6 $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.
6-140 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCj6 $aaSiCj6 Example 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.
ADAM-5000 6-141 Chapter 6 $aaSi7 $aaSi7 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.
6-142 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSi7 $aaSi7 Example 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.
ADAM-5000 6-143 Chapter 6 @aaSiCjP(data) @aaSiCjP(data) Name Set Initial Counter V alue Description Set initial counter value for counter of the specified counter module. Syntax @aaSiCjP(data)(cr) @ is a delimiter character . aa (range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system.
6-144 ADAM-5000 Command Set 5080 Counter/ Frequency Module @aaSiCjP(data) @aaSiCjP(data) Example 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.
ADAM-5000 6-145 Chapter 6 @aaSiCjG @aaSiCjG 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.
6-146 ADAM-5000 Command Set 5080 Counter/ Frequency Module @aaSiCjG @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.
ADAM-5000 6-147 Chapter 6 $aaSiCjAhEs $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.
6-148 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCjAhEs $aaSiCjAhEs 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.
ADAM-5000 6-149 Chapter 6 $aaSiCjAh $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.
6-150 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCjAh $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.
ADAM-5000 6-151 Chapter 6 $aaSiCjCh $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.
6-152 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCjCh $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 .
ADAM-5000 6-153 Chapter 6 $aaSiCjAhCSkCn $aaSiCjAhCSkCn 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 $aaSiCjAhCSkCn(cr) $ is a delimiter character .
6-154 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCjAhCSkCn $aaSiCjAhCSkCn Example 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.
ADAM-5000 6-155 Chapter 6 $aaSiCjRhC $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.
6-156 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCjRhC $aaSiCjRhC Example 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.
ADAM-5000 6-157 Chapter 6 $aaSiCjAhU(data) $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 $aaSiCjAhU(data)(cr) $ is a delimiter character . aa (range 00-FF) represents the 2-character hexadecimal address of an ADAM-5000 system.
6-158 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCjAhU(data) $aaSiCjAhU(data) Example 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.
ADAM-5000 6-159 Chapter 6 $aaSiCjRhU $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.
6-160 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCjRhU $aaSiCjRhU Example command: $03SØC1RHU(cr ) response: !030000000026(cr) The c hannel 1 of slot 0 of ADAM-5080 in the ADAM- 5000 system at address 03h is configured to return the High alarm limit value.
ADAM-5000 6-161 Chapter 6 $aaSiCjS $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.
6-162 ADAM-5000 Command Set 5080 Counter/ Frequency Module $aaSiCjS $aaSiCjS Example command: $03SØC1S response: !031 1(cr) The c hannel 1 of slot 0 of ADAM-5080 in the ADAM- 5000 system at address 03h is configured to read alarm status. The High alarm has occured and low alarm has occured.
7 Troubleshooting.
7-2 ADAM-5000 T roubleshooting Diagnosis 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 self- diagnosis.
ADAM-5000 7-3 Chapter 7 Error Code Error Type 00h OK 01h AI module span calibration err or 02h AI module self-calibration err or 04h AI module zero calibration error 08h AI module data readin g error 10h CJC reading error 20h EEPROM read/write err or of AI/AO modules 7.
7-4 ADAM-5000 T roubleshooting 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.
ADAM-5000 7-5 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.
7-6 ADAM-5000 T roubleshooting 7. 5 I/O Module T roubleshooting 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 Quick Start Example.
A -2 ADAM-5000 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.
ADAM-5000 A-3 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.
A -4 ADAM-5000 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.
ADAM-5000 A-5 Appendix A transmit both DA T A and R TS signals. It is advisable that the follow- ing standard colors be used for the communication lines: D A T A + ( Y ) Y ellow DA T A - ( G ) Green ADAM Utility Software A menu-driven utility program is provided for ADAM-5000 system configuration, monitoring and calibration.
A -6 ADAM-5000 Quick Start Example Default Factory Settings Baud rate: 9600 Bits/sec. Address: 01 (hexadecimal) The basic hook-up for system configuration is show below: Figure A-2 ADAM-5000 system ho.
ADAM-5000 A-7 Appendix A Configuration with the ADAM Command Set 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.
A -8 ADAM-5000 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 o.
ADAM-5000 A-9 Appendix A known state. This state is called the INIT* state. INIT* state defaults: Baud rate: 9600 Address: 0 0 h Checksum: disabled Forcing the system into the INIT* state does not change any parame- ters in the system's EEPROM.
A-10 ADAM-5000 Quick Start Example Figure A-3 Grounding the INIT* terminal 3 . W ait at least 7 seconds to let self-calibration and ranging take e f - fect. 4 . Configure the baud rate and/or checksum status. 5 . Switch the power to the ADAM-5000 system OFF .
ADAM-5000 A-11 Appendix A A .4 A Distributed ADAM-5000 Network System Hook-up The figure below gives an example of how multiple ADAM systems should be connected: Figure A-4 ADAM-5000 network system ho.
A-12 ADAM-5000 Quick Start Example This page intentionally left blank.
B Data Formats and I/O Ranges.
B -2 ADAM-5000 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.
ADAM-5000 B-3 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 T ype J thermocouple whose range is 0ºC to 760ºC.
B -4 ADAM-5000 Data Formats and I/O Ranges B.2 Analog Input Ranges - ADAM-5017 and 5018 Module R ange Code Inp u t R a ng e Desc ript ion Data For mat s +F .S. Zer o -F .S. Di spl ay ed Re s oluti o n En gineer in g Unit s +10 .000 ±00. 000 -10. 000 1 mV 08h ±10 V % of FSR +100.
ADAM-5000 B-5 Appendix B Modul e Ran g e Code Inp ut R a ng e Desc rip tion Data For mat s +F .S. Z ero -F .S. Display ed Re so luti o n Engineering Unit s +1 5.000 ±00. 000 -1 5.000 1 µV 00h ±1 5 mV % of FSR + 100.00 ±000.00 -1 00.00 0.01% Tw o ' s Co mplement 7FFF 0000 8000 1 LSB Engineering Unit s +50.
B -6 ADAM-5000 Data Formats and I/O Ranges Module Range Code Inp ut Ra nge Description Data Form ats Maxi mum Spe cif ied Signal Minimum Spec if ied Signal Displayed Resolution Ty pe J Engin eering Units +76 0.00 +000.00 0.1ºC 0Eh Therm ocouple % of FSR +100 .
ADAM-5000 B-7 Appendix B B.3 Analog Input Ranges of ADAM-5017H Note: The full scale values in this table are theoretical values f or y our ref erence; actual v alues will v ar y . Ra ng e Cod e In p u t Ra ng e Dat a Form ats +Ful l Scal e Z ero -Fu l l Scal e Displ ay ed Re s o luti o n 0 0 h ± 1 0 V E ng i ne e r i ng 11 0 - 11 2 .
B -8 ADAM-5000 Data Formats and I/O Ranges B.4 Analog Output Formats Y ou 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.
ADAM-5000 B-9 Appendix B B.6 ADAM-5013 RTD Input Format and Ranges Range Code (h ex ) In p ut R a n g e Des cr ipt ion Dat a Form ats Maxi mum Specified Signal Mi nimum Specified Signal Disp l ay e d Res oluti o n 20h 100 Oh ms P l a ti num RT D -100 t o 100° C a=0.
B-10 ADAM-5000 Data Formats and I/O Ranges.
C RS-485 Network.
C - 2 ADAM-5000 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.
ADAM-5000 C-3 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 discon- necting of a node doesn’t affect the network as a whole.
C - 4 ADAM-5000 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.
ADAM-5000 C-5 Appendix C Random This is a combination of daisychain and hierarchical structure. Figure C-3 Random structure.
C - 6 ADAM-5000 RS-485 Network Combination of an ADAM-4000 and an ADAM-5000 in a RS-485 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: The speed of AD AM-4000 and AD AM-5000 in a RS- 485 network should be the same.
ADAM-5000 C-7 Appendix C Figure C-5 Signal distortion The value of the resistor should be a close as possible to the charac- teristic 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.
C - 8 ADAM-5000 RS-485 Network Figure C-6 T ermination resistor 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 .
ADAM-5000 C-9 Appendix C The star connection causes a multitude of these discontinuities since there are several transmission lines and is therefore not recommend.
C-10 ADAM-5000 RS-485 Network This page intentionally left blank.
D How to Use the Checksum Feature.
D - 2 ADAM-5000 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.
ADAM-5000 D-3 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.
D - 4 ADAM-5000 How to Use the Checksum Feature HEX ASCII HEX ASCII HE X ASCII 40 @ 60 ` 21 ! 41 A 61 a 22 " 42 B 62 b 23 # 43 C 63 c 24 $ 44 D 64 d 25 % 45 E 65 e 26 & 46 F 66 f 27 ' 47 G 67 g 28 ( 48 H 68 h 29 ) 49 I 69 i 2A * 4A J 6A j 2B + 4B K 6B k 2C , 4C L 6C l 2D - 4D M 6D m 2E .
ADAM-5000 E-1 Appendix E E ADAM-4000/5000 System Grounding Installation.
E -2 ADAM-5000 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 Installation Ø The outer case for the module is made of iron and fitted with a fan and convection holes with filters.
ADAM-5000 E-3 Appendix E Figure E-2: External T erminal Block and Fan 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.
E -4 ADAM-5000 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.
ADAM-5000 E-5 Appendix E E.5 Grounding reference (Ground bar for the factory environment should have a standard resistance below 5 Ω Ω Ω Ω Ω ) Since ADAM-4000 / 5000 system comes with a plas.
E -6 ADAM-5000 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.
ADAM-5000 F-1 Appendix F F Grounding Reference.
F - 2 ADAM-5000 Grounding Reference Field Grounding and Shielding Application Overview Unfortunately , it’ s impossible to finish the system integration task at a time. W e 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.
ADAM-5000 F-3 Appendix F 3. Noise Reduction T echniques 4. Check Point List F .1 Grounding 1.1 The Earth for reference Figure F-1: Think the EARTH as GROUND. • Why we think the EAR TH as GROUND? As you know that the EAR TH can not be conductive indeed.
F - 4 ADAM-5000 Grounding Reference 1.2 The Frame Ground and Grounding Bar Figure F-2: Grounding Bar. According to previous description, the grounding is the most impor- tant issue for our system. Just like ‘Frame Ground’ of the computer , this signal offers a reference point of the electronic circuit inside the computer .
ADAM-5000 F-5 Appendix F 1.3 Normal Mode and Common Mode 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? Y ou will get nonsense value with above testinF .
F - 6 ADAM-5000 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.
ADAM-5000 F-7 Appendix F 1.4 Wire impedance Figure F-5: The purpose of high voltage transmission • What’ s the purpose of high voltage transmission? W e can see the high voltage tower stand at suburban. The power plant raises the voltage while generating the power , then downs the voltage when transmits the power to power station.
F - 8 ADAM-5000 Grounding Reference Above diagram just shows you that the wire impedance will consume the power . 1.5 Single Point Grounding Figure F-7: Single point groundinF . (1) • What’ s Single Point Grounding? Maybe you had some displease experiences just like take hot water shower in W inter .
ADAM-5000 F-9 Appendix F 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 .
F-10 ADAM-5000 Grounding Reference • Single isolated cable Above diagram shows you the structure of the isolated cable. Y ou 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.
ADAM-5000 F-11 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.
F-12 ADAM-5000 Grounding Reference • Never stripping too long of the plastic cable cover . Otherwise, this improper status will destroy the characteristic of the Shielded- T wisted-Pair cable. Besides, those nude wires are easy to adhere the noise. • Cascade those shields together by “Soldering”.
ADAM-5000 F-13 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 .
F-14 ADAM-5000 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 T echniques • Enclose noise sources in shield enclosures. • Place sensitive equipment in shielded enclosure and away from computer equipment.
ADAM-5000 F-15 Appendix F Figure F-15: Noise Reduction T echniques F .4 Check Point List • Follow the single point grounding rule? • Normal mode and common mode voltage? • Separate the DC and AC.
F-16 ADAM-5000 Grounding Reference.
デバイスAdvantech RS-485の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Advantech RS-485をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはAdvantech RS-485の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Advantech RS-485の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Advantech RS-485で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Advantech RS-485を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はAdvantech RS-485の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Advantech RS-485に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちAdvantech RS-485デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。