Adam 4000 Manual
Adam 4000 Manual
Acknowledgments
ADAM is a trademark of Advantech Co., Ltd.
IBM and PC are trademarks of International Business Machines Corporation.
All other product names or trademarks are properties of their respective owners.
The ADAM-4000 series developed by Advantech Co., Ltd. has passed the CE test for
environmental specifications when operated within an industrial enclosure (ADAM-
4950-ENC). Therefore, in order to protect the ADAM modules from being damaged
by ESD (Electric Static Discharge), we strongly recommend that the use of CE-com-
pliant industrial enclosure products when using any ADAM module.
Chapter 8 Calibration........................................189
8.1 Analog Input Module Calibration ........................................................... 190
Figure 8.1 Zero Calibration ...................................................... 190
Figure 8.2 Span Calibration ..................................................... 191
Figure 8.3 Cold Junction Calibration........................................ 191
8.2 Analog Output Calibration ..................................................................... 192
Figure 8.4 Setup for Analog Output Calibration....................... 192
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 VDC power
supply, they accept any power unit that supplies power within the range of +10 to +30
VDC. 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 VDC.
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 which extends the
maximum communication distance up to 4,000 ft. The host computer is connected to
the RS-485 network with one of its COM ports through the ADAM-452x module (RS-
232 to RS-422/485 converter).
To boost the network’s throughput, ADAM RS-485 repeater uses a logical RTS signal
to manage the repeater’s direction. The only two wires that are needed for the RS-
485 network, DATA+ and DATA-, are inexpensive shielded twisted pair.
Chapter 1
Introduction
ADAM modules can be mounted on any panels, brackets, or DIN rails. They can also
be stacked together. The RS-485 network, together with screw-terminal plug connec-
tors, allows for system expansion, reconfiguration, and repair without disturbing field
wiring.
1.2 Applications
Remote data acquisition
Process monitoring
Industrial process control
Energy management
Supervisory control
Security systems
Laboratory automation
Building automation
Product testing
Direct digital control
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 cor-
rect RS-485 protocol. The converter also provides opto-isolation and transformer-
based isolation to protect your equipment.
Power supply
For the ease of use in industrial environments, the ADAM modules are designed to
accept industry standard +24 VDC, unregulated power.
Operation is guaranteed when using any power supply between +10 and +30 VDC.
Power ripples must be limited to 5 V peak to peak while the voltage in all cases must
be maintained between +10 and +30 VDC. All power supply specifications are refer-
enced at module connector. When modules are powered remotely, the effects of DC
voltage drops must be considered.
All modules use on-board switching regulators to sustain good efficiency over the 10
to 30 V input range; therefore, we can assume that the actual drawn current is
inversely proportional to the DC voltage.
The following example shows how to calculate the required current that a power sup-
ply should provide.
Assume that a +24 VDC is used for five ADAM-4011 Analog Input Modules, and the
distance between modules and power supply is not significant enough to cause a DC
voltage drop. One ADAM-4011 module consumes a maximum of 1.2 Watts (W). The
total required power will equal to 5 x 1.2=6 W. A power supply of +24 VDC 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 in long communication lines (>500 feet), it is often more
reliable to obtain power locally through modular power supplies. These inexpensive
units can be easily obtained from any electronic retail stores.
Chapter 2
the number of modules connected. When implementing a network with long cables,
the use of thicker wire is more suitable due to the limitation of DC voltage drop. Fur-
thermore, long wires can also cause interference with communication wires.
Installation Guideline
Figure 2.1 Power Supply Connections
We advise the following standard colors (as indicated on the modules) for each
power line:
+Vs (R) Red
GND (B) Black
Communication Wiring
We recommend the use of shielded-twisted-pair cable in the ADAM network for
reducing interference purpose, but the cable has to comply with the EIA RS-485
standard. Furthermore, only one set of twisted pair cable is required for transmitting
Data. We advise the following standard colors (as indicated on the modules) for each
the communication line:
DATA+ (Y) Yellow
DATA- (G) Green
Note! User can refer our help file to see more details for explanation of Utility
operation.
Chapter 2
Before placing a module in an existing network, the module should be configured.
Though all modules are initially configured at the factory, it is recommended to check
if the baud rate is set correctly beforehand.
Default Factory Settings
Baud rate: 9600 Bit/sec.
Address: 01 (hexadecimal)
The basic hook-up for module configuration is shown below.
Installation Guideline
Figure 2.2 Basic Hook-up of ADAM Module to Host Switches
Example:
Make sure that the module is properly connected and turn on all the connected
devices. Then, start the terminal emulation program, and type in the following com-
mand:
$012(cr)
The command above requests the module with address 01 to send its configuration
status
!01050600
Module at address 01 responds that it is configured for an input range of +/-2.5 V,
baud rate of 9600, integration time of 50 ms (60 Hz).
The code also shows engineering units and no checksum checking or generation.
To change the configuration setting of the analog input module, the following com-
mand is issued:
%01070F0600(cr)
% = change configuration
01 = target module at address 00 to:
07 = change address to 07 hexadecimal
0F = set input range to Type K thermocouple
06 = set baud rate to 9600
00 = set integration time to 50 ms (60 Hz)
disable checksum
Chapter 2
(Please refer to Chapter 4, a full description of Command set syntax for an analog
input module)
When the module received the configuration command, it will respond with its new
address as shown below:
!07(cr)
Before giving more commands to the module, please wait for 7 seconds to let the
new configuration settings to take effect.
Installation Guideline
Note! All reconfiguration except for changing baud rate and checksum values
can be done dynamically, and the modules are not required to reset.
However, all the connected devices are required to reset by turning
power off and on after the baud rate or checksum values are changed.
The baud rate or checksum values should be the same for all the con-
nected devices after the reconfiguration. See the next page for a strat-
egy in changing baud rate and checksum of the network.
Chapter 2
The Figure below is an example of how ADAM modules are connected in a multiple
module network:
Installation Guideline
Chapter 2
Installation Guideline
3. Select “Microsoft Comm Control”.
Chapter 2
Installation Guideline
7. Click OPEN Button and type in the following codes. The source codes are listed
at the end of this section.
9. Click CLOSE Button and type in the following codes. The source codes are
listed at the end of this section.
Chapter 2
Temperature Reading Command. Now, you will find the reading the same as the
displayed format shown below.
Installation Guideline
Program Source Codes:
OPEN Command Button:
Private Sub Command1_Click()
' Buffer to hold input string
Dim Instring As String
' Use COM1.
MSComm1.CommPort = 1
' 9600 baud, no parity, 8 data, and 1 stop bit.
MSComm1.Settings = "9600,N,8,1"
' Tell the control to read entire buffer when Input ' is used.
MSComm1.InputLen = 0
' Open the port.
MSComm1.PortOpen = True
End Sub
Power Requirement:
Unregulated +10 ~ +30 VDC
Protected against power reversal
Mechanical:
Case: ABS+PC with captive mounting hardware
Plug-in screw: Stripped length: 6.5 mm
Terminal block: #14 ~22 or #14~28 AWG
Environment
EMI: Meets FCC Class A or CE
Operating Temperature: -10 ~ 70° C (14 ~ 158° F)
Storage Temperature: -25 ~ 85° C (-13 ~ 185° F)
Humidity: 5 ~ 95%, non-condensing
Chapter 3
A RTD module is popularly used for temperature measurement. Unlike the traditional
design, the ADAM-4015 RTD Input Module provides six RTD input channels for dif-
ferent types of RTD signal like as Pt, Ni, Balco. It is an effective solution in industrial
& building automation. Normally, broken external wires will lead to an inaccurate cur-
rent value; however, the ADAM-4015 provides a broken wire detection function. This
module can accept RTD sensors that have two or three wires. After the V2.04 of
ADAM-4015, ADAM-4015 can support the “BA1 -200~600°C”.
Please note that pin 26 is defined as GND and it is reserved.
I/O Modules
Note! Pin 26 is defined as GND and it is reserved.
Chapter 3
Table 3.1: Technical Specification of ADAM-4015
Channel Number 6 differential
Support Protocol ADAM ASCII and MODBUS/RTU
Input Type Pt100, Pt1000, BALCO500, Ni
Input Connections 2 or 3 wires
Wire Burnout Detection Yes
Input Type and Tem- Pt100: -50 to 150° C
I/O Modules
perature Range 0 to 100° C
0 to 200° C
0 to 400° C
-200 to 200° C
Pt1000: -40 to 160° C
Balco500: -30 to 120° C
Ni(518): -80~100° C
0~100° C
Ni(508): 0~100° C
-50~200° C
BA1: -200~600° C
Isolation Voltage 3000 VDC
Sampling Rate 10 sample/second (total)
Input Impedance 10 MΩ
Resolution 16-bit
Accuracy ± 0.1% (Typical)
CMR@50/60Hz 120 dB
NMR@50/60Hz 100 dB
Span Drift ±25 ppm/°C
Zero Drift ±6 μV/°C
Watchdog Timer System (1.6 second) and Communication
Power Input +10~+30 VDC (non-regulated)
Power Consumption Typical: 0.5 W @ 24 VDC
Max.: 0.9 W @ 24 VDC
ADAM-4015
-50 ~ 150°C
0 ~ 100°C
Platinum 100 (IEC) 0 ~ 200°C 0.10%
0 ~ 400°C
-200 ~ 200°C
-50 ~ 150°C
0 ~ 100°C
Platinum 100 (JIS) 0 ~ 200°C 0.2% or better
0 ~ 400°C
-200 ~ 200°C
Chapter 3
I/O Modules
Figure 3.3 ADAM-4017 8-channel Analog Input Module
Channels:
- Eight differential
Accepts:
- Millivolt inputs: 0 ~ 150 mV*, 0 ~ 500 mV*, ±150 mV and ±500 mV
- Volt inputs: 0 ~ 1 V*, 0 ~ 5 V*, 0 ~ 10 V*, ±1 V, ±5 V, and ±10 V
- Current input (requires a 125 resistor): 0~20mA* and ±20 mA
* New input range for ADAM-4017-F
The module forwards the data to the host computer in engineering units (mV, V or
mA)
Chapter 3
I/O Modules
3.3.5.1 Technical Specification of ADAM-4017+
Chapter 3
I/O Modules
3.3.6.1 Technical specification of ADAM-4018+
Figure 3.10 ADAM-4017-D2E Single-ended Input Wiring Diagram (Ch6 and Ch7)
Figure 3.13 ADAM-4019+ 8-channel Universal Analog Input
Chapter 3
To simplify the jumper settings, for the ADAM-4019+ (F version), you can set whether
the analog input type is voltage or current by adjusting the switch instead of opening
the case.
I/O Modules
Figure 3.14 ADAM-4019+-F Switch Settings
Chapter 3
Table 3.4: Technical Specification of ADAM-4019+
Channel 8
Resolution 16 bits
Input Type V, mV, mA, T/C
Input type and V: ±1 V, ±2.5 V, ±5 V, ±10 V, 0 ~ 1 V*, 0 ~ 2.5 V*, 0 ~ 5 V*, 0 ~ 10 V*
temperature range mV: ±100 mV, ±500 mV, 0 ~ 100 mV*, 0 ~ 500 mV*
mA: ±20 mA (with 120 Ω resister)
I/O Modules
4~20mA (with 120 Ω resister)
0~20mA* (with 120 Ω resister )
Thermocouple:
J 0 to 760 °C
K 0 to 1370 °C
T -100 to 400 °C
E 0 to 1000 °C
R 500 to 1750 °C
S 500 to 1750 °C
B 500 to 1800 °C
N* -200 to 1300 °C
Isolation Voltage 3000 VDC
Sampling Rate 10 samples/sec (total)
Input Impedance Voltage: 20 MΩ, Current: 120Ω
Accuracy ± 0.1% or better (Voltage)
± 0.2% or better (Current)
Power Consumption 1.0W @ 24 VDC
I/O Connector Type 10 pin plug-in terminal
Burn-out Detection 4~20mA and all thermocouple input
* New input range for ADAM-4019+-F
Depending on its configuration settings the module accepts the following formats
from the host computer:
- Engineering units
- Percent of full-scale range (FSR)
- Two’s complement hexadecimal format,
Output types:
- Voltage: 0 ~ 10 V
(Slew rate: 0.0625 to 64 V/sec)
- Currents: 0 ~ 20 mA, or 4 ~ 20 mA.
(Slew rate: 0.125 to 128 mA/sec)
Chapter 3
I/O Modules
Figure 3.17 ADAM-4021 Analog Output Wiring Diagram
Digital Input:
Wet contact
- Logic level 0: +1 V max.
- Logic level 1: +3.5 ~ 30 V
Dry contact
- Logic level 1:Open
- Logic level 0: Close to ground
Digital Output:
- Open collector to 30 V, 30 mA max. load
Chapter 3
I/O Modules
Figure 3.21 ADAM-4050 Wet Contact Wiring Diagram
Chapter 3
Module
The ADAM-4051 is a 16 channel Digital Input Module. It is built with 2500 VDC optical
isolation, and it is suitable for critical applications. The main difference from other
modules is that ADAM-4051 accepts 10 ~ 50V input voltage to fit various digital sig-
nals like 12 V, 24 V, and 48 V. Moreover, users can read the current status from the
LED indicators on the front panel.
I/O Modules
Figure 3.25 ADAM-4051 16-channel Isolated Digital Input Module
Channel: 16
Optical Isolation: 2500 VDC
Opto-isolator response time: 25 μs
Over-voltage Protect: 70 VDC
ESD (Electro Static Discharge): 2000 VDC
LED Indicator: On: Active; Off: Non-active
Input Voltage:
– Dry Contact Logic level 1: close to GND, Logic level 0: open
– Wet Contact Logic level 1: 10 ~ 50 V, Logic level 0: 3 V
Power consumption:
– Typical: 0.7 W @ 24 VDC
– Max.: 1.25 W @ 24 VDC
I/O Connector Type: 13 pin plug-in terminal*2
Chapter 3
The ADAM-4052 provides eight digital input channels. Among these eight channels,
six of them are fully independent isolated channels and the other two are isolated
channels with a common ground. They all have 5000 VRMS isolation to prevent
power surges from the input lines
I/O Modules
Figure 3.28 ADAM-4052 Isolated Digital Input Module
Channels: 8
- 6 differential channels (fully independent isolated channels)
- 2 single-ended channels (isolated channels with common ground)
Digital Input:
- Logic level 0: +1 V max.
- Logic level 1: +3 ~ 30 V
Chapter 3
-Dry contact
Logic level 0: Close to GND
Logic level 1: OPEN
-Wet contact
Logic level 0: +2 V max.
Logic level 1: +4 V to +30 V
Note! There is one pin showing “INIT*/DI15” on the connector of the ADAM-
I/O Modules
4053 module. You can configure the pin define by the jumper on PCB
(refer to the image below to see its location):
Jumper Setting:
Chapter 3
Module
The ADAM-4055 offers 8 channel isolated digital input and 8 channel isolated digital
output for critical applications. The inputs accept 10~50 V voltage, and the outputs
can supply 5~40 VDC at the open collector. The ADAM-4055 is user friendly with built
LED indicator for status reading.
Notice: We had updated the digital input dry/wet contact option by using jumper
selection. The default setting is to support these two DI contacts both at the same
time. However, a customer can also choose his or her needs by supporting only one.
I/O Modules
Please refer to the following wiring illustration figure 3-53 for more details.
Figure 3.39 ADAM-4055 Default Jumper Setting for the Digital Input Wiring
(Supports dry and wet contact digital inputs at the same time)
Figure 3.41 ADAM-4056S 12-channel Sink Type Isolated Digital Output Module
Chapter 3
I/O Modules
Figure 3.42 ADAM-4056S Digital Output Wiring Diagram
Chapter 3
I/O Modules
Figure 3.44 ADAM-4056SO Digital Output Wiring Diagram
Chapter 3
I/O Modules
Figure 3.46 ADAM-4068 8-channel Relay Output Module
Note! This electric current is under the load of resistance. If you try to use the
load of inductance, the electric current would be less the above-men-
tioned value.
3.15.2 Wiring
Chapter 3
ADAM-4080 Counter/frequency input module has two 32-bit counter input channels
(counter 0 and counter 1) with built-in programmable timer for frequency measure-
ment. These cost-effective modules let you monitor counter/frequency data as mea-
surements are taken.
I/O Modules
lation to protect your equipment from power surges at the ground terminal. After you
make the physical connections, program the module to identify which of its two input
terminals should be activated (isolated or non-isolated terminals).
Programmable Threshold
When the ADAM-4080 is programmed for non-isolated input, you can set a high and
low trigger level. Like the programmable digital filter, the programmable threshold
rejects noise from the input lines and provides a stable input readings
Chapter 3
Digital Output:
- Channels: 2, open collector to 30 V, 30 mA max. load
I/O Modules
Figure 3.55 ADAM-4080 Non-isolated Input
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 % 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 by the
address. Depending on the command, an optional data segment may follows by a
command string. Furthermore, an optional two-character checksum may be
appended to the total string. Every command is terminated by a carriage return (cr).
ALL COMMANDS SHOULD BE ISSUED IN UPPERCASE CHARACTERS!
Before the command set is given, we provide an I/O module commands search table
to help you find the commands that you wish to use. The command set is divided into
the following three categories:
Analog Input Module commands
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. How-
ever, they are explained in more depth at Chapter 5, 6 & 7 with detailed datasheets of
each individual commands.
Although commands in different subsections sometimes share the same format, the
effect they have on a certain module can be completely different from others. For
example, the configuration command %AANNTTCCFF affects analog input modules
and analog output modules differently. The full command set for every module is
listed below.
Chapter 4
Table 4.1: ADAM-4015 Command Table
Command Syntax Command Name Command Description Page No.
Sets the address, input range, baud
rate, data format, checksum status,
%AANNTTCCFF Configuration 5-4
and/or integration time for a specified
analog input module
Returns the configuration parame-
Command Set
$AA2 Configuration Status ters for the specified analog input 5-10
module
Return the firmware version code
Read Firmware
$AAF from the specified analog input mod- 5-12
Version
ule
Return the module name from the
$AAM Read Module Name 5-13
specified analog input module
Returns the input value from a speci-
#AA Analog Data In fied analog input module in the cur- 5-14
rently configured data format
Returns the input value from a speci-
Read Analog Input fied channel of analog input module
#AAN 5-16
from Channel N in the currently configured data for-
mat
Enable/Disable
Enable or disable the individual chan-
$AA5VV Channels for Multi- 5-17
nels in an analog module
plexing
Get the enable/disable status of all
$AA6 Read Channel Status 5-18
channels in an analog module
Calibrates an analog input module to
$AA0 Span Calibration 5-19
correct for gain errors
Calibrates an analog input module to
$AA1 Offset Calibration 5-20
correct for offset errors
Orders all analog input modules to
Synchronized
#** sample their input values and store 5-21
Sampling
them in special registers
Returns the value that was stored in
Read Synchronized
$AA4 the specified module's register after 5-22
Data
the #** command
Diagnose channel status in over
$AAB Channel Diagnose 5-24
range, under range, and wire opening
Single Channel Calibrates a specified channel to cor-
$AA0Ci 5-27
Span Calibration rect for gain errors
Single Channel Calibrates a specified channel to cor-
$AA1Ci 5-28
Offset Calibration rect for offset errors
Configure the input type and range of
Single Channel
$AA7CiRrr the specified channel in an analog 5-29
Range Configuration
input module
Read Single Chan- Get the input type and range of the
$AA8Ci nel Range Configura- specified channel in an analog input 5-30
tion module
Command Set
Return the firmware version code
Read Firmware
$AAF from the specified analog input mod- 5-12
Version
ule
Return the module name from the
$AAM Read Module Name 5-13
specified analog input module
Return the input values from all chan-
Read Analog Input
#AA nels of the specified analog input 5-14
from all Channels
module
Return the input value from channels
Read Analog Input
#AAN number N of the specified analog 5-16
from Channel N
input module
Enable/Disable
Enable or disable the individual chan-
$AA5VV Channels for Multi- 5-17
nels in an analog module
plexing
Get the enable/disable status of all
$AA6 Read Channel Status 5-18
channels in an analog module
Configure the input type and range of
Single Channel
$AA7CiRrr the specified channel in an analog 5-29
Range Configuration
input module
Read Single Chan- Get the input type and range of the
$AA8Ci nel Range Configura- specified channel in an analog input 5-30
tion module
Set communication WDT cycle time
Watchdog Timer from 0000 ~ 9999 (unit: 0.1 second. if
$AAXnnnn 5-31
Setting value is 0000, the communication
WDT function will be disable)
Read Watchdog Read the cycle time setting of com-
$AAY 5-32
Timer Setting munication WDT
Chapter 4
Read Watchdog Read the cycle time setting of com-
$AAY 5-32
Timer Setting munication WDT
Command Set
06 +/-20 mA +20.000 -20.000 1uA
07 4~20 mA +20.000 +4.000 1uA
Type J
14
Thermocouple
Type K
15
Thermocouple
Type T
16
Thermocouple
Type E
17
Thermocouple
Type R
18
Thermocouple
Type S
19
Thermocouple
Type B
20
Thermocouple
Chapter 4
Return the firmware version code
Read Firmware Ver-
$AAF from the specified analog output 6-17
sion
module
Return the module name from the
$AAM Read Module Name 6-18
specified analog output module
Command Set
Set the address, output range, baud
%AANNTTCCFF Configuration rate, data format, slew rate and/or 6-19
checksum status
Directs output data to a specified
#AACn(data) Analog Data Out 6-20
module
#AASCn(data) Set Startup Data Set data As CHn StartUp Data 6-20
Set data As CHn Emergency Stop
#AAECn(data) Set Emergency Stop 6-20
Data
#** N/A Synchrous Sample IDI 6-20
Tells the module to store parameters
$AA0Cn 4 mA Calibration 6-20
for 4 mA Calibration
Tells the module to store parameters
$AA1Cn 20 mA Calibration 6-20
for 20 mA Calibration
$AA2 Configuration Status Read back Module status 6-20
$AA3Cn(number of Trims specified module a number of
Trim Calibration 6-20
counts) units up/down
Start-up output cur- Stores a default output value in a
$AA4 rent/voltage configu- specified module. The output value 6-20
ration will take effect upon startup.
Read Back Reset Times After Last
$AA5 Reset Status 6-20
$AA5 CMD And Clear This ounter
Returns either last value sent to spec-
$AA6Cn Last Value Readback ified module by #AA command, or 6-20
start-up output current/voltage
$AA7CnRxx Set Output Type Set CHn Output Type 6-20
Returns measured value of the cur-
$AA8Cn Current Readback rent/voltage flowing through current 6-21
loop
Return the firmware version code
Read Firmware
$AAF from the specified analog output 6-21
Version
module
Return the module name from the
$AAM Read Module Name 6-21
specified analog output module
Enable/Disable (Z=1/0)
$AAACnZ EMS Flag setting 6-21
CHn EMS Flag
$AABCn Read EMS Flag Read CHn EMS Flag 6-21
$AADCn Read startup data Read Back CHn StartUp Data 6-21
Read emergency Read Back CHn Emergency Stop
$AAECn 6-21
Stop Data
Reset Current Trim Data Variable To
$AAG Reset Current Trim 6-21
0
$AAH Read Current Trim Read Current Trim Data Variable 6-21
Command Set
#** sample their input values and store 7-11
Sampling
them in special registers
Returns the configuration parame-
$AA2 Configuration Status 7-14
ters of a specified digital I/O module
Returns the value of a specified
Read Synchronized digital I/O module that was stored in
$AA4 7-12
Data the specified register after an #**
command was issued
Indicates whether a specified digital
$AA5 Reset Status I/O module was reset after the last 7-16
time that $AA5 command was issued
Returns the values of the digital I/O
$AA6 Digital Data In 7-6
channel in the addressed module
Read Firmware Return the firmware version code
$AAF 7-18
Version from the specified digital I/O module
Return the module name from the
$AAM Read Module Name 7-19
specified digital I/O module
Command Set
$AA2 Configuration Status 7-14
of a specified digital I/O module
Indicates whether a specified digital
$AA5 Reset Status I/O module was reset after the last 7-16
time that $AA5 command was issued
Returns the values of the digital I/O
$AA6 Digital Data In 7-6
channel in the addressed module
Read Firmware Return the firmware version code
$AAF 7-18
Version from the specified digital I/O module
Return the module name from the
$AAM Read Module Name 7-19
specified digital I/O module
Force the DO channels to safety sta-
$AAX0TTTTDD Write Safety Value tus when communication is time-out 7-21
and over pre-defined period.
Read the time-out setting and pre-
$AAX1 Read Safety Value 7-22
defined safety status of DO channels.
Requests the Safty Flag of the
addressed digital I/O module to see
$AAX2 Read Safety Flag whether the safety value has been 7-23
executed since Write Safety Value
command was set.
Command Set
Returns the configuration parame-
$AA2 Configuration Status 7-14
ters of a specified digital I/O module
Indicates whether a specified digital
$AA5 Reset Status I/O module was reset after the last 7-16
time that $AA5 command was issued
Returns the values of the digital I/O
$AA6 Digital Data In 7-6
channel in the addressed module
Read Firmware Return the firmware version code
$AAF 7-18
Version from the specified digital I/O module
Return the module name from the
$AAM Read Module Name 7-19
specified digital I/O module
Force the DO channels to safety
$AAX0TTTTDD Write Safety Value status when communication is time- 7-21
out and over pre-defined period.
Read the time-out setting and pre-
$AAX1 Read Safety Value 7-22
defined safety status of DO channels.
Requests the Safety Flag of the
addressed digital I/O module to see
$AAX2 Read Safety Flag whether the safety value has been 7-23
executed since Write Safety Value
command was set.
Read and Clear Over Read the Over Current Status Flag
$AAE0 7-24
Current Status Flag and Clear the Flag simultaneously
Command Set
#AABB(data) Digital Data Out single channel or all channels simul- 7-8
taneously
Returns the configuration parame-
$AA2 Configuration Status 7-14
ters of a specified digital I/O module
Indicates whether a specified digital I/
$AA5 Reset Status O module was reset after the last time 7-16
the $AA5 command was issued
Read Firmware Return the firmware version code
$AAF 7-18
Version from the specified digital I/O module
Return the module name from the
$AAM Read Module Name 7-19
specified digital I/O module
Force the DO channels to safety
$AAX0TTTTDD Write Safety Value status when communication is time- 7-21
out and over pre-defined period.
Read the time-out setting and pre-
$AAX1 Read Safety Value 7-22
defined safety status of DO channels.
The command requests the module
Read low power
$AAP at address AA to return the low power 7-25
status
status of module
The command requests the module
$AAS Set low power status at address AA to set and return the 7-26
low power mode of module
Chapter 4
The addressed counter frequency
$AA4 Read Filter Status module returns the status of its digital 7-50
filter
Set Minimum Input Sets the minimum input signal width
$AA0H(data) Signal Width at High at high level for a specified counter/ 7-51
Level frequency module
Read Minimum Input Reads the minimum input signal
$AA0H Signal Width at High width setting at high level for a speci- 7-52
Level fied counter/frequency module
Command Set
Set Minimum Input Sets the minimum input signal width
$AA0L(data) Signal Width at Low at low level for a specified counter/ 7-53
Level frequency module
Read Minimum Input Reads minimum input signal width
$AA0L Signal Width at Low setting at low level for a specified 7-54
Level counter/frequency module
Sets the high trigger level of non-iso-
Set Non-isolated
$AA1H(data) lated input signals for a specified 7-55
High Trigger Level
counter/frequency module
Requests the addressed counter
Read Non-isolated
$AA1H frequency module to return the high 7-56
High Trigger Level
trigger level for non-
Set Non-isolated Low
$AA1L(data) isolated input signals 7-57
Trigger Level
Sets the low trigger level of non-iso-
Read Non-isolated
$AA1L lated input signals for a specified 7-58
Low Trigger Level
counter/frequency module
Set Initial Count Sets the initial count value of the
@AAPN(data) 7-61
Value of Counter N module for counter 0 or counter 1
Read Initial Count Reads the initial count value of
@AAGN 7-62
Value of Counter N counter 0 or counter 1
Enable Alarm of Enable alarm for the specified
@AAEAN 7-63
Counter N counter 0 or counter 1
Disable Alarm of Disable alarm for the specified
@AADAN 7-64
Counter N counter 0 or counter 1
Set Alarm Limit Value Download the alarm limit value for
@AAPA(data) 7-65
of Counter 0 counter 0 of the specified module
Set Alarm Limit Value Download the alarm limit value for
@AASA(data) 7-65
of Counter 1 counter 1 of the specified module
Read Alarm Limit Ask the module to return the alarm
@AARP 7-66
Value of Counter 0 limit value of counter 0
Read Alarm Limit Ask the module to return the alarm
@AARA 7-66
Value of Counter 1 limit value of counter 1
Set Digital Output Set the values of the module's two
@AADO (data) 7-67
Values digital outputs (ON or OFF)
Ask the module to return the
Read Digital Output
@AADI status state of its two digital outputs 7-68
and Alarm Status
and the status of its alarm.
No.
5.1.1 %AANNTTCCFF
Name Configuration command
Description Sets address, input range, baud rate, data format, checksum status,
and/or integration time for an analog input module.
Syntax %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. (Note: 4015 and
4019 must be 00)
(Refer to Table 5-1 on Page 5-6)
CC represents the baud rate code.
(Refer to Table 5-2 on Page 5-8)
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 5-1. Bits 2 through 5 are not used and are set to 0.
(cr) is the terminating character, carriage return (0Dh)
7 6 5 4 3 2 1 0
Chapter 5
0E Type J Thermocouple 0 ~ 760 °C
0F Type K Thermocouple 0 ~ 13700 °C
10 Type T Thermocouple -100 ~ 400 °C
11 Type E Thermocouple 0 ~ 1000 °C
12 Type R Thermocouple 500 ~ 1750 °C
13 Type S Thermocouple 500 ~ 1750 °C
14 Type B Thermocouple 500 ~ 1800 °C
Input Range Code(Hex) Input Range for 4017,4017+
Chapter 5
5.1.2 $AA2
Name Configuration Status command
Description The command requests the return of the configuration data
from the analog input module at address AA.
Syntax $AA2(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
5.1.3 $AAF
Name Read Firmware Version command
Description The command requests the analog input module at address
AA to return the version code of its firmware.
Syntax $AAF (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 is the Read Firmware Version command.
(cr) is the terminating character, carriage return (ODh).
Response !AA(Version)(cr) if the command is valid.
There is no response if the module detects a syntax 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.1.4 $AAM
Name Read Module Name command
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 delimiter 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).
Chapter 5
5.1.5 #AA
Name Analog Data In command
Description The command will return the input value from a specified
(AA) module in the currently configured data format.
Syntax #AA(cr)
# is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
In the next example the target module is configured for an input range of T/C type J
(Input range: 0 ~ 760 ?) and for a data format in engineering units. The module mea-
sures an input value of 820 °C.
5.1.6 #AAN
Name Read Analog Input from Channel N command
Description The command will return the input value from one of the
eight channels of a specified (AA) module in the currently
configured data format.
Syntax #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, 4019. (The range
of 4015 is from 0 to 5)
(cr) is the terminating character, carriage return (0Dh).
Response >(data)(cr)
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.
(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 (0Dh).
Example command: #120(cr)
Chapter 5
The command requests the analog input module at address
12h to return the input value of channel 0.
The analog input module responds that the input value of
channel 0 is equal to +1.4567 volts.
5.1.7 $AA5VV
5.1.8 $AA6
Name Read Channel Status command
Description Asks a specified input module to return the status of all channels.
Syntax $AA6(cr)
AA (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.
6 is the Read Channel Status command.
(cr) is the terminating character, carriage return (0Dh).
Response !AAVV(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.
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, and 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).
Example command: $026(cr)
response: !02FF(cr)
The command asks the analog input module at address 02
to send the status of it input channels. The analog input
module at address 02 responds that all its multiplex
channels are enabled (FF equals 1111 and 1111).
Chapter 5
5.1.9 $AA0
Name Span Calibration command
Description Calibrates an analog input module to correct for gain errors.
Syntax $AA0(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.
5.1.10 $AA1
Name Offset Calibration command
Description Calibrates an analog input module to correct for offset errors.
Syntax $AA1(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog input module you want to calibrate.
1 is the Offset Calibration command.
(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 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).
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)
Chapter 5
5.1.11 #**
Name Synchronized sampling comand
Description Orders all analog input modules to sample their input
values and store the values in special registers.
Syntax #**
# is a delimiter character.
** is the Synchronized Sampling command.
4015
5.1.12 $AA4
Name Read Synchronized Data command
Description Returns the input value that was stored in the addressed
module’s register, after a Synchronized Sampling command
#** was issued.
Syntax $AA4(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.
4 is the Read Synchronized Data command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(status)(data)(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.
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
command: $074(cr)
response: >070+5.8222(cr) for ADAM-4015,
the response is >+5.8222(cr)
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,
and data = +5.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.)
Chapter 5
5.1.13 $AAB
Name Channel Diagnose command
Description Diagnose channel status in over range, under range, and
wire opening.
Syntax $AAB(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
5.1.14 $AA3
Name CJC Status command
Description Instructs the addressed analog input module to read its CJC
(Cold Junction Compensation) sensors and return the acquired data.
Syntax $AA3(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog input module which contains the CJC
Status you wish to retrieve.
3 is the CJC Status command.
(cr) is the terminating character, carriage return (0Dh).
Response >data(cr) if the command is valid.
?AA(cr) if an invalid command was issued.
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.
(data) is the value that is retrieved by the module by
reading its CJC sensor. The data format, in degrees Celsius,
consists an “+” or “-” sign followed by five decimal digits
and a fixed decimal point. The resolution of the data is 0.1 ° C.
(cr) is the terminating character, carriage return (0Dh).
Example command: $093(cr)
response: >+0036.8(cr)
The command requests the analog input module at address
09h to read its CJC sensor and return the data. The analog
input module at address 09h responds with: 36.8 °C.
Chapter 5
5.1.15 $AA9SNNNN
Name CJC Offset Calibration command
Description Calibrates an analog input module to adjust for offset errors
of its CJC (Cold Junction Compensation) sensors.
Syntax $AA9SNNNN(number of counts)(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
5.1.16 $AA0Ci
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.
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
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).
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)
Chapter 5
5.1.17 $AA1Ci
Name Single Channel Offset Calibration command
Description The command calibrates a specified channel to correct for
offset errors.
Syntax $AA1Ci(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
5.1.18 $AA7CiRrr
Name Single Channel Range Configuration command
Description This command configures the input type and range of the
specified channel in an analog input module.
Syntax $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 is the Single Channel Range Configuration command.
Ci represents the specified input channel you want to configure.
Rrr represents the type and range you want to set. (Refer to
Table 5.1 on Page 5-6 to check range codes)
(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
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).
Example command: $027C5R21(cr)
response: !02(cr)
The command configures the range of channel 5 in the
analog input module at address 02 as Pt100(IEC) 0 ~ 100 °C
Chapter 5
5.1.19 $AA8Ci
Name Read Single Channel Range Configuration command
Description This command read the input type and range configuration
of the specified channel in an analog input module.
Syntax $AA8Ci(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
5.1.20 $AAXnnnn
Name Watchdog Timer Setting command
Description This command set the communication watchdog timer
(WDT) cycle time.
Syntax $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 is the Watchdog Timer Setting command.
nnnn (range 0000~9999) represents the specified value of
communication cycle you want to set. (Unit: 0.1 second)
(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
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).
Example command: $02X1234(cr)
response: !02(cr)
The command set the WDT cycle as 1234 in the input
module at address 02.
Caution! If the value of “nnnn” is 0000, the communication WDT function will be
disabled.
Chapter 5
5.1.21 $AAY
Name Read Communication Watchdog Timer Cycle Setting command
Description This command read the setting of communication watchdog
timer (WDT) cycle time.
Syntax $AAY(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
5.1.22 $AAS0
Name Internal Calibration command
Description This command executes internal self-calibration for offset
and gain errors.
Syntax $AAS0(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.
S0 is the Internal Calibration command.
(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
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).
4015
5.1.23 $AAS1
Name Reload Default Calibrating Parameter command
Description Reload factory default calibrating parameter to overwrite
current calibrating parameter.
Syntax $AAS1(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.
S1 is the Reload Calibrating Parameter command.
(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
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).
Chapter 6
6.1.1 %AANNTTCCFF
Name Configuration command
Description Sets address, input range, baud rate, data format, checksum
status, and/or integration time for an analog output module.
Syntax %AANNTTCCFF(cr)
% is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
Chapter 6
6.1.2 #AA
Name Analog Data Out command
Description Send a value to the address of analog output module. Then,
the analog output module will output this value.
Syntax #AA(data)(cr)
# is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
command: #0A+030.00(cr)
response: >(cr)
The module is configured for an output range of 4 to 20 mA
and a percent of span data format. The command sends the
value 8.8 mA (4 mA + 0.30 x 16 mA = 8.8 mA) which is
30% of the span to the address 0Ah of analog output
module. The analog output module responds with an output
value of 8.8 mA which represents a valid command.
command: #1B7FF(cr)
response: >(cr)
4021
6.1.3 $AA4
Name Start-up Voltage/Current Output Configuration command
Description Stores the present output value of an analog output module
at address AA in the module’s non-volatile register. The
output value will take effect at start-up or after a brownout.
Syntax $AA4(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog output module whose output current is to be set.
4 is the Start-up Output Current Configuration command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(cr) if the command is valid.
?AA(cr) if an invalid command was issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! delimiter character indicates that a valid command was received.
? delimiter character indicates that the command was invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog output module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $0A4(cr)
response: !0A(cr)
Presume the present output value of the analog output
module at address 0A is 9.4 mA. The command tells the
analog output module to store the present output value into
non-volatile memory. When the module is at start-up or
reset, its default output value will be 9.4mA. The response
of the analog output module indicates that the command
has been received.
Chapter 6
6.1.4 $AA3
Name Trim Calibration command
Description Trim the address of analog output module for a specific
number of units up or down.
Syntax $AA3(number of counts)(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
6.1.5 $AA0
Name 4 mA Calibration command
Description Stores the current output value 4 mA for reference in the
specified address in analog output module.
Syntax $AA0(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address whose data are to be sent.
0 is the 4 mA Calibration command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(cr) if the command was valid.
?AA(cr) if an invalid command was issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! delimiter character indicates that a valid command was received.
? delimiter character indicates that the command was invalid.
AA (range 00-FF) represents the responding 2-character
hexadecimal address of the analog output module.
(cr) is the terminating character, carriage return (0Dh).
Before issuing the 4 mA Calibration command, the analog
output module should be trimmed to the correct value with
the Trim Calibration command. A millimeter or a resistor
and voltmeter should be connected to the module’s output.
(Please refer to the analog output module’s Trim
Calibration command and Chapter 8, Calibration, for a
detailed description.)
Chapter 6
6.1.6 $AA2
Name Read Configuration Status command
Description Instruct the analog output module to return its configuration data.
Syntax $AA2(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address for status reading.
6.1.7 $AA6
Name Last Value Readback command
Description The analog output module is instructed to return the latest
output value that it has received from the Analog Data Out
command. If the module hasn’t received any Analog Data
Out commands since startup, it will return to its Start-up Output value.
Syntax $AA6(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address whose value you want to return.
6 is the Last Value Readback command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(data)(cr) if the command was valid.
?AA(cr) if an invalid command was issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! delimiter character indicates that a valid command was received.
? delimiter character indicates that the command was invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog output module.
(data) is the value that is returned by the analog output
module. The format of the data depends on the module’s
configured data format.
(cr) is the terminating character, carriage return (0Dh).
Example command: $0A6(cr)
response: !0A03.000(cr)
The command requests the analog output module at address
0Ah to return the last output value that it has received from
an Analog Out command.
The analog output module returns the value 3.000 mA.
Chapter 6
6.1.8 $AA8
Name Current Readback command
Description The addressed analog output module is instructed to
measure the current flowing through its current/voltage
loop and return the measured data in the module’s
configured data format. The value returned may be a rough
estimate of the real value.
6.1.9 $AA5
Name Reset Status command
Description Checks the Reset Status of the analog output module to see
whether it has been reset since the last Reset Status
command was issued.
Syntax $AA5(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog output module who’s Reset Status is
to be returned.
5 is the Reset Status command.
(cr) is the terminating character, carriage return (0Dh).
Response !AAS(cr) if the command was valid.
?AA(cr) if an invalid command was issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! delimiter character indicates that a valid command was received.
? delimiter character indicates that the command was valid.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog output module.
S represents the Status bit which is returned by the analog
output module. If S=1, the module is in reset mode since a
Reset Status command had been issued already. If S=0, the
module has not been reset since the last Reset Status
command was not issued.
(cr) is the terminating character, carriage return (0Dh).
Example command: $395(cr)
response: !391(cr)
The analog output module at address 39h was reset or
powered up after the last execution of the Reset Status
command. When the command is executed once more, the
analog output module will reply with !390(cr)
Chapter 6
6.1.10 $AAF
Name Read Firmware Version command
Description The command requests the analog output module at address
AA to return the version code of its firmware.
Syntax $AAF (cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
6.1.11 $AAM
Name Read Module Name
Description The command requests the analog output 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 that you want to access.
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 or
communication error, or even if the specified address does not exist.
! is a delimiter character indicating that a valid command
was received.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog output module.
(Module Name) is the name of the module at address AA.
For example, 4021
(cr) is the terminating character, carriage return (ODh).
Chapter 6
4024
Chapter 6
p p
$AA8Cn Read Back CHn Output Range !AACnxx $027C2
$AAACnZ Enable/Disable (Z=1/0) CHn EMS Flag !AA $02AC21
$02AC20
$AABCn Read CHn EMS Flag !AACn1 $02BC2
!AACn0
$AADCn Read Back CHn StartUp Data !AA(data) $02DC2
$AAECn Read Back CHn Emergency Stop Data !AA(data) $02EC2
Chapter 7
4056S, 4056SO, 4060, 4068, 4069
7.1.1 %AANNTTCCFF
Name Configuration command
Description Configure address, baud rate and/or checksum status of the
digital I/O module.
Syntax %AANNTTCCFF(cr)
% is a delimiter character.
Chapter 7
4056S, 4056SO, 4060, 4068, 4069
7.1.2 $AA6
Name Digital Data In command
Description This command requests the specified (AA) module to
return the status of its digital input channels and feedback
value from its digital output channels.
Syntax $AA6(cr)
command: $036(cr)
response: !BEDE00(cr)
This example is for ADAM-4053. The first two characters,
BEh (10111110), of the response indicates that digital input
channels 8 and 14 are LOW and channels 9, 10, 11, 12, 13
and 15 are HIGH. The second two characters, DEh
(11011110), of the response indicates that digital input
channels 0 and 5 are LOW and channels 1, 2, 3, 4, 6, 7 are HIGH.
command: $056(cr)
response: !017A00(cr)
This example is for ADAM-4056S or ADAM-4056SO. The
first character of the response is always 0. The next three
characters, 17A (000101111010), are the status of 12
channel digital outputs. The detail status is as below.
Digital value 0 0 0 1 0 1 1 1 1 0 1 0
ADAM-4056S/4056SO
Channel no. 11 10 9 8 7 6 5 4 3 2 1 0
Chapter 7
4056SO, 4060, 4068, 4069
7.1.3 #AABB
Name Digital Data Out command
Description The command either sets a single digital output channel or
sets all digital output channels simultaneously.
Syntax #AABB(data)(cr)
# is a delimiter character.
command: #151201(cr)
response: >(cr)
An output bit with value 1 is sent to channel 2 at address
15h of a digital I/O module (Either ADAM-4050 or
ADAM-4060).
Channel 2 of the digital I/O module is set to ON.
command: #1400017A(cr)
response: >(cr)
An output byte with value 017Ah (0000000101111010) is
sent to the digital I/O module at address 14h (Either
ADAM-4056S or ADAM-4056SO). Its channel 1, 3, 4, 5, 6,
and 8 will be set to ON. Other channels are set to OFF.
command: #15120001(cr)
response: >(cr)
An output bit with value 1 is sent to channel 2 of a digital
I/O module at address 15h (Either ADAM-4056S or
ADAM-4056SO). Channel two of the digital I/O module is set to ON.
Chapter 7
4060, 4068
7.1.4 #**
Name Synchronized Sampling command
Description Orders all (analog or digital) input modules to sample their
input values and store them into a special register.
Syntax #**
# is a delimiter character.
7.1.5 $AA4
Name Read Synchronized Data command
Description The addressed digital I/O module is instructed to return the
value that was stored in its register by a Synchronized
Sampling command.
Syntax $AA4(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of returning data.
4 is the Read Synchronized Data command.
(cr) is the terminating character, carriage return (0Dh).
Response !(status)(dataOutput)(dataInput)00(cr)
if the command was valid. (ADAM-4050)
!(status)(dataInput)00(cr)
if the command was valid. (ADAM-4051)
!(status)(dataInput)0000(cr)
if the command was valid. (ADAM-4052)
!(status)(dataInput)(dataInput)00(cr)
if the command was valid. (ADAM-4053)
!(status)(dataOutput)0000(cr)
if the command was valid. (ADAM-4060/4068)
?AA(cr) if an invalid command has been issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
command: $064(cr)
response: !0055100(cr)
The command asks the digital I/O module at address 06h to
send its digital input data.
The digital I/O module responds with data = 055100 and
status = 0, which means that it has sent the same data at
least once before. This may also indicates that a previous
Synchronized Sampling command was not received!
Chapter 7
4056S, 4056SO, 4060, 4068, 4069
7.1.6 $AA2
Name Configuration Status command
Description Returns the configuration parameters of the digital I/O module.
Syntax $AA2(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
Chapter 7
4056S, 4056SO, 4060, 4068, 4069
7.1.7 $AA5
Name Reset Status command
Description Requests the Reset Status of the addressed digital I/O
module to see whether it has been reset since the last Reset
Status command.
Syntax $AA5(cr)
7.1.8 $AAF
Name Read Firmware Version command
Description The command requests the digital I/O module at address
AA to return the version code of its firmware
Syntax $AAF (cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
F is the Read Firmware Version command.
(cr) is the terminating character, carriage return (ODh).
Response !AA(Version)(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal address
of the module.
(Version) is the version code of the module’s firmware at address AA.
(cr) is the terminating character, carriage return (ODh).
Chapter 7
4056S, 4056SO, 4060, 4068, 4069
7.1.9 $AAM
Name Read Module Name command
Description The command requests the digital I/O module at address
AA to return its name
Syntax $AAM (cr)
$ is a delimiter character.
7.1.10 $AAX0TTTTDD
Name Write Safety Value command
Description Force the DO channels to safety status when communication
is in time-out and over pre-defined period.
Syntax $AAX0TTTTDD(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
X0 is the Write Safety Value command.
TTTT is the time divided by 100ms and shown in hexadecimal
number
DD is the two-hexadecimal character representing the
desired input safety value. The first character D is always 0,
and the others are the channels values.
For Example, 017A
First character is always 0
The meaning of 17A is as follows:
Digital value 0 0 0 1 0 1 1 1 1 0 1 0
Adam-4056SO channel no. 11 10 9 8 7 6 5 4 3 2 1 0
17A means that the status of channel 1, 3, 4, 5, 6, 8 is ON;
and the rest are OFF.
(cr) is the terminating character, carriage return (0Dh).
Response >(cr) if the command was valid.
?AA(cr) if an invalid command has been issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
> is a delimiter character which indicates a valid command.
? is a delimiter character which indicates an invalid command.
AA (range 00-FF) represents the responding 2-character
hexadecimal address of the module.
(cr) is the terminating character, carriage return (0Dh).
Chapter 7
4060, 4068, 4069
7.1.11 $AAX1
Name Read Safety Value command
Description Read the time-out setting and pre-defined safety status of DO
channels.
Syntax $AAX1(cr)
$ is a delimiter character.
7.1.12 $AAX2
Name Read Safety Flag command
Description Requests the Safety Flag of the addressed digital I/O module
to see whether the safety value has been executed since Write
Safety Value command was set.
Syntax $AAX2(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
X2 is the Read Safety Flag command.
Response !XX (cr) if the command is valid.
XX is two-hexadecimal character – (00: OFF, 01: ON)
!X (cr) for ADAM-4068
X is one-hexadecimal character – (0: OFF, 1: ON)
!00(cr) for ADAM-4069 response will show 00 regardless of its status .
?AA(cr) if an invalid command has been issued.
! is a delimiter character which indicates a valid command.
? is a delimiter character which indicates an invalid command.
(cr) is the terminating character, carriage return (ODh).
4056SO
7.1.13 $AAE0
Name Read and Clear over Current Status Flag command
Description Read the Over Current Status Flag and Clear the Flag
simultaneously.
Syntax $AAE0(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
E0 is the Read and Clear over Current Status Flag command.
(cr) is the terminating character, carriage return (ODh).
Response !AAX(cr): if the command is valid.
?AA(cr): if an invalid command has been issued.
X is one-hexadecimal character (range from 0 to 7)
X=0: No over current occur
X=1: DO0~3 has over current occurred
X=2: DO4~7 has over current occurred
X=4: DO8~11 has over current occurred
! is a delimiter character which indicates a valid command
? is a delimiter character which indicates an invalid command
(cr) is the terminating character, carriage return (ODh).
Chapter 7
7.1.14 $AAP
Name Read the Low Power Status of Module command
Description The command requests the module at address AA to return
the low power status of module
Syntax $AAP(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.1.15 AAS
Name Change and Read the Low Power Mode of Module command
Description The command requests the module at address AA to change
and return the status of low power mode of module
Syntax $AAS(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
S is the Change and Read the Low Power Mode of Module command
(cr) is the terminating character, carriage return (ODh).
Response !AAX(cr) if the command was valid.
?AA(cr) if an invalid command has been issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command
? is a delimiter character which indicates an invalid command
AA (range 00-FF) represents the calibrated 2-character
hexadecimal address of the module.
X represents the Status bit from the low power status. When
the logic is 1, it represents low power. However, if the logic
is 0, it is normal
(cr) is the terminating character, carriage return (0Dh).
Chapter 7
4068, 4069
7.1.16 $AAXnnnn
Name Watchdog Timer Setting command
Description This command set the communication watchdog timer
(WDT) cycle time.
Syntax $AAXnnnn(cr)
$ is a delimiter character.
Caution! If the value of “nnnn” is 0000, the communication WDT function will be
disable
7.1.17 $AAY
Name Read Communication Watchdog Timer Cycle Setting command
Description This command read the setting of communication watchdog
timer (WDT) cycle time.
Syntax $AAY(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.
Y is the Read Communication Watchdog Timer Cycle
Setting command.
(cr) is the terminating character, carriage return (0Dh).
Response !AAnnnn(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.
nnnn (range 0000~9999) represent the specified value of
communication cycle you read. (Unit: 0.1 second)
(cr) represents terminating character, carriage return (0Dh).
Example command: $02Y(cr)
response: !020030(cr)
The command read the WDT cycle as 0030 in the input
module at address 02.
Chapter 7
7.2.1 Configuration, Counter Input and Display Command Set
4080
7.2.1.1 %AANNTTCCFF
Name Configuration command
Description Sets the address, input mode, baud rate, checksum status
and frequency gate time for a specified counter/frequency module
Syntax %AANNTTCCFF (cr)
% is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
NN represents the new hexadecimal address of the
counter/frequency module. Range is from 00h to FFh.
TT represents the input mode.
50h : counter input mode
51h : frequency measurement mode
CC represents the baud rate code.
(Refer to Table 7-3 on next page).
Hexadecimal value FF which is converted to an 8-bit
parameter represents the checksum status and frequency
gate time. The layout of the 8-bit parameter is shown in
Figure 7-3 below.
Bits 0, 1, 3, 4, 5 and 7 are not used and are set to 0.
(cr) is the terminating character, carriage return (0Dh).
4080
7.2.1.2 $AA2
7.2.1.3 $AAF
Name Read Version command
Description The command requests the analog input module at address
AA to return the version code of its firmware.
Syntax $AAF (cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
F is the Read Version command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(Version)(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(Version) is the version code of the module's firmware at address AA.
(cr) is the terminating character, carriage return (0Dh).
4080
7.2.1.4 $AAM
Name Read Module Name command
Description The command requests the counter/frequency 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 that you will access to.
M is the Read Module Name command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(Module Name)(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(Module Name) is the name of the module at address AA.
For example, 4080D
(cr) is the terminating character, carriage return (0Dh).
Chapter 7
7.2.1.5 $AABS
Name Set Input Mode command
Description Set the input signal mode of the specified counter/
frequency module to either non-isolated (TTL) or photo-isolated.
Syntax $AABS(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.2.1.6 $AAB
Name Read Input Mode command
Description Read the input mode of the specified counter/frequency module.
Syntax $AAB(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
B is the Read Input Mode command.
(cr) is the terminating character, carriage return (0Dh).
Response ! AAS(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
S indicates the input signal mode. When S = 0, the module
is configured to non-isolated (TTL) input. If S = 1, the
module is configured to photo-isolated input.
(cr) is the terminating character, carriage return (0Dh).
Example command: $03B(cr)
response: !030(cr)
The command requests the counter/frequency module at
address 03 to return its input mode. The module replies by
setting the input mode to retrieve non-isolated input.
Chapter 7
7.2.1.7 #AAN
Name Counter or Frequency Value command
Description Instructs the addressed counter/frequency module at
address AA to read the counter or frequency value of
counter 0 or counter 1 and return the acquired data.
Syntax #AAN(cr)
# is a delimiter character.
Chapter 7
7.2.2.1 $AAAG
Name Set Gate Mode command
Description Request the specified counter/frequency module to set its
gate to one of the three states, high, low or disabled.
Syntax $AAAG(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.2.2.2 $AAA
Name Read Gate Mode command
Description Request the specified counter/frequency module to return
its gate status.
Syntax $AAA(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
A is the Read Gate Mode command.
(cr) is the terminating character, carriage return (0Dh).
Response !AAG(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
G determines the gate mode.
G = 0 the gate is low
G = 1 the gate is high
G = 2 the gate is disabled.
(cr) is the terminating character, carriage return (0Dh).
Example command: $01A(cr)
response: !011(cr)
The command requests the counter/frequency module to
return its gate status. The module at address 01 replies with
gate setting high.
Chapter 7
7.2.2.3 $AA3N(data)
Name Set Maximum Counter Value command
Description Set the maximum value for either counter 0 or counter 1 of
a specified counter/frequency module.
Syntax $AA3N(data)(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.2.2.4 $AA3N
Name Read Maximum Counter Value command
Description Read the maximum value of counter 0 or counter 1 for a
specified counter/frequency module.
Syntax $AA3N(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
3 is the Read Maximum Counter Value command.
N determines the counter for which the maximum counter
value is to be set.
N = 0 represents counter 0
N = 1 represents counter 1
(cr) is the terminating character, carriage return (0Dh).
Response !AA(data)(cr) if the command is valid.
?AA(cr) if an invalid operation was entered.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
? is a delimiter character which indicates an invalid
command. AA (range 00-FF) represents the 2-character
hexadecimal address of the module.
(data) is the maximum counter value which consists of
eight hexadecimal digitals.
(cr) is the terminating character, carriage return (0Dh).
Example command: $2430(cr)
response: !240000ffff(cr)
The command requests the counter/frequency module at
address 24 for the maximum number of counter 0. The
module replies the maximum count number of channel 0
with 65535 (0000ffff)
Chapter 7
7.2.2.5 $AA5NS
Name Start/Stop Counter command
Description Request the counter/frequency module to start or stop the
counting for either counter 0 or counter 1.
Syntax $AA5NS(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.2.2.6 $AA5N
Name Read Counter Start/Stop Status command
Description Requests the addressed counter/frequency module to
indicate whether counter 0 or counter 1 is active.
Syntax $AA5N(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
5 is the Read Counter Start/Stop Status command.
N determines the counter for which the status should be returned.
N = 0 represents counter 0
N = 1 represents counter 1
(cr) is the terminating character, carriage return (0Dh).
Response !AAS(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
S represents the counter status.
S = 1 indicates the status is counting
S = 0 indicates the status is 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 the counter 0 is in the counting process.
Chapter 7
7.2.2.7 $AA6N
Name Clear Counter command
Description Clears the counter 0 or counter 1 of the specified
counter/frequency module.
Syntax $AA6N(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.2.2.8 $AA7N
Name Read/Clear Overflow Flag command
Description The command requests the module to return the status of
the overflow flag for either counter 0 or counter 1. Then
clear the flag afterwards.
Syntax $AA7N(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
7 is the Read/Clear Overflow Flag command.
N determines the channel whose overflow flag status
should be read and cleared. When N = 0, it represents
counter 0. On the other hand, N = 1 represents counter 1
(cr) is the terminating character, carriage return (0Dh).
Response !AAV(cr) if the command is valid.
?AA(cr) if an invalid operation was entered.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
? is a delimiter character which indicates an invalid command .
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
V represents the status of the Nth channel's overflow flag.
V = 1 means that the overflow flag has been set because the
counting has exceeded the maximum count.
V = 0 means that the overflow flag has not been set.
(cr) is the terminating character, carriage return (0Dh).
Example command: $1371(cr)
response: !131(cr)
The command requests the counter/frequency module at
address 13 to return the status of the overflow flag for
counter 1 and to reset it. The module replies with the
overflow flag for counter 1indicating overflow. Then it is being reset.
Chapter 7
Command Syntax Command Name Description I/O Module
$AA4S Enable/Disable Enables or disables the digital 4080
Digital Filter filter of the addressed counter/fre-
quency module
$AA4 Read Filter Status The addressed counter frequency 4080
module returns the status of its
digital filter
4080
7.2.3.1 $AA4S
Name Enable/Disable Digital Filter command
Description Enables or disables the digital filter of the counter/
frequency module.
Syntax $AA4S(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
4 is the Enable/Disable Filter command.
S is the digital filter mode.
S = 0 means disable filter
S = 1 means enable filter
(cr) is the terminating character, carriage return (0Dh).
Response !AA(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $0340(cr)
response: !03(cr)
4080
7.2.3.2 $AA4
Name Read Filter Status command
Description Read the digital filter status of the addressed counter/
frequency module.
Syntax $AA4(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
4 is the Read Filter Status command.
(cr) is the terminating character, carriage return (0Dh).
Response !AAS(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates an invalid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
S is the digital filter mode.
S = 0 means filter is disabled
S = 1 means filter is enabled
(cr) is the terminating character, carriage return (0Dh).
Example command: $034(cr)
response: !030(cr)
The command requests the counter/frequency module at
address 03 to return whether its digital filter is ON or not.
The module returns its address which indicates that its
digital filter is disabled.
Chapter 7
7.2.3.3 $AA0H(data)
Name Set Minimum Input Signal Width at High Level command
Description Set the minimum input signal width at high level for a
specified counter/frequency module to filter the noise.
Syntax $AA0H(data)(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.2.3.4 $AA0H
Name Read Minimum Input Signal Width at High Level command
Description Read the minimum input signal width at high level for a
specified counter/frequency module.
Syntax $AA0H(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
0H is the Read Minimum Input Signal Width at High Level command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(data)(cr) if the command is valid.
?AA(cr) if an invalid operation was entered.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
? is a delimiter character which indicates an invalid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(data) is the minimum width at high level. The unit is in
μsec (microseconds) and its resolution is 1 μsec. The
format is a five digit integer that ranges from 2 μsec to
65535 μsec.
(cr) is the terminating character, carriage return (0Dh).
Example command: $130H(cr)
response: !1300020(cr)
The command requests the counter/frequency module at
address 13 to read its minimum input signal width at high
level. The module replies that its minimum input signal
width at high level is 20 μsec.
Chapter 7
7.2.3.5 $AA0L(data)
Name Set Minimum Input Signal Width at Low Level command
Description Set the minimum input signal width at low level for a
specified counter/frequency module to filter noise.
Syntax $AA0L(data)(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.2.3.6 $AA0L
Name Read Minimum Input Signal Width at Low Level command
Description Read the minimum input signal width at low level for a
specified counter/frequency module to filter noise.
Syntax $AA0L(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
0L is the Read Minimum Input Signal Width at Low Level
command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(data)(cr) if the command is valid.
?AA(cr) if an invalid operation was entered.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
? is a delimiter character which indicates an invalid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(data) is the minimum width at low level. The unit is in
μsec (microsecond) and its resolution is 1 μsec. The format
is a five digit integer that ranges from 2 μsec to 65535 μsec.
(cr) is the terminating character, carriage return (0Dh).
Example command: $050L(cr)
response: !0500084(cr)
The command requests the counter/frequency module at
address 05 to read its minimum input signal width at low
level. The module replies that its minimum input signal
width at low level is 84 μsec.
7.2.3.7 $AA1H
Name Read Non-isolated High Trigger Level command
Description Read the high trigger level for non-isolated input signals of
a specified counter/frequency module.
7.2.3.8 $AA1L(data)
Name Set Non-isolated Low Trigger Level command
Description Set the low trigger level of non-isolated input signals for a
specified counter/frequency module.
Syntax $AA1L(data)(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
1L is the Set Non-isolated Low Trigger Level command.
(data) is the low trigger level for non-isolated input signals.
The unit and resolution is 0.1 V (voltage). The format is a
two digit integer that can range from 1 to 50 (i.e. 0.1 to 5 V).
This low trigger level must at all times be lower than
the high trigger level, set by $AA1H(data) command. When
the low trigger level is out of range or higher than the high
trigger level an error will occur.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(cr) if the command is valid. The addressed module
stores the value and will identify input signal as “low” only
when it exceeds the low trigger level
?AA(cr) if an invalid operation was entered.
There is no response if the module detects a syntax or
communication error, or if the specified address does not exist.
! is a delimiter character which indicates a valid command.
? is a delimiter character which indicates an invalid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $051L08(cr)
response: !05(cr)
The command requests the counter/frequency module at
address 05 to set its non-isolated low trigger level to 0.8 V.
The module stores the value and will identify the TTL input
signal to be “low” only if the signal exceeds 0.8 V. This
function can be used as a level filter.
Chapter 7
7.2.3.9 $AA1L
Name Read Non-isolated Low Trigger Level command
Description Read the low trigger level for non-isolated input signals of
a specified counter/frequency module.
Syntax $AA1L(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
Chapter 7
7.2.4.1 @AAPN(data)
Name Set Initial Count Value of Counter 0 or 1 command
Description Set the initial count value for counter 0 or 1 of the specified
counter module at address AA.
Syntax @AAPN(data)(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
7.2.4.2 @AAGN
Name Read Initial Count Value of Counter 0 or 1 command
Description Read the initial count value of counter 0 or 1 of the
specified counter module at address AA.
Syntax @AAGN(data)(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
GN is the Read Initial Count Value for Counter 0 or 1 command.
N = 0 represents counter 0
N = 1 represents counter 1
(cr) is the terminating character, carriage return (0Dh).
Response !AA(data)(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(data) is the initial count value which must consist of eight
hexadecimal digits.
(cr) is the terminating character, carriage return (0Dh).
Example command: @12G0(cr)
response: !12000000FF(cr)
The command instructs the module at address 12h to return
the initial value of counter 0. The module replies that
initial count value of counter 0 is 000000FF.
Chapter 7
7.2.4.3 @AAEAN
Name Enable Alarm command
Description Enable Alarm for the specified counter.
Syntax @AAEAN (cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
7.2.4.4 @AADAN
Name Disable Alarm command
Description Disable Alarm for the specified counter.
Syntax @AADAN (cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
DAN is the Disable Alarm Mode command.
N = 0 Represents counter 0
N = 1 Represents counter 1
(cr) is the terminating character, carriage return (0Dh).
Response !AA(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of a counter module.
(cr) is the terminating character, carriage return (0Dh).
Example command: @12DA0(cr)
response: !12(cr)
The counter module at address 12h is instructed to disable
the alarm functions for counter 0. The module confirms
that its alarm functions have been disabled.
Chapter 7
7.2.4.5 @AAPA(data)
@AASA(data)
Name Set Alarm Limit Value of Counter 0 or 1 command
Description Set the Alarm limit value of counter 0 or 1 of the specified
counter module at address AA.
Syntax @AAPA(data)(cr)
@AASA(data)(cr)
7.2.4.6 @AARP
@AARA
Name Read Alarm Limit Value of Counter 0 or 1 command
Description Read the alarm limit value of counter 0 or 1 of the specified
counter module at address AA.
Syntax @AARP(data)(cr)
@AARA(data)(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
RP represents the Read Alarm Limit Value for counter 0
command.
RA represents the Read Alarm Limit Value for counter 1
command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(data)(cr) if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
(data) is the alarm limit value which must consist of eight
hexadecimal digits.
(cr) is the terminating character, carriage return (0Dh).
Example command: @12RP(cr)
response: !120000FFFF(cr)
The command instructs the module at address 12h to return
the alarm limit value of counter 0. The module replies
that the alarm limit value of counter 0 is 0000FFFF.
Chapter 7
7.2.4.7 @AADO
Name Set Digital Output command
Description Set the values of the module’s two digital outputs (ON or OFF).
Syntax @AADO(data)(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
7.2.4.8 @AADI
Name Read Digital Output and Alarm State command
Description The addressed counter module is instructed to return the
value of its two digital output channels and the state of its alarm.
Syntax @AADI(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
DI is the Read Digital Output and Alarm Status command.
(cr) represents terminating character, carriage return (0Dh).
Response !AASOO00(cr) if the command was valid
There is no response if the module detects a syntax error or
communication error or if the specified address does not exists.
! is a delimiter character which indicates a valid command.
AA represents the 2-character hexadecimal address of the module.
S (for ADAM-4080) is a hexadecimal number that
represents the disable or enable status of alarm mode:
0h: Counter 0 alarm is disabled, counter 1 alarm is disabled
1h: Counter 0 alarm is enabled, counter 1 alarm is disabled
2h: Counter 0 alarm is disabled, counter 1 alarm is enabled
3h: Counter 0 alarm is enabled, counter 1 alarm is enabled
OO is a hexadecimal number representing the Digital
Output port's channel 0 and 1 status
(00h = D/0 channels 0 and 1 are both OFF, 01h = channel 0
is ON, channel 1 is OFF, 02h = channel 0 is OFF, channel 1
is ON, 03h = channel 0 and 1 are both ON).
(cr) represents the terminating character, carriage return (0Dh).
Example command: @15DI(cr)
response: !1510000(cr)
The counter module at address 15h is instructed to return digital
output data and alarm status. The module responds that both digital
output channels are OFF and alarm state is MOMENTARY.
command: @05DI(cr)
response: !0530000(cr)
The counter module at address 05H is instructed to return
digital output and alarm status. The module responds that
both digital output channels are OFF and the alarm status
for both counters are ENABLED.
Chapter 8
Apax .NET utility software. (Please see “Span Calibration” option in the Calibra-
tion sub-menu of the Adam/Apax .NET utility software).
Calibration
Figure 8.2 Span Calibration
6. This step is only for ADAM 4018+, 4019+. Execute the CJC (cold junction sen-
sor) calibration command. This is also done through the Adam/Apax .NET utility
software. (Please see “CJC Calibration” option in the Calibration sub-menu of
the Adam/Apax .NET utility software).
Chapter 8
mA.
5. Check the actual output value at the terminals. If it does not equal to 4 mA, use
the “Trim” option in the “Calibrate” sub menu to change the actual output. Trim
the module until the millimeter indicates exactly 4 mA. In the case of using a
voltage meter with shunt resistor, the voltage meter should indicate exactly 1 V.
(When calibrating for 20 mA using voltage meter and shunt resistor, the correct
voltage would be 5 V.)
6. Issue the 4 mA Calibration command to indicate that the output is calibrated.
The calibrated parameters should be stored in the modules EEPROM.
Calibration
7. Execute an Analog Data Out command with an output value of 20 mA, and the
output will approximately be 20 mA.
8. Continue executing the Trim Calibration command until the output current is
equal to exactly 20 mA.
9. Execute the 20 mA Calibration command until the present output is exactly 20
mA. The analog output module will store its calibrated parameters in EEPROM.
The use of a 125 ohm external resistor is when only 4017 needs one. The resistor is
contained internally for the ADAM- 4017+ and doesn’t need to be include externally.
ŅĬ
œŔĮĵĹĶġ
ŎŪŤųŰŤŰůŵųŰŭŭŦų ĹĮńũŢůůŦŭġœŦŭŢźġŐŶŵűŶŵ
ŅĮ ńŰŮŮŶůŪŤŢŵŪŰů
ņņőœŐŎ
ŘŢŵŤũŅŰŨ
ńŰůŧŪŨġŅŢŵŢ
ĬĶŗ
œŦŤŵġħġŇŪŭŵŦų őŰŸŦųġńŰůŷŦųŵŦų őŰŸŦųġŊů
ĬIJıſġĬĴıġŗŅń
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°C to 760°C). The response to the Analog Data In
command is: +305.50 (cr)
Example 3
The input value is +5.653 V. The analog input module is configured for a ±5 V range.
When the engineering unit format is used, the ADAM Series analog input modules
are configured so that they automatically provide an over-range capability. The
response to the Analog Data In command in this case is: +5.6530 (cr)
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 equals
to (+(40/100) x 5 V = +2.0 V) the actual input value.
Example 2
The input value is 652.5o C, and a type E thermocouple (0°C to 1000°C) is config-
ured 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 full-scale
range (1000°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 we use a type J thermocouple (0°C to 760°C), 760°C corresponds to
+100% and 0°C corresponds to 0%. Even if 0°C lies outside of the specified opera-
tion range for the thermocouple, zero will remain as the point of symmetry. For
instance, a type B thermocouple is specified for operation from +500°C to +1800°C.
In this case +1800°C corresponds to + 100% and 500°C corresponds to +27.77%.
The percentage is related to the full span of the configured range. For instance, a
nickel RTD is specified for -80°C to +100°C. Then, the lower value of -80°C equals to
0% of span and the upper value of +100°C equals to 100% of span.
In the FSR mode, an over-range feature is automatically invoked by the ADAM ana-
log input modules if the value exceeds the uppermost value of the input range. For
instance, an analog module which is configured for a ±5 V range has one of the val-
ues reading + 5.5V. The resulting value would then be 110%.
The readings must fall within the input range for accuracy assurance. Although they
are typically linear readings, anything which falls between ±100% and ±115% limits
may not be accurate. Furthermore, readings beyond these limits are neither accurate
nor linear.
The given span of the specified range is used to determine the RTD input ranges for
twos complement hexadecimal values. For an example, if the nickel RTD is specified
for the range -80°C to +100°C, the corresponding values in hexadecimal notation
would be 8000h to 7FFFh.
Maximum Minimum
Range Code Input Range Displayed
Data Formats Specified Specified
(hex) Description Resolution
Signal Signal
Engineering
+200.00 +000.00 0.01°C
100.00 Ω Units
Platinum RTD % of FSR +100.00 +000.00 0.01%
22
α = .00385 Twos
0°C to 200°C 7FFF 0000 1 LSB*
Complement
Ohms +175.84 +100.00 10 mΩ
Engineering
+600.00 +000.00 0.01°C
Units
100.00 Ω Platinum % of FSR +100.00 +000.00 0.01%
23 RTD α = .00385
0°C to 600°C Twos
7FFF 0000 1 LSB*
Complement
Ohms +313.59 +100.00 10 mΩ
Engineering
+00.00 -100.00 0.01°C
Units
100.00 Ω Platinum % of FSR +100.00 +000.00 0.01%
24 RTD α = .00392
-100°C to 100°C Twos
7FFF 8000 1 LSB*
Complement
Ohms +139.16 +060.60 10 mΩ
Engineering
+100.00 +000.00 0.01°C
Units
100.00 Ω Platinum % of FSR +100.00 +000.00 0.01%
25 RTD α = .00392
0°C to 100°C Twos
7FFF 0000 1 LSB*
Complement
Ohms +139.16 +100.00 10 mΩ
Engineering
+200.00 +000.00 0.01°C
Units
100.00 Ω Platinum % of FSR +100.00 +000.00 0.01%
26 RTD α = .00392
0°C to 200°C Twos
7FFF 0000 1 LSB*
Complement
Ohms +177.13 +100.00 10 mΩ
Engineering
+600.00 +000.00 0.01°C
Units
100.00 Ω Platinum % of FSR +100.00 +000.00 0.01%
27 RTD α = .00392
0°C to 600°C Twos
7FFF 0000 1 LSB*
Complement
Ohms +317.28 +100.00 10 mΩ
Maximum Minimum
Range Code Input Range Output
Data Formats Specified Speciated
(hex) Description Resolution
Signal Signal
Engineering
20.000 00.000 5 µA
Units
30 0 to 20 mA % of FSR +100.00 +000.00 5 µA
Hexadecimal
FFF 000 5 µA
Binary
Engineering
20.000 04.000 5 µA
Units
31 4 to 20 mA % of FSR +100.00 +000.00 5 µA
Hexadecimal
FFF 000 5 µA
Binary
Engineering
10.000 00.000 2.442 mV
Units
32 0 to 10 V % of FSR +100.00 +000.00 2.442 mV
Hexadecimal
FFF 000 2.442 mV
Binary
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 INIT
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 mes-
sage will appear.
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 8
Calibration.
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.
Caution! User can refer our help file to see more details for explanation of Utility
operation.
Move hardware switch to Initial mode (For some older Adam models, use an exter-
nal wire to connect the INIT* terminal to the GND terminal. Booting the module
while connecting the INIT* terminal with the module’s GND terminal forces the config-
uration into a known state called the INIT* state.)
INIT* state defaults:
Baud rate: 9600
Address: 00h
Checksum: disabled
Forcing the module in 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.
7. Save changes and reset power on ADAM module for settings to take effect.
Star Layout
In this scheme the repeaters are connected to drop-down cables from the main wires
of the first segment. A tree structure is the result. This scheme is not recommended
when using long lines since it will cause a serious amount of signal distortion due to a
signal reflection in a several line endings.
Random
This is a combination of daisychain and hierarchical structure
The value of the resistor should be a close as possible to the characteristic imped-
ance of the line. Although receiver devices add some resistance to the whole of the
transmission line, normally it is sufficient to the resistor impedance should equal the
characteristic impedance of the line.
Example:
Each input of the receivers 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 which provides the
large common range of the receiver required for RS-485 systems! (See Figure E.5
below)
Example 1
The following example is an Analog Data In command and response when the
checksum 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
engineering units.) The command checksum (88h) is the sum of the ASCII values for
the following characters: #, 0, and 5. The response checksum (9Dh) is the sum of the
ASCII values for the following characters: “>”, “+”, “3”, “.”, “5”, “6”, “7”, and “1”.
Example 2
This example explains how to calculate the checksum value of a Read High alarm
limit command string:
Case 1. (If the Checksum feature is disabled)
Command: $07RH(cr)
Response: !07+2.0500(cr) when the command is valid.
Case 2. (If the Checksum feature is enabled)
Command: $07RH25(cr)
Response: !07+2.0500D8(cr)
where:
25 represents the checksum of this command, and
D8 represents the checksum of the response.
The checksum of the command string is derived as shown below:
25h = (24h+ 30h + 37h + 52h + 48h) MOD 100h
The hexadecimal ASCII codes for $, 0, 7, R, H are 24h, 30h, 37h, 52h and 48h
respectively. The sum of these ASCII codes is 125h, and the result equals to 25h
after modulus-256(100h) execution.
Model Description
1 ADAM-4015 6-channel RTD Input Module
2 ADAM-4017+ 8-channel Analog Input Module
3 ADAM-4018+ 8-channel Thermocouple Input Module
4 ADAM-4019+ 8-Channels Universal Analog Input Module
5 ADAM-4024 4-channel Analog Output Module
ADAM-4050
6 15-channel Digital I/O Module
(E version)
7 ADAM-4051 16-channel Isolated Digital Input with LED Module
ADAM-4053
8 16-channel Digital Input Module
(E version)
9 ADAM-4055 16-channel Isolated Digital I/O with LED Module
10 ADAM-4056S 12 channel Sink-type Isolated Digital Output Module
11 ADAM-4056SO 12 channel Source-type Isolated Digital Output Module
ADAM-4060
12 4-channel Relay Output Module
(E version)
13 ADAM-4068 8 Relay Output Module
14 ADAM-4069 8 Power Relay Output Module
ADAM-4080
15 2-ch Counter/Frequency Module
(E version)