Adam-4100 User Manual Ed.3-Final
Adam-4100 User Manual Ed.3-Final
Adam-4100 User Manual Ed.3-Final
ADAM-4100 Series
Copyright
The documentation and the software included with this product are copyrighted 2019
by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right
to make improvements in the products described in this manual at any time without
notice. No part of this manual may be reproduced, copied, translated or transmitted
in any form or by any means without the prior written permission of Advantech Co.,
Ltd. Information provided in this manual is intended to be accurate and reliable. How-
ever, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringe-
ments of the rights of third parties, which may result from its use.
Acknowledgements
IBM and PC are trademarks of International Business Machines Corporation.
All other product names or trademarks are properties of their respective owners.
This product has passed the CE test for environmental specifications when shielded
cables are used for external wiring. We recommend the use of shielded cables. This
kind of cable is available from Advantech. Please contact your local supplier for
ordering information.
FCC Class A
Note: This equipment has been tested and found to comply with the limits for a Class
A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to
provide reasonable protection against harmful interference when the equipment is
operated in a commercial environment. This equipment generates, uses, and can
radiate radio frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio communications. Opera-
tion of this equipment in a residential area is likely to cause harmful interference in
which case the user will be required to correct the interference at his own expense.
Chapter 1
ADAM-4100 series modules feature an LED display on the face. This allows you to
monitor their status and read their address. In addition to the original two operating
modes (Initial and Normal modes), these modules also feature a new mode called
Address mode, which allows users to directly read a module's address via the LED
display.
Introduction
Note! When the Status and Com LED blink at the same time, the LED will
appear orange.
ADAM modules may be mounted on any panel, the provided brackets, DIN rails, or
they may be piggybacked on top of each other. The RS-485 network, together with
screw-terminal plug connectors, allows for system expansion, reconfiguration, and
repair without disturbing the wiring.
Host Computer
Any computer or terminal that can output in ASCII format over either RS-232 or RS-
485 can be used as the host computer. When only an 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 iso-
lation to protect your equipment.
Power Supply
ADAM modules are designed to accept industry standard +24 or +48 VDC unregu-
lated power. Operation is guaranteed when using any power supply between +10
and +48 VDC. Power ripples must be limited to 5 V peak-to-peak while the voltage in
all cases must be maintained between +10 and +48 VDC. All power supply specifica-
tions are referenced at the module connector. When modules are powered remotely,
the effects of DC voltage drops must be considered.
All modules use onboard switching regulators to sustain efficiency over the 10~48 V
input range; therefore, the actual drawn current can be assumed to be inversely pro-
portional to the DC voltage.
Note! The baud rate of micro USB and RS-485 will be identical for the mod-
ules; this means that if the RS-485 or USB baud rate is changed, the
other one will automatically align to the same baud rate.
The ADAM-4100 micro USB interface was developed based on the standard COM
port, which makes it easy to be integrated in SCADA with the standard COM port
driver. Unlike other USB devices, extra effort does not need to be invested in USB
driver development for your SCADA system.
2. Connect the module to your computer via a USB cable. Open Adam/Apax .NET
Utility and click Refresh Subnodes on the serial icon in the Module Tree Dis-
play Area.
3. The COM port for the module will be shown in the utility; select it and change
the baud rate to 9600 and click Apply
Chapter 2
5. Click Start to search for the module. After the searching process is finished, the
Installation Guide
model name of the module will be displayed on the list. You can then start to
configure the module.
6. After configuration, power off the module and turn the switch to Normal mode.
The setting will be applied when you power on the module.
Forcing the module in INIT* state does not change any parameters in the module's
EEPROM. When the module is in the INIT* state, all configuration settings can be
changed, and the module will respond to all other commands normally.
To modify the baud rate or checksum settings, you must perform the following steps:
1. Power on all components except the ADAM module
2. Power the ADAM module on while turning the switch to "initial" (see Figure 2-3)
3. Wait at least 7 s to let the self-calibration and ranging take effect
4. Configure the checksum status and/or baud rate
5. Switch the ADAM module power OFF
6. Turn the switch to Normal mode and power the module on
7. Wait at least 7 s for the self-calibration and ranging to take effect
8. Check the settings (if the baud rate has changed, the settings on the host com-
puter should be changed accordingly)
Chapter 2
Figure 2.4 provides an example of how ADAM modules are connected in a multi-
module network:
Installation Guide
Figure 2.5 Multi-Module Network Configuration
Chapter 2
Installation Guide
5. Add three command buttons to the form, as follows:
7. Click OPEN and enter the following code (source code examples are listed at
the end of this section).
Chapter 2
the end of this section).
Installation Guide
9. Click CLOSE and enter the following code (source code examples are listed at
the end of this section).
Chapter 2
Private Sub Command2_Click()
' Send Get AI command to ADAM-4011 Module at address 01H.
MSComm1.Output = "#01" & Chr$(13)
' Wait for data to come back to the serial port.
Do
DoEvents
Buffer$ = Buffer$ & MSComm1.Input
Installation Guide
Loop Until InStr(Buffer$, vbCr)
' Read the response till the carriage return character.
Text1.Text = Buffer$
' Display the reading.
End Sub
Environmental
Operating temperature: -40 ~ 85°C (-40 ~ 185°F)
EMI Meets FCC Class A and CE
Storage temperature: -40 ~ 85°C (-40 ~ 185°F)
Humidity: 5 ~ 95%, non-condensing
Power Requirements
Unregulated +10 ~ +48 VDC
Mechanical
PC with captive mounting hardware
Plug-in screw terminal block accepts wire sizes of #14-22 AWG with a stripped
length of 5 mm
Chapter 3
The ADAM-4117 is a 16-bit, 8-ch analog input module that provides programmable
input ranges for all channels. This module is an extremely cost-effective solution for
industrial measuring and monitoring applications. In addition to being able to endure
harsh environments, it can also hold a more robust design. The detailed specification
and enhancements are described in the following text.
I/O Modules
Specifications
Analog Input
Effective resolution: 16-bit
Channels: Eight differential and independent configuration channels
High common mode: 200 VDC
ASCII command and Modbus protocol
Input type: mV, V (supports unipolar and bipolar), mA
Input range: 0~150 mV, 0~500 mV, 0~1 V, 0~5 V, 0~10 V, 0~15 V, ±150 mV,
±500 mV, ±1 V, ±5 V, ±10 V, ±15 V, 0~20 mA, ±20 mA, 4~20 mA
Isolation voltage: 3000 VDC
Fault and overvoltage: Protection up to ±60 V
Sampling rate: 10/100 Hz (selected in Adam/Apax .NET Utility)
Input Impedance 20 MΩ
Chapter 3
– Voltage mode: ±0.1% or better
– Current mode: ±0.2% or better
Zero drift: ±6 µV/°C
Span drift: ±25 ppm/°C (typical)
CMR @ 50/60 Hz: 92 dB min
Built-in dual watchdog timer
Built-in TVS/ESD protection
Power consumption 1.2 W @ 24 VDC
I/O Modules
Protection (B version)
– ESD (IEC 61000-4-2) 8 kV (air)
– EFT (IEC 61000-4-4) 4 kV (power line)
– Surge (IEC 61000-4-5) power 4 kV (power line)
Jumper/Switch Settings
To simplify the jumper settings, for the ADAM-4117 (B version), you can set whether
the analog input type is voltage or current by adjusting the switch instead of opening
the case.
Application Wiring
Chapter 3
The ADAM-4118 is a 16-bit, 8-ch thermocouple input module that provides program-
mable input ranges on all channels. It accepts various thermocouple inputs (Type J,
K, T, E, R, S, B) and provides data to the host computer in engineering units (e.g.,
°C). To satisfy various temperature requirements in one module, each analog chan-
nel can be configured to have individual ranges, making a single module suitable for
multiple applications.
I/O Modules
Specifications
Analog Input
Effective resolution: 16-bit
Channels: 8 differential
ASCII command and Modbus protocol
Input type and range:
– Thermocouple
– J 0 ~ 760°C
– K 0 ~ 1370°C
– T -100 ~ 400°C
– E 0 ~ 1000°C
– R 500 ~ 1750°C
– S 500 ~ 1750°C
– B 500 ~ 1800°C
Chapter 3
Current mode: ±20 mA, +4~20 mA
Isolation voltage 3000 VDC
Fault and overvoltage: Protection up to ±60 V
Sampling rate: 100 Hz (max.)
Input impedance 20 MΩ
Accuracy of voltage mode: ±0.1% or better
Accuracy of current mode and high-speed mode: ±0.2% or better
Zero drift: ±6 µV/°C
I/O Modules
Span drift: ±25 ppm/°C (typical)
CMR @ 50/60 Hz: 92 dB min.
Built-in dual watchdog timer
Built-in TVS/ESD protection
Power consumption: 1.2 W @ 24 VDC
Jumper Settings
Application Wiring
Note! 1. Because the CJC sensor of the ADAM-4118 is located on the side of
Channels 0~4, the measurement will have a difference of ±1°C between
Channels 0~4 and Channels 5~7.
2. The ADAM-4118 input range accuracy for thermocouple mode is
shown in the following table:
I/O Modules
0 to 1000°C
R thermocouple
±1.2 ±2.5 °C
500 to 1750°C
S thermocouple
±1.2 ±2.5 °C
500 to 1750°C
B thermocouple
±2.0 ±3.0 °C
500 to 1800°C
Specifications
Channels:
– 7 input channels
– 8 output channels
Digital input:
– Dry contact:
Logic Level 0: Close to GND.
Logic Level 1: Open
– Wet contact:
Logic Level 0: +3 V (max.)
Logic Level 1: +10 to +30 V
– Isolation voltage: 3000 VDC
– Supports 3-kHz counter
– Supports digital filter function
Note! 1. The digital filter function works on counter mode and can be used to
set the minimum width of low and high signals in order to filter unwanted
noise.
2. Communication fail-safe values force the digital output channels to
safety status when communication times out
Application Wiring
Specifications
Number of Output Channel: 8 Form A
Contact rating:
– AC: 0.5 A @ 120 V; 0.25 A @ 240 V
– DC: 1 A @ 30 V; 0.3 A @ 110 V
Breakdown voltage: 750 VAC (50/60 Hz)
Insulation resistance: 1000 MΩ (min.) @ 500 VDC
Power consumption: 2.4 W (max.)
Relay response time (typical): ON, 3 ms; OFF, 4 ms
Total switching time: 10 ms
Supports 100-Hz pulse output
Supports communication fail-safe values
Built-in dual watchdog timer
Protection (B version)
– ESD (IEC 61000-4-2) 8 kV (air)
– EFT (IEC 61000-4-4) 4 kV (power line)
– Surge (IEC 61000-4-5) power 4 kV (power line)
Specifications
RTD Input
Resolution: 16-bit
Channels: 6 differential
ASCII command and Modbus protocol
Input type and range:
Pt100:
– -50 ~ 150° C
– 0 ~ 100° C
– 0 ~ 200° C
– 0 ~ 400° C
– -200 ~ 200° C
Application Wiring
Chapter 3
When a digital output is active, a circuit wire break or short to ground will result in an
output function fail. To help rectify such a situation quickly, the digital outputs of
ADAM-4100 modules (B version) have a digital output diagnostic function that can
issue a notification when abnormalities are detected in the digital output. The diag-
nostic status is given according to the following groups:
I/O Modules
Group 1 DO2, DO3
ADAM-4150-B
Group 2 DO4, DO5
Group 3 DO6, DO7
When the digital output is not active:
A digital output circuit wire break has occurred (open load)
A digital output connection is short to ground
When the digital output is active:
An output has been exposed to an overcurrent (>1 A)
Note! To ensure that the digital outputs operate normally, each digital output
should be configured within the specification for the individual channels:
30 V, 100 mA (max.).
Table 3.2: Obtaining the Digital Output Diagnostic Status With a Modbus
Address Value
Address (4X) Channels Description Attribute
Digital output diagnostic status (for B ver-
40307 All Read
sion) 0=normal, 1=abnormal
The following table shows the bit positions relative to the groups for the ADAM-4150-
B. The status of the groups can thus be interpreted according to the value shown in
each bit position. The group status values will be displayed as binary values, with Bit
1 being the right-most bit position and Bit 8 being the left-most bit position.
Syntax $017
Response !01(Group#n)…(Group #1)(Group#0)(cr)
Command: $017
Example
Response: !011110
Because the ADAM-4150 has four digital output groups for the diagnostic sta-
tus, the bit positions from right to left indicate the status of Groups 0~3, as fol-
lows:
Description - Group 0 = 0 (normal)
- Group 1 = 1 (abnormal)
- Group 2 = 1 (abnormal)
- Group 3 = 1 (abnormal)
The diagnostic status can be obtained using Adam/Apax .NET Utility. If a channel in
the digital output diagnostic group is not wired or has a wire break or short to ground
error, the digital output diagnostic column will show abnormal information. When all
channels in the group are connected correctly before the digital outputs are activated,
the field will show “all normal.”
Chapter 3
ADAM-4100 series modules (B version) have been designed with reliability functions.
The reliability function reduces the chance of failure due to unexpected events. You
can enable/disable the function by setting in Adam/Apax .NET Utility.
I/O Modules
is receiving a signal from digital sensors.
x = 0,1,2,3… Logic Level
DI (2x) 1 0
DI (2x + 1) 1 0
DI Reliability Group (x) 1 0
Logic Level
DO (2x) 1 0
DO (2x + 1) 1 0
DO Reliability Group (x) 1 0
Chapter 3
Digital Output Reliability
I/O Modules
DO reliability group 0 (DO0&1) = bit0:0 (group function disable)
DO reliability group 1 (DO2&3) = bit1:1 (enable)
DO reliability group 2 (DO4&5) = bit2:1 (enable)
DO reliability group 3 (DO6&7) = bit3:1 (enable)
$01PDaaaa
$01PD
#01PCdddd
$01PC
Before each command set is presented in the following text, an I/O module command
search table is given to help you find the commands that you wish to use. The com-
mand set is divided into the following three categories:
Analog input module commands
Analog output module commands
Digital I/O, relay output, and counter/frequency module commands
Each category starts with a command summary of a particular type of module.
Although commands in different subsections sometimes share the same format, the
effect they have on a certain module can be completely different from others. For
example, the configuration command “%AANNTTCCFF” affects analog input mod-
ules and analog output modules differently. The full command set for every module is
listed in the following text.
Chapter 4
Table 4.1: ADAM-4117 and ADAM-4118 Command Table
Command
Command Name Command Description
Syntax
Sets a module's address, input range,
%AANNTTC-
Configuration baud rate, data format, checksum sta-
CFF
tus, and/or integration time
Command Set
#AAN Read single analog input Returns the input value of channel N
Returns the input values of all chan-
#AA Read all analog inputs
nels
Calibrates a module to correct for gain
$AA0 Span calibration
errors
Calibrates a module to correct for off-
$AA1 Offset calibration
set errors
$AA2 Configuration status Returns a module's configuration data
Independently sets the multiplexing
$AA5VV Set multiplexing status on all channels status of all channels to enable/dis-
able
Read multiplexing status of all chan- Reads the multiplexing status (enable/
$AA6
nels disable) of all channels
$AAF Read firmware version Returns a module's firmware version
$AAM Read module name Return a module's name
$AA7CiRrr Configure single channel type/range Sets the input type/range of channel N
Returns the input type/range of chan-
$AA8Ci Read single channel type/range
nel N
Sets the watchdog timer communica-
$AAXnnnn Configure watchdog timer
tion cycle time
Returns the watchdog communication
$AAY Read watchdog timer
cycle time
$AAMC Get auto-filter sample rate Returns the auto-filter sample rate
Configure software filter multiplexing Set the software filter multiplexing sta-
#AAMKmm
status tus of all channels to enable/disable
Read software filter channel enable/ Read Software Filter channel Enable/
$AAMD
disable Disable
Locates a module by activating its
#AAFQm Locate module
locate LED
$AA3 Read CJC sensor value* Returns the CJC sensor value
Calibrates a module to adjust for off-
$AA9SNNNN CJC offset calibration*
set errors in its CJC sensor
*These commands apply only to the ADAM-4118
Chapter 4
%AANNTTCCFF
Name Configuration
Description Sets a module's address, input range, baud rate, data format,
checksum status, and/or integration time
Syntax %AANNTTCCFF(cr)
% is a delimiter
AA(range 00-FF) is the 2-character hex address of the specified
Command Set
module
NN represents the new hex address of the specified module (range
00h~FFh)
TT represents 00
CC represents the baud rate code
FF is a hex 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~5 are not used and are set to 0
(cr) is the terminating character, carriage return (0Dh)
Table 4.3: Input Range Codes for the ADAM-4117 (Type Code)
Input Range Code (Hex) Input Range
07 4~20 mA
08 ±10 V
09 ±5 V
0A ±1 V
0B ±500 mV
0C ±150 mV
0D ±20 mA
15 ±15 V
48 0~10 V
49 0~5 V
4A 0~1 V
4B 0~500 mV
4C 0~150 mV
4D 0~20 mA
55 0~15 V
Table 4.4: Input Range Codes for the ADAM-4118 (Type Code)
Input Range Code (Hex) Input Range
00 ±15 mV
01 ±50 mV
02 ±100 mV
03 ±500 mV
04 ±1 V
05 ±2.5 V
06 ±20 mA
07 4~20 mA
0E Type J thermocouple: 0 to 7600°C
0F Type K thermocouple: 0 to 1370°C
10 Type T thermocouple: -1000 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
Command Set
08 38.4 kbps
09 57.6 kbps
0A 115.2 kbps
0B 230.4 kbps
#AAN
Note! When modules measure thermocouple input values that are outside of
their configured range, they will send data that implies input out-of-
bounds. The next table shows the return values of the modules; how-
ever, it depends on the configured data format and the input value,
which may fall under or exceed the configured range.
An “input out-of-bounds” warning occurs only when modules are config-
ured for thermocouples. Furthermore, the current and voltage measure-
ment will return to the actual measured input if the readings fall outside
of the configured range.
Chapter 4
type J (Input range: 0~760°C) and the data format is in engineering units. The mod-
ule measures an input value of 820°C.
Command Set
$AA0
$AA2
The module responds with an input range of 2.5 V, a baud rate of 9600 bps, and an
integration time of 50 ms (60 Hz). Engineering units are the currently configured data
format, and no checksum function or checksum generation are in use.
$AA5VV
Command Set
Name Set multiplexing status on all channels
Independently sets the multiplexing status of all channels to
Description
enable/disable
$AA5VV(cr)
$ is a delimiter
AA (range 00-FF) is the 2-character hex address of the specified
module
5 refers to the set multiplexing status on all channels command
Syntax
VV are the 2 hexadecimal values interpreted as two binary words
(4-bit). The first word represents the status of Channels 4~7, and
the second word represents the status of Channels 0~3 (0 = dis-
abled, 1 = enabled).
(cr) is the terminating character, carriage return (0Dh)
!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, communica-
tion error, or if the address does not exist
Response ! is a delimiter indicating that a valid command was received
? is a delimiter indicating that the command was invalid
AA (range 00-FF) is the 2-character hex address of the specified
module
(cr) is the terminating character, carriage return (0Dh)
command: $00581(cr)
response: 00(cr)
8 (hex) = 1000 (binary), which enables Channel 7 and disables
Example
Channels 4~6
1 (hex) = 0001 (binary), which enables Channel 0 and disables
Channels 1~3
$AAF
Chapter 4
Name Read module name
Description Returns a module's name
Syntax $AAM (cr)
$ is a delimiter
AA (range 00-FF) is the 2-character hex address of the specified
module
M refers to the read module name command
(cr) is the terminating character, carriage return (ODh)
Command Set
Response !AA(Module Name)(cr) if the command is valid
! is a delimiter character indicating that a valid command was
received
There is no response if the module detects a syntax, communica-
tion error, or if the address does not exist
AA (range 00-FF) is the 2-character hex address of the specified
module
(Module Name) is the name of the specified module
(cr) is the terminating character, carriage return (ODh)
$AA7CiRrr
$AAXnnnn
Chapter 4
Name Read watchdog timer
Description Returns the watchdog timer communication cycle time
Syntax $AAY(cr)
$ is a delimiter
AA (range 00-FF) is the 2-character hex address of the specified
module
Y represents the read watchdog timer command
(cr) is the terminating character, carriage return (0Dh)
Command Set
Response !AAnnnn(cr) if the command is valid
?AA(cr) if an invalid operation was entered
There is no response if the module detects a syntax, communica-
tion error, or if the address does not exist
! is a delimiter indicating that a valid command was received
? is a delimiter indicating that the command was invalid
AA (range 00-FF) represents the 2-character hex address of the
specified module
nnnn (range 0000~9999) represents the communication cycle
value
(cr) represents terminating character, carriage return (0Dh)
Example command: $02Y(cr)
response: !020030(cr)
The command read the watchdog timer cycle as 0030 from
Address 02 of the input module.
#AAMC
#AAMD
$AAFQm
Command Set
Name Locate module
Description Locates a module by activating its locate LED
Syntax #AAFQm(cr)
# is a delimiter
AA (range 00-FF) is the 2-character hex address of the specified
module
FQ refers to the locate module command
m: 1 LED Turn ON (5 minutes)
0 Clear Locate
(cr) is the terminating character, carriage return (0Dh).
Response >AA (cr) if the command is valid
?AA(cr) if an invalid operation was entered
There is no response if the module detects a syntax, communica-
tion error, or if the address does not exist
> is a delimiter indicating that a valid command was received
? is a delimiter indicating that the command was invalid
AA (range 00-FF) represents the 2-character hex address of the
specified module
(cr) represents terminating character, carriage return (0Dh)
Example command: $01FQ1(cr)
response: >01 (cr)
The Status LED of the module at Address 01 lights for 10 s.
$AA3
$AA9SNNNN
Chapter 4
Name Single Channel Span Calibration command
Description The command calibrates a specified channel to correct for gain
errors.
Syntax $AA0Ci(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 is the Single
Channel Span Calibration command.
Command Set
Ci represents the specified input channel you want to calibrate.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(cr) if the command was valid.
?AA(cr) if an invalid operation was entered.
There is no response if the module detects a syntax error or com-
munication 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). 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 8, Calibration)
$AA1Ci
Command Set
%AANNTTCCFF
$AA2
$AA6
Command Set
Name Digital data in
Description Returns the statuses of a module's digital input channels and the
values of its digital output channels
Syntax $AA6(cr)
$ is a delimiter
AA (range 00-FF) is the 2-character hex address of the specified
module
6 refers to the digital data in command
(cr) is the terminating character, carriage return (0Dh)
Response !(dataOutput)(dataInput)00(cr) if the command is valid (ADAM-
4150)
!(dataOutput)0000(cr) if the command is valid (ADAM-4168)
?AA(cr) if an invalid command was issued
There is no response if the module detects a syntax, communica-
tion error, or if the address does not exist
! is a delimiter indicating that a valid command was received
? is a delimiter indicating that the command was invalid
AA (range 00-FF) is the 2-character hex address of the specified
module
(dataOutput) is a 2-character hex value that is the feedback of
either a digital output channel or a relay
(dataInput) is a 2-character hex value representing the input values
of the specified module
(cr) is the terminating character, carriage return (0Dh)
Example command: $336(cr)
response: !112200(cr)
This example is for the ADAM-4150. The first two characters of the
response, 11 (hex) = 00010001 (binary), indicate that Channels 0
and 4 are ON whereas Channels 1~3 and 5~7 are OFF. The follow-
ing two characters of the response, 22 (hex) = 00100010 (binary),
indicate that Channels 1 and 5 are both HIGH whereas channels 0,
2~4, 6, and 7 are LOW.
#AABB
$AAX0TTTTDD
Command Set
ADAM-4117 channel no. 7 6 5 4 3 2 1 0
Here, 7A (hex) means that the status is ON for Channels 1, 3, 4, 5,
6; the other channels are OFF
(cr) is the terminating character, carriage return (0Dh)
Response >(cr) if the command is valid
?AA(cr) if an invalid command was issued
There is no response if the module detects a syntax, communica-
tion error, or if the address does not exist
> is a delimiter indicating that a valid command was received
? is a delimiter indicating that the command was invalid
AA (range 00-FF) is the 2-character hex address of the specified
module
$AAX1
$AAX2
$AACIIIIIIIIIIIIIIOOOOOOOOOOOOOOOO
Command Set
II Character Mode II Character Mode
0 00 DI mode
Counter mode +
1 21 enable counter
record
2 04 Frequency mode
3 40 Enable digital filter
4 00 DI mode
5 00 DI mode
6 00 DI mode
$AACICjII
Command Set
Channel 2 is set to low-to-high latch mode
$AACICj
$AACOCjOO
$AACOCj
$AA0CjLLLLLLLLHHHHHHHH
Command Set
$AA0Cj
$AA9n(lw)(hw)(ld)(hd)
$AA9n
#AAN
#AAERFFccvvvvvvvv
Command Set
Name Set pulse output count
Description Sets the pulse output count
Syntax #AAERFFccvvvvvvvv (cr)
# is a delimiter
AA (range 00-FF) is the 2-character hex address of the specified
module
ERFF refers to the set pulse output count command
cc is the channel number (00~07 means Channels 0~7)
vvvvvvvv is an 8-hex character representing the pulse output count
(0 = continuous pulse output)
(cr) is the terminating character, carriage return (0Dh)
Response !AA if the command is valid
?AA(cr) if an invalid command was issued
There is no response if the module detects a syntax, communica-
tion error, or if the address does not exist
! is a delimiter indicating that a valid command was received
? is a delimiter indicating that the command was invalid
AA (range 00-FF) is the 2-character hex address of the specified
module
$AAERFFcc
$AA5NS
Chapter 4
Name Read counter start/stop status
Description Requests the counter/frequency module to indicate whether Coun-
ter 0 or 1 is active
Syntax $AA5N(cr)
$ is a delimiter
AA (range 00-FF) is the 2-character hex address of the specified
module
N indicates which counter is active (0 = Counter 0, 1 = Counter 1)
(cr) is the terminating character, carriage return (0Dh)
Command Set
Response !AAS(cr) if the command is valid
There is no response if the module detects a syntax, communica-
tion error, or if the address does not exist
! is a delimiter indicating that the command was valid
AA (range 00-FF) is the 2-character hex address of the specified
module
S represents the counter status (0 = counting, 1 = not counting)
(cr) is the terminating character, carriage return (0Dh)
Example command: $0650(cr)
response: !061(cr)
The command requests the counter/frequency module at Address
06 to return the status of Counter 0. The module replies that Coun-
ter 0 is counting.
$AA6N
4. Execute the zero calibration command. This is also done through Adam/Apax
.NET Utility. Apply the indicating signal to the input channel then save the exact
value.
Chapter 5
.NET Utility. Apply the indicating signal to the input channel then save the exact
value.
An asterisk “*” before a module's address indicates that the module is in the INIT*
state.
2. The two dialog windows hint to search again directly. It doesn't need to change
ADAM status like initial or normal mode
3. A new window will appear with the firmware download option. The model name
in the Module Tree Display Area will change to 41XX, and the Status Display
Area will show a field for you to select the baud rate for the download. Below the
baud rate selection, you can choose the firmware file by pressing Open file,
selecting the file, and then clicking Download to download the file to the hard-
ware.
Initial Mode
Once set to initial mode, the module will use factory settings (Address, 0; data format
9600, N, 8, 1).
Note! If you need to change between Initial and Normal modes, the module
needs to be reset for the changes to take effect.
Address Mode
For address mode, turn the switch directly from normal to initial mode without turning
off the power. The module will apply the user-defined settings during operation, and
the LEDs will show the node ID. These LEDs are commonly used for determining the
channel status and in address mode.
This image shows that ID = 19 (13h). Previously, you would have had to have used
the utility to check the node ID. Now, address mode can help you read the module
address directly.
Software Filter
This is for ignoring sudden noise. The following illustration shows this concept for the
input signal of Channel 1.
Reference:
II&0x07 = 00 Digital input mode
II&0x07 = 01 Counter mode
II&0x07 = 02 Low-to-high latch mode
II&0x07 = 03 High-to-low latch mode
II&0x07 = 04 Frequency mode
II&0x20 = 20 Digital input enable counter record function
II&0x40 = 40 Digital input enable digital filter function
II&0x80 = 80 Digital input invert mode
40301 Reserved
40302 Reserved
40303 Digital output data in word R/W
40213 Version1 R
40214 Version2 R
Example 1
The input value is -2.65 and the corresponding analog input module is configured for
a range of ±5 V. The response to the analog data in command is -2.6500 (cr).
Example 2
The input value is 305.5°C and the analog input module is configured for a type J
thermocouple whose range is 0~760°C. The response to the analog data in com-
mand is +305.50 (cr).
Example 3
The input value is +5.653 V. The analog input module is configured for a range of ±5
V. When the engineering unit format is used, ADAM series analog input modules
automatically provide an over-range capability. The response to the analog data in
command in this case is +5.6530 (cr).
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 +040.00 (cr).
The full calibrated voltage range ranges from -100% to 100% because voltage input
ranges are always bipolar. Thus, an input of ±5 V would range from -5 V (-100%) to 5
V (100%). In this example the input is represented by +40% of the FSR, which is
equal to +(40/100) x 5 V = +2.0 V, which is the actual input value.
Example
The input value is -1.234 V. An analog input module is configured for a range of ±5 V.
The value returned is E069 (cr), which is equivalent to the signed integer -8087. Input
ranges with voltage and milliamp values are used with the full calibrated voltage
range of 8000~7FFF. For instance, an ADAM-4118 module is given an input range of
±2.5 V. In this case, -2.5 V is denoted as 8000h and +2.5 V as 7FFFh. When thermo-
couple input ranges are used, an input range that is bipolar and symmetric at zero is
assumed. The following table provides several examples.
Appendix E RS-485
Each receiver input has a nominal input impedance of 18 kW feeding into a diode
transistor-resistor biasing network that is equivalent to an 18-kΩ input resistor tied to
a common mode voltage of 2.4 V. It is this configuration that provides the large com-
mon range of the receiver required for RS-485 systems (see Figure E-5).
Example 1
The following example is an analog data in command and response when the check-
sum is enabled:
Command: #0588(cr)
Response: +3.56719D(cr)
The input value of the module at address 05h is +3.5671 V (the data format is in engi-
neering units). The command checksum (88h) is the sum of the ASCII values for the
characters "#", "0", and "5". The response checksum (9Dh) is the sum of the ASCII
values for the characters ">", "+", "3", ".", "5", "6", "7", and "1".
Example 2
This example explains how to calculate the checksum value of a read high alarm limit
command string: