background image

ADAM 4100

 

 

Industrial Grade Data Acquisition Modules

 

User's Manual

 

Summary of Contents for ADAM 4100

Page 1: ...ADAM 4100 Industrial Grade Data Acquisition Modules User s Manual ...

Page 2: ...ntal specifications Therefore in order to protect the ADAM modules from being damaged by ESD Electric Static Discharge we strongly recommend that the use of CE compliant industrial enclosure products when using any ADAM module FCC Class A This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to...

Page 3: ...cation of ADAM 4100 I O series 3 2 3 2 ADAM 4117 8 channel Analog Input Module 3 3 3 3 ADAM 4118 8 channel Thermocouple Input Module 3 6 3 4 ADAM 4150 Digital I O Module 3 10 3 5 ADAM 4168 Relay Output Module 3 14 Chapter 4 Command Set 4 1 4 1 Introduction 4 2 4 2 Syntax 4 2 4 3 Analog I O Module Commands Search Table 4 4 4 4 Analog I O Module Command set 4 6 4 5 Digital I O Module Commands Search...

Page 4: ...M 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 C 2 Installation C 3 Appendix D Data Formats and I O Ranges D 1 D 1 Analog Input Formats D 2 Appendix E RS 485 Network E 1 E 1 Basic Network Layout E 3 E 2 Line Termination E 5 E 3 RS 485 Data Flow Control E 7 Appendix F How to use the Checksum feature F 1 F 1 Ch...

Page 5: ...Introduction 1 ...

Page 6: ...ies can support broad Operating Temperature range from 400 C to 850 C High Noise Immunity In order to get over the noise resulted from special environmental the ADAM 4100 provide the more protection to counteract these effects like as 1KV Surge Input 3KV EFT and 8KV ESD Protection Broad power input range The ADAM 4100 series modules accept any unregulated power source between 10 and 48 VDC They ar...

Page 7: ...munication watchdog Dual Communication Protocol Support To satisfy both current ADAM users and Modbus users these ADAM 4100 Modules support both the ADAM protocol and Modbus RTU protocol You can select the communication mode you want through the Windows Utility Software If users apply the ADAM protocol the ASCII command response will remain the same as usual In RTU mode data is sent as two four bi...

Page 8: ...n 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: ...Installation Guideline 2 ...

Page 10: ... compatible that can output ASCII characters with a RS 232C or RS 485 port Power supply for the ADAM modules 10 to 48 VDC ADAM Series Utility software ADAM Isolated RS 232 RS 485 Converter optional ADAM Repeater optional 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 ...

Page 11: ...tage Figure 2 1 Power Supply Connections We advise the following standard colors as indicated on the modules for each power line Vs R Red GND B Black Communication Wiring We recommend the use of shielded twisted pair cable in the ADAM network for reducing interference purpose but the cable has to comply with the EIA RS 485 standard Furthermore only one set of twisted pair cable is required for tra...

Page 12: ...rter optional When the host computer or terminal only has a RS 232 port an ADAM Isolated RS 232 RS 485 Converter is required Since this module is not addressable by the host the baud rate must be reset using a switch inside the module The factory default setting is 9600 baud ADAM Repeater optional When communication lines exceed 4000 ft 1200 meter or more than 32 ADAM modules are connected a repea...

Page 13: ...sic hook up for module configuration is shown below Figure 2 2 Basic Hook up of ADAM Module to Host Switches The following items are required to configure a module an ADAM converter module a personal computer with RS 232 port baud rate set to 9600 and the ADAM utility software Grounding Protection Grounding is one of the most important issues for our system Just like Frame Ground of the computer t...

Page 14: ...vidual grounding bars not only provide the individual reference point but also make the earth a ground ADAM 4100 series allow choosing the ground setting User can use right side ground scrap to connect Following picture is illustration Configuration with the ADAM Utility Software The easiest way to configure the ADAM module is by using the ADAM utility software It is a user friendly structured men...

Page 15: ...calibration constants The EEPROM replaces the conventional array of switches and pots that are originally used for specifying baud rate input and output range etc Since there is no visual indication of a module s configuration status it is impossible to know the baud rate address and other settings just by looking at it It might not be possible to establish communications with a module whose baud ...

Page 16: ...u must perform the following steps Power on all components except the ADAM Module Power the ADAM module on while turning the switch to initial as following See Figure 2 3 Figure 2 3 Initial mode Wait at least 7 seconds to let self calibration and ranging take effect Configure the checksum status and or the baud rate Switch the power OFF to the ADAM Module Turn the switch to Normal and power the mo...

Page 17: ...Chapter 2 installation Guideline 2 9 Chapter 2 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 ...

Page 18: ...ogram written in Visual Basic 6 0 that demonstrates how to get temperature reading which is stored in the address of 01H from ADAM 4117 module 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 ...

Page 19: ...Chapter 2 installation Guideline 2 11 Chapter 2 Step 3 Select Microsoft Comm Control Step 4 Add the Comm Control on the form ...

Page 20: ...2 12 ADAM 4100 Series User s Manual 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 ...

Page 21: ...13 Chapter 2 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 ...

Page 22: ...OSE Button and type in the following codes The source codes are listed at the end of this section 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 ...

Page 23: ...t is used MSComm1 InputLen 0 Open the port MSComm1 PortOpen True End Sub SEND Command Button Private Sub Command2_Click Send Get AI command to ADAM 4011 Module at address 01H MSComm1 Output 01 Chr 13 Wait for data to come back to the serial port Do DoEvents Buffer Buffer MSComm1 Input Loop Until InStr Buffer vbCr Read the response till the carriage return character Text1 Text Buffer Display the re...

Page 24: ...I O Modules 3 ...

Page 25: ......

Page 26: ...top bit parity check none odd even Up to 256 multi drop modules per serial port Online module insertion and removal Transient suppression on RS 485 communication lines Reset default setting Power and communication LED indicators Environmental Operating Temperature 40 85 C 40 185 F EMI Meets FCC Class A and CE Storage Temperature 40 85 C 40 185 F Humidity 5 95 non condensing EFT 3kV ESD 8KV Power R...

Page 27: ...e 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 but also hold a more robust design The detailed specification and enhancements are described as the following ADAM 4117 Figure 3 1 ADAM 4117 8 channel Analog Input Module ...

Page 28: ...0mV 0 500mV 0 1V 0 5V 0 10V 0 15V 150 mV 500 mV 1V 5 V 10 V 15V 0 20mA 20 mA 4 20mA Isolation Voltage 3000 VDC Fault and Over voltage Protection up to 60V Sampling Rate 10 100 samples sec selected by Utility Input Impedance 20 MΩ Accuracy Voltage mode 0 1 or better Current mode 0 2 or better Zero Drift 6µV C Span Drift 25 ppm C CMR 50 60 Hz 92 dB min Built in Dual Watchdog Timer Built in TVS ESD P...

Page 29: ...Chapter 3 I O Modules 3 5 I O Modules There is a resister built into ADAM 4117 for the current input mode Figure 3 3 ADAM 4117 wiring application ...

Page 30: ...able input ranges on all channels It accepts various Thermocouple inputs Type J K T E R S B and provides data to the host computer in engineering units o C In order to 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 ...

Page 31: ...o C B 500 1800 o C Voltage mode 15mV 50mV 100mV 500mV 1V 2 5V Current mode 20 mA 4 20 mA Isolation Voltage 3000 VDC Fault and Over voltage Protection up to 60V Sampling Rate 100 samples sec Max Input Impedance 20 MΩ Accuracy of voltage mode 0 1 or better Accuracy of Current mode and high speed mode 0 2 or better Zero Drift 6µV C Span Drift 25 ppm C CMR 50 60 Hz 92 dB min Built in Dual Watchdog Tim...

Page 32: ...3 8 ADAM 4100 Series User s Manual Chapter 3 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 ...

Page 33: ...8 Input Range Accuracy for Thermocouple is showed as below ADAM 4118 Input Range Accuracy for Thermocouple Input Range Typical Accuracy Maximum Error Units J thermocouple 0 to 760 C 1 0 1 5 C K thermocouple 0 to 1370 C 1 0 1 5 C T thermocouple 100 to 400 C 1 0 1 5 C E thermocouple 0 to 1000 C 1 0 1 5 C R thermocouple 500 to 1750 C 1 2 2 5 C S thermocouple 500 to 1750 C 1 2 2 5 C B thermocouple 500...

Page 34: ...trolling heaters pumps and power equipment The host computer can use the module s digital inputs to determine the limit status or safety switches or remote digital signals Furthermore these DI channels can be used as 3 KHz counter Aside from its intelligent DI functions the Digital Output channels also support 1 KHz pulse output function Here is the meaning of LED color for Status and Comm Situati...

Page 35: ...tal Output Open drain to 40 V 0 8A max Maximum power dissipation 1 W load Ron Maximum 150m ohm Support 1 KHz pulse output Support communication fail safety value Power Consumption 0 4W Typical 0 7W Max Built in Dual Watchdog Timer Notice 1 Digital Filter Function is working on Counter mode and it can set the minimum width of low and high signal to filter unwanted noise 2 Communication fail safety ...

Page 36: ...3 12 ADAM 4100 Series User s Manual Chapter 3 Application Wiring Internal External Figure 3 8 TTL Digital Input ADAM 4150 Internal External Figure 3 9 Contact Closure Input ADAM 4150 ...

Page 37: ...Chapter 3 I O Modules 3 13 I O Modules Figure 3 10 Digital Output used with SSR ADAM 4150 ...

Page 38: ...des eight form A channels and supports contact ratings AC 125V at 0 6A and DC30V 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 ...

Page 39: ...10V 0 6A Breakdown Voltage 750 VAC 50 60 Hz Insulation Resistance 1000MΩ minimum 500VDC Power Consumption 0 4W typical 1 8W Max Relay response Time typical ON 3 ms Off 1 ms Total switching time 10 ms Support 100 Hz pulse output Support communication fail safety value Built in Dual Watchdog Timer Figure 3 12 Form A relay output ADAM 4168 ...

Page 40: ...Command Set 4 ...

Page 41: ......

Page 42: ...rform all stages of auto calibration which is also performed during the start up When the calibration process is underway the module does not respond to any other commands The command set in the following pages includes the exact delays that might occur as modules are reconfigured 4 2 Syntax delimiter character address command data checksum carriage return Every command begins with a delimiter cha...

Page 43: ...ule commands Digital I O Relay Output and Counter Frequency Module commands Each Category starts with a command summary of a particular type of module Although commands in different subsections sometimes share the same format the effect they have on a certain module can be completely different from others For example the configuration command AANNTTCCFF affects analog input modules and analog outp...

Page 44: ... the analog input module to correct for offset errors 4 4 5 AA2 Return the configuration parameters 4 4 6 AA5VV Enables disables multiplexing simultaneously 4 4 7 AA6 Read the status Enable disable of all Channels for Multiplexing 4 4 8 AAF Return the firmware version code 4 4 9 AAM Return the module name 4 4 10 AA7CiRrr Input range setting individually 4 4 11 AA8Ci Get the input range of the assi...

Page 45: ... the configuration parameters 4 4 6 AA5VV Enables disables multiplexing simultaneously 4 4 7 AA6 Read the status Enable disable of all Channels for Multiplexing 4 4 8 AAF Return the firmware version code 4 4 9 AAM Return the module name 4 4 10 AA7CiRrr Input range setting individually 4 4 11 AA8Ci Get the input range of the assignment channel 4 4 12 AAXnnnn Set communication WDT value 4 4 13 AAY G...

Page 46: ...xadecimal address of the analog input module you want to configure NN represents the new hexadecimal address of the analog input module Range is from 00h to FFh TT represents 00 CC represents the baud rate code FF is a hexadecimal number that equals the 8 bit parameter representing the data format checksum status and integration time The layout of the 8 bit parameter is shown in figure 4 1 Bits 2 ...

Page 47: ...response 24 cr The ADAM 4011 module is configured to have address 23h to a new address of 24h an input range 2 5 V baud rate 9600 and integration time 50 ms 60 Hz engineering unit s data format and no checksum checking or generation The response indicates that the command was received Wait for 7 seconds to let the new configuration settings take effect before issuing a new command to the module NO...

Page 48: ... 4B 0 500 mV 4C 0 150 mV 4D 0 20 mA 55 0 15 V ADAM 4118 Input Range Code Hex Input Range 00 15 mV 01 50 mV 02 100 mV 03 500 mV 04 1 V 05 2 5 V 06 20 mA 07 4 20 mA 0E Type J Thermocouple 00 to 7600 C 0F Type K Thermocouple 00 to 13700 C 10 Type T Thermocouple 1000 to 4000 C 11 Type E Thermocouple 00 to 10000 C 12 Type R Thermocouple 5000 to 17500 C 13 Type S Thermocouple 5000 to 17500 C 14 Type B T...

Page 49: ...apter 4 Command Set 4 9 Chapter 4 Table 4 2 Baud Rate Codes Baud Rate Code hex Baud Rate 03 1200 bps 04 2400 bps 05 4800 bps 06 9600 bps 07 19 2 kbps 08 38 4 kbps 09 57 6 kbps 0A 115 2 kbps 0B 230 4 kbps ...

Page 50: ...ge from 0 to 7 cr is the terminating character carriage return 0Dh Response data cr There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character data is the input value of the channel number N Data consists of a or sign followed by five decimal digits with a fixed decimal point cr is the terminating character ca...

Page 51: ......

Page 52: ...e in the configured data format of the module For data formats please see Appendix B cr is the terminating character carriage return 0Dh Example command 33 cr response 5 8222 cr The command accesses the analog input module at address 33h for its input value The analog input module responds with 5 8222 volts The configured data format of the analog input module in this case is engineering units Exa...

Page 53: ...les however it depends on the configured data format and input value which may falls under or exceeds the configured range An input out of bounds warning occurs only when modules are configured for Thermocouple Furthermore the current and voltage measurement will return to the actual measured input if the readings fall outside of the configured range In the next example the target module is config...

Page 54: ...if the specified address does not exist is adelimiter character indicating that a valid command was received is adelimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module cr represents terminating character carriage return 0Dh In order to successfully calibrate an analog input module s input range a proper c...

Page 55: ... or even if the specified address does not exist is adelimiter character indicating that a valid command was received is adelimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module cr represents terminating character carriage return 0Dh In order to successfully calibrate an analog input module s input range a...

Page 56: ...le detects a syntax or communication error or even if the specified address does not exist is adelimiter character indicating that a valid command was received is adelimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of an analog input module TT represents the type of code that determines the input range CC represents the baud ra...

Page 57: ...log 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: ...channel is disabled value 1 means the channel is enabled cr is the terminating character carriage return 0Dh Response AA cr if the command is valid AA cr if an invalidoperation was entered There is no response if the module detects a syntax or communication error or even if the specified address does not exist is adelimiter character indicating that a valid command was received is adelimiter chara...

Page 59: ...not exist is adelimiter character indicating that a valid command was received is adelimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of an analog input module VV are two hexadecimal values which are interpreted as two binary words 4 bit The first word represents the status of channel 4 7 and the second word represents the stat...

Page 60: ...dentifies the version command cr is the terminating character carriage return ODh Response AA Version cr if the command is valid There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received AA range 00 FF represents the 2 character hexadecimal address of an analog inp...

Page 61: ...ule Name command cr is the terminating character carriage return ODh Response AA Module Name cr if the command is valid There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received AA range 00 FF represents the 2 character hexadecimal address of an analog input module...

Page 62: ...Table 4 1 to check range code cr is the terminating character carriage return 0Dh Response AA cr if the command was valid AA cr if an invalid operation was entered There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character indicating that th...

Page 63: ...alid 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 is a delimiter character indicating that a valid command was received is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module Ci represents the specifi...

Page 64: ...f the command was valid AA cr if an invalid operation was entered There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog ...

Page 65: ...f an invalid operation was entered There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module nnnn range 0000 99...

Page 66: ...d was valid AA cr if an invalid operation was entered There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module...

Page 67: ...hannel is disabled value 1 means the channel is enabled cr is the terminating character carriage return 0Dh Response AA cr if the command was valid AA cr if an invalid operation was entered There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter ch...

Page 68: ... error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module mm are the two hexadecimal values which are interpreted as two binary words 4 bit The first word represents the status of...

Page 69: ...arriage return 0Dh Response AA cr if the command was valid AA cr if an invalid operation was entered There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character...

Page 70: ...tax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of an analog input module data is the value that is retrieved by the module by reading its CJC sensor The data format in degrees...

Page 71: ...nse AA cr if the command is valid AA cr if an invalid command was issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is adelimiter character indicating that a valid command was received is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of an an...

Page 72: ...ied values to either a single channel or all channels simultaneously 4 6 4 AAF Return the firmware version code 4 4 9 AAM Return the module name 4 4 10 AAX0TTTTDD Write Safety value 4 6 5 AAX1 Read safety value 4 6 6 AAX2 Read safety flag 4 6 7 AACIIIIIIIIIIIIOOOOOOOOO OOOOOOO Set DI O status 4 6 8 AAC Read DI O Status 4 6 9 AACICjII Set DI Status 4 6 10 AACICj Read DI Status 4 6 11 AACOCjOO Set D...

Page 73: ...uency 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 AACACj cr Clear Latch Alarm 4 6 21 AA5NS cr Start Stop counter 4 6 22 AA5N cr Read Counter Start Stop status 4 6 23 AA6N cr Clear counter 4 6 24 AAFQm Locate the module 4 4 18 ...

Page 74: ...nnel or all channels simultaneously 4 6 4 AAF Return the firmware version code 4 4 9 AAM Return the module name 4 4 10 AAX0TTTTDD Write Safety value 4 6 5 AAX1 Read safety value 4 6 6 AAX2 Read safety flag 4 6 7 AACIIIIIIIIIIIIOOOOOOOOO OOOOOOO Set DI O status 4 6 8 AAC Read DI O Status 4 6 9 AACOCjOO Set DO Status 4 6 12 AACOCj Read DO Status 4 6 13 AA9n lw hw ld hd Set pulse output input width 4...

Page 75: ...ess of the digital I O module which range from 00h to FFh TT represents the type of code which is always set to 40 for digital I O modules CC represents the baud rate code Please see next page Table 4 3 FF is a hexadecimal number that equals to an 8 bit parameter that represents the checksum status and protocol Bits 3 through 5 and bit 0 1 7 are not used and are being set to 0 Please see Figure 4 ...

Page 76: ...ange 00 FF represents the 2 character hexadecimal address of a digital I O module cr is the terminating character carriage return 0Dh Example command 2324400600 cr response 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 B...

Page 77: ...ere is no response if the module detects a syntax or communication error or even if the specified address does not exist is adelimiter character indicating that a valid command was received is adelimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of a digital I O module TT represents the type of code which is always 40 CC represe...

Page 78: ...ample command 452 cr response 45400600 cr 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 ...

Page 79: ... 4150 dataOutput 0000 cr if the command was valid ADAM 4168 AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is adelimiter character indicating that a valid command was received is adelimiter character indicating that the command was invalid AA range 00 FF represents the responding...

Page 80: ...is for ADAM 4150 The first two characters of the response value 11h 00010001 indicate that digital output channels 0 and 4 are both ON and channels 1 2 3 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 ...

Page 81: ...zero BB 00 2 Writing to a single channel write a bit First character is 1 and the second character indicates channel number which can range from 0 to B data is the hexadecimal representation of the digital output value s These two characters are for ADAM 4150 and 4168 For writing to a single channel bit the first character is always 0 The value of thesecond character is either 0 or 1 For writing t...

Page 82: ...iter character indicating that the command was invalid AA range 00 FF represents the responding 2 character hexadecimal address of the digital I O module cr is the terminating character carriage return 0Dh Examples command 140005 cr response cr An output byte with value 05h 00000101 is sent to address 14h Its channels 0 and 2 will be set to ON Other channels are set to OFF command 151201 cr respon...

Page 83: ... the desired input safety value For Example 7A The meaning of 7A is as follows Adam 4117 channel no 7 6 5 4 3 2 1 0 Digital value 0 1 1 1 1 0 1 0 7A means that the status of channels 1 3 4 5 6 are ON and the rest are OFF cr is the terminating character carriage return 0Dh Response cr if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a s...

Page 84: ...nd Response TTTTDD cr if the command is valid DD is the two hexadecimal character representing the desired input safety value For Example 7A The meaning of 7A is as follows Adam 4117 channel no 7 6 5 4 3 2 1 0 Digital value 0 1 1 1 1 0 1 0 7A means channel 1 3 4 5 6 are ON and the rest are OFF AA cr if an invalid command has been issued is a delimiter character indicating that a valid command was ...

Page 85: ...iter character AA range 00 FF represents the 2 character hexadecimal address which is to be accessed X0 is the read safety flag command Response XX cr if the command is valid XX is two hexadecimal character 00 OFF 01 ON 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 c...

Page 86: ... character AA range 00 FF represents the 2 character hexadecimal address which is to be accessed C is the set read the DI O status command IIIIIIIIIIIIII is to set the 7 DI channels every two I characters means one channel OOOOOOOOOOOOOOOO is to set the 8 DO 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 t...

Page 87: ...dicating that the command was invalid AA range 00 FF represents the responding 2 character hexadecimal address of the digital I O module Example command 02C00210440000000020000000000010203 cr response cr The DI O channels are set as the following at address 2 II character mode 0 00 DI Mode 1 21 Counter mode and enable counter record 2 04 Frequency Mode 3 40 Enable Digital Filter 4 00 DI Mode 5 00 ...

Page 88: ...module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that valid command was received IIIIIIIIIIIIIIOOOOOOOOOOOOOOOO is defined as te same AACIIIIIIIIIIIIIIOOOOOOOOOOOOOOOO is a delimiter character indicating that the command was invalid AA range 00 FF represents the responding 2 character hexadecimal address of the digit...

Page 89: ...j II is the two characters to set the DI mode cr is the terminating character carriage return 0Dh Response cr if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character ind...

Page 90: ...Command Set 4 50 ADAM 4100 Series User s Manual continue AACICjII Example command 02CIC202 cr response cr The channel 2 is set from Low to High latch mode ...

Page 91: ...character carriage return 0Dh Response AAII if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received II is defined as the same AACICjII is a delimiter character indicating that the command was in...

Page 92: ... Mode OO 02 L H Delay Mode OO 03 H L Delay Mode cr is the terminating character carriage return 0Dh Response cr if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received is a delimiter character i...

Page 93: ...character carriage return 0Dh Response AAOO if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received OO is defined as the same AACOCjOO is a delimiter character indicating that the command was in...

Page 94: ...nit 0 1ms Digital Filter Function is working on Counter mode and it can set the minimum width of low and high signal to filter unwanted noise cr is the terminating character carriage return 0Dh Response AA cr if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist...

Page 95: ...ommand was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received LLLLLLLL is the low level time and its range is 0x0 0xffffffff HHHHHHHH is the high level time and its range is 0x0 0xffffffff Unit 0 1ms is a del...

Page 96: ...8 hexadicimal chrs Low Delay 0x0 0xffffffff hd 8 hexadicimal chrs High Delay 0x0 0xffffffff Unit 0 1ms cr is the terminating character carriage return 0Dh Response AA cr if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating th...

Page 97: ...id command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received lw 8 hexadicimal chrs Low Width 0x0 0xffffffff hw 8 hexadicimal chrs High Width 0x0 0xffffffff ld 8 hexadicimal chrs Low Delay 0x0 0xffffffff hd 8 hexadicimal chrs High Delay 0x0 0...

Page 98: ...ere is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that the command was invalid AA range 00 FF represents the 2 character hexadecimal address of a counter frequency input module data is the value that is retrieved by the module by module reading counter The data format consists of eight hexade...

Page 99: ... output value When it is set to 0 it will operate as continuous pulse output cr is the terminating character carriage return 0Dh Response AA if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was receiv...

Page 100: ...AAmvvvvvvvv if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was received m 0 means non continue mode 1 means continue mode vvvvvvvv 8 hex character pulse output value When it is set to 0 it will oper...

Page 101: ...sponse AA cr if the command was valid AA cr if an invalid command has been issued There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that a valid command was valid AA represents the 2 character hexadecimal address of the responding counter module cr represents terminating character carriage ...

Page 102: ...status S 0 stops counting S 1 starts counting cr is the terminating character carriage return 0Dh Response AA cr if the command is valid There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that the command was valid AA range 00 FF represents the 2 character hexadecimal address of a counter in...

Page 103: ...rn 0Dh Response AAS cr if the command is valid There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that the command was valid AA range 00 FF represents the 2 character hexadecimal address of a counter input module S represents the counter status S 0 indicates counting S 1 indicates not counti...

Page 104: ...the terminating character carriage return 0Dh Response AA cr if the command is valid There is no response if the module detects a syntax or communication error or even if the specified address does not exist is a delimiter character indicating that the command was valid AA range 00 FF represents the 2 character hexadecimal address of a counter input module cr is the terminating character carriage ...

Page 105: ...Calibration 5 ...

Page 106: ...tion at boot up or reset 5 1 Analog Input Module Calibration Models ADAM 4117 4118 1 Apply power to the module and let it warm up for about 30 minutes 2 Assure that the module is correctly installed and is properly configured for the input range that you want to calibrate You can do this by using the ADAM utility software Please refer to Appendix A Utility Software 3 Use a precise voltage source t...

Page 107: ...Figure 5 2 a Span Calibration 6 For ADAM 4118 only execute the CJC cold junction compensation sensor which calibration command This is also done through the ADAM utility software User can use CJC offset to adjust the exact temperature For example the input signal is 24 degree But the reading is 23 8 degree We can set the CJC offset is 0 2 degree to compensate Figure 5 3 a Cold Junction Calibration...

Page 108: ...t calibration if user find or doubt the standard shift 3 If user wants to conduct calibration by themselves please use the high precision instruments to be a calibrating source and follow up process the Zero Span and CJC calibration in sequence Input Range Typical Accuracy Maximum Error Units J thermocouple 0 to 760 C 1 0 1 5 C K thermocouple 0 to 1370 C 1 0 1 5 C T thermocouple 100 to 400 C 1 0 1...

Page 109: ...5 4 ADAM 4100 Series User s Manual ...

Page 110: ...Utility Software A ...

Page 111: ......

Page 112: ...Terminal emulation The following text will give you a brief instruction on how to use the program A 1 Utility overview Search the installed modules The main screen consists of a menu bar at the top and a status field which displays information about the connected modules When the modules are well connected you may start the program and search for the modules by clicking the search icon as below Pl...

Page 113: ...4117 module Figure A 2 Configuration Screen There are three major areas on the status field General Setting calibration Area and Channels setting You may change the settings by selecting the preferred items Then click on the Update button The Checksum and Baud rate options need special attention since they can only be changed when an ADAM module is in the initial state After you have made all the ...

Page 114: ...e commands on the RS 485 line directly you can use the Terminal function under Tools as shown below 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 ...

Page 115: ...Appendix A Utility Software A 5 Utility Software Notice User can refer our help file to see more details for explanation of Utility operation ...

Page 116: ...ir Center for updating firmware if it is necessary Now user can use the new capabilityfor followingdesign and update 1 They can only be implemented when an ADAM module is in the 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 Fi...

Page 117: ...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 Once the download is successful user can click on the button Switch to Normal for switching to normal mode Figure A 8 Firmware update Function d ...

Page 118: ...ettings Address 0 with data format 9600 N 8 1 Note If you need to change between Initial and Normal modes the module needs to be reset before the changes will take effect Address mode For address mode turn the switch directly from normal to initial mode without any power reset The module will use the user defined settings during operation and the LEDs will show the node ID as the following diagram...

Page 119: ...e 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 1 2 100 Hz When system finds this base the 100Hz will be filtered 1 3 Auto Filter When we set a fixed voltage for example it is 5V Maybe we can find a base which is 10Hz and filter it But if we cannot find it it will display 16Hz 2 Software Filter to ig...

Page 120: ...2 4 Conclusion is the difference between V1 T1 and V2 T2 is 0 7 0 2 0 5V 0 4V so signal V2 will be ignored If you want to locate specific ADAM 4100 series the configuration utility provides a Locate function to assist you When you select a specific device the LED that represents Status will be flashing for 8 minutes If the Locate button is clicked the Status LED will stay on If the UnLocate is cli...

Page 121: ...ADAM 4100 I O Modbus Mapping Table B ...

Page 122: ...ndix B The model list of ADAM 4100 I O series support Modbus protocol Model Description 1 ADAM 4117 8 channel Analog Input Module 2 ADAM 4118 8 channel Thermocouple Input Module 3 ADAM 4150 Digital I O Module 4 ADAM 4168 Relay Output Module ...

Page 123: ...001 0 Current Value R 40002 1 Current Value R 40003 2 Current Value R 40004 3 Current Value R 40005 4 Current Value R 40006 5 Current Value R 40007 6 Current Value R 40008 7 Current Value R 40201 0 Type Code R W 40202 1 Type Code R W 40203 2 Type Code R W 40204 3 Type Code R W 40205 4 Type Code R W 40206 5 Type Code R W 40207 6 Type Code R W 40208 7 Type Code R W 40211 Module Name 1 R 0x41 0x17 40...

Page 124: ...lue R 40002 1 Current Value R 40003 2 Current Value R 40004 3 Current Value R 40005 4 Current Value R 40006 5 Current Value R 40007 6 Current Value R 40008 7 Current Value R 40201 0 Type Code R W 40202 1 Type Code R W 40203 2 Type Code R W 40204 3 Type Code R W 40205 4 Type Code R W 40206 5 Type Code R W 40207 6 Type Code R W 40208 7 Type Code R W 40211 Module Name 1 R 0x41 0x18 40212 Module Name ...

Page 125: ...Signal W 00020 3 DO Signal W 00021 4 DO Signal W 00022 5 DO Signal W 00023 6 DO Signal W 00024 7 DO Signal W 00033 0 Counter Mode START 1 STOP 0 R W 00034 0 Counter Mode Clear Counter 1 R W 00035 0 Counter Mode Clear Overflow R W 00036 0 Counter Mode Latch Status read Clear Status Write R W 00037 1 Counter Mode START 1 STOP 0 R W 00038 1 Counter Mode Clear Counter 1 R W 00039 1 Counter Mode Clear ...

Page 126: ...Counter Mode START 1 STOP 0 R W 00050 4 Counter Mode Clear Counter 1 R W 00051 4 Counter Mode Clear Overflow R W 00052 4 Counter Mode Latch Status read Clear Status Write R W 00053 5 Counter Mode START 1 STOP 0 R W 00054 5 Counter Mode Clear Counter 1 R W 00055 5 Counter Mode Clear Overflow R W 00056 5 Counter Mode Latch Status read Clear Status Write R W 00057 6 Counter Mode START 1 STOP 0 R W 00...

Page 127: ...ut Mode Continue 1 Non Continue 0 R 00063 2 Pulse output Mode Continue 1 Non Continue 0 R 00064 3 Pulse output Mode Continue 1 Non Continue 0 R 00065 4 Pulse output Mode Continue 1 Non Continue 0 R 00066 5 Pulse output Mode Continue 1 Non Continue 0 R 00067 6 Pulse output Mode Continue 1 Non Continue 0 R 00068 7 Pulse output Mode Continue 1 Non Continue 0 R ...

Page 128: ...094 40107 0 6 DI filter Low width R W 40108 40121 0 6 DI filter High width R W 40122 40137 0 7 DO Low Delay width R W 40138 40155 0 7 DO High Delay width R W 40211 Module Name 1 R 0x41 0x50 40212 Module Name 2 R 0x00 0x00 40213 Versoin 1 R 0xa2 0x00 40214 Versoin 2 R 0xB0 0x01 40215 Comm Safety Enable R Enable 0x00 0x01 40216 Comm Safety Flag R Occur 0x00 0x01 40301 DI data in word R 40302 Reserve...

Page 129: ... 5 Relay Output Value R W 00023 6 Relay Output Value R W 00024 7 Relay Output Value R W 00033 0 Pulse output Mode Continue 1 Non Continue 0 R 00034 1 Pulse output Mode Continue 1 Non Continue 0 R 00035 2 Pulse output Mode Continue 1 Non Continue 0 R 00036 3 Pulse output Mode Continue 1 Non Continue 0 R 00037 4 Pulse output Mode Continue 1 Non Continue 0 R 00038 5 Pulse output Mode Continue 1 Non C...

Page 130: ...033 40048 0 7 Set Absolute pulse Set to 0 Continue mode 8 Channel 32Bits R W Enable 0x00 0x01 40049 40064 0 7 Set Incremental pulse 8 Channel 32Bits R W Occur 0x00 0x01 40065 40072 0 7 DO mode R W 40073 40088 0 7 DO Low Delay width R W 40089 40104 0 7 DO High Delay width R W 40211 Module Name 1 R 40212 Module Name 2 R 40213 Version 1 R 40214 Version 2 R 40215 Comm Safety Enable R 40216 Comm Safety...

Page 131: ...Technical Diagrams C ...

Page 132: ...C 2 ADAM 4100 Series User s Manual Appendix C C 1 ADAM Dimensions Figure C 1 ADAM Modules Dimensions ...

Page 133: ...Appendix C Technical Diagrams C 3 Technical Diagrams C 2 Installation C 2 1 DIN Rail Mounting Figure C 2 DIN Rail Adapter ...

Page 134: ...C 4 ADAM 4100 Series User s Manual Appendix C Figure C 3 DIN Rail Mounting ...

Page 135: ...Appendix C Technical Diagrams C 5 Technical Diagrams C 2 2 Panel Mounting Figure C 4 Panel Mounting Bracket Dimensions ...

Page 136: ...C 6 ADAM 4100 Series User s Manual Appendix C Figure C 5 Panel Mounting ...

Page 137: ...Appendix C Technical Diagrams C 7 Technical Diagrams C 2 3 Piggyback Stack Figure C 6 Piggyback Stack ...

Page 138: ...Data Formats and I O Ranges D ...

Page 139: ...o a plus or minus sign followed by five decimal digits and a decimal point The input range which is employed determines the resolution or the number of decimal places used as illustrated in the following examples 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 va...

Page 140: ...2 5o C and a type E thermocouple 0o C to 1000o C is configured in the analog input module The response to the Analog Data In command is 065 25 cr The result shows that the value of the input 652 5o C is 65 25 of the full scale range 1000o C Thermocouple input ranges are always assumed to be bipolar with zero being the point of symmetry This holds true regardless of the specified range of operation...

Page 141: ...data format checksum integration time parameter must be set to 10 This format displays data in the form of a 4 character hexadecimal string This string represents a 16 bit twos complement binary value Positive full scale is denoted as 7FFF 32 767 while negative full scale is represented by the value 8000 32 768 Example The input value is 1 234 V An analog input module is configured for a 5 V range...

Page 142: ...RS 485 Network E ...

Page 143: ......

Page 144: ...receive Since the nodes are connected in parallel they can be disconnected from the host without affecting the performance of the remaining nodes For industrial use shielded twisted pair is preferred due to the high noise ratio of the environment When nodes communicate through the network no conflicts during the transmission will occur since only a simple command response sequence is used There is...

Page 145: ... The last module of a segment is a repeater and it is directly connected to the main wires Therefore it acts as a medium which repeats the signals between two segments However there is a limitation towards this topology It can only sustain up to 32 addressable modules If more modules per segment are used the IC driver current will rapidly decrease which may cause communication errors Furthermore t...

Page 146: ...nnected after it A tree structure is formed as the result However this scheme is not recommended when long lines are implemented since it will cause a serious amount of signal distortion due to a signal reflection at each end of the lines Random Figure E 2 Star structure This is a combination of daisychain and hierarchical structure Figure E 3 Random structure ...

Page 147: ...the resistor should be as close as possible to the characteristic impedance of the line Although the receiving devices will add some resistance to the transmission line having the resistor impedance equals to the characteristic impedance of the line should be sufficient enough Example Each input of the receivers has a nominal input impedance of 18 kW feeding into a diode transistor resistor biasin...

Page 148: ...ive parallel receiver resistance RP will therefore be equal to RP 36 x 10 30 1200 W While the termination receiptor RT will equal RT RO 1 RO RP Thus for a line with a characteristic impedance of 100 resistor the termination resistor RT should be RT 1 100 1200 110 Since this value lies within 10 of the line characteristic impedance Thus as already stated above the line termination resistor RT will ...

Page 149: ...st commonly used methods Figure E 6 RS 485 data flow control with RTS Intelligent RS 485 Control ADAM 4510 and ADAM 4520 are both equipped with an I O circuit which can automatically sense the direction of the data flow No handshaking with the host like RTS Request to Send is necessary Any software which is written for half duplex RS 232 is compatible with an ADAM network without modification requ...

Page 150: ...How to use the Checksum feature F ...

Page 151: ...evices including the host computer should be in enable mode The checksum is represented by a 2 character ASCII hexadecimal format and is transmitted just prior to the carriage return The checksum equals to the result after performing modulus 256 100h of all the ASCII values sum preceding the checksum If the checksum is missing or incorrect the module will not respond Example 1 The following exampl...

Page 152: ...nabled Command 07RH25 cr Response 07 2 0500D8 cr where 25 represents the checksum of this command and D8 represents the checksum of the response The checksum of the command string is derived as shown below 25h 24h 30h 37h 52h 48h MOD 100h The hexadecimal ASCII codes for 0 7 R H are 24h 30h 37h 52h and 48h respectively The sum of these ASCII codes is 125h and the result equals to 25h after modulus ...

Page 153: ... 45 E 64 d 27 46 F 65 e 28 47 G 66 f 29 48 H 67 g 2A 49 I 68 h 2B 4A J 69 i 2C 4B K 6A j 2D 4C L 6B k 2E 4D M 6C l 2F 4E N 6D m 30 0 4F O 6E n 31 1 50 P 6F o 32 2 51 Q 70 p 33 3 52 R 71 q 34 4 53 S 72 r 35 5 54 T 73 s 36 6 55 U 74 t 37 7 56 V 75 u 38 8 57 W 76 v 39 9 58 X 77 w 3A 59 Y 78 x 3B 5A Z 79 y 3C 5B 7A z 3D 5C 7B 3E 5D 7C 3F 5E 7D F 4 ADAM 4100 Series User s Manual ...

Page 154: ...Changing Configuration to Modbus Protocol G ...

Page 155: ...S 485 network the preferred method is one module at a time on the RS 485 network 3 With the module powered off turn the switch in the Init position 4 Power up the module 5 Wait 10 seconds for the module to initialize 6 Using the ADAM 4000 utility search scan for the module to change the protocol Initial COM settings 9600 baud N 8 1 7 The utility will identify the module from the search function 8 ...

Reviews: