Advantech ADAM 4100 User Manual
Advantech ADAM 4100 User Manual

Advantech ADAM 4100 User Manual

Industrial grade data acquisition modules
Hide thumbs Also See for ADAM 4100:

Advertisement

Quick Links

ADAM 4100
Industrial Grade Data Acquisition Modules
User's Manual

Advertisement

Table of Contents
loading

Summary of Contents for Advantech ADAM 4100

  • Page 1 ADAM 4100 Industrial Grade Data Acquisition Modules User's Manual...
  • Page 2 Ltd. Information provided in this manual is intended to be accurate and reliable. However, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements upon the rights of third parties, which may result from its use. CE Notification The ADAM-4100 series developed by Advantech Co., Ltd.
  • Page 3: Table Of Contents

    Table of Contents Chapter 1 Introduction ..…..……....…....………….. 1-1 Chapter 2 Installation Guideline ....…....…....2-1 2.1 System Requirements to set up an ADAM network ..…....2-2 2.2 Basic configuration and hook-up ....……......2-5 2.3 Baud rate and Checksum .........……......2-7 2.4 Multiple Module Hookup .......………......2-9 2.5 Programming Example........…….......2-10 Chapter 3 I/O Modules ..........…......3-1 3.1 The common specification of ADAM-4100 I/O series..…....3-2...
  • Page 4 Appendix A Utility Software......…..……………...…..A-1 A.1 Utility overview....…...............A-2 A.2 Firmware update............……..A-6 A.3 Address mode..................A-8 A.4 Locate mode........…..........A-9 Appendix B ADAM-4100 I/O Modbus Mapping Table..….....B-1 B.1 ADAM-4117 8-channel Analog Input Module....…..... B-3 B.2 ADAM-4118 8-channel Thermocouple Input Module....B-4 B.3 ADAM-4150 Digital Input/Output Module.......…..B-5 B.4 ADAM-4168 8 Relay Output Module………………..…....B-9 Appendix C Technical Diagrams .........…......C-1 C.1 ADAM Dimensions ..........…......C-2...
  • Page 5: Chapter 1 Introduction

    Introduction...
  • Page 6 Support +/- 15V Input Range (ADAM-4117) Support Filter Auto-tuning or Filter-out 50Hz/60Hz (ADAM-4117/4118) Digital Filter Function (ADAM-4150) DI channels allow to be used as 3 KHz counter (ADAM-4150) DO channels support pulse output function (ADAM-4150 / 4168) 1-2 ADAM 4100 Series User’s Manual...
  • Page 7 Chapter ADAM-4100 Module with LED Display ADAM-4100 series own a series of LED display on the face. They let you monitor the status and also allow reading the address of ADAM- 4100. Actually, they have original two operating mode (Initial mode and Normal mode).
  • Page 8 ADAM modules mount on any panel, on provided brackets, on DIN rails or may be stacked together. The RS-485 network, together with screw-terminal plug connectors, allows for system expansion, reconfiguration and repair without disturbing field wiring. 1-4 ADAM 4100 Series User’s Manual...
  • Page 9: Chapter 2 Installation Guideline

    Installation Guideline...
  • Page 10: System Requirements To Set Up An Adam Network

    . Power ripples must be limited to 5 V peak to peak while the voltage in all cases must be maintained between +10 and +48 . All power supply specifications are referenced at module 2-2 ADAM 4100 Series User’s Manual...
  • Page 11 Chapter connector. When modules are powered remotely, the effects of DC voltage drops must be considered. All modules use on-board switching regulators to sustain good efficiency over the 10 to 48 V input range; therefore, we can assume that the actual drawn current is inversely proportional to the DC voltage.
  • Page 12 255 ADAM modules. As with the Converter module, the Repeater module is not addressable by the host and the baud rate must be reset by changing the switch inside the module. The factory default setting is 9600 baud. 2-4 ADAM 4100 Series User’s Manual...
  • Page 13: Basic Configuration And Hook-Up

    Chapter 2.2 Basic configuration and hook-up Before placing a module in an existing network, the module should be configured. Though all modules are initially configured at the factory, it is recommended to check if the baud rate is set correctly beforehand. Default Factory Settings Baud rate: 9600 Bit/sec.
  • Page 14 The easiest way to configure the ADAM module is by using the ADAM utility software. It is a user friendly structured menu program that will guide you through every step of the configuration. (See Appendix A, Utility Software) 2-6 ADAM 4100 Series User’s Manual...
  • Page 15: Baud Rate And Checksum

    Chapter Changing the protocol from ADAM ASCII to Modbus Some ADAM-4100 modules support both ADAM ASCII and Modbus protocols, and the factory default setting of these modules is ADAM ASCII protocol. If you would like to configure the modules to Modbus protocol, please refer to Appendix G which describes how to change the protocol in ADAM utility.
  • Page 16 • Wait at least 7 seconds to let self calibration and ranging take effect. • Check the settings (If the baud rate has changed, the settings on the host computer should be changed accordingly). 2-8 ADAM 4100 Series User’s Manual...
  • Page 17: Multiple Module Hookup

    Chapter 2.4 Multiple Module Hookup The Figure below is an example of how ADAM modules are connected in a multiple module network: Figure 2-4 Multi-module Connection Chapter 2 installation Guideline 2-9...
  • Page 18: Programming Example

    Step 1. Using ADAM Utility to check the settings as the following below: “Address = 01H”, “Baud rate = 9600” and “Checksum = Disabled”. Step 2. Run VB 6.0 and add a control via “Project\Component”. 2-10 ADAM 4100 Series User’s Manual...
  • Page 19 Chapter Step 3. Select “Microsoft Comm Control” Step 4. Add the Comm Control on the form. Chapter 2 installation Guideline 2-11...
  • Page 20 Installation Guideline Step 5. Add three Command Buttons on the form as shown below Step 6. Add one Label and one Text on the form as shown below. 2-12 ADAM 4100 Series User’s Manual...
  • Page 21 Chapter Step 7. Click OPEN Button and type in the following codes. The source codes are listed at the end of this section. Step 8. Click SEND Button and type in the following codes. The source codes are listed at the end of this section. Chapter 2 installation Guideline 2-13...
  • Page 22 Step 10. Run the Project → Click OPEN to open COM1 → Click SEND to send the Get Temperature Reading Command. Now, you will find the reading the same as the displayed format shown below. 2-14 ADAM 4100 Series User’s Manual...
  • Page 23 Chapter Program Source Codes:  OPEN Command Button: Private Sub Command1_Click() ' Buffer to hold input string Dim Instring As String ' Use COM1. MSComm1.CommPort = 1 ' 9600 baud, no parity, 8 data, and 1 stop bit. MSComm1.Settings = "9600,N,8,1" ' Tell the control to read entire buffer when Input ' is used.
  • Page 24: Chapter 3 I/O Modules

    I/O Modules...
  • Page 26: The Common Specification Of Adam-4100 I/O Series

    Communication error checking with checksum  Asynchronous data format: Advantech protocol: 1 start bit, 8 data bits, 1 stop bit, no parity Modbus protocol: 1 start bit, 8 data bits, 1 or 2 stop bit, parity check (none, odd, even) ...
  • Page 27: Adam-4117 8-Channel Analog Input Module

    I/O Modules 3.2 ADAM-4117 8-channel Analog Input Module The ADAM-4117 is a 16-bit, 8-channel analog input module that provides programmable input ranges for all channels. This module is an extremely cost-effective solution for industrial measuring and monitoring applications. It is not only able to endure under the harsh environment, also hold...
  • Page 28 Span Drift ±25 ppm/° C  CMR @ 50/60 Hz 92 dB min.  Built-in Dual Watchdog Timer  Built-in TVS/ESD Protection  Power Consumption 1.2 W @ 24 VDC Jumper setting Figure 3-2 ADAM-4117 Jumper setting 3-4 ADAM 4100 Series User’s Manual...
  • Page 29 I/O Modules *There is a resister built into ADAM-4117 for the current input mode Figure 3-3 ADAM-4117 wiring application Chapter 3 I/O Modules 3-5...
  • Page 30: Adam-4118 8-Channel Thermocouple Input Module

    Thermocouple inputs (Type J, K, T, E, R, S, B) and provides data to the host computer engineering units order satisfy various temperature requirements in one module, each analog channel is allowed to configure each individual range for several applications. ADAM-4118 Figure 3-4 ADAM-4018 8-channel Thermocouple Input Module 3-6 ADAM 4100 Series User’s Manual...
  • Page 31 I/O Modules Specification Analog Input  Effective Resolution: 16-bit  Channel: 8 differential  ASCII command and Modbus protocol  Input type & range: Thermocouple 0 ~ 760 0 ~ 1370 -100 ~ 400 0 ~ 1000 500 ~ 1750 500 ~ 1750 500 ~ 1800 Voltage mode...
  • Page 32 Chapter Figure 3-5 ADAM-4118 jumper setting *There is a resister built into ADAM-4118 for the current input mode Figure 3-6 ADAM-4118 wiring application 3-8 ADAM 4100 Series User’s Manual...
  • Page 33 I/O Modules 1. Because the CJC sensor of ADAM-4118 is located in the side of NOTE: channel 0 to 4, the measurement will have the difference ± 1 between channel 0 ~ 4 and channel 5 ~ 7. 2. The ADAM-4118 Input Range Accuracy for Thermocouple is showed as below ADAM-4118 Input Range Accuracy for Thermocouple Input Range...
  • Page 34: Adam-4150 Digital I/O Module

    1 KHz pulse output function. Here is the meaning of LED color for Status and Comm. Situation Status Comm Normal Communication Green Note: When you turn on the power, the status ADAM-4150 Figure 3-7 ADAM-4150 Digital I/O Module 3-10 ADAM 4100 Series User’s Manual...
  • Page 35 I/O Modules Specification  Channels: - 7 input channels - 8 output channels  Digital Input: Dry contact: - Logic level 0: Close to GND. - Logic level 1: Open Wet contact: - Logic level 0: +3V max. - Logic level 1: +10V to +30V Isolation voltage: 3000V Support 3 KHz counter Support Digital Filter Function...
  • Page 36 Chapter Application Wiring Internal External Figure 3-8 TTL Digital Input (ADAM-4150) Internal External Figure 3-9 Contact Closure Input (ADAM-4150) 3-12 ADAM 4100 Series User’s Manual...
  • Page 37 I/O Modules Figure 3-10 Digital Output used with SSR (ADAM-4150) Chapter 3 I/O Modules 3-13...
  • Page 38: Adam-4168 Relay Output Module

    AC 125V at 0.6A, and DC 30V at 2A. ADAM-4168 is excellent for ON/OFF control or low-power switching applications. Furthermore, all of the Digital Output channels can also support 100 Hz pulse output function. ADAM-4168 Figure 3-11 ADAM-4168 8-channel Relay Output Module 3-14 ADAM 4100 Series User’s Manual...
  • Page 39 I/O Modules Specification  Number of Output Channel: 8 Form A  Contact Rating: AC:125V@0.6A; 250V@0.3A DC:30V@2A; 110V@0.6A Breakdown Voltage : 750 V (50/60 Hz)   Insulation Resistance: 1000MΩ minimum @500V  Power Consumption: 0.4W(typical) 1.8W(Max)  Relay response Time(typical): ON :3 ms Off: 1 ms ...
  • Page 40: Chapter 4 Command Set

    Command Set...
  • Page 42: Introduction

    Furthermore, an optional two-character checksum may be appended to the total string. Every command is terminated by a carriage return (cr). ALL COMMANDS SHOULD BE ISSUED IN UPPERCASE CHARACTERS! 4-2 ADAM 4100 Series User’s Manual...
  • Page 43 Chapter Before the command set is given, we provide an I/O module commands search table to help you find the commands that you wish to use. The command set is divided into the following three categories: • Analog Input Module commands •...
  • Page 44: Analog I/O Module Commands Search Table

    4.4.13 $AAY Get communication WDT setting value 4.4.14 $AAMC Get Sample Rate of the Auto-Filter 4.4.15 #AAMKmm Set Software Filter Enable/Disable 4.4.16 $AAMD Read Software Filter channel Enable/Disable 4.4.17 #AAFQm Locate the module 4.4.18 4-4 ADAM 4100 Series User’s Manual...
  • Page 45 Chapter ADAM-4118 Command Table Command Syntax Command Description Section Set the address, input range, baud rate, data format, %AANNTTCCFF 4.4.1 checksum status and/or integration time #AAN Return the input value from channels number N 4.4.2 Return the input values from all channels 4.4.3 of the specified analog input module Calibrate the analog input module to...
  • Page 46: Analog I/O Module Command Set

    The layout of the 8-bit parameter is shown in figure 4-1. Bits 2 through 5 are not used and are set to 0. (cr) is the terminating character, carriage return (0Dh) Figure 4-1 Data format for 8-bit parameter 4-6 ADAM 4100 Series User’s Manual...
  • Page 47 Chapter (Continue %AANNTTCCFF) !AA(cr) if the command is valid. Response ?AA(cr) if an invalid parameter was entered or the INIT* terminal was not grounded when attempting to change baud rate or checksum settings. There is no response if the module detects a syntax or communication error, or even if the specified address does not exist.
  • Page 48 Type K Thermocouple 0 to 1370 Type T Thermocouple -100 to 400 Type E Thermocouple 0 to 1000 Type R Thermocouple 500 to 1750 Type S Thermocouple 500 to 1750 Type B Thermocouple 500 to 1800 4-8 ADAM 4100 Series User’s Manual...
  • Page 49 Chapter Table 4-2 Baud Rate Codes Baud Rate Code (hex) Baud Rate 1200 bps 2400 bps 4800 bps 9600 bps 19.2 kbps 38.4 kbps 57.6 kbps 115.2 kbps 230.4 kbps Chapter 4 Command Set 4-9...
  • Page 50 Example response: >+1.4567(cr) The command requests the analog input module at address 12h to return the input value of channel 0. The analog input module responds an input value, +1.4567 volts, of channel 0. 4-10 ADAM 4100 Series User’s Manual...
  • Page 52 21h for its input values of all channels. The analog input module responds with channels from 0 to with +7.2111 volts, +7.2567 volts, +7.3125 volts, +7.1000 volts, +7.4712 volts, +7.2555 volts, +7.1234 volts and +7.5678 volts. 4-12 ADAM 4100 Series User’s Manual...
  • Page 53 Chapter (Continue #AA) command: #DE(cr) Example response: >FF5D(cr) The analog input module at address DEh has an input value of FF5D. (The configured data format of the analog input module is two’s complement) Two’s % of Span Engineering units complement under 0000 -0000...
  • Page 54 NOTICE: An analog input module requires a maximum of 7 seconds to perform auto calibration and ranging after it has received a Span Calibration command. During this interval, the module can not be addressed to perform any other actions. 4-14 ADAM 4100 Series User’s Manual...
  • Page 55 Chapter 4.4.5 $AA1 Offset Calibration. Name Calibrates an analog input module to correct for offset Description errors. $AA1(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address of the analog input module you want to calibrate. 1 represents the offset calibration command.
  • Page 56 The layout of the 8-bit parameter is shown in figure 4-1. Bits 2 to 5 are not used, and are set to (cr) is the terminating character, carriage return (0Dh). (Also see the %AANNTTCCFF configuration command) 4-16 ADAM 4100 Series User’s Manual...
  • Page 57 Chapter (Continue $AA2) command: $452(cr) Example response: !45050600(cr) The command asks the analog input module at address 45h to send its configuration data. The analog input module at address 45h responds with an input range of 2.5 volts, a baud rate of 9600 bps, an integration time of 50 ms (60 Hz). Engineering units are the currently configured data format, and no checksum function or checksum generation are in use.
  • Page 58 !00(cr) Hexadecimal 8 equals to binary 1000, which enables channel 7 and disables channels 4, 5, and 6. Hexadecimal 1 equals to binary 0001, which enables channel 0 and disables channel 1,2, and 3. 4-18 ADAM 4100 Series User’s Manual...
  • Page 59 Chapter 4.4.8 $AA6 Read Channel Status Name Read the status (Enable/disable) of all Channels for Multiplexing Description $AA6(cr) Syntax AA (range 00-FF) represents the 2-character hexadecimal address where stores the channel status you want to read. The channel status defines whether a channel is enabled or disabled (cr) is the terminating character, carriage return (0Dh).
  • Page 60 AA (range 00-FF) represents the 2-character hexadecimal address of an analog input module. (Version) is the version code of the module’s firmware at address AA. (cr) is the terminating character, carriage return (ODh). 4-20 ADAM 4100 Series User’s Manual...
  • Page 61 Chapter 4.4.10 $AAM Read Module Name Name The command requests the analog input module at address Description AA to return its name $AAM (cr) Syntax $ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address that you want to access. M is the Read Module Name command.
  • Page 62 (cr) represents terminating character, carriage return (0Dh). command: $027C5R21(cr) Example response: !02(cr) The command configures the range of channel 5 in the analog input module at address 02 as Pt100 (IEC) 0~100℃. 4-22 ADAM 4100 Series User’s Manual...
  • Page 63 Chapter 4.4.12 $AA8Ci Read Single Channel Range Configuration Name This command reads the input type and range configuration Description of the specified channel in an analog input module. $AA8Ci(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address which is to be read.
  • Page 64 $02X1234(cr) Example response: !02(cr) The command sets the WDT cycle as 1234 from address 02 of the input module. NOTICE: If the value of “nnnn” is 0000, the communication WDT function will be disabled. 4-24 ADAM 4100 Series User’s Manual...
  • Page 65 Chapter 4.4.14 $AAY Read Watchdog Timer Setting Name This command read the setting of Watchdog Timer Description communication cycle. $AAY(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address which is to be read. Y represents the reading WDT cycle command. (cr) is the terminating character, carriage return (0Dh).
  • Page 66 AI sample rate (cr) represents terminating character, carriage return (0Dh). command: $02MC(cr) Example response: !02016(cr) The command reads the sample rate of 016 from address 02 of the input module. 4-26 ADAM 4100 Series User’s Manual...
  • Page 67 Chapter 4.4.16 #AAMKmm Set Software Filter Enable/Disable Name This command configures the Filter status Software Description (Enable/disable) all Channels for Multiplexing #AAMKmm(cr) Syntax # is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address which is to be read. MK represents the configuration Filter status of Software...
  • Page 68 Hexadecimal 3 equals to binary 0011, which enables software filter channels 4, 5 and disables channels 6, 7. Hexadecimal 2 equals to binary 0010, which enables software filter channel 1 and disables channels 0, 2, 3. 4-28 ADAM 4100 Series User’s Manual...
  • Page 69 Chapter 4.4.18 $AAFQm Locate the module Name This command light the LED to help user to know which Description model is Located #AAFQm(cr) Syntax # is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address which is to be read. FQ represents the lighting of the LED for locating a specific model.
  • Page 70 $093(cr) Example response: >+0036.8(cr) The command requests the analog input module at address 09h to read its CJC sensor and to return the data.The analog input module at address 09h responds with 36.8 4-30 ADAM 4100 Series User’s Manual...
  • Page 71 Chapter 4.4.20 $AA9SNNNN CJC Offset Calibration Name Calibrates an analog input module to adjust for offset errors Description of its CJC (Cold Junction Compensation) sensors. $AA9SNNNN(number of counts)(cr). Syntax $ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address which contains the CJC Status you wish to retrieve.
  • Page 72: Digital I/O Module Commands Search Table

    Read DI Status 4.6.11 $AACOCjOO Set DO Status 4.6.12 $AACOCj(cr) Read DO Status 4.6.13 $AA0CjLLLLLLLLHHHHHHHH Set DI filter input width 4.6.14 $AA0Cj Read DI filter input width 4.6.15 $AA9n(lw)(hw)(ld)(hd) Set pulse output input width 4.6.16 4-32 ADAM 4100 Series User’s Manual...
  • Page 73 Chapter $AA9n Read pulse output Status 4.6.17 #AAN(cr) Read counter or frequency value 4.6.18 #aaERFFccvvvvvvvv(cr) Set DO pulse output counts 4.6.19 $aaERFFcc(cr) Read DO current pulse output counts 4.6.20 Clear Latch Alarm @AACACj(cr) 4.6.21 Start/Stop counter $AA5NS(cr) 4.6.22 Read Counter Start/Stop status $AA5N(cr) 4.6.23 Clear counter...
  • Page 74 4.6.13 $AA9n(lw)(hw)(ld)(hd) Set pulse output input width 4.6.16 $AA9n Read pulse output Status 4.6.17 #aaERFFccvvvvvvvv(cr) Set DO pulse output counts 4.6.19 $aaERFFcc(cr) Read DO current pulse output counts 4.6.20 #AAFQm Locate the module 4.4.18 4-34 ADAM 4100 Series User’s Manual...
  • Page 75: Digital I/O Module Command Set

    Bits 3 through 5 and bit 0, 1, 7 are not used and are being set to 0. (Please see Figure 4-2) Bit 6 is the selection of checksum and bit 2 is the selection of protocol: (0: advantech, 1: modbus). (cr) is the terminating character, carriage return (0Dh). Figure 4-2 Checksum and protocol...
  • Page 76 !24(cr) The command tries to configure module with address 23h to address 24h, baud rate of 9600 and no checksum checking. It also supports Advantech protocol. The response indicates that the configuration was successful. Table 4-3 Baud rate Codes Baud Rate Code (Hex)
  • Page 77 Bits 3 through 5 and bit 0, 1, 7 are not used and are being set to 0. (See Figure 4-3) Bit 6 is the selection of checksum and bit 2 is the selection of protocol: (0: advantech, 1: modbus). (cr) is the terminating character, carriage return (ODh) Chapter 4...
  • Page 78 The command asks the digital I/O module at address 45h to send its configuration data. The digital I/O module at address 45h responds with baud rate of 9600, no checksum function. At last, the module supports Advantech protocol. 4-38 ADAM 4100 Series User’s Manual...
  • Page 79 Chapter 4.6.3 $AA6 Digital Data In Name This command requests that the specified (AA) module Description returns the status of its digital input channels and returns a feedback value of its digital output channels. $AA6(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address of the digital I/O module.
  • Page 80 5, 6, 7 are OFF. The following two characters of the response, 22h (00100010), indicate that digital input channels 1 and 5 are both HIGH, and channels 0, 2, 3, 4, 6, 7 are LOW. 4-40 ADAM 4100 Series User’s Manual...
  • Page 81 Chapter 4.6.4 #AABB Digital Data Out Name The command either sets a single digital output channel or Description sets all digital output channels simultaneously. #AABB(data)(cr) Syntax # is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address for the output. BB is used to indicate whether a single channel or all the channels will be set.
  • Page 82 #151201(cr) response: >(cr) An output bit with value 1 is sent to channel 2 of a digital I/O module at address 15h. Channel two of the digital I/O module is set to ON. 4-42 ADAM 4100 Series User’s Manual...
  • Page 83 Chapter 4.6.5 $AAX0TTTTDD Write Safety Value Name Force the DO channels to safety status when communication Description is in time-out and over pre-defined period. $AAX0TTTTDD(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address which is to be accessed. X0 is to write the safety value command.
  • Page 84 ?AA(cr) if an invalid command has been issued. ! is a delimiter character indicating that a valid command was received ? is a delimiter character indicating that the command was invalid (cr) is the terminating character, carriage return (ODh). 4-44 ADAM 4100 Series User’s Manual...
  • Page 85 Chapter 4.6.7 $AAX2 Read Safety Flag Name Requests Safty Flag digital Description module see whether safety value been executed since Write Safety Value command was set. $AAX2(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents 2-character hexadecimal address which is to be accessed. X0 is the read safety flag command.
  • Page 86 OOOOOOOOOOOOOOOO channels (Every two O characters means one channel) OO=00 DO Mode. OO=01 Pulse Output Mode. OO=02 L->H Delay Mode. OO=03 H->L Delay Mode. (cr) is the terminating character, carriage return (0Dh). 4-46 ADAM 4100 Series User’s Manual...
  • Page 87 Chapter (continue $AACIIIIIIIIIIIIIIOOOOOOOOOOOOOOOO) >(cr) if the command was valid. Response ?AA(cr) if an invalid command has been issued. There response module detects syntax or communication error, even specified address does not exist. > is a delimiter character indicating that a valid command was received.
  • Page 88 IIIIIIIIIIIIII is to set the 7 DI channels (every two I characters mean one channel). Refer command $AACIIIIIIIIIIIIIIOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOO is to set the 8 DO channels OO=00 DO Mode. OO=01 Pulse Output Mode. OO=02 L->H Delay Mode. OO=03 H->L Delay Mode. 4-48 ADAM 4100 Series User’s Manual...
  • Page 89 Chapter 4.6.10 $AACICjII Set DI status of specified channel Name Force the DI channel to different mode. Description $AACICjII(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents 2-character hexadecimal address which is to be accessed. CI is the set/read the DI status command. Cj is the channel j II is the two characters to set the DI mode (cr) is the terminating character, carriage return (0Dh).
  • Page 90 Command Set (continue $AACICjII) command: $02CIC202(cr) Example response: >(cr) The channel 2 is set from Low to High latch mode 4-50 ADAM 4100 Series User’s Manual...
  • Page 91 Chapter 4.6.11 $AACICj Read DI status of specified channel Name $AACICj(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents 2-character hexadecimal address which is to be accessed. CI is the set/read the DI status command. Cj is the channel j (cr) is the terminating character, carriage return (0Dh).
  • Page 92 ? is a delimiter character indicating that the command was invalid. (range 00-FF) represents responding character hexadecimal address of the digital I/O module. command: $02COC201(cr) Example response: >(cr) The channel 2 is set as the pulse output mode 4-52 ADAM 4100 Series User’s Manual...
  • Page 93 Chapter 4.6.13 $AACOCj Read DO status of specified channel Name $AACOCj(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents 2-character hexadecimal address which is to be accessed. CO is the set/read the DO status command. Cj is the channel j (cr) is the terminating character, carriage return (0Dh).
  • Page 94 ! is a delimiter character indicating that a valid command was received. ? is a delimiter character indicating that the command was invalid. (range 00-FF) represents responding character hexadecimal address of the digital I/O module. 4-54 ADAM 4100 Series User’s Manual...
  • Page 95 Chapter 4.6.15 $AA0Cj Read DI filter input width Name $AA0Cj (cr) Syntax $ is a delimiter character. AA (range 00-FF) represents 2-character hexadecimal address which is to be accessed. 0 is the DI filter input command Cj is the channel j (cr) is the terminating character, carriage return (0Dh).
  • Page 96 ! is a delimiter character indicating that a valid command was received. ? is a delimiter character indicating that the command was invalid. (range 00-FF) represents responding character hexadecimal address of the digital I/O module. 4-56 ADAM 4100 Series User’s Manual...
  • Page 97 Chapter 4.6.17 $AA9n Read pulse output input width Name $AA9n (cr) Syntax $ is a delimiter character. AA (range 00-FF) represents 2-character hexadecimal address which is to be accessed. 9 is the DI filter input command n is the channel n (cr) is the terminating character, carriage return (0Dh).
  • Page 98: Read Counter Or Frequency Value

    The command requests the counter/frequency module at address 12 to read the counter 0 and to return the data. The counter/frequency module at address 12 responds with value 000002FE, which is also equivalent to 766 in decimals, from counter 0. 4-58 ADAM 4100 Series User’s Manual...
  • Page 99: Set Do Pulse Output Counts

    Chapter 4.6.19 $AAERFFccvvvvvvvv Set DO current pulse output counts Name $AAERFFccvvvvvvvv (cr) Syntax $ is a delimiter character. AA (range 00-FF) represents 2-character hexadecimal address which is to be accessed. ERFF is the DO current pulse output counts command cc is the channel number (00~07 means Ch0~Ch7) vvvvvvvv: 8-hex character pulse output value.
  • Page 100: Read Do Current Pulse Output Counts

    8-hex character pulse output value. When it is set to 0, it will operate as continuous pulse output ? is a delimiter character indicating that the command was invalid. (range 00-FF) represents responding character hexadecimal address of the digital I/O module. 4-60 ADAM 4100 Series User’s Manual...
  • Page 101: Clear Latch Alarm

    Chapter 4.6.21 @AACACj Clear Latch Alarm Name Both alarm states (High and Low) of the counter module Description are set to OFF. @AACACj(cr) Syntax @ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address of a counter module. CA is the Clear Latch Alarm command Cj is the channel j (cr) represents terminating character, carriage return (0Dh)
  • Page 102: Start/Stop Counter

    Example response: !06(cr) The command requests the counter/frequency module at address 06 to start counter 0. The module replies with its address indicating that the command has been executed and counter 0 has started. 4-62 ADAM 4100 Series User’s Manual...
  • Page 103: Read Counter Start/Stop Status

    Chapter 4.6.23 $AA5N Read Counter Start/Stop Status Name Requests the counter/frequency module to indicate whether Description counter 0 or counter 1 is active. $AA5N(cr) Syntax $ is a delimiter character. AA (range 00-FF) represents the 2-character hexadecimal address which is to be accessed. N determines which counter is active.
  • Page 104: Clear Counter

    (cr) is the terminating character, carriage return (0Dh). command: $1361(cr) Example response: !13(cr) The command requests the counter/frequency module at address 13 to clear counter 1. The addressed module replies with its address indicating that the counter has been cleared. 4-64 ADAM 4100 Series User’s Manual...
  • Page 105: Chapter 5 Calibration

    Calibration...
  • Page 106: Analog Input Module Calibration

    3. Use a precise voltage source to calibrate the module through Vin+ and Vin-. 4. Execute the Zero Calibration command. This is also done through the ADAM utility software. Apply the indicating signal to input channel then save the exact value. Figure 5-1 Zero Calibration 5-2 ADAM 4100 Series User’s Manual...
  • Page 107 Chapter Figure 5-1(a) Zero Calibratio 5. Execute the Span Calibration command. This can be done with the ADAM utility software. Apply the indicating signal to input channel then save the exact value. Figure 5-2 Span Calibration Figure 5-2(a) Span Calibration 6.
  • Page 108 The following table is ADAM-4118 Input Range Accuracy for Thermocouple. 2. It had better send back to Advantech Repair Service (RMA) to conduct calibration if user find or doubt the standard shift. 3. If user wants to conduct calibration by themselves, please use...
  • Page 109 5-4 ADAM 4100 Series User’s Manual...
  • Page 110 Utility Software...
  • Page 112 Please do check if the COM port and related settings are correct. Figure A-1 Search screen A-2 ADAM 4100 Series User’s Manual...
  • Page 113: Appendix A Utility Software

    The data format is 1 start bit, 8 data bits, 1 stop bit, no parity for Advantech protocol and 1 start bit, 8 data bits, 1 or 2 stop bit, parity check (none, odd, even) for Modbus protocol only.
  • Page 114: Command Set

    Figure A-3 Terminal Function You can type in the ADAM ASCII command in the text box and click on the Send button for testing commands which are listed in Chapter 4 Command Set. Figure A-4 Terminal Function A-4 ADAM 4100 Series User’s Manual...
  • Page 115 Utility Software Notice: User can refer our help file to see more details for explanation of Utility operation. Appendix A Utility Software A-5...
  • Page 116: Firmware Update

    Initial state. Then, click on the button “F/W Update”. Figure A-5 Firmware update Function (a) 2. The two dialog windows hint to search again directly. It doesn’t need to change ADAM status like initial or normal mode Figure A-6 Firmware update Function(b) A-6 ADAM 4100 Series User’s Manual...
  • Page 117: Utility Software

    Utility Software 3. You will get a new sub window with firmware download option. The model is renamed 41XX, and the user can select the fast baud rate for download. Below the baud rate selection, you can choose the pathway for the firmware and download the file into the hardware. Figure A-7 Firmware update Function(c) 4.
  • Page 118: Address Mode

    It shows that the ID is 19(13h). In the past, we can only use the utility for checking node ID. Now we can make use of the Address mode to help user read the module address directly. A-8 ADAM 4100 Series User’s Manual...
  • Page 119: Locate Mode

    Utility Software Figure A-10 Switch for Initial & Normal mode A.4 Software Filter & Locate mode Auto Filter: when Integration time is selected the auto-filter, it will auto scan major noise and filter it actively. Systems will response a proper setting. If it cannot find a proper setting, it will return 50/60Hz 1.1 50/60 Hz: When system finds this base, the 50/60Hz will be filtered.
  • Page 120 “Status” will flashing for 8 minutes. If the “Locate” button is clicked, the “Status” LED will stay on. If the “UnLocate” is clicked, the “Status” will remain default status. Figure A-11 Located mode Function A-10 ADAM 4100 Series User’s Manual...
  • Page 121 ADAM-4100 I/O Modbus Mapping Table...
  • Page 122 Appendix The model list of ADAM-4100 I/O series support Modbus protocol Model Description ADAM-4117 8-channel Analog Input Module ADAM-4118 8-channel Thermocouple Input Module ADAM-4150 Digital I/O Module ADAM-4168 Relay Output Module B-2 ADAM 4100 Series User’s Manual...
  • Page 123: Appendix B Adam-4100 I/O Modbus Mapping Table

    ADAM-4100 I/O Modbus Mapping Table B.1 ADAM-4117 8-channel Analog Input Module ADDR 4X Channel Item Attribute Memo 00201 Burn-out 00202 Burn-out 00203 Burn-out 00204 Burn-out 00205 Burn-out 00206 Burn-out 00207 Burn-out 00208 Burn-out 40001 Current Value 40002 Current Value 40003 Current Value 40004 Current Value...
  • Page 124: Adam-4118 8-Channel Thermocouple Input Module

    Type Code 40207 Type Code 40208 Type Code 40211 0x41 0x18 Module Name 1 40212 0x50 0x00 Module Name 2 40213 Version 1 0xa2 0x00 40214 Version 2 0x00 0x00 40221 0x00 0xff Channel Enable B-4 ADAM 4100 Series User’s Manual...
  • Page 125: Adam-4150 Digital Input/Output Module

    ADAM-4100 I/O Modbus Mapping Table B.3 ADAM-4150 Digital Input/Output Module ADDR 0X Channel Item Attribute Memo 00001 DI Signal 00002 DI Signal 00003 DI Signal 00004 DI Signal 00005 DI Signal 00006 DI Signal 00007 DI Signal 00017 DO Signal 00018 DO Signal 00019...
  • Page 126 Counter Mode: Clear 00054 Counter(1) Counter Mode: Clear 00055 Overflow Counter Mode: Latch Status(read)/Clear 00056 Status(Write) Counter Mode: 00057 START(1)/STOP(0) Counter Mode: Clear 00058 Counter(1) Counter Mode: Clear 00059 Overflow Counter Mode: Latch 00060 Status(read)/Clear Status(Write) B-6 ADAM 4100 Series User’s Manual...
  • Page 127 ADAM-4100 I/O Modbus Mapping Table Pulse output Mode: 00061 Continue(1)/Non- Continue(0) Pulse output Mode: 00062 Continue(1)/Non- Continue(0) Pulse output Mode: 00063 Continue(1)/Non- Continue(0) Pulse output Mode: 00064 Continue(1)/Non- Continue(0) Pulse output Mode: 00065 Continue(1)/Non- Continue(0) Pulse output Mode: 00066 Continue(1)/Non- Continue(0) Pulse output Mode: 00067...
  • Page 128 Reference: II&0x07=00 DI Mode. II&0x07=01 Counter Mode. II&0x07=02 Low-->High Latch Mode. II&0x07=03 High-->Low Latch Mode. II&0x07=04 Frequency Mode. II&0x20=20 DI Enable Counter record Function. II&0x40=40 DI Enable Digital Filter Function. II&0x80=80 DI Invert Mode B-8 ADAM 4100 Series User’s Manual...
  • Page 129: Adam-4168 8 Relay Output Module

    ADAM-4100 I/O Modbus Mapping Table B.4 ADAM-4168 8 Relay Output Module ADDR 0X Channel Item Memo Attribute 00017 Relay Output Value 00018 Relay Output Value 00019 Relay Output Value 00020 Relay Output Value 00021 Relay Output Value 00022 Relay Output Value 00023 Relay Output Value 00024...
  • Page 130 DO High Delay width 40211 Module Name 1 40212 Module Name 2 40213 Version 1 40214 Version 2 40215 Comm Safety Enable 40216 Comm Safety Flag 40301 Reserved 40302 Reserved 40303 DO data in word B-10 ADAM 4100 Series User’s Manual...
  • Page 131 Technical Diagrams...
  • Page 132 Appendix C C.1 ADAM Dimensions Figure C-1 ADAM Modules Dimensions C-2 ADAM 4100 Series User’s Manual...
  • Page 133: Appendix C Technical Diagrams

    Technical Diagrams C.2 Installation C.2.1 DIN-Rail Mounting Figure C-2 DIN-Rail Adapter Appendix C Technical Diagrams C-3...
  • Page 134 Appendix C Figure C-3 DIN-Rail Mounting C-4 ADAM 4100 Series User’s Manual...
  • Page 135 Technical Diagrams C.2.2 Panel Mounting Figure C-4 Panel Mounting Bracket Dimensions Appendix C Technical Diagrams C-5...
  • Page 136 Appendix C Figure C-5 Panel Mounting C-6 ADAM 4100 Series User’s Manual...
  • Page 137 Technical Diagrams C.2.3 Piggyback Stack Figure C-6 Piggyback Stack Appendix C Technical Diagrams C-7...
  • Page 138 Data Formats and I/O Ranges...
  • Page 139: Appendix D Data Formats And I/O Ranges

    ±5 V range. When the engineering unit format is used, the ADAM Series analog input modules are configured so that they automatically provide an over-range capability. The response to the Analog Data In command in this case is: +5.6530 (cr) D-2 ADAM 4100 Series User’s Manual...
  • Page 140 Appendix D D.1.2 Percent of FSR This mode is used by setting bits 0 and 1 of the data format/checksum /integration time parameter to 01. The format used in Percent of FSR consists of a plus (+) or minus (-) sign followed by five decimal digits including a decimal point.
  • Page 141 Thermocouple Temperature Range Temperature Range Type (Degrees) (Hex) 0° C to 760° C 0000h - 7FFFh -100° C to 400° C E000h - 7FFFh 500° C to 1750° C 2492h - 7FFFh D-4 ADAM 4100 Series User’s Manual...
  • Page 142 RS-485 Network...
  • Page 144 Commands normally contain the address of the module that the host wants to communicate with. The module will respond back to the host once a match is occurred between the module and the command. E-2 ADAM 4100 Series User’s Manual...
  • Page 145: Appendix E Rs-485 Network

    Appendix E E.1 Basic Network Layout Multi-drop RS-485 implies that there are two main wires in a segment. The connected modules are connected by the so called drop cables, and all the connections are in parallel. As a result, connecting or disconnecting of a node doesn’t affect the network as a whole.
  • Page 146 Figure E-2 Star structure Random This is a combination of daisychain and hierarchical structure Figure E-3 Random structure E-4 ADAM 4100 Series User’s Manual...
  • Page 147: Line Termination

    Appendix E E. 2 Line Termination Whenever the cable is long or the modules are different in the network, signal reflections are very likely to occur. As a result, the quality of the signals will be affected, and the signals will be distorted. In order to eliminate this problem, a resistor should be implemented at the beginning and the end of the cable.
  • Page 148 NOTICE: The recommended wiring method that causes a minimum amount of reflection is daisy chaining where all receivers tap from one transmission line and needs to be terminated only twice. E-6 ADAM 4100 Series User’s Manual...
  • Page 149: Data Flow Control

    Appendix E E.3 RS-485 Data Flow Control The RS-485 standard uses a single pair wire to send and receive data. However, some controls to the direction of the data flow are required. RTS (Request to Sent) and CTS (Clear to Sent) are the most commonly used methods.
  • Page 150 How to use the Checksum feature...
  • Page 151: Appendix F How To Use The Checksum Feature

    ASCII values for the following characters: #, 0, and 5. The response checksum (9Dh) is the sum of the ASCII values for the following characters: “>”, “+”, “3”, “.”, “5”, “6”, “7”, and “1”. F-2 ADAM 4100 Series User’s Manual...
  • Page 152 Appendix F 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) $07RH(cr) Command: !07+2.0500(cr) when the command is valid. Response: Case 2. (If the Checksum feature is enabled) $07RH25(cr) Command: !07+2.0500D8(cr)
  • Page 153 How to use the Checksum feature Table F-1 Printable ASCII Characters HEX ASCII ASCII HEX ASCII HEX ASCII "" & < > F-4 ADAM 4100 Series User’s Manual...
  • Page 154 Changing Configuration to Modbus Protocol...
  • Page 155: Appendix G Changing Configuration To Modbus Protocol

    To access the module, click on the module icon in the utility. Update the settings by pressing the “Update” button. Power off the module. Turn the switch back to NORMAL* position. The module is now ready to be placed in the Modbus network. G-2 ADAM 4100 Series User’s Manual...

Table of Contents