Home

ADAM4015

image

Contents

1. DATA DATA RS 485 TXD 3 DATA DATA RXD 2 HOST PC ADAM RS 232 RTS 7 ilo Module GND 5 GND Vs GND POWER number on EIA 232 D 10 30 Vc connector RS 232 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 Configuration with the ADAM Utility Software The easiest way to configure the ADAM module is by using the ADAM utility software an easy to use menu structured program will guide you through every step of the configuration See Appendix D Utility Software Changing the protocol from ADAM ASCII to Modbus Some ADAM 4000 modules support both ADAM ASCII protocol and Modbus protocol 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 H which describes how to change the protocol in ADAM utility Configuration with the ADAM command set ADAM modules can also be configured by issuing direct commands from within a terminal emulation program that is part of the ADAM utility software The following example guides you through the setup of an analog input module Assume that an ADAM 4011 Analog Input module still has its default settings
2. 2 Power supply For the ease of use in industrial environments the ADAM modules are designed to accept industry standard 24 V unregulated power Operation is guaranteed when using any power supply between 10 and 30 Power ripples must be limited to 5 V peak to peak while the voltage in all cases must be maintained between 10 and 30 V power supply specifications are referenced at module connector When modules are powered remotely the effects of line voltage drops must be considered modules use on board switching regulators to sustain good efficiency over the 10 30 V input range therefore we can assume that the actual current draw is inversely proportional to the line voltage The following example shows how to calculate the required current that a power supply should be able to provide Assume that a 24 will be used to power five ADAM 4011 Analog Input Modules The distance from power supply to modules is not so big that significant line voltage drop will occur One ADAM 4011 module consumes a maximum of 1 2 Watts The total required power will equal 5 x 1 2 6 Watts A power supply of 24 V e should therefore be able to supply a minimal current of 6 24 0 25 Amps Small systems may be powered by using wall mounted modular power supplies Also when modules operate on long communication lines 2500 feet it is often more reliable to power the modules locally with modular power supplies
3. Channel 6 Input Type Pt100 Pt1000 BALCO500 Ni Pt100 50 to 150 C 0 to 100 C 0 to 200 C 0 to 400 C 200 to 200 C Pt1000 40 to 160 C Input type and 5 temperature range BALCO500 30 to 120 C Ni 50 RTD 80 to 1009 C Ni 508 RTD 0 to 100 C Isolation Voltage 3000 VDC Sampling Rate 12 sample sec total Input Impedance 10 MO Accuracy 0 1 or better Power Consumption 1W Connector Type 13 pin plug terminal Table 3 1 Technical specification of ADAM 4015 Chapter 3 I O Modules 3 19 Command Set 4 1 Introduction To avoid communication conflicts when several devices try to send data at the same time all actions are instigated by the host computer The basic form is a command response protocol with the host initiating the sequence When modules are not transmitting they are in listen mode The host issues a command to a module with a specified address and waits a certain amount of time for the module to respond If no response arrives a timeout aborts the sequence and returns control to the host Changing ADAM s configuration might require the module to perform auto calibration before changes can take effect Especially when changing the range the module has to perform all stages of auto calibration that it also performs when booted When this process is under way the module does not respond to any other commands The command set includes the exact delay
4. Step 9 Click CLOSE Button and type following codes The source codes are listed at the end of this section File Edit View Project Format Debug Run Query Diagram Tools Add Ins Window Help 5 0S RAM General k A fal 5 rs an 3 x 1 a Comm Comm Command3 Click M E Buffer Buffer amp MSComnl Input t Loop Until InStr Buffer Read the response till the carriage return character Textl Text Buffer Display the reading End Sub Private Sub Command3 Click Close the serial port MSComml PortOpen False End Sub Step 10 Run the Project gt Click OPEN to open COMI Click SEND to send the Get Temperature Reading Command Now you will find the reading is displayed as following format iw Forni CLOSE Temp Reading 02550 Chapter 2 installation Guideline 2 15 Installation Guideline Program Source Codes OPEN Command Button Private Sub Command Click Buffer to hold input string Dim Instring As String Use COMI MSComm1 CommPort 1 9600 baud no parity 8 data and 1 stop bit MSComml Settings 9600 N 8 1 Tell the control to read entire buffer when Input is used MSComm1 InputLen 0 the port MSComm1 PortOpen True End Sub SEND Command Button Private Sub Command2_Click Send Get AI command
5. 02FF cr The command asks the analog input module at address 02 to send the status of it input channels analog input module at address 02 responds that all its multiplex channels are enabled FF equals 1111 and 1111 5 18 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40157 4016 Chapter 5 Synchronized Sampling Description Orders all analog input modules to sample their input values and store the values in special registers Syntax 15 a delimiter character 1s the actual synchronized sampling command The terminating character in the form of a carriage return ODh is not required Response The analog input modules will send no response after executing the synchronized sampling command In order to retrieve the data a separate Read Synchronized Data command has to be issued for every analog input module The pound sign followed by two asterisks does not represent an optional value but is the actual command string 5 21 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40157 4016 4 Description Syntax Response Read Synchronized Data Returns the input value that was stored in the addressed module s register after a Synchronized Sampling command was issued SAA4 Cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module from which data is to be sent
6. address of the analog input module cr represents terminating character carriage return 0Dh command 021 5 response 02 The command calibrates channel 5 of the analog input module at address 02 for correcting offset errors 5 28 ADAM 4000 Series User s Manual 4015 40151 4017 4018 4019 Chapter 5 SAATCiRrr Name Description Syntax Response Example Single Channel Range Configuration This command configure the input type and range of the specified channel in an analog input module AA7CiRrr cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module which is to be configured 7 represents the range configuration command Ci represent the specified input channel you want to configure Rrr represent the type and range you want to set refer to Table 4 3 to check range code cr is the terminating character carriage return ODh 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 error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates 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 ODh com
7. 10 mQ B 8 ADAM 4000 Series User s Manual Range Input Range Maximum Minimum Displaved Code put ene Data Formats Specitied Specitied Description gt Resolution hex Signal Signal 100 00 Q Engineering Platinum RTD Units 200 00 000 00 0 01 C 00385 of FSR 100 00 000 00 0 01 22 0 C to 200 C Twos 0000 1 LSB Complement Ohms 4175 84 3100 00 10 mQ Engineering 8 8 8 100000 Units 600 00 000 00 0 01 C Platinum RTD of FSR 100 00 000 00 0 01 2 00385 Twos 0 C to 600 C Complement 7FFF 0000 I LSB Ohms 313 59 100 00 10 mQ Engineering 00 100000 Units 00 00 100 00 0 01 C Platinum RTD of FSR 100 00 000 00 0 01 24 a 00392 Twos T 100 C to 100 Complement 7FFF 8000 I LSB Ohms 1139 16 060 60 10 mQ Engineering 5 019 100000 Units 100 00 000 00 0 01 C Platinum RTD of FSR 100 00 000 00 0 01 a 00392 Twos 0 C to 100 C Complement 7FFF 0000 I LSB Ohms 1139 16 100 00 10 mQ Engineering 5 ote RE A 5 100000 Units 200 00 000 00 0 01 C Platinum RTD of FSR 100 00 000 00 0 01 20 a 00392 Twos d 0 C to 200 C Complement 7FFF 0000 1 LSB Ohms 177 13 100 00 10 mQ Engineering 5 B 100000 Units 600 00 000 00 0 01 C Platinum RTD of FSR 100 00 000 00 0 01 27 a 00392 Tw
8. 2555 7 1234 7 5678 cr The command interrogates the analog input module at address 21h for its input values of all channels The analog input module responds with channels from 0 to 7 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 5 14 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4019 Chapter 5 response gt 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 complement units under 0000 0000 0000 over FFFF 9999 9999 NOTICE When modules measure Thermocouple or RTD input values that are outside their configured range they will send data that implies input out of bounds The next table shows the values that the modules will return depending on the configured data format and if the input value falls under or exceeds the configured range Only when modules are configured for Thermocouple or RTD will this input out of bounds warning occur When analog input modules measure voltage or current that falls outside the configured range they will return the actual measured input In the next example the target module is configured for an input range of T C type J Input range 0 7
9. 418 the Read Synchronized Data command cr is the terminating character carriage return ODh AA status data cr if the command was valid A A cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character indicates a valid command was received AA range 00 FF represents the 2 character hexadecimal address of the analog input module that is responding status will tell you if the data data from the last Synchronized Sampling command has already been sent If status 1 then the data has been sent for the first time since a Synchronized Sampling command was issued If status 0 then the data has been sent at least once before data a value stored in a special register of the interrogated module in the configured data format It has been sampled by the module after a Synchronized Sampling command For possible data formats see Appendix B Data Formats and I O Ranges cr represents terminating character carriage return 0Dh 5 22 ADAM 4000 Series User s Manual 4011 40110 4012 4013 5 4015 40157 4016 chapter9 Example command 074 cr response gt 071 5 8222 The command asks the analog input module at address 07h to send its analog input data The analog input module responds with status 1 which means that this is the first time that the data has been sent and th
10. 7FFF For instance an ADAM 4011 module is given a 5 V input range In this case 5 V 18 represented as 8000h and 5 V 15 denoted as 7FFFh When thermocouple input ranges are used an input range which is bipolar and symmetric about zero is assumed The following table provides several examples Thermocouple Temperature Range Temperature Range Type Degrees Hex J 0 C to 760 C 0000h 7FFFh T 100 C to 400 C E000h 7FFFh R 500 C to 17509 C 2492h 7FFFh The given span of the specified range is used to determine the RTD input ranges for twos complement hexadecimal values As an example if the nickel RTD is specified for the range 80 C to 100 C the respective values in hexadecimal notation would be 8000h to 7FFFh B 1 4 Ohms To indicate ohms set bits 0 and 1 of the data format checksum integration time parameter to 11 this data format is only valid for ADAM 4013 analog input modules The ohms format allows you to read the value of the RTD resistance in ohms It consists of a or 99 sign followed by five decimal digits and decimal point The resolution position of the decimal point of Platinum Nickel RTDs is 10 m two decimal places For example for a 100 platinum RTD specified for 100 C to 100 C 100 C corresponds to 138 50 and 100 C corresponds to 060 60 Appendix B Data Formats and I O Ranges B 5 Data Formats I O Ran
11. The analog input module responds that the input value of channel 0 is egual to 1 4567 volts 5 16 ADAM 4000 Series User s Manual 4015 40157 4017 4017 4018 5 SAASVV Name Description Syntax Response Example Enable disable channels for multiplexing Enables disables multiplexing simultaneously for seperate channels of a specified input module 5 is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of analog input module 5 is the enable disable channels command VV are two hexidecimal values The values are interpreted by the module as two binary words 4 bit The first word represents the status of channel 4 7 the second word represents the status of channel 0 3 Value 0 means the channel is disabled value 1 means the channel is enabled cr is the terminating character carriage return ODh AA cr if the command is valid AA cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal address of an analog input module cr is the terminating character carriage return ODh command 0058 1 cr response 00 cr Hexadecimal 8 equals binary 1000 which enables
12. These inexpensive units can easily be obtained from any electronics retail store The power cables should be selected according to the number of modules connected and the length of the power lines When using a network with long cables we advise the use of thicker wire to limit the line voltage drop In addition to serious voltage drops long voltage lines can also cause interference with communication wires Chapter 2 installation Guideline 2 3 Installation Guideline 8 GND 70 Power Supply 10V ta 30Vpc Figure 2 1 Power Supply Connections We advise that the following standard colors as indicated on the modules be used for power lines Vs R Red GND B Black Communication Wiring We recommend that shielded twisted pair cables that comply with the EIA RS 485 standard be used with the ADAM network to reduce interference Only one set of twisted pair cables is required to transmit both Data and RTS signals We advice that the following standard colors as indicated on the modules be used for the communication lines Yellow DATA Green ADAM Utility Software A menu driven utility program is provided for ADAM module configuration monitoring and calibration It also includes a terminal emulation program that lets you easily communicate through the ADAM command set See Appendix D Utility Software 2 4 ADAM 4000 Series User s Manual 2 ADAM Communication Speed In ADAM
13. channel 7 and disables channels 4 5 and 6 Hexadecimal 1 equals binary 0001 which enables channel 0 and disables channel 1 2 and 3 5 17 ADAM 4000 Series User s Manual 4015 40151 4017 4017 4018 4018 4018 4019 6 Description Syntax Response Example Read Channel Status Asks a specified input module to return the status of all channels range 00 FF represents the 2 character hexadecimal address of analog input module of which the channel status you want to send The channel status defines whether a channel is enabled or disabled cr is the terminating character carriage return ODh AAVV cr if the command is valid A A cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal address of an analog input module VV are two hexadecimal values The values are interpreted by the module as two binary words 4 bit The first word represents the status of channel 4 7 the second word represents the status of channel 0 3 Value 0 means the channel is disabled value 1 means the channel is enabled cr is the terminating character carriage return 0Dh command 026 cr response
14. chapter a programming example using the ADAM command set Be sure to carefully plan the layout and configuration of your network before you start Guidelines regarding layout are given in Appendix E RS 485 Network NOTICE Except for the communication modules ex ADAM 4520 4521 4522 etc which have on board switches for their baud rate setting ADAM modules should not be opened There is no need to open the ADAM modules all configurations are done remotely and there are no user serviceable parts are inside Opening the cover will therefore void the warranty 2 1 System Requirements to set up an ADAM network The following list gives an overview of what is needed to setup install and configure an ADAM environment ADAM modules host computer such as an IBM PC AT compatible that can output ASCII characters with an RS 232C or RS 485 port Power supply for the ADAM modules 10 to 30 V 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 232 RS 485 Converter is required to transform the host signals to the correct RS 485 protocol The converter also provides opto isolation and transformer based isolation to protect your equipment 2 2 ADAM 4000 Series User s Manual
15. eene B 6 Analog Output Formats eene B 11 B 3 1 Engineering UNITS 11 B 3 2 Percent of B 11 B 3 3 Hexadecimal iuda d cecus AU eot ced ces B 11 B 4 Analog Output 2 22 12 B 12 Appendix C Technical Diagrams C 1 1 ADAM Dimensions 2 2 C 2 C2 Installation 2 22 C 3 C 2 1 DIN Rail C 3 2 2 Mounting hod A ae el heed C 5 G 2 3 Piggyback Stack ete Rr e ERO C 7 Appendix D Utility Software eese D 1 D 1 ADAM 4000 Utility Software 22 2 2 1 D 2 Appendix E RS 485 Network ecce E 1 E 1 Basic Network Layout eene E 3 E 2 Line Termination 2111 E 5 RS 485 Data Flow Control 2 2 E 7 Appendix How to use the Checksum feature F 1 F 1 Checksum Enable Disable sees F 2 Appendix ADAM 4000 I O Modbus Mapping Table G 1 Appendix H Changing Configuration to Modbus Protocol H 1 Introduction 1 1 Overview The ADAM S
16. host computer should be changed accordingly Chapter 2 installation Guideline 2 9 Installation Guideline 2 4 Multiple Module Hookup The Figure below shows how ADAM modules are connected in a multiple module example Figure 2 4 Multi module Connection 2 10 ADAM 4000 Series User s Manual Chapter 2 2 5 Programming Example The following example is a simple program written in Visual Basic 6 0 that demonstrates how to get temperature reading from ADAM 4011 module which is addressed at 01H Step 1 Using ADAM Utility to check the settings of Address 01H Baud rate 9600 and Checksum Disabled as following General Setting Data Area Address y Hex ReadingAl value 02800 BaudRate 9600 bps Type Selling 0 1 ChekSum Enable gt Update FmwaeVer 85 Hg lam Lit 125 Update Input Range Thermocouple Data Format 555 Update Integration Time Status Low Alarm High Alarm Clear Latch Calibration Event P E d Zero Cal J Span Cal CIC Cal DI Status Clear Event Read AI succeeded 7 Step 2 Run VB 6 0 and add a control via EE 6r Ix s Add MDI Form D 83 Ada Modu 12 Add C
17. to ADAM 401 1 Module at address 01H MSComml Output 01 amp Chr 13 Wait for data to come back to the serial port Do DoEvents Buffer Buffer amp MSComml Input Loop Until InStr Buffer vbCr Read the response till the carriage return character Text1 Text Buffer Display the reading End Sub CLOSE Command Button Private Sub Command3 Click Close the serial port MSComm1 PortOpen False End Sub 2 16 ADAM 4000 Series User s Manual Modules 3 0 The common specification of ADAM 4000 l Oseries Communication e RS 485 2 wire to host Speeds 1200 2400 4800 9600 19200 38400 57600 115200 bps ADAM 4080 ADAM 4080D only support up to 38400 bps Max communication distance 4000 feet 1 2 km Power and communication LED indicator ASCII command response protocol Communication error checking with checksum Asynchronous data format 1 start bit 8 data bits 1 stop bit no parity N 8 1 Up to 256 multidrop modules per serial port Online module insertion and removal Transient suppression on RS 485 communication lines Power Requirements Unregulated 10 30 VDC X Protected against power reversal Mechanical Case ABS with captive mounting hardware Plug in screw Accepts 0 5 mm2 to 2 5 mm2 terminal block 14 to 22 AWG Environment Operating Temperature 10 70 C 14 158 e EMI Meets FCC Class A or CE Storage Temperature 25 85 13 1
18. which is configured for a 5 V range but one of the values read is 5 5V The resulting value would then be 110 The readings must fall within the input range to be guaranteed of accuracy Although they are typically linear readings which fall between the 100 and 115 limits are not accurate but still generally linear Readings beyond these limits are neither accurate nor linear B 1 3 Twos complement hexadecimal Easily transferred to integer format the Twos Complement Hexadecimal format represents the data in ASCII hexadecimal form providing rapid communication high resolution and easy conversion to computer compatible integer format To indicate twos complement hexadecimal bits 0 and 1 of the data format checksum integration time parameter must be set to 10 This format displays data in the form of a 4 character hexadecimal string B 4 ADAM 4000 Series User s Manual This string represents 16 bit twos complement binary value Positive full scale is denoted as 7FFF 732 767 while negative full scale is represented by the value 8000 32 768 The resolution 15 one least significant bit LSB of 16 bits Example The input value is 1 234 V An analog input module is configured for a 5 V range The value returned is E069 cr This value is equivalent to the signed integer 8087 Input ranges with voltage and milliamp values are used with the full calibrated voltage range from 8000 to
19. 016 5 4017 4017 4018 4018 4018M 4019 Chapter AANNTTCCFF Response AA cr if the command is valid A A cr if an invalid parameter was entered or if 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 error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal address of an analog input module cr is the terminating character carriage return ODh Example command 2324050600 124 The ADAM 4011 module with address 23h is configured to new address of 24h an input range 2 5 V baud rate 9600 integration time 50 ms 60 Hz engineering units data format and no checksum checking or generation The response indicates that the command was received Wait 7 seconds to let the new configuration settings take effect before issuing a new command to the module NOTICE Only ADAM 4011 ADAM 4011D ADAM 4012 ADAM 4013 ADAM 4016 and ADAM 4018 support of FSR and two s complement of hexadecimal Data Format NOTICE An analog input module requires a maximum of 7 seconds to perform auto calibration and ranging after it is reconfigured During this time span the module cannot be addressed to perform any o
20. 024 6 19 Chapter 7 Digital IO Relay amp Counter commands 7 1 7 1 Configuration Counter Input and Display Command Set 7 2 7 2 Counter Frequency Module Command 7 27 7 2 1 Configuration Counter Input and Display Command Set 7 27 7 2 2 Counter Setup Command Set eese 7 39 7 2 3 Digital Filter and Programmable Threshold Command Set 7 48 7 2 4 Digital Output and Alarm Command 7 59 Chapter 8 Calibration eene 8 1 8 1 Analog Input Module Calibration 8 2 8 2 Analog Input Resistance Calibration 8 7 8 3 Analog Input Thermistor module Calibration 8 9 8 4 Analog Output Calibration 8 15 Appendix A Technical Specifications 1 ADAM 4011 Thermocouple Input Module A 2 A 2 ADAM 4011D Thermocouple Input Module with LED erii espe A 5 ADAM 4012 Analog Input Module A 8 A 4 ADAM 4013 RTD Input Module A 10 5 ADAM 4016 Strain Gauge Input Module A 12 6 ADAM 4017 4017 8 Channel Analog Input Modu
21. 04 1V 05 2 5V 07 4 20 08 10V 09 5V 00 20 mA1 Thermocouple 0 to 760 C Thermocouple 0 to 13707 10 Type T Thermocouple 100 to 400 C 11 Type E Thermocouple 0 to 1000 C 12 Type R Thermocouple 500 to 1750 C 13 Type S Thermocouple 500 to 1750 C 14 Type B Thermocouple 500 to 1800 C 5 8 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 5 4017 4017 4018 4018 4018M 4019 Chapter Table 5 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 5 9 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4018 4019 AA2 Name Description Syntax Response Configuration Status The command requests the return of the configuration data from the analog input module at address AA AA2 cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module that you want to interrogate 2 is the Configuration Status command cr is the terminating character carriage return ODh AATTCCFF cr if the command is valid A A cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character indicat
22. 1 40110 4012 4013 4015 to sample their input values and store them in special registers 4015T 4016 5 2 ADAM 4000 Series User s Manual 5 Command Syntax Command Description 1 0 Module 4 Returns the value that was stored in the specified module s register after the command 4011 4011D 4012 4013 4015 4015T 4016 AAB Ask the module to respond 4011D 4015 4015T 4018 whether the wiring is open or 4019 closed AA3 Returns the value of the 4011 4011D 4018 4018 sensor for a specified analog 4018M 4019 input module AA9 Calibrates the sensor for 4011 4011D 4018 4018 4018M offset errors 4019 AA0Ci Calibrates a specified channel 4015 4015T 4017 4018 4019 to correct for gain errors AA1Ci Calibrates a specified channel 4015 4015T 4017 4018 4019 to correct for offset errors AATCiR T Configure the input type and 4015 4015T 4017 4018 4019 range of the specified channel analog input module AA8Ci Get the input type and range of 4015 4015T 4017 4018 4019 the specified channel in an analog input module AAXnnnn Set WDT communication cycle 4015 4015T 40182 4019 4 AAY Read the setting of WDT 4015 4015T 4018 4019 communication cycle AASO Internal self calibration for offset 4015 4015T and gain errors AAS1 Reload factory default 4015 4015T calibratin
23. 1 cr The command read the range of channel 5 in the analog input module at address 02 The response R21 means Pt100 0 100 C 5 30 ADAM 4000 Series User s Manual 4015 40151 4018 4019 5 Description Syntax Response Example Watchdog Timer Setting This command set the Watchdog Timer communication cycle AAXnnnn cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module which is to be read X represents the setting WDT command nnnn range 0000 9999 represent the specified value of communication cycle you want to set cr is the terminating character carriage return ODh 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 error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates 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 command 02X1234 cr response 02 The command set the WDT cycle as 1234 in the input module at address 02 NOTICE f the value of nnnn is 0000 the communication function will be disable 5 31 ADAM 4000 Ser
24. 60 C and for a data format in engineering units The module measures an input value of 820 C Example command D1 cr response gt 9999 cr By returning a high value 9999 the module at address 016 indicates that the measured input value exceeds the configured range 5 15 ADAM 4000 Series User s Manual 4015 40157 4017 4017 4018 4018 4018 4019 AAN Name Description Syntax Response Example Read Analog Input from Channel N The command will return the input value from one of the eight channels of a specified AA module in the currently configured data format AAN cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module N identifies the channel you want to read The value can range from 0 to 7 for 4017 4018 4018M 4019 the range of 4015 is from 0 to 5 cr is the terminating character carriage return ODh gt data cr There is no response if the module detects a syntax error or communication error or if the specified address does not exist gt 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 carriage return ODh command 120 response gt 1 4567 Cr The command reguests the analog input module at address 12h to return the input value of channel 0
25. 85 Humidity 5 95 non condensing 3 2 ADAM 4000 Series User s Manual 3 4 ADAM 4015 6 channel RTD Input Module A RTD module is popular for temperature measurement Unlike the traditional design the ADAM 4015 provides six RTD input channels for different types of RTD signal as an effective solution in industrial amp building automation Usually broken external wiring will lead to inaccurate current value The ADAM 4015 provides a broken wiring detecting function so users can easily troubleshoot broken wiring problems This module can accept 2 wires or 3 wires RTD sensor ADAM 4015 DATA Q ACQUISITION MODULE INPUT RTD ADAM 4015 CODE TYPE RANGE iS anres anas 160 15081 OUTPUT RS 485 B 3 SSSSSSSSSSsss Chapter 3 Figure 3 17 ADAM 4015 6 channel Input Module Chapter 3 I O Modules 3 17 Modules Application Wiring 2 wire RTD SSSS RTD 1 K T 3 wire RTD KI RTD 0 14 RTDO KI 9 Figure 3 18 ADAM 4015 RTD Input Module Wiring Diagram 3 18 ADAM 4000 Series User s Manual Chapter 3 Technical specification of ADAM 4015
26. 9 Y 78 X 3B 5A Z 79 y 3C lt 5 7 3D 5C X 7B gt 5D 7C 7 5 d 7D F 4 ADAM 4000 Series User s Manual ADAM 4000 I O Modbus Mapping Table ADAM 4000 I O Modbus Mapping Table The model list of ADAM 4000 I O series support Modbus protocol Model Description ADAM 4015 6 channel RTD Input Module 1 ADAM 4015T 6 channel Thermistor Input Module 2 ADAM 4017 8 channel Analog Input Module 3 ADAM 4018 8 channel Thermocouple Input Module 4 4019 8 Channels Universal Analog Input Module 5 ADAM 4024 4 channel Analog Output Module 6 ADAM 4051 16 channel Isolated Digital Input with LED Module 7 ADAM 4055 16 channel Isolated Digital with LED Module 40565 12 channel Sink type Isolated Digital Output Module 9 ADAM 4056SO 12 channel Source type Isolated Digital Output Module 10 ADAM 4068 8 Relay Output Module 11 ADAM 4069 8 Power Relay Output Module G 2 ADAM 4000 Series User s Manual 1 ADAM 4015 6 channel RTD Input Module and ADAM 4015T 6 channel Thermistor Input Module ADDR 0X Channel Item Attribute Memo 00201 0 Burn out Signal R Burn out 00202 1 Burn out Signal R 00203 2 Burn out Signal R 00204 3 Burn out Signal R 00205 4 Burn out Signal R 00206 5 B
27. ADAM 4000 Data Acquisition Modules User s Manual Table of Contents Chapter 1 Introduction sa neeeeeneneseenneeee 1 1 1 1 LER 1 2 1 2 Applications ee 1 4 Chapter 2 Installation Guideline 2 1 2 1 System Requirements to set up ADAM network 2 2 2 2 Basic configuration and hook up 2 5 2 3 Baud rate and Checksum eee 2 7 2 4 Multiple Module Hookup eere 2 10 2 5 Programming Example eee 2 11 Chapter 3 1 0 Modules esee neret 3 1 3 1 ADAM 4011 4011D Thermocouple Rods Modules 3 2 3 2 ADAM 4012 Analog Input Module ERE 3 3 ADAM 4013 RTD Input Modules 1 3 14 3 4 ADAM 4015 6 channel RTD Input Module eere 2 16 3 5 ADAM 4015T 6 channel Thermistor Input Module alade Jar 3 19 3 6 ADAM 4016 Analog Input Output Module 3 20 3 7 ADAM 4017 4017 4018 4018M 4018 8 channel Analog Input Modules 3 25 3 8 ADAM 4019 8 channel Universal Analog Input E T 3 35 3 9 ADAM 4021 Analog Output Module 3 39 3 10 ADAM 4024 4 ch Analog Output Module 3 42 3 11 ADAM 4050 Digital Modu
28. Analog Input Formats The ADAM analog input modules can be configured to transmit data to the host in one of the following data formats Engineering Units Percent of FSR Twos complement hexadecimal Ohms B 1 1 Engineering Units Data can be represented in engineering units by assigning bits 0 and 1 of the data format checksum integration time parameter the value 00 This format presents data in natural units such as degrees volts millivolts and milliamps The engineering format is readily parsed by the majority of computer languages because the total data string length including sign digits and decimal point does not exceed seven characters Input Range Resolution 15 mV 50 mV 1 three decimal places 100 mV 150 mV 500 mV 10 u V two decimal places 1 V 2 5 V 5 V 100 uV four decimal places 10 V 1 mV three decimal places 20 mA 1 three decimal places Type J and T thermocouple 0 01 C two decimal places 0 1 one decimal place thermocouple Data is grouped into 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 the following table B 2 ADAM 4000 Series User s Manual 1 The input value is 2 65 and the corresponding analog input m
29. Chapter 5 Input Range Code Hex Input Range for 4013 20 Platinum 1000 to 1000C 0 00385 21 Platinum to 1000C 0 00385 22 Platinum to 2000C a 0 00385 23 Platinum to 6000C 0 00385 24 Platinum 1000 to 1000C 0 003916 25 Platinum to 1000C 0 003916 26 Platinum to 2000C 0 003916 27 Platinum to 6000C 0 003916 28 Nickel 800 to 1000C 29 Nickel to 1000C ADAM 4015 4015T command codes against Input ranges table Command Code Hex Input Type Input Range 20 Platinum 100 IEC 50 C to 150 C 21 Platinum 100 IEC 0 C to 100 C 22 Platinum 100 IEC 0 C to 200 C 23 Platinum 100 IEC 0 C to 400 C 24 Platinum 100 IEC 200 C to 200 25 Platinum 100 JIS 50 C to 150 C 26 Platinum 100 JIS 0 C to 100 C 27 Platinum 100 JIS 0 C to 200 C 28 Platinum 100 JIS 0 C to 400 C 29 Platinum 100 JIS 200 C to 200 C 2A Platinum 1000 40 C to 160 C 2B BALCO 500 30 C to 120 C 2C Ni 604 80 C to 100 C 2D Ni 604 0 C to 100 C IEC RTD 1000 a 0 00385 JIS RTD 1000 0 00391 5 7 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4018 4019 Input Range Code Hex Input Range for 4019 02 100 mV 03 500
30. Click Span Cal AD 11 fThermistor 10K O 100 C Burvout Ea ADVANTECH Themisto 07100 gt 7 Apply 30K ohms 0 01 accuracy resistor to CHO and then Click Save 8 Finished 8 12 ADAM 4000 Series User s Manual Technical Specifications A 4 ADAM 4013 RTD Input Module Table A 6 ADAM 4013 Specifications Input range Pt and Ni RTD Output speed in bps maximum distance RS 485 2 Wire 1200 2400 4800 9600 19 2K 38 4K 57 6K 115 2K 4000 ft 1200 m Accuracy 0 05 or better Zero drift 0 01 C C Span drift 0 01 C C Input connections 2 3 or 4 wires Isolation rated 3000 VDC voltage CMR 50 60 Hz 150 dB NMR 50 60 Hz 100 dB Bandwidth 4 Hz Conversion rate 10 samples sec Input impedance 2 MQ Watchdog timer Yes Power supply 10 to 30 VDC non regulated Power consumption 0 7 W A 10 ADAM 4000 Series User s Manual Figure 4 ADAM 4013 Function Diagram Qo m m zm m lt 2 4 9 1 T p c lt lt 5 2 gt gt n gt EI 3 gt o E zu ES i Qn ST m 2 1 lt 226 1 Qn euo oo a S 1 Appendix A Technical Specification A 11 Data Formats I O Ranges B 1
31. T state its INIT terminal should be connected to its GND terminal see Baud rate and Checksum in Chapter 2 When the ADAM module is not in INIT mode an error message will appear Appendix D Utility Software D 3 Utility Software After you have made all necessary changes to the module configuration the utility will display the process data automatically Calibration Please note only analog input and output modules can be calibrated For example ADAM 4011 module has Zero Span and CJC Calibration items To learn what steps should be taken to calibrate both input and output modules please refer to Chapter 5 Calibration Terminal Function When you would like to send and receive commands on the RS 485 line directly you can use this Terminal function in this utility G ADAM 4000 5000 Utility Ver 3 10 06 oj File Tools Help Search cg Baudrate DataBits Stop Bits fs Parity Time Qut p 0 COM Port status Figure D 3 Terminal Function D 4 ADAM 4000 Series User s Manual 0 You can type the ADAM ASCII command in the text box and click Send button for testing the commands which are listed in Chapter 4 Command Set Figure D 4 Terminal Function Appendix D Utility Software D 5 How to use the Checksum feature How to use the Checksum feature A checksum helps you to detect errors in commands from the host to the mod
32. alid command was received delimiter character indicates 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 5 34 ADAM 4000 Series User s Manual Calibration Analog input output modules are calibrated when you receive them However calibration is sometimes required No screwdriver is necessary because calibration is done in software with calibration parameters stored in the ADAM module s onboard EEPROM The ADAM modules come with utility software that supports the calibration of analog input and analog output Besides the calibration that is carried out through software the modules incorporate automatic Zero Calibration and automatic Span Calibration at boot up or reset 8 1 Analog Input Module Calibration Models ADAM 4011 4011D 4012 4014D 4016 4017 4017 4018 4018 4018M 4019 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 you want to calibrate You can do this by using the ADAM utility software Refer to Appendix D Utility Software Use a precession voltage source to apply a calibration voltage to the module s IN and IN terminals of the ADAM 4011 4011D and 4012 Use a precession voltage source to apply a calibration voltage to the module s Vin and Vin termina
33. at the data 5 8222 Volts Configured data format of the analog input module in this case is engineering units command 074 cr response gt 070 5 8222 The command asks the analog input module at address 07h to send its analog input data The analog input module responds with status 0 which means that it has sent the same data at least once before data 45 8222 Volts This could indicate that a previous Synchronized Sampling command was not received Configured data format of the analog input module in this case is engineering units 5 23 ADAM 4000 Series User s Manual 40110 4015 40151 4018 4019 AAB Name Description Syntax Response Channel Diagnose Diagnose channel status in over range under range and wire opening is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module to be detected B is the channel diagnose command cr is the terminating character carriage return ODh AAO cr if the module detects a close thermocouple 4011D only AA1 cr if the module detects an open thermocouple 4011D only AANN cr if the command is valid when it applied with ADAM 4015 AA cr if an invalid command was issued There is no response if the module detects a syntax error or communication error of if the specified address does not exist delimiter character indicates a valid command was receive
34. baud rate 9600 and address 01h Before the module is reconfigured it is first requested to send its default settings 2 6 ADAM 4000 Series User s Manual 2 NOTICE analog input module requires a maximum of 7 seconds to perform auto calibration and ranging after it is rebooted or powered on During this time span the module can not be addressed to perform any other actions Example Make sure that the module is properly connected as shown in section 2 5 Power up all the connected devices start the terminal emulation program and issue the following command 012 cr requests that module with address 01 send its configuration status 101050600 Module at address 01 responds that it is configured for an input range of 2 5 V baud rate 9600 integration time of 50 ms 60 Hz engineering units and no checksum checking or generation To change the configuration setting of the analog input module the following command is issued 0107020600 change configuration 01 target module at address 00 to 07 change address to 07 hexadecimal OF set input range to Type K thermocouple 06 set baud rate to 9600 00 set integration time to 50 ms 60 Hz disable checksum set data format to engineering units See Chapter 4 Command Set for a full description of the syntax of the configuration command for an analog input module When the module received the configuration command it will respond w
35. d delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module NN range 00 FF is a hexadecimal number that equals the 8 bit parameter representing the status of analog input channels Bit value 0 means normal status and bit value 1 means channel over range under range or open wiring cr is the terminating character carriage return ODh 5 24 ADAM 4000 Series User s Manual 4015 40151 4017 4018 4019 Chapter 5 AA0Ci Name Description Syntax Response Single Channel Span Calibration The command calibrates a specified channel to correct for gain errors AAO0Ci cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module which is to be calibrated 0 represents the span calibration command Ci represent the specified input channel you want to calibrate cr is the terminating character carriage return ODh 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 error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module cr represents terminati
36. de of its firmware cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module that you want to interrogate F identifies the version command cr is the terminating character carriage return ODh AA Version cr if the command is valid 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 a valid command was received 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 5 12 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4018M 4019 Chapter 5 Read Module Description The command requests the analog input module at address AA to return its name Syntax AAM cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module that you want to interrogate M is the Read Module 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 error or communication error or if the specified address does not exist is a delimite
37. ed Description Resolution hex Signal Signal Engineering a te A ds Type Units 1370 0 0000 0 0 1 C Thermocouple of FSR 100 00 000 00 0 01 0 C to 13709 7 0000 1 LSB Complement Engineering 6 5 Units 400 00 100 00 0 01 C 10 Thermocouple of FSR 1100 00 0 25 00 0 01 100 C to 400 7 000 1 LSB Complement Engineering 5 A Type E Units 1000 0 0000 0 0 1 C 11 Thermocouple of FSR 100 00 000 00 0 01 09 to 10009 7 0000 1 LSB Complement Engineering i E TypeR Units 1750 0 0500 0 0 1 C 12 Thermocouple of FSR 1100 00 1028 57 0 01 500 C to 1750 C Twos 2492 1 LSB Complement Engineering 5 1 A Type 8 Units 1750 0 0500 0 0 1 C 13 Thermocouple of FSR 3100 00 1028 57 0 0196 500 C to 1750 Twos 2492 1 LSB Complement Engineering 5 F Units 1800 0 0500 0 0 1 C 14 Thermocouple of FSR 1100 00 027 77 0 01 500 C to 18009 Twos 2381 1 LSB Complement Engineering 100 00 0 Units 00 00 100 000 0 1 C 20 Platinum RTD of FSR 7100 00 000 00 0 01 00385 Twos 100 C 1009 Complement THEE 8000 LSB Ohms 138 50 060 60 10 Engineering i 100 000 000 00 0 1 100 00 Units c Platinum RTD of FSR 100 00 000 00 0 01 21 00385 Twos 0 C to 100 C Complement 0000 1 LSB Ohms 138 50 100 00
38. equals 40 100 x 5 V 42 0 V the actual input value Appendix B Data Formats and Ranges 3 Data Formats and I O Ranges Example 2 The input value is 652 5 C A type E thermocouple 0 C to 1000 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 5 C is 65 25 of the value of the calibrated full scale range 10009 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 For example when using a type J thermocouple 0 C to 760 C 760 corresponds to 100 and 0 corresponds to 0 Even if 09 lies outside the specified range of operation for the thermocouple zero will remain the point of symmetry For instance a type B thermocouple is specified for operation from 500 to 1800 C In this case 1800 corresponds to 100 and 500 corresponds to 27 77 The percentage 15 related to the full span of the configured range If for instance a nickel RTD is specified for 80 C to 100 C then the lower value of 80 C equals 0 of span and the upper value of 100 C equals 100 of span When in the FSR mode if a value exceeds the uppermost value of the input range an overrange feature is automatically invoked by the ADAM analog input modules Take for instance an analog module
39. eries is a set of intelligent sensor to computer interface modules containing built in microprocessor They are remotely controlled through a simple set of commands issued in ASCII format and transmitted in RS 485 protocol They provide signal conditioning isolation ranging A D and D A conversion data comparison and digital communication functions Some modules provide digital I O lines for controlling relays and TTL devices Software Configuration and Calibration ADAM modules contain no pots or switches to set By merely issuing a command from the host computer you can change an analog input module to accept several ranges of voltage input thermocouple input or RTD input the module s configuration parameters including I O address speed parity HI and LO alarm calibration parameters settings may be set remotely Remote configuration can be done by using either the provided menu based software or the command set s configuration and calibration commands By storing configuration and calibration parameters in a nonvolatile EEPROM modules are able to retain these parameters in case of power failure Watchdog Timer A watchdog timer supervisory function will automatically reset the ADAM modules in the event of system failure Maintenance is thus simplified Power Requirements Although the modules are designed for standard industrial unregulated 24 V pc power supply they accept any power unit that supplies power within the ran
40. es a valid command was received delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal address of an analog input module TT represents the type code Type code determines the input range CC represents the baud rate code FF is a hexadecimal number that equals the 8 bit parameter that represents the data format checksum status and integration time The layout of the 8 bit parameter is shown in figure 4 1 Bits 2 to 5 are not used and are set to 0 cr is the terminating character carriage return ODh Also see the configuration command 5 10 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4018 4019 5 AA2 Example command 452 cr response 145050600 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 5 11 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4018 4019 AAF Name Description Syntax Response Read Firmware Version The command requests the analog input module at address AA to return the version co
41. g parameter to overwrite current calibrating parameter 5 3 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4018 4019 AANNTTCCFF Name Configuration Description Sets address input range baud rate data format checksum Syntax status and or integration time for an analog input module AANNTTCCFF cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal 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 the type input range code 4015 and 4019 must be 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 through 5 are not used and are set to 0 cr is the terminating character carriage return ODh 6543210 Checksum status not used n Data Format 5 00 Engineering units 01 96 of FSR 10 two s complement of hexadecimal Integration time 11 Ohms for 4013 and 4015 0 50 ms Operation under 60 Hz power 1 60 ms Operation under 50 Hz power Figure 5 1 Data format for 8 bit parameter 5 4 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40157 4
42. ge of 10 to 30 V The power supply ripple must be limited to 5 V peak to peak and the immediate ripple voltage should be maintained between 10 and 30 Connectivity and Programming ADAM modules can connect to and communicate with all computers and terminals They use RS 485 transmission standards and communicate with ASCII format commands The command set for every module type consists of approximately ten different commands 1 2 ADAM 4000 Series User s Manual Chapter 1 The command set for input modules is larger because it incorporates alarm functions All communications to and from the module are performed in ASCII which means that ADAM modules can be programmed in virtually any high level language RS 485 Network The RS 485 network provides lower noise sensor readings as modules can be placed much closer to the source Up to 256 ADAM modules may be connected to an RS 485 multi drop network by using the ADAM RS 485 repeater extending the maximum communication distance to 4 000 ft The host computer is connected to the RS 485 network with one of its COM ports through the ADAM RS 232 RS 485 converter To boost the network s throughput the ADAM RS 485 repeaters use a logical RTS signal to manage the repeater s direction Only two wires are needed for the RS 485 network and Inexpensive shielded twisted pair wiring is employed Panel DIN Rail mounting Chapter 1 Introduction 1 3 Introd
43. ges B 2 Analog Input Ranges Range Input Range Data Formats 4FS Zero FS Displayed hex Pescription Resolution eo eering 15000 00 000 15 000 1 uv 00 15mV of FSR 100 00 2000 00 100 00 0 01 JEE 0000 8000 1 LSB nr eering 50 000 00 000 50 000 1 uv 01 50 mV of FSR 3100 00 2000 00 100 00 0 01 Dom 0000 8000 1 LSB Pheincers 4100 00 00000 100 00 10 uv 02 100 mV of FSR 3100 00 2000 00 100 00 0 01 0000 8000 1 LSB Pheincers 4500 00 00000 500 00 10 uv 03 500 mV of FSR 3100 00 5000 00 100 00 0 01 ATE TEEF 0000 8000 1 LSB Und 4100 00 0 0000 1 0000 100 00 pv 04 1V of FSR 3100 00 2000 00 100 00 0 01 a E JEDE 0000 8000 1 LSB Us cere 42 5000 20 0000 2 5000 100 00 pv 05 2 5V of FSR 100 00 2000 00 100 00 0 01 Dee 0000 8000 1 LSB LAE _ 420 000 00 000 20 000 Luv 06 20 mV of FSR 100 00 5000 00 100 00 0 01 emn 0000 8000 1 LSB 07 not used B 6 ADAM 4000 Series User s Manual Range Input Range Code put AE Data Formats 5 5 D
44. ies User s Manual 4015 40151 4018 4019 AAY Name Description Syntax Response Example Read Watchdog Timer Setting This command read the setting of Watchdog Timer communication cycle is delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module which is to be read Y represents the reading WDT cycle command cr is the terminating character carriage return 0Dh AAnnnn cr if the command was valid A A cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module nnnn range 0000 9999 represent the specified value of communication cycle you read cr represents terminating character carriage return 0Dh command 02Y cr response 020030 cr The command read the WDT cycle as 0030 in the input module at address 02 5 32 ADAM 4000 Series User s Manual 4015 4015 50 Description Syntax Response Chapter 5 Internal Calibration This command execute Internal self calibration for offset and gain errors AASO cr is a delimiter character AA range 00 FF re
45. ign File Edit View Project Format Debug Run Query Diagram Tools Add Ins Window Help S9S amp T GEB ss MES tS 7 Projecti Form Form k A soi em E P EM 0 Fonnl Code 1 Click Private Sub Commandl Click Buffer to hold input string Dim Instring As String Use COMI MSComnl CommPort 1 9600 baud parity 8 data and 1 stop bit 23 MSConnl Settings 9600 N 8 1 Tell the control to eid entire buffer when Input is used MSComml InputLen 0 Open the port MSComml PortOpen True End Sub Step 8 Click SEND Button and type following codes The source codes are listed at the end of this section Project Microsoft Visual Basic design Eb Edit View Project Format Debug Run Query Diagram Took Add Ins Window Help 5 5 52 era tw Project Forml Form jectl Form Code 42 7 ick El Private Sub Command2 Click Send Get AI command to ADAM 4011 Module at address MSComnl Output 01 amp Chr 13 Seit for data to come back to the serial port DoEvents Buffer Buffer amp MSComml Input Loop Until InStr Buffer vbCr Read the response till the carriage return Character Textl Text Buffer Display the reading End Sub 2 14 ADAM 4000 Series User s Manual Chapter 2
46. isplayed Description hex Engineering 10 000 00 000 10 000 Resolution Units 08 10 mV of FSR 100 00 000 00 100 00 uv ING TEFF 0000 8000 0 01 Complement Engineering 5 0000 40 0000 5 0000 LSB Units 09 5V of FSR 100 00 000 00 100 00 00 00 uv Twos 0000 8000 0 01 Complement Engineering 1 0000 40 0000 1 000 LSB Units 0A 1V of FSR 4100 00 5000 00 100 00 00 00 uv Ewes TEFF 0000 8000 0 01 Complement Engineering 500 00 4000 00 500 00 LSB Units 0B 500 mV of FSR 100 00 2000 00 100 00 0 uv Twos TEFF 0000 8000 0 01 Complement Engineering 150 00 000 00 150 00 LSB Units 150 mV of FSR 4100 00 2000 00 100 00 0 uv TOS TEFF 0000 8000 0 01 Complement Engineering 20 000 400 000 20 000 LSB Units 0D 20 mV of FSR 100 00 5000 00 100 00 uv Twos 7FFF 0000 8000 0 01 Complement Range Maximum Minimum Input Ran ge Data Formats Specitied Specitied Displayed Description Resolution Signal Signal Engineering 5 T y E A GE 760 000 000 00 0 01 C Thermocouple of FSR 100 00 000 00 0 01 0 C to 760 E 0000 1 LSB Complement Appendix B Data Formats and I O Ranges B 7 Data Formats I O Ranges Range Input Range Maximum Minimum Displaved Code PS Data Formats Specified Specifi
47. ith its new address 07 Wait 7 seconds to let the new configuration settings take effect before issuing a new command to the module Chapter 2 installation Guideline 2 7 Installation Guideline NOTICE All reconfiguration except changing of baud rate and checksum values can be done dynamically i e the modules need not to be reset When changing the baud rate or checksum these changes should be made for all connected devices After reconfiguration all modules should be powered down and powered up to force a reboot and let the changes take effect See the next page for a strategy for changing baud rate and or checksum for an entire network 2 3 Baud rate and Checksum Adam modules contain EEPROMs to store configuration information and calibration constants The EEPROM replaces the usual array of switches and pots required to specify baud rate input output range etc of the ADAM modules can be configured remotely through their communication ports without having to physically alter pot or switch settings Since there is no visual indication of a module s configuration status it is impossible just by looking at it what the baud rate address and other settings are It might not be possible to establish communications with a module whose baud rate and address are unknown To overcome this problem every module has an input terminal labeled INIT By booting the module while connecting the INIT terminal with the module s GND
48. l Span Cal Tonia tea tesa D Polling AI data 18 4 Chapter 8 Calibration 8 7 Calibration 3 Set the resistance to 0 and click Save 4 Click Zero Cal ty Ver 3 10 11 i Thermistor 3K 05100 Po E Centigrade C Thermistor 0100C 2 5 Apply 200 0 ohms 0 01 accuracy resistor to CHO and then Click Save 8 8 ADAM 4000 Series User s Manual 8 6 Click Span Cal 5000 U _Enable Disable Bange CHO po ADVANTECH m 7 Apply 10K ohms 0 01 accuracy resistor to CHO and then Click Save 8 Finished Chapter 8 Calibration 8 9 Calibration If you select the range Thermistor 10K 0 100C please follow the calibration steps as below 1 Change the input range to Thermistor 0 100 and click Update Fie Tools Help ADAM 4015T General Setting Channel Setup 22 Address HEX For all channels BaudRate smt Enable Disable Range follow CheckSum Enable Firmware Ver 2 00 CH1 Theristor 07100 z um out Data Format Engineering Units v CH2IThemistor3K O 100C Burnout Comm WDT 0 0 Sec CH3 Thermistor 07100 urm out Protocol ADVANTECH Y CHA Themi 100 Temp Uni
49. l Mounting C 6 ADAM 4000 Series User s Manual C 2 3 Piggyback Stack Figure C 6 Piggyback Stack Appendix C Technical Diagrams C 7 Utility Software D 1 ADAM 4000 Utility Software Together with the ADAM modules you will find a utility disk containing utility software with the following capabilities Module configuration Module calibration Data Input and Output Alarm settings Autoscan of connected modules Terminal emulation The following text will give you a brief instruction how to use the program Search the installed modules The main screen consists of a menu bar at the top side of the screen and a status field which displays information about the connected modules When the modules are connected well you have to start the program and search the modules by clicking the search icon as below Please do check the COM port and related settings are correct amp ADAM 4000 5000 Utility Ver 3 10 06 la xl File Tools Help MICE Pi COM Setting Serial Port cow Baudrate 8600 bps 3 DataBits Stop Blts RN Parity None Time Qut p COM Port status Figure D 1 Search screen D 2 ADAM 4000 Series User s Manual 0 NOTICE When changing configuration calibration or alarm parameters you should always make sure that a window appears notifying you that the target module has confirmed the cha
50. lass Module B Rf Add User Control E Add Property Page fi E ME User Document A ei Add WebClass Add Dsta Report DHTML Page wc Add Data Environment EB EB More ActiveX Designers gt Add File cm E Properties TTE Remove Foml Fom om ______ Alphabetic Categorized c m False amp H8000000F 2 Sizable H Name Returns the name used in code to identity an object Chapter 2 installation Guideline 2 11 Installation Guideline Step 3 Select Microsoft Comm Control Project Microsoft Visual Basic design KE inl x File Edit View Project Format Debug Run Query Diagram Tools Add Ins Window Help B9 amp mc Exc maloc nsxMIBEatT LotNotesUl ActiveX Control module Ci Microsoft Access BarCode Control 9 0 C Microsoft ActiveX Plugin C Microsoft ADO Data Control 6 0 OLEDB 5 Projectl Projectl 25 Forms amp Forni Fonnl 7 en C microsoft Agent Control 2 0 Microsoft Calendar Control 8 0 C Microsoft Chart Control 6 0 OLEDB ft Comm Control 6 0 CI Microsoft Common Dialog Control 6 0 5 3 ay 2 Microsoft Data Bound Grid Control 5 0 5 3 5 C Microsoft Data Bound List Controls 6 0 C Microsoft DataGrid Control 6 0 OLEDB ja Microsoft Datalist Controls 6 0 OLEDB of T Selected Items Only amp H8000000F p
51. le 3 45 3 12 ADAM 4051 16 channel Isolated Digital Input Module 3 47 3 13 ADAM 4052 Isolated Digital Input Module 3 49 3 14 ADAM 4053 16 channel Digital Input Module 3 51 3 15 ADAM 4055 16 channel Isolated Digital I O Module 3 53 3 16 ADAM 4056S 12 ch Sink Type Isolated Digital Output Module sc e cem ce eese 3 56 3 17 ADAM 4056SO 12 Source Isolated Digital Output P Lm 3 58 3 18 ADAM 4060 4068 Relay Output Module 3 60 3 19 ADAM 4069 8 channel Relay Output Module 3 64 3 20 ADAM 4080 4080D Counter Frequency Input Modules 3 67 Chapter 4 Command Set esee 4 1 4 1 eerte 4 2 4 2 Syntax 4 2 4 3 Module Commands Search Table 4 4 Chapter 5 Analog Input Module Command Set 5 1 5 1 Analog Input Command Set 5 2 5 2 Analog Input Data Logger Command Set 5 36 5 3 Digital I O Alarm and Event Command Set 5 49 5 4 Excitation Voltage Output Command Set 5 64 Chapter 6 AO commands esses ennt 6 1 6 1 Analog Output Module Command for ADAM 4021 6 2 6 2 Analog Output Module Command for ADAM 4
52. le A 14 ADAM 4018 4018 8 channel Analog Input Module A 16 8 ADAM 4018M 8 channel Analog Input Data Logger A 19 A 9 ADAM 4019 8 channel Universal Analog Input Module 22 10 ADAM 4021 Analog Output Module A 24 11 ADAM 4050 Digital I O A 26 12 ADAM 4052 Isolated Digital Input Module A 28 13 ADAM 4053 16 channel Digital Input Module A 30 A 14 ADAM 4056S 12 ch Sink Type Isolated Digital Output Module i A 32 15 ADAM 4056SO 12 ch Source Type Isolated Digital Output Module LE A 34 A 16 ADAM 4060 Relay Output Module A 36 A 17 ADAM 4069 8 channel Relay Output Module A 38 18 ADAM 4080 Counter Frequency Input Module A 40 A 19 ADAM 4080D Counter Frequency Input Module with LED DISPLAY 42 Appendix B Data Formats I O Ranges B 1 B 1 Analog Input nnne B 2 B 1 1 Engineering Units rece ert B 2 B2 an tee Si B 3 B 1 3 Twos complement B 4 Bl ORIMS see tein Ee Det e RE B 5 B 2 Analog Input Ranges
53. ls or and Iin for the ADAM 4014D and 4016 Use a precession voltage source to apply a calibration voltage to the module s Vin0 and Vin0 terminals for ADAM 4017 4017 4018 4018 4018M 4019 and 4019 ADAM 4011 Sg ADAM 4012 Figure 8 1 Applying Calibration Voltage 8 2 ADAM 4000 Series User s Manual Calibration Table 8 2 Calibration Resistance Module Input Input Range Span Offset Range Calibration Calibration Code Resistance Resistance Hex 4013 20 Pt 100 C 140 O 60 Q to 100 0 00385 21 Pt 09 C to 140 O 600 100 0 00385 22 09 200 Q 60 Q 200 C 0 00385 23 09 440 60 Q 600 0 00385 24 Pt 100 C 140 O 60 Q to 100 0 003916 25 09 140 Q 60 Q 100 0 003916 26 09 200 Q 60 Q 200 0 003916 27 09 440 60 Q 600 0 003916 28 Ni 80 C to 2000 60 Q 100 C 29 Ni 0 C to 200 O 60 Q 100 C 8 6 ADAM 4000 Series User s Manual Chapter 8 8 3 Analog Input Thermistor module Calibration Model ADAM 4015T If you select the range Thermistor 0 100 please follow the calibration steps as below 1 Short INIT pin to GND and then power up ADAM 4015T Run ADAM 4000 5000 Utility and search the module ADAM 4015T General Setting Channel Setup Add
54. mand 027C5R21 cr response 02 The command configures the range of channel 5 in the analog input module at address 02 as Pt100 IEC 0 1000 5 29 ADAM 4000 Series User s Manual 4015 40151 4017 4018 4019 AA8Ci Name Description Syntax Response Example Read Single Channel Range Configuration This command read the input type and range configuration of the specified channel in an analog input module AA8Ci cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module which is to be read 8 represents the read range configuration command Ci represent the specified input channel you want to read cr is the terminating character carriage return ODh AACiRrr cr if the command was valid A A cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal address of the analog input module Ci represent the specified input channel you read Rrr represent the type and range setting in the specified channel refer to Table 4 3 to check range code cr represents terminating character carriage return 0Dh command 028 5 response 02C5R2
55. ng character carriage return ODh In order to successfully calibrate an analog input module s input range a proper calibration input signal should be connected to the analog input module before and during the calibration See also Chapter 5 Calibration NOTICE An analog input module requires a maximum of 7 seconds to perform auto calibration and ranging after it received a Span Calibration command During this interval the module can not be addressed to perform any other actions 5 27 ADAM 4000 Series User s Manual 4015 40151 4017 4018 4019 AA1Ci Name Description Syntax Response Example Single Channel Offset Calibration The command calibrates a specified channel to correct for offset errors AAICi cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module which is to be calibrated represents the offset calibration command Ci represent the specified input channel you want to calibrate cr is the terminating character carriage return ODh AA cr if the command was valid A A cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates the command was invalid AA range 00 FF represents the 2 character hexadecimal
56. nges An asterix sign before the modules address indicates that the module is in the INIT state Configuration Click the searched module which you would like to configure You will find Setup page and related settings An example is shown in Figure D 2 for an ADAM 4011 module ADAM 4000 5000 Utility Ver 3 10 06 jol File Tools Help ze olz E ADAM 4011 2 9 V coe po EMEN Setting a o Address n HEX n 5 DEC Reading value 02550 COM3 BaudRate 3600 bp Alarm Type Setting CheckSum Enable Update Firmware Ver 3 Erg EID 126 Update Input 5 nput Range J Thermocouple he ron Alama Lent Data Format Engineering Unit 553 5 Update Integration Time 50 Alarm Status A Low Alarm ppa High Alarm pa owAlam igh Alam Update Clear Latch Al Calibratior Event Counter Counter Value DI DI Status Clear Event Cnt Read AI succeeded 4 Figure D 2 Configuration Screen Here there are three major areas General Setting Data Area and AI Calibration You may change the settings by selecting the preferred items and then clicking Update button The Checksum and Baud rate options need special attention since they can only be changed when an ADAM module is in the INIT state To place a module in INI
57. odule 15 configured for a range of 5 V The response to the Analog Data In command is 2 6500 cr Example 2 The input value is 305 5 C The analog input module is configured for a type J thermocouple whose range is 0 C to 760 C The response to the Analog Data In command is 305 50 cr Example 3 The input value is 45 653 V The analog input module is configured for a 5 V range When the engineering units format is used the ADAM Series analog input modules are configured so that they automatically provide an overrange capability The response to the Analog Data In command in this case is 5 6530 cr B 1 2 Percent of FSR This mode is used by setting bits 0 and 1 of the data format checksum Antegration 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 The maximum resolution possible is 0 01 The decimal point is fixed Data is given as the ratio of the input signal to the value of the full scale range Example 1 The input value is 2 0 V The input module is configured for a range of 5 V The response to the Analog Data In command is as follows 040 00 cr The full calibrated voltage range ranges from 100 to 100 as voltage input ranges are always bipolar A 5 V input would range from 5 V 100 to 5 V 100 In this example the input is represented by 40 of the full scale range which
58. on another For example the configuration command affects analog input modules and analog output modules differently Therefore the full command set for every module is listed Chapter 4 Command Set 4 3 4 ADAM 4015 ADAM 4015T Command Table Command Syntax Command Name Command Description Page No AANNTTCCFF Configuration Sets the address baud rate data format 5 4 checksum status and or integration time for a specified analog input module AAN Read Analog Input Returns the input value from a specified channel of 5 16 from Channel N analog input module in the currently configured data format Analog Data In Returns the input value from a specified analog 5 14 input module in the currently configured data format AAOCi Single Channel Calibrates a specified channel to correct for gain 5 27 Span Calibration errors AA1CI Single Channel Calibrates a specified channel to correct for offset 5 28 Offset Calibration errors AA2 Configuration Status Returns the configuration parameters for the 5 10 specified analog input module Synchronized Orders all analog input modules to sample their 5 21 Sampling input values and store them in special registers AA4 Read Synchronized Returns the value that was stored in the specified 5 22 Data module s register after the command AA5VV Enable Disable Enable or disable the individ
59. on the RS 485 network With the module powered off place a jumper on the INIT terminal to the GND terminal if the module has an INIT switch put the INIT switch in the Init position Power the module up Wait 10 seconds for the module to initialize Using the ADAM 4000 utility search scan for the module to change the protocol Initial COM settings 9600 baud N 8 1 The utility will identify the module from the search function The ADAM 4000 utility will now permit the serial data protocol to be changed to the Modbus protocol The address and COM port settings can also be changed at this time To access the module click on the module icon in the utility Using the utility under general settings for the module update the protocol by pressing the Update button Power down the module Remove INIT terminal wire from the GND terminal and INIT terminal Or put the INIT switch back in Normal position The module is now ready to be placed in the Modbus network H 2 ADAM 4000 Series User s Manual
60. or 4018 4018M 4019 integration time for a specified analog input module AA2 Returns the configuration 4011 4011D 4012 4013 4015 parameters for the specified 4015T 4016 4017 4017 4018 analog input module 4018 4018M 4019 Returns the firmware version 4011 4011D 4012 4013 4015 code from the specified analog 4015T 4016 4017 4017 4018 input module 4018 4018M 4019 AAM the module name from 4011 4011D 4012 4013 4015 the specified analog input 4015 4016 4017 4017 4018 module 4018 4018M 4019 AA Returns the input value from a 4011 4011D 4012 4013 4015 specified analog input moudule 4015T 4016 4017 4017 4018 in the currently configured data 4018 4019 format Returns the input value from 4015 4015T 4017 4017 4018 channel number n of the 4018 4018M 4019 Specified analog input module FAASVV Enables disables multiplexing 4015 40151 4017 4017 4018 simultaneously for separate 4018 4018M 4019 channels of the specified input module AA6 Ask the specified input module 4015 4015T 4017 4017 4018 to return the status of all eight 4018 4018M 4019 channels 0 Calibrate the analog input 4011 4011D 4012 4013 4016 module to correct for gain errors 4017 4018 4018M 1 Calibrate the analog input 4011 4011D 4012 4013 4016 module to correct for offset 4017 4018 4018M errors Te Orders all analog input modules 401
61. os i 0 C to 600 C Complement 7FFF 0000 1 LSB Ohms 317 28 100 00 10 mQ Engineering 100 000 80 00 0 01 1200 Unit 0 0 28 Nickel of FSR 100 00 000 00 0 01 80 C to 100 C Ms 8000 115 Complement Ohms 200 64 066 60 10 Appendix Data Formats and Ranges 9 Data Formats I O Ranges Range Input Range Maximum Minimum Displaved Code pue Sang Data Formats Specitied Specitied Description Resolution hex Signal Signal Engineering E RE gt s 01 100000 Units 100 00 000 00 0 01 C Nickel RTD of FSR 100 00 000 00 0 01 27 00392 Twos 0 C to 100 C Complement 0000 1158 Ohms 200 64 1120 00 10 B 10 ADAM 4000 Series User s Manual Resolution is one LSB of 16 bits Technical Diagrams C 1 ADAM Dimensions 2000900000 8 2 Y Figure C 1 ADAM Modules Dimensions C 2 ADAM 4000 Series User s Manual C 2 Installation C 2 1 DIN Rail Mounting AN Figure C 2 DIN Rail Adapter Appendix C Technical Diagrams C 3 Technical Diagrams Figure C 3 DIN Rail Mounting C 4 ADAM 4000 Series User s Manual C 2 2 Panel Mounting 142 00 12 2 00 120 00 4 5 00 28 09 Figure 4 Pane Mounting Bracket Dimensions Appendix C Technical Diagrams C 5 Technical Diagrams f Figure 5 Pane
62. presents the 2 character hexadecimal address of the analog input module which is to be calibrated SO represents the internal calibration system command cr is the terminating character carriage return ODh 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 error or communication error or if the specified address does not exist delimiter character indicates a valid command was received delimiter character indicates 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 5 33 ADAM 4000 Series User s Manual 4015 4015 AAS1 Name Description Syntax Response Reload Default Calibrating Parameter Reload factory default calibrating parameter to overwrite current calibrating parameter AASI cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of the analog input module which is to be reloaded 1 represents the reload calibrating parameter system command cr is the terminating character carriage return ODh AA cr if the command was valid A A cr if an invalid operation was entered There is no response if the module detects a syntax error or communication error or if the specified address does not exist delimiter character indicates a v
63. r character indicating a valid command was received AA range 00 FF represents the 2 character hexadecimal address of an analog input module Module Name is the name of the module at address AA cr is the terminating character carriage return ODh 5 13 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4019 AA Name Description Syntax Response Example Example Analog Data In The command will return the input value from a specified AA module in the currently configured data format AA cr is a delimiter character AA range 00 FF represents the 2 character hexadecimal address of an analog input module cr is the terminating character carriage return ODh gt data cr There is no response if the module detects a syntax error or communication error or if the specified address does not exist gt is a delimiter character data is the input value in the configured data format of the interrogated module For data formats see Appendix B cr is the terminating character carriage return ODh command 33 response gt 5 8222 cr The command interrogates 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 command 21 cr response 7 2111 7 2567 7 3125 7 1000 7 4712 7
64. ress n 5 DEC For all channels BaudRate 3600 bps Enable Disable follow CheckSum Enable CHO Thermistor 3K 0100C Bum out Fimware Ver 6200 Iv CHi Themistorsk0 100 Data Format Engineering Unts 5 07100 gt Comm WDT 00 Sec IV CH3 Themistorsk 0100C v Burn out Protocol ADVANTECH z v i 1002 Temp Unit Centigrade Am Themistor3K 07100 USE Iv CH5 Themistorak 0100C Bum out Al Calibration Zero Cal Span Cal Usa Lead Wire Effect Compensation Rehe Polling AI data e 2 2 Click Lead Wire Effect Compensation ADAM tility 0 11 Eile Tools Help 5 9 COMI 22 40157 gii COM3 ADAM 4015T General Setting Channel Setup Address For all channels Brit z Enable Disable Range follow CheckSum Enable JV CH rhemistorak 0100C v Bum out Fimware Ver E200 Iv CHi Themistorsk 07100 v Data Format Engineering Units v CH2 Themmistor 3K 0 1000 Comm WDT 0 0 Sec Iv CH3 Thermistor 3K 0 100 v Burrrout Protocol ADVANTECH hz CH4 i 100 Bum out Temp Unit Centigrade Thermistor 07100 Bum out Iv CH5 rhemistorsk 0100C Bum out Al Calibration Zero Ca
65. rstyle 2 Sizable pn Forni zi Microsoft Comm Control 6 0 CiWINNTIsystem321MSCOMM32 OCX sx Project Microsoft Visual Basic design File Edit View Project Format Debug Run Query Diagram Tools Add Ins Window Help B amp Tm Xm o MISSE mpeg mm im Project Form Form D ei an ge MSComml MSComm Alphabetic Categorized Name Retums the name used in code to identify an object 2 12 ADAM 4000 Series User s Manual Chapter 2 Step 5 Add three Command Buttons on the form as following File Edit View Project Format Debug Run Query Diagram Tools Add Ins Window Help 5 Projecti Project1 5 09 Forms A oi i i 2 243 Command3 Command Button Alphabetic Categorized Command 1 3D E amp H8000000F alse E CLOSE File Edit View Project Format Debug Run Query Disgram Tools Add Ins Window Help B 4 5 ia 5 Texti TextBox Alphabetic Categorized Chapter 2 installation Guideline 2 13 Installation Guideline Step 7 Click OPEN Button and type following codes The source codes are listed at the end of this section 3 Project Microsoft Visual Basic des
66. s User s Manual Appendix 2 This example explains how to calculate checksum value of a Read High alarm limit command string Case 1 If the Checksum feature is disabled Command 07RH cr Response 107 2 0500 when the command is valid Case 2 If the Checksum feature is enabled Command 07RH25 cr Response 107 2 050008 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 The module 256 100h sum of 125h is 25h Appendix F How to use the Checksum feature F 3 How to use the Checksum feature Table F 1 Printable ASCII Characters HEX ASCII HEX ASCII HEX ASCII HEX ASCII 21 40 SF 7E 22 41 60 23 42 61 24 5 43 62 b 25 44 63 e 26 amp 45 E 64 d 27 46 F 65 e 28 47 G 66 f 29 48 H 67 g 2A 49 68 2 1 69 1 2 4B K 6A 2D 4C L 6B k 2E 4D M 6C 1 2 6D m 30 0 AF 6E n 31 1 50 6F 32 2 51 70 33 3 52 R 71 4 34 4 53 5 72 r 35 5 54 73 5 36 6 55 U 74 t 37 7 56 V 75 u 38 8 57 W 76 39 9 58 X TI W 3A 5 5
67. s that might occur when modules are reconfigured 4 2 Syntax delimiter character address command data checksum carriage return Every command begins with a delimiter character There are four valid characters a dollar sign a pound sign a percentage sign 96 and an at sign The delimiter character is followed by a two character address hexadecimal that specifies the target module The actual two character command follows the address Depending on the command an optional data segment follows the command string An optional two character checksum may be appended to the total string Every commands is terminated by a carriage return cr ALL COMMANDS SHOULD BE ISSUED IN UPPERCASE CHARACTERS 4 2 ADAM 4000 Series User s Manual 4 Before command set we provide I O module commands search table to help you find the commands you wish to use The command set is divided into the following three types Analog Input Module commands Analog Output Module commands Digital I O Relay Output and Counter Frequency Module commands Every type starts with a command summary of the particular type of module and they are described on Chapter 5 6 amp 7 followed by datasheets that give detailed information about individual commands Although commands in different subsections sometimes share the same format the effect they have on a certain module can be completely different than they have
68. series the baudrate can be configured from 1200 bps to 38 4 Kbps And the baudrate of all modules in an RS 485 network must be the same ADAM Isolated RS 232 RS485 Converter optional When the host computer or terminal has only a RS 232 port an ADAM Isolated RS 232 RS 485 Converter connected to the host s RS 232 port is required Since this module is not addressable by the host the baud rate must be set 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 the number of ADAM modules connected is more than 32 a repeater should be connected to expand the first segment Up to 8 Repeater modules can be connected allowing connection of up to 255 ADAM modules As with the Converter module the Repeater module is not addressable by the host and the baud rate must be set by changing the switch inside the module The factory default setting is 9600 baud 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 that the baud rate is set correctly Default Factory Settings Baud rate 9600 Bit sec Address 01 hexadecimal The basic hook up for module configuration is shown below Chapter 2 installation Guideline 2 5 Installation Guideline ADAM 4520 RS 232 RS 485 Converter
69. t Cenigade C 7 hemistor 30100 ERE Iv CHS Themistorak 01005 7 Bum out Al Calibration Zero Cal Span Cal Lead Wire Effect Compensation Been Polling AT data 4 File Tools Help Utility 2 Click Lead Wire Effect Compensation 0 11 ADAM 4015T 5 9 COM1 General Setting Channel Setup F Dor 5T Address n 5 DEC For all EDS BaudRate sms Enable Disable Range follow CheckSum Enable Bum out Fimware Ver 5200 Iv CH1 Thermistor 3K 07100 Bum out Data Format ngresingnis X cuore 0100 Comm WDT 0 0 Sec CH3 Thermistor 07100 Burn out Protocol ADVANTECH caer CH4 Theri 100 Bure out Temp Unit Centigrade hermistor 07100 TEE Iv CHS Themistorak 01005 Bum out Al Calibration Zero Cal Span Cal R Lead Wire Effect Compensation D Breh Update Polling AI data 4 8 10 ADAM 4000 Series User s Manual 8 3 Setthe resistance to 0 and click Save ADAM 4015T Lead Wire Effect Compensation Thermistor 0100 3K 0100 Themistor 3K 07100 v ADVANTECH Themisto 3051006 Themistor 3K 071000 v 5 Apply 800 0 ohms 0 01 accuracy resistor to CHO and then Click Save Chapter 8 Calibration 8 11 Calibration 6
70. terminal the modules configuration is forced into a known state This state is called the INIT state INIT state defaults Baud rate 9600 Address 00h Checksum disabled Forcing the module in the INIT state does not change any parameters in the module s EEPROM When the module is in the INIT state with its INIT and GND terminals shorted all configuration settings can be changed and the module will respond to all other commands normally 2 8 ADAM 4000 Series User s Manual 2 Changing Baud rate Checksum Baud rate and checksum settings have several things in common They should be the same for all modules and host computer Their setting can only be changed by putting a module in the INIT state Changed settings can only take effect after a module is rebooted To alter baud rate or checksum settings you must perform the following steps Power on all components except the ADAM Module Power the ADAM module on while shorting the INIT and GND terminals See Figure 2 3 Figure 2 3 Grounding the INIT Terminal 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 to the ADAM Module OFF Remove the grounding of the INIT terminal and power the module on 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
71. ther actions NOTICE configuration parameters can be changed dynamically except checksum and baud rate parameters They can only be altered when the INIT terminal is grounded Refer to Baud rate and Checksum configuration in Chapter 2 for the correct procedure 5 5 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 40151 4016 4017 4017 4018 4018 4018 4019 Table 5 1 Input Range Codes Type Code Input Range Code Hex Input Range for 4011 4011D 4018 4018 Thermocouple and 20 mA only 4018M 00 15mV 01 50 mV 02 100 mV 03 500 mV 04 1V 05 2 5V 06 20 mA Type Thermocouple 0 to 760 C K Thermocouple 0 to 13707 C 10 Type T Thermocouple 100 to 400 C 11 Type E Thermocouple 0 to 10009 C 12 Type R Thermocouple 500 to 17509 C 13 Type S Thermocouple 500 to 1750 C 14 Type B Thermocouple 500 to 1800 C Input Range Code Hex Input Range for 4012 4017 4017 08 10V 09 5V OA 1V 0B 500 mV 0 150 00 20 mA1 Notice The input range requires the usage of a 125 current conversion resistor Input Rage Code Hex Input Range for 4016 00 15 01 i50 mV 02 100 mV 03 i500 mV 06 20 mA 5 6 ADAM 4000 Series User s Manual 4011 40110 4012 4013 4015 4017 4017 4018 4018 401 40151 4016 8M 4019
72. ual channels in an 5 17 Channels for analog module Multiplexing AA6 Read Channel Getthe enable disable status of all channels in an 5 18 Status analog module AAB Channel Diagnose Diagnose channel status in over range under 5 24 range and wire opening AATCIR Single Channel Configure the input type and range of the specified 5 29 Range Configuration channel in an analog input module AABCi Read Single Get input type and range of the specified 5 30 Channel Range channel in an analog input module Configuration AAXnnnn Watchdog Timer Set WDT communication cycle 5 31 Setting AAY Read Watchdog Read the setting of WDT communication cycle 5 32 Timer Setting AASO Internal Calibration Internal self calibration for offset and gain errors 5 33 51 Reload default Reload factory default calibrating parameter to 5 34 calibrating overwrite current calibrating parameter parameter SAAF Read Firmware Return the firmware version code from the 5 12 Version specified analog input module AAM Read Module Name Return the module name from the specified analog 5 13 input module Chapter 4 Command Set 4 11 Analog Input Module Command Set 5 5 1 Analog Input Common Command Set Command Syntax Description 1 0 Module AANNTTCCFF Sets the address input range 4011 4011D 4012 4013 4015 baud rate data format 40151 4016 4017 4017 4018 checksum status and
73. uction 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 Protection against the environment Hardened plastic packing forms the outer shell of every module Since all configuration is controlled by software the module is not designed to be opened This greatly enhances resistance against corrosive materials moisture and vibration ADAM modules low power requirements help them to operate in temperatures from 0 to 70 C and in humidities from 0 to 9596 non condensing They re built compactly using automated SMT technology so you can pack them into water tight and explosion proof industrial enclosures 1 2 Applications Remote data acquisition Process monitoring ndustrial process control Energy management Supervisory control Security systems Laboratory automation Building automation Product testing Direct digital control 1 4 ADAM 4000 Series User s Manual Installation Guideline This chapter provides guidelines to what is needed to set up and install an ADAM network A quick hookup scheme is provided that lets you configure modules before they are installed in a network To help you to connect ADAM modules with sensor inputs several wiring examples are provided Finally you will find at the end of this
74. ules and in responses from the modules to the host The feature adds two extra checksum characters to the command or response string which does reduce the throughput F 1 Checksum Enable Disable To enable configuration of a module s checksum feature its INIT terminal should be shorted to its GND terminal after which the module should be rebooted The checksum feature is enabled by setting bit 6 of the data format checksum parameter to 1 To disable the checksum set the parameter to 0 Remember that when using the checksum feature it should always be enabled for all connected devices including the host computer The checksum is represented by a 2 character ASCII hexadecimal format and is transmitted just prior to the carriage return The checksum equals the modulo 256 100h sum of all the ASCII values in the command preceding the checksum If the checksum in a command is missing or incorrect the module will not respond Example 1 The following is an example of an Analog Data In command and response when the checksum is enabled Command 0588 CR Response 3 56719D CR The input value at the module at address 05h is 3 5671 V The date format is engineering units The command checksum 88h is the sum of the ASCII values of the following characters 0 and 5 The response checksum 9Dh is the sum of the ASCII values of the following characters ir Sp 3 gt 26627 6 7 2 ADAM 4000 Serie
75. urn out Signal R 00207 6 Burn out Signal R 00208 7 Burn out Signal R ADDR 4X Channel Item Attribute Memo 40001 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 0x00 Ox0e 40202 1 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 0x40 0x18 40212 Module Name 2 R 0x50 0x00 40213 Version 1 R 2 0x00 40214 Version 2 R 0x00 0x00 40221 Channel Enable R W 0x00 Oxff Appendix ADAM 4000 Modbs Mapping Table G 3 Changing Configuration to Modbus Protocol The ADAM 4000 Modbus version modules may come from the factory set for ADAM ASCII protocol as the default protocol If the module is connected to a Modbus network the Modbus network may not recognize the module This may be because the ADAM 4000 module is set for ADAM ASCII protocol and needs to be set up for Modbus protocol Please follow the steps as below for configuring an ADAM 4000 module to Modbus protocol 1 oO AE Configure the ADAM 4000 Module with the ADAM 4000 utility latest ADAM 4000 utility can be found at www advantech com service amp support Initialize the ADAM 4000 on a RS 485 network the preferred method is one module at a time

Download Pdf Manuals

image

Related Search

ADAM4015 adam 4015

Related Contents

SOCCER PRO    EVGA 12G-P4-2990-KR NVIDIA GeForce GTX TITAN X 12GB graphics card  Supermicro X7DVL-E motherboard  ビュートビルダー 2 取扱説明書  STERLING 71100126-0 Installation Guide  Category 1/ファイル(P.55~106)  EVGA 128-P2-N372-TX NVIDIA GeForce 8600 GT 0.125GB graphics card  LocalView Fusion Internet User Guide  Emulex LightPulse LP1050DC  

Copyright © All rights reserved.
Failed to retrieve file