Académique Documents
Professionnel Documents
Culture Documents
Copyright Notice
This document is copyrighted, 2001, by Advantech Co., Ltd. All rights
are reserved. Advantech Co., Ltd., reserves the right to make improvements to the products described in this manual at any time without notice.
No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission
of Advantech Co., Ltd. Information provided in this manual is intended
to be accurate and reliable. However, Advantech Co., Ltd. assumes no
responsibility for its use, nor for any infringements upon the rights of
third parties which may result from its use.
Acknowledgments
IBM and PC are trademarks of International Business Machines Corporation.
2'nd Edition
Oct. 2001
Product Warranty
Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two year
from the date of purchase.
This warranty does not apply to any product which have been repaired
or altered by other than repair personnel authorized by Advantech, or
which have been subject to misuse, abuse, accident or improper installation. Advantech assumes no liability as a consequence of such events
under the terms of this Warranty.
Because of Advantechs high quality-control standards and rigorous testing, most of our customers never need to use our repair service. If an
Advantech product ever does prove defective, it will be repaired or replaced at no charge during the warranty period. For out-of-warranty repairs, you will be billed according to the cost of replacement materials,
service time and freight. Please consult your dealer for more details.
If you think you have a defective product, follow these steps:
1. Collect all the information about the problem encountered (e.g. type
of PC, CPU speed, Advantech products used, other hardware and software used etc.). Note anything abnormal and list any on-screen messages you get when the problem occurs.
2. Call your dealer and describe the problem. Please have your manual,
product, and any helpful information readily available.
3. If your product is diagnosed as defective, you have to request an RAM
number. When requesting an RMA (Return Material Authorization)
number, please access ADVANTECHs RMA web site: http://
www.advantech.com.tw/rma. If the web sever is shut down, please
contact our office directly. You should fill in the Problem Repair
Form, describing in detail the application environment, configuration, and problems encountered. Note that error descriptions such as
does not work and failure are so general that we are then required
to apply our internal standard repair process.
4. Carefully pack the defective product, a completely filled-out Repair
and Replacement Order Card and a photocopy of dated proof of purchase (such as your sales receipt) in a shippable container. A product
returned without dated proof of purchase is not eligible for warranty
service.
5. Write the RMA number visibly on the outside of the package and ship
it prepaid to your dealer.
Contents
Chapter 1 System Overview .................................. 1
1.1
1.2
Introduction .................................................................... 2
Features .......................................................................... 3
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.3
ADAM-5510M Specification........................................... 6
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.3.10
1.3.11
System ......................................................................... 6
RS-232 interface (COM1) ............................................. 6
RS-485 interface (COM2) ............................................. 7
RS-232 programming port (COM3) .............................. 7
RS-232/485 interface (COM4) ...................................... 7
Isolation ........................................................................ 8
Power ........................................................................... 8
Mechanical ................................................................... 8
Environment ................................................................. 8
Dimensions .................................................................. 9
LED Status of the ADAM-5510M .................................. 9
2.1.2
2.1.3
2.2
2.3
2.4
Software Installation.................................................... 19
3.2
3.3
3.4
4.2
4.3
4.4
4.5
4.6
4.7
4.8
Introduction .................................................................... 2
5.1.1
5.2
5.3
5.4
B.2
B.3
B.4
B.5
B.6
B.7
D.2
D.3
Grounding....................................................................... 3
E.1-1
E.1-2
E.1-3
E.1-4
E.1-5
E.2
Shielding ....................................................................... 11
E.2-1
E.2-2
E.3
E.4
Figures
Figure 1-1:
Figure 1-2:
Figure 2-1:
Figure 2-2:
Figure 2-3:
Figure 2-4:
Figure 2-5:
Figure 2-6:
Figure 2-7:
Figure 2-8:
Figure 2-9:
Figure 2-10:
Figure 2-11:
Figure 3-1:
Figure 3-2:
Figure 3-3:
Figure 3-4:
Figure 3-5:
Figure 3-6:
Figure 4-1:
Figure 4-2:
Figure 4-3:
Figure 4-4:
Figure 4-5:
Figure 4-6:
Figure 4-7:
Figure 4-9:
Figure 4-8:
Figure 4-10:
Figure 4-11:
Figure 4-12:
Figure 4-13:
Figure 4-14:
Figure 4-15:
Figure 4-16:
Figure 4-17:
Figure 4-18:
Figure 4-19:
Figure 4-20:
Figure 4-21:
Figure 4-22:
Figure 4-23:
Figure 4-24:
Figure 4-25:
Figure 4-26:
Figure 4-27:
Figure 4-28:
Figure 4-29:
Figure 4-30:
Figure 4-31:
Figure 4-32:
Figure 4-33:
Figure 4-34:
Figure 4-35:
Figure 4-36:
Figure 4-37:
Figure 4-38:
Figure 4-39:
Figure 4-40:
Figure 4-41:
Figure 4-42:
Figure 4-43:
Figure 4-44:
Figure 4-45:
Figure 4-46:
Figure 4-47:
Figure 4-48:
Figure 4-49:
Figure 4-50:
Figure 4-51:
Figure 4-52:
Figure 4-53:
Figure 4-54:
Figure 4-55:
Figure 4-56:
Figure 4-57:
Daisychaining .......................................................................... 3
Star structure ........................................................................... 4
Random structure ................................................................... 5
Signal distortion ...................................................................... 6
Termination resistor locations ............................................... 7
RS-485 data flow control with RTS ........................................ 8
Figure E-1:
Figure E-2:
Figure E-3:
Figure E-4:
Figure E-5:
Figure E-6:
Figure E-7:
Figure E-8:
Figure E-9:
Figure E-10:
Figure E-11:
Figure E-12:
Figure E-13:
Figure E-14:
Figure E-15:
Tables
Table 1-1:
Table 2-1:
Table 2-2:
Table 2-3:
Table 2.4:
Table 2.5:
Table 2.6:
Table 3-1:
Table 4-1:
Table 4-2:
Table 4-3:
Table 4-4:
Table 4-5:
Table 4-6:
Table 4-7:
Table 4-8:
Table 4-9:
Table 4-10:
Table 4-11:
Table 4-12:
Table 4-13:
Table 4-14:
Table 4-15:
Table 4-16:
Table 4-17:
Table 4-18:
Table 4-19:
Table 4-20:
Table 4-21:
Table 4-22:
Table 4-24:
Table 4-23:
Chapter 1
System Over
view
Overview
1-2
1.2 Features
The ADAM-5510M system consists of two major components: the main
unit and I/O modules. The main unit includes a CPU card, a power regulator, a 4-slot base, three serial communication ports and a programming
port. It has the following major features:
C O M 1 , R S -23 2
C O M 4, R S -23 2 /4 8 5
C O M 3, P ro gram m ing
C O M 2, R S -48 5
1-3
Analog I/O
Digital I/O
Relay Output
Name
Specification
ADAM-5013
Reference
Isolated
ADAM-5017
8-ch. AI
Isolated
ADAM-5017H
Isolated
ADAM-5018
Isolated
ADAM-5024
4-ch. AO
Isolated
ADAM-5050
7-ch. D I/O
Non-isolated
ADAM-5051
16-ch. DI
Non-isolated
ADAM-5051D
16-ch. DI w/LED
Non-isolated
ADAM-5051S
Isolated
ADAM-5052
8-ch. DI
Isolated
ADAM-5055S
Isolated
ADAM-5056
16-ch. DO
Non-isolated
ADAM-5056D
16-ch. DO w/LED
Non-isolated
ADAM-5056S
Isolated
ADAM-5056SO
Isolated
ADAM-5060
Isolated
ADAM-5068
Counter/Frequency
ADAM-5080
4-ch. Counter/Frequency
Serial I/O
ADAM-5090
4-port RS232
Isolated
Isolated
Non-isolated
A full range of digital modules support 10 to 30 VDC I/O and relay outputs. A set of analog modules provide 16-bit resolution and programmable input and output (including bipolar) signal ranges. For details,
refer to Chapter 4: I/O Module Introduction.
A complete set of C language I/O subroutines are included in the ADAM5511Ms function library to reduce programming effort. Users can easily
call these subroutines to execute the ADAM-5510Ms I/O functions while
programming in Borland C 3.0 languages. For a detailed description, refer
to Chapter 5: Function Library.
1-4
1-5
1-6
Signals: TxD, RxD, RTS, CTS, DTR, DSR, DCD, RI, GND
Mode: Asynchronous full duplex, point to point
Connector: DB-9 pin
Transmission speed: Up to 115.2 Kbps
Max transmission distance: 50 feet (15.2 m)
1-7
1.3.7 Power
Unregulated +10 to +30 VDC
Protected against power reversal
Power consumption: 2.0 W
1.3.8 Mechanical
Case: ABS with captive mounting hardware
Plug-in screw terminal block:
Accepts 0.5 mm2 to 2.5 mm2, 1 - #12 or 2 - #14 to #22 AWG
1.3.9 Environment
Operating temperature: -10 to 70 C (14 to 158 F)
Storage temperature: -25 to 85 C (-13 to 185 F)
Humidity: 5 to 95 %, non-condensing
Atmosphere: No corrosive gases
1-8
PWR
RUN
COMM
BATT
+Vs
RESET
GND
INIT+
COM
DATA+
DATA-
1-9
1-10
Chapter 2
Installation Guidelines
2-2
Analog I/O
Name
Specification
Reference
ADAM-5013
Isolated
ADAM-5017
8-ch. AI
Isolated
ADAM-5017H
Isolated
ADAM-5018
Isolated
ADAM-5024
4-ch. AO
Isolated
ADAM-5050
7-ch. D I/O
Non-isolated
ADAM-5051
16-ch. DI
Non-isolated
ADAM-5051D
16-ch. DI W/ LED
Non-isolated
ADAM-5052
8-ch. DI
Isolated
ADAM-5056
16-ch. DO
Non-isolated
ADAM-5056D
16-ch. DO W/LED
Non-isolated
ADAM-5060
Isolated
ADAM-5068
Isolated
Counter/Frequency
ADAM-5080
4-ch. Counter/Frequency
Isolated
Serial I/O
ADAM-5090
4-port RS232
Non-isolated
Digital I/O
Relay Output
2-3
Explanation:
Discrete output
Alarms, control relays, fans, lights, horns,
module and block I/O
valves, motor starters, solenoids
module
2-4
2-5
Module
Resolution
16 bit
16 bit
12 bit
16 bit
Input
Channel
Sampling
Rate
10
10
8K
10
Analog Voltage
Input
Input
15 mV
150 mV 250 mV
50 mV
500 mV 500 mV
100 mV
1 V
1 V
500 mV
5 V
5 V
1 V
10 V
10 V
2.5 V
Current
Input
Direct
Sensor
Input
Pt or Ni
RTD
J, K, T,
E,
R, S, B
12 bit
0~10 V
Current
Output
0~20 mA
4~20 mA
Digital
Input
Channels
16
16
W/LED
16
W/LED
Digital
Output
Channels
16 DIO
(bit-wise
selectable)
Channels
Mode
Channels
Resolution
Voltage
Analog Output
Output
Digital
Input
and
Digital
Output
CountInput
er (32Frequency
bit)
COMM
Isolation
2-6
Type
3000 VDC 3000 VDC 3000 VDC 3000 VDC 3000 VDC
2500 VDC
ADAMADAM5056S
5060
/5056SO
ADAM5052
ADAM5055S
ADAM5056
ADAM5056D
Resolution
Input
Channel
Sampling
Rate
Module
ADAM5068
ADAM5080
ADAM5090
Analog Voltage
Input Input
Current
Input
Direct
Sensor
Input
Resolution
8
W/LED
8
W/LED
16
16
W/LED
Channels
Input
Frequency
5000 Hz
(max)
Mode
Frequency,
Up/Down
Counter,
Bi-direction
Counter
RS-232
5000
VRMS
2500 VDC
2500 VDC
1000 VRMS
Analog Voltage
Output Output
Current
Output
Digital
Digital Input
Input Channels
and
Digital Digital
Output Output
Channels
Counter (32bit)
COM- Channels
M
Type
Isolation
6 relay
8 relay
16
(2 form
(8 form
W/LED A/ 4 form
A)
C)
2-7
Description
Power
Consumption
ADAM-5000/485
1.0 W
ADAM-5000E
4.0 W
5.0 W
ADAM-5510
1.0 W
ADAM-5510M
1.2 W
ADAM-5511
I/O Modules
Description
1.0 W
Power
Consumption
ADAM-5013
1.1 W
ADAM-5017
1.25 W
ADAM-5017H
2.2 W
ADAM-5018
0.63 W
ADAM-5024
2.9 W
ADAM-5050
1.2 W
ADAM-5051
0.53 W
ADAM-5051D
0.84 W
ADAM-5056S
0.8 W
ADAM-5056SO
0.84 W
ADAM-5052
8-Channel Isolated DI
0.27W
ADAM-5055S
0.68 W
ADAM-5056
0.53 W
ADAM-5056D
0.84 W
ADAM-5056S
0.6 W
ADAM-5060
1.8 W
ADAM-5068
1.8 W
ADAM-5080
1.5 W
ADAM-5090
0.6 W
2-8
PWR-242
PWR-243
PWR-244
90~264 VAC
85~132 VAC
170~264VAC
100~240 VAC
Input Frequency
47~63 Hz
47~63 Hz
Input Current
1.2 A max.
1.4 A max
25 A/110 VAC
50A/220 VAC
(Inrush current)
Yes
Yes
Yes
+24VDC
+24VDC
+24VDC
2.1 A
3A
4.2 A
Yes
Yes
Yes
Input
Input Voltage
Short Protection
47~63 Hz
Output
Output Voltage
Output Current
Overload Protection
General
Dimension
Operating Temperature
DIN-rail Mountable
0~50oC
(32~122oF)
0~50oC
(32~122oF)
0~50oC (32~122oF)
Yes
No
No
2-9
2-10
2.2.5 Mounting
The ADAM-5510M system can be installed on a panel or on a DIN rail.
Panel mounting
Mount the system on the panel horizontally to provide proper ventilation. You cannot mount the system vertically, upside down or on a flat
horizontal surface. A standard #7 tatting screw (4 mm diameter) should
be used.
2-11
2-12
2-13
2-14
Power Supply
+10~+30 VDC
+Vs
GND
COM
DATA+
DATA-
2-15
2-16
R S-232
PC COM port
CD
RX
TX
DTR
GND
DSR
RTS
CTS
RI
ADAM-5510M COM 3
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
A n a lo g In pu t
A n a lo g O utp ut
D ig ita l In p u t
D ig ita l O u tp u t
N/A
TX
RX
N/A
GND
N/A
N/A
N/A
N/A
Description
Pin 1
DCD
Pin 2
Rx
Pin 3
Tx
Pin 4
DTR
Pin 5
GND
Pin 6
DSR
Pin 7
RTS
Pin 8
CTS
Pin 9
RI
1
6
2-17
2-18
R S -4 8 5
R S -2 3 2
R S-232/485
C O M port setting
2-19
2-20
Chapter 3
I/O Configuration and Program Download
3-2
3-3
Analog Input: As Figure 3-3, you can configure the range of the Analog
input channels.
3-4
3-5
3-6
16h
18h
19h
1ah
1ch
Sub-function
0eh
87h
88h
c0h
0
1
2
0
1
2
3
4
5
Task
186 or greater cd-processor esc instruct
TTY CLear output
Get equipment
Get memory size
Extended menmory read
Extended menmory size
PS/2 or AT style A20 Gate table
Read TTY char
Get TTY status
Get TTY flags
Print "Failed to BOOT ROM-DOS" message
Reboot system
Get tick count
Set tick count
Get real time clock
Set real time clock
Get data
Set data
Timer tick
3-7
3-8
Note:
3-9
3-10
Chapter 4
I/O Module Introduction
Analog I/O
Name
Specification
ADAM-5013
Isolated
ADAM-5017
8-ch. AI
Isolated
ADAM-5017H
Isolated
ADAM-5018
Isolated
ADAM-5024
4-ch. AO
Isolated
ADAM-5050
7-ch. D I/O
Non-isolated
ADAM-5051
16-ch. DI
Non-isolated
ADAM-5051D
16-ch. DI w/LED
Non-isolated
ADAM-5051S
Isolated
ADAM-5052
8-ch. DI
Isolated
ADAM-5055S
Isolated
ADAM-5056
16-ch. DO
Non-isolated
ADAM-5056D
16-ch. DO w/LED
Non-isolated
ADAM-5056S
Isolated
ADAM-5056SO
Isolated
ADAM-5060
Isolated
ADAM-5068
Isolated
Counter/Frequency
ADAM-5080
4-ch. Counter/Frequency
Isolated
Serial I/O
ADAM-5090
4-port RS232
Non-isolated
Digital I/O
Relay Output
4-2
Reference
ADAM-5013
4-3
E XC 0+
S EN 0+
S EN 0-
3 W ire
R TD
E XC 0A .G N D
E XC 0 +
S EN 0 +
S EN 0 E XC 0 A .G N D
4-4
4 W ire
R TD
three
Input type
Pt or Ni RTD
Pt
0 to 100 C a=0.00385
Pt
0 to 200 C a=0.00385
Pt
0 to 600 C a=0.00385
0 to 100 C a=0.00392
Pt
0 to 200 C a=0.00392
Pt
0 to 600 C a=0.00392
Ni -80 to 100 C
Ni
0 to 100 C
Isolation voltage
3000 V DC
Sampling rate
10 samples/sec (total)
Input impedance
2 M
Bandwidth
13.1 Hz @ 50 Hz,
15.72 Hz @ 60 Hz
Input connections
2, 3 or 4 wire
Accuracy
0.1% or better
Zero drift
0.015 C/C
Span drift
0.01 C/C
CMR@50/60 Hz
150 dB
NMR@50/60 Hz
100 dB
Power consumption
1.2 W
4-5
SEN2-
SEN2+
EXC2-
A.GND
Resistance
Decade Box
4-6
Span
Zero
Calibration Calibration
Resistance Resistance
20
60 Ohms
21
Pt, 0 to 100 C
A = 0.00385
140 Ohms
60 Ohms
22
Pt, 0 to 200 C
A = 0.00385
200 Ohms
60 Ohms
23
Pt, 0 to 600 C
A = 0.00385
440 Ohms
60 Ohms
24
60 Ohms
25
Pt, 0 to 100 C
A = 0.00392
140 Ohms
60 Ohms
26
Pt, 0 to 200 C
A = 0.00392
200 Ohms
60 Ohms
27
Pt, 0 to 600 C
A = 0.00392
440 Ohms
60 Ohms
28
200 Ohms
60 Ohms
29
Ni, 0 to 100 C
200 Ohms
60 Ohms
4-7
ADAM-5017
8 AI
ADAM-5017
V0+
V0V1+
V1V2+
V2V3+
V3V4+
V4V5+
V5V6+
V6V7+
V7-
$
4-8
1
V0+
V0-
mV/V
-
V1+
V1-
V0+
V0V1+
V1-
125
0.1%
1 in
0 - 20 mA
4-9
Eight differential
Input Type
mV, V, mA
Input Range
Isolation Voltage
3000 VDC
Sampling Rate
10 samples/sec (total)
15 V max.
15 V max.
Input Impedance
2 Mohms
Bandwidth
Accuracy
0.1% or better
Zero Drift
1.5 V/C
Span Drift
25 PPM/C
CMR @ 50/60 Hz
92 dB min.
Power Requirements
+ 10 to + 30 VDC
(non-regulated)
Power Consumption
1.2 W
4-10
ADAM-5017H
4-11
1
V0+
V0-
mV/V
-
V1+
V1-
V0+
V0-
V1+
V1-
4-12
1 in
0 - 20 mA
4-13
8 differential
ADC Resolution
Type of ADC
Successive approximation
Isolation Voltage
3000 VDC
Sampling Rate
100 Hz
Input Impedance
15 V max.
Power Consumption
1.8 W
4-14
Voltage
Inputs
Offset
Offset
Error @ Error @
25 C
-10 to
+70 C
Gain
Error @
25 C
Gain
Error @
-10 to
+70 C
Offset
Drift
Gain
Drift
Display
Resolution
0 ~ 10 V
0 ~ 11 V
1 LSB 2 LSB
1 LSB
2 LSB
17 V/C
50
ppm/C
2.7 mV
0~5V
0 ~ 5.5 V
1 LSB 2 LSB
1.5 LSB
2 LSB
16 V/C
50
ppm/C
1.3 mV
0 ~ 2.5 V
0 ~ 2.75 V
1 LSB 2 LSB
1.5 LSB
2 LSB
20 V/C
55
ppm/C
0.67 mV
0~1V
0 ~ 1.375 V
60
ppm/C
0.34 mV
0 ~ 500 mV 0 ~ 687.5 mV
Current
Inputs
5 LSB
3 LSB
67
ppm/C
0.16 mV
10 V
11 V
1 LSB 2 LSB
1 LSB
2 LSB
17 V/C
50
ppm/C
2.7 mV
5V
0 ~ 5.5 V
1 LSB 2 LSB
1.5 LSB
2 LSB
17 V/C
50
ppm/C
1.3 mV
2.5 V
0 ~ 2.75 V
1 LSB 2 LSB
1.5 LSB
2 LSB
20 V/C
55
ppm/C
0.67 mV
1V
0 ~ 1.375 V
60
ppm/C
0.34 mV
500 mV
0 ~ 687.5 mV
3 LSB
67
ppm/C
0.16 mV
0 ~ 20 mA
22 mA
1 LSB 1 LSB
1.5 LSB
2 LSB
nA/C
ppm/C
5.3
4 ~ 20 mA
22 mA
1 LSB 1 LSB
1.5 LSB
2 LSB
nA/C
ppm/C
5.3
5 LSB
4-15
ADAM-5018
V0+
V0V1+
V1V2+
V2V3+
V3V4+
V4V5+
V5V6+
V6CJC+
CJC-
$
Application wiring
V0+
T/C
V0-
V1+
V1-
4-16
Input Range
15 mV, 50 mV,
100 mV, 500 mV, 1 V,
2.5 V and 20 mA
J
K
T
E
R
S
B
Isolation Voltage
3000 VDC
Sampling Rate
10 samples/sec (total)
Input Impedance
2 Mohms
Bandwidth
Accuracy
0.1% or better
Zero Drift
0.3 V/C
0 to 760 C
0 to 1370 C
-100 to 400 C
0 to 1400 C
500 to 1750 C
500 to 1750 C
500 to 1800 C
Span Drift
25 PPM/C
CMR @ 50/60 Hz
92 dB min.
Power Consumption
1.2 W
4-17
Slew rate
The slew rate is defined as the slope indicated the ascending or descending rate per second of the analog output from the present to the required.
ADAM-5024
4 AO
ADAM-5024
I0+
I0I1+
I1I2+
I2I3+
I3V0+
V0V1+
V1V2+
V2V3+
V3$
4-18
mA Output
V Output
Figure 4-14: Analog output
Four
Output Type
V, mA
Output Range
Isolation Voltage
3000 Vdc
Output Impedance
0.5 Ohms
Accuracy
Zero Drift
Resolution
0.015% of FSR
Span Temperature
Coefficient
25 PPM/C
Power Consumption
2.5W (Max.)
4-19
V0+
V0V1+
V1-
Voltage
Source
4-20
4-21
4-22
Input Range
Code (Hex)
Input Range
Span Calibration
Voltage
5018
00h
15 mV
+15 mV
01h
50 mV
+50 mV
02h
100 mV
+100 mV
03h
500 mV
+500 mV
04h
1 mV
+1 V
05h
2.5 V
+2.5 V
06h
20 mV
+20 mA (1)
0Eh
J thermocouple
0 to 1370 C
+50 mV
0Fh
K thermocouple +50 mV
0 to 1370 C
T thermocouple +22 mV
-100 to 400 C
10h
5017
11h
E thermocouple +80 mV
0 to 1000 C
12h
R thermocouple +22 mV
500 to 1750 C
13h
S thermocouple +22 mV
500 to 1800 C
14h
B thermocouple +152 mV
500 to 1800 C
07h
08h
Not used
CV
10
+10 V
09h
5 V
+5 V
0Ah
1 V
+1 V
0Bh
500 mV
+500 mV
0Ch
150 mV
+150 mV
0Dh
20 mA
+20 mV (1)
4-23
Input Range
Code (Hex)
Input Range
Span Calibration
Voltage
5017H
00h
10 V
+10 V
01h
0 ~ 10 V
+10 V
02h
5 V
+5 V
03h
0~5V
+5 V
04h
2.5 V
+2.5 V
05h
0 ~ 2.5 V
+2.5 V
06h
1 V
+1 V
07h
0~1V
+1 V
08h
500 mV
+500 mV
09h
0 ~ 500 mV
+500 mV
0ah
4 ~ 20 mA
*(1)
0bh
0 ~ 20 mA
*(1)
4-24
I0+
I0mA meter
I1+
I1-
4-25
4-26
Warning!
CH15
ADAM-5050
4-27
+Vss
-Vss
Power
Ground
Power
Ground
4-28
16
Channel Setting
Digital Input
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
Digital Output
Open collector to 30 V,
100mA max load
Power Dissipation
450 mW
Power Consumption
0.4 W
ADAM-5051/5051 D
4-29
Internal
Logic
Figure 4-26: TTL input (ADAM-5051/5051D)
Internal
Logic
Figure 4-27: Contact closure input (ADAM-5051/5051D)
16
Digital input
Power consumption
0.3 W
indicator
ADAM-5051 D only
4-30
ADAM-5051S
16 DI
ADAM-5051S
DI 0
DI 1
DI 2
DI 3
COM 0
DI 4
DI 5
DI 6
DI 7
COM 1
DI 8
DI 9
DI 10
DI 11
COM 2
DI 12
DI 13
DI 14
DI 15
COM 3
N/A
Application Wiring
Internal
+5 V
P rotection
C ircuit
D I C hann el
B i-dire ctio n
diode
E xternal
DI 0
DI 1
DI 2
DI 3
COM
DI 4
DI 5
DI 6
DI 7
COM
DI 8
DI 9
D I 10
D I 11
COM
D I 12
D I 13
D I 14
D I 15
COM
N /A
10~50 V D C
0
4-31
16(4-channel/group)
Digital Input
Optical Isolation
2500 V DC
70 V DC
Power Consumption
0.8 W
LED Indicator
On when active
21-pin plug-terminal
ADAM-5052
4-32
8 Differential
Digital input
Power consumption
0.4 W
4-33
ADAM-5055S
16 DIO
ADAM-5055S
GND 0
DO 0
DO 1
DO 2
DO 3
DO 4
DO 5
DO 6
DO 7
COM 0
COM 1
DI 0
DI 1
DI 2
DI 3
COM 2
DI 4
DI 5
DI 6
DI 7
N/A
Application Wiring
Inte rna l
+5 V
E x ternal
E1
R
GND 0
DO 0
DO 1
DO 2
DO 3
DO 4
DO 5
DO 6
DO 7
COM 0
COM 1
DI 0
DI 1
DI 2
DI 3
COM 2
DI 4
DI 5
DI 6
DI 7
N /A
R
R
+5 V
DI Channel
B i-d ire ctio n
d iod e
5~ 40 V D C
10~ 5 0 V D C
P rote ction
C irc uit
4-34
16
Digital Output
8 (8-channel/group)
Open collector to 40 V
Optical Isolation
2500 VDC
5 ~ 40 VDC
Digital Input
8(4-channel/group)
Dry Contact
Logic Level 0: close to
GNDLogic Level 1: open
Wet Contact
Logic Level 0: + 3 V maxLogic
Level 1: + 10 to 50 V
Selectable
Optical Isolation
2500 VDC
70 VDC
Power Consumption
0.68 W
LED Indicator
On when active
21-pin plug-terminal
4-35
ADAM-5056
Application wiring
+ Vss
Internal Logic
Open
Collector
Power Ground
Power Ground
4-36
16
Digital output
Open collector to 30 V
100 mA max load
Power dissipation
450 mW
Power consumption
0.25 W
ADAM-5056S
16 DO
ADAM-5056S
GND 0
DO 0
DO 1
DO 2
DO 3
DO 4
DO 5
DO 6
DO 7
COM 0
GND 1
DO 8
DO 9
DO 10
DO 11
DO 12
DO 13
DO 14
DO 15
COM 1
N/A
4-37
+5 V
E xternal
E1
R
R
R
GND 0
DO 0
DO 1
DO 2
DO 3
DO 4
DO 5
DO 6
DO 7
CO M 0
GND 1
DO 8
DO 9
DO 10
D O 11
DO 12
DO 13
DO 14
DO 15
CO M 1
N /A
5~ 40 V D C
16(8-channel/group)
Digital Output
Open collector to 40 V
200 mA max load per channel
Optical Isolation
2500 VDC
5 ~ 40 VDC
Power consumption
0.6 W
LED Indicator
On when active
21-pin plug-terminal
4-38
ADAM-5051SO
N/A
DI 0
DI 1
DI 2
DI 3
DI 4
DI 5
DI 6
DI 7
COM0
N/A
DI 8
DI 9
DI 10
DI 11
DI 12
DI 13
DI 14
DI 15
COM1
N/A
Internal
E xternal
N /A
GND 0
DO 0
DO 1
DO 2
DO 3
DO 4
DO 5
DO 6
DO 7
COM 0
N /A
DO 8
DO 9
D O 10
D O 11
D O 12
D O 13
D O 14
D O 15
COM 1
N /A
5~ 40 V D C
4-39
16(8-channel/group)
Digital Output
Open collector to 40 V
200 mA max load per channel
Optical Isolation
2500 VDC
Opto-isolator response
time
25 us
Supply Voltage
5 ~ 40 VDC
Power consumption
0.6 W
LED Indicator
On when active
21-pin plug-terminal
4-40
ADAM-5060
Application wiring
NO
Form A
(NO)
C
NC
NO
Form C
4-41
Contact rating
Breakdown voltage
3 ms
1 ms
10 ms
Insulation resistance
Power consumption
0.7 W
ADAM-5068
4-42
NO
Form A
(NO)
8 Form A
Contact Rating
Breakdown Voltage
7 msec.
3 msec.
10 msec.
Power Consumption
2.0 W
4-43
4-44
GND
GND
GND
GND
C2A+
C2A-
GND
C2B+/D+
C2B-/D-
GND
C3A+
C3A-
GND
C3B+/D+
C3B-/D-
GND
ISOLATE
TTL
V cc
V0
Internal L ogic
4-45
V cc
Internal logic
4-46
C0A+
C0AC0B+/D+
C0B-/D -
If you need only one type of counting, connect C0A+ and C0Afor Up Counting only; or connect C0B+ and C0B- for Down
Counting only.
4-47
If users select TTL mode and don't connect C0B+ C0B-, the
counter value will increase. If users select Isolated mode and
don't connect C0B+ C0B-, the counter value will decrease.
4-48
4-49
Max value
Sending High alarm
Max value
Initial value
Sending High alarm
Sending low alarm
4-50
4-51
4-52
4-53
Input Frequency
Input Level
Minimum Input
Current
2mA (Isolated)
Logic Level 0 : +1 V
Logic Level 1 : + 3.5 V to 30 V
Isolated Voltage
1000 V
Mode
Programmable
Digital Noise Filter
8 ~ 65000 sec
MAX
RMS
4-54
9600
4800
2400
4-55
4 RS232
ADAM-5090
TX
Port1
RX
TX
Port2
RX
TX
Port3
RX
TX
Port4
RX
4 RS232
ADAM-5090
TX
RJ 48
DB9
Port1
RX
RS-232 Device
TX
Port2
RX
Communication Cable
TX
Port3
RX
TX
Port4
RX
4-56
RJ-48
DB9
/DCD
RX
TX
/DTR
GND
/DSR
/RTS
/CTS
RI or +5V
GND
10
Function
Electrical Interface
4 ports (RS-232)
Communication Rates
FIFO
Indicator
Tx (Orange), Rx (Green)
Power Required
100mA @ 5VDC
Default in RI mode (*)
4-57
Jumper Settings
This section tells you how to set the jumpers to configure your ADAM5090 module. There are four jumpers on the PC Board. User can choose
RI signal or 5V output for each port by setting these jumpers (system
default is RI signal).
The following figure shows the location of the jumpers:
LED
Port1
Port2
Port3
Port4
Jumper
J2
J3
J4
+5V
RI
5V Output
RI Signal
(Default)
4-58
4-59
4-60
4-61
4-62
Chapter 5
Function Librar
y
Library
Note 1: These function libraries support Borland Turbo C 3.0 for DOS
only.
Note 2: Please includes all necessary ADAM-5510M function libraries
in your project file.
5-2
5-3
5-4
5-5
5-6
5-7
Description
From 0 to 65535.
Return value:
None.
Example:
#include 5510drv.h
void main (void)
{
/* codes placed here by user */
ADAMdelay(1000); /* delay 1 sec. */
/* codes placed here by user */
}
Remarks:
None
5-8
Description
The slot number of an ADAM-5510M, from 0 to 3.
Return value:
The return values are:
I/O Module name
Return Value
ADAM-5017
ADAM5017_ID
ADAM-5018
ADAM5018_ID
ADAM-5017H
ADAM5017H_ID
ADAM-5013
ADAM5013_ID
ADAM-5080
ADAM5080_ID
ADAM-5052
ADAM5052_ID
ADAM-5050
ADAM5050_ID
ADAM-5051
ADAM5051_ID
ADAM-5056
ADAM5056_ID
ADAM-5060
ADAM5060_ID
ADAM-5068
ADAM5068_ID
ADAM-5024
ADAM5024_ID
Remarks:
None
5-9
Description
Return value:
The DIP switches number of the ADAM-5510M controller.
Example:
#include 5510drv.h
unsigned char SystemNodeNumber;
unsigned char IOModuleName, SlotNumber;
void main(void)
{
SystemNodeNumber = Get_NodeID();
if( SystemNodeNumber == 0x15)
{
/* Read IO module name in Slot 0*/
SlotNumber = 0;
IOModuleName = Get_BoardID(SlotNumber);
if( IOModuleName == ADAM5051_ID)
{
/* IO Board is current, put your code in Here*/
}
else
5-10
5-11
data
Description
RTC_sec
RTC_min
RTC_hour
RTC_day
RTC_week
RTC_month
RTC_year
New contents.
the second
the minute
the hour
the day
day of the week
the month
the year
Return value:
The value requested by the user.
Example:
#include 5510drv.h
void main(void)
{ unsigned char sec=0,min=0,hour=12;
printf(Time %02d:%02d:%02d \n,GetRTCtime(RTC_hour),
GetRTCtime(RTC_min), GetRTCtime(RTC_sec));
5-12
5-13
Description
PWR
RUN
COMM
Return value:
None.
Example:
#include 5510drv.h
void main(void)
{
LED_init();
/* flash COMM led */
while(1)
{
5-14
5-15
SECTOR_DATA
Description
User-determined address range to be erased, taken
from addresses in the range 0x80000L to 0xB0000L.
User-determined destination address for byte transfer, taken from the range 0x80000L to 0xBFFFFL.
User-determined destination address in the Flash
memory, taken from addresses in the range 0x80000L
to 0xB8000L.
Pointer at the starting address in the origin memory
of the users data array.
Return value:
TRUE
Successful transfer to Flash memory.
FALSE
Error (destination already occupied, excess address range, or
program error).
5-16
Description
User-determined address taken from the range
0x8000 to 0xBF00.
Offset for use in location of memory taken from the
range 0x0000 to 0x0FFF.
Return value:
The value in memory storage at the indicated address.
Example:
#include 5510drv.h
void main(void)
{
unsigned char sector[32768];
unsigned char data;
unsigned long addr,sector_num;
unsigned int i;
printf(erase sector 0x80000L\n);
if(EraseSector(0x80000L))
printf(erase succeed \n);
printf(Write data(55) to 0x80000~0x80001\n);
5-17
5-18
Description
From 0 to 112, user-determined.
Value to be saved.
Return value:
The value in a byte of security SRAM.
Example:
#include 5510drv.h
void main(void)
{
unsigned char data[4] = {1,2,3,4};
int i;
/* save current value */
for(i=10;i < 14;i++)
{
Set_SysMem(i, data[i-10]);
printf(data=%d\n,Get_SysMem(i));
}
}
Remarks:
None
5-19
Description
NVRAM size in 4 KB sectors, from 1 to 96 sectors.
Return value:
Get_NVRAM_Size: sector Number of sectors NVRAM size is set to,
from 1 to 96.
Example:
#include 5510drv.h
void main()
{
unsigned char sector;
sector = Get_NVRAM_Size();
printf(Backup ram=%dKbyte\n,sector*4);
/*Set Bacup ram 40Kbyte*/
Set_NVRAM_Size(10);
}
Remarks:
None.
5-20
5-21
Description
Return value:
0: Initialization was successful.
1: The timer had already been initialized.
Remarks:
None.
5-22
Description
Return value:
None.
Remarks:
None.
5-23
Description
Time interval set, max. value is 65536.
Return value:
Integer Function success, value represents function timer ID. Max. value
of 100.
-1 Function failure.
Remarks:
Timer function calls in the ADAM-5510M are emulated as timer functions in a PLC. Applications using timer functions will run less efficiently
the more timer functions are running simultaneously in a program. Please
refer to Example 9 on the utility diskettes for details.
5-24
5-25
5-26
*/
Description
Return value:
None.
Example:
#include 5510drv.h
void main(void)
{
int i;
WDT_enable();
for(i=0;i<100;i++)
{
/*put your code in Here*/
WDT_clear();
/*put your code in Here*/
5-27
5-28
5-29
Description
0 - 3 for Slot0 ...Slot3.
0 - 2 for ADAM-5013.
The value returned.
Return Value:
None.
Example:
Please refer to the ADAM-5013 Example
Remarks:
None.
5-30
Description
0 - 3 for Slot0 ...Slot3.
0 - 6 for ADAM-5018; 0 - 7 for ADAM-5017
The value returned.
The *pValue for ADAM-5017 and ADAM-5018 must be interpreted in reference to the range input that was set during module configuration.
Return value:
None.
Example:
Please refer to the ADAM-5017/5018 Example
Remarks:
None.
5-31
Description
0 - 3 for Slot0 ...Slot3.
0 - 2 for ADAM-5013.
The input range code returned. (See Appendix C.)
Return Value:
None.
Example:
Please refer to the ADAM-5013 Example
Remarks:
None.
5-32
Description
0 - 3 for Slot0 ...Slot3.
0 - 7 for ADAM-5017, 0-6 for ADAM-5018.
The input range code returned (See Appendix C.)
Return Value:
*pRange The input range code returned.
Example:
Please refer to the ADAM-5017/5018 Example
Remarks:
None.
5-33
Description
From 0 to 3.
Return Value:
None.
Example:
Please refer to the ADAM-5013 Example
Remarks:
None.
5-34
Description
From 0 to 3.
Return value:
None.
Example:
Please refer to the ADAM-5017/5018 Example
Remarks:
None.
5-35
5-36
5-37
Description
0 - 3 for Slot0 ...Slot3.
0 - 7 for ADAM-5017H.
The value returned.
Return Value:
None.
Example:
Please refer to the ADAM-5017H Example
Remarks:
None.
5-38
Description
0 - 3 for Slot0 ...Slot3.
0 - 7 for ADAM-5017H.
The input range code returned. (See Appendix C.)
Return Value:
None.
Example:
Please refer to the ADAM-5017H Example
Remarks:
None.
5-39
5-40
5-41
Description
The initial value output by channel 0.
The initial value output by channel 1.
The initial value output by channel 2.
The initial value output by channel 3.
Return Value:
None.
Example:
Please refer to the ADAM-5024 Example
Remarks:
None.
5-42
Description
The value set for analog output.
Slot number = 0 - 3.
AO channel = 0 - 3.
Return Value:
None.
Example:
Please refer to the ADAM-5024 Example
Remarks:
None.
5-43
5-44
pValue
Description
ADAM-5510 slot number, from 0 to 3.
See Size parameter below.
ABit, AByte, AWord
If Size= ABit, Bit=0..15 (pin0..pin15)
If Size=AByte, Bit=0 for Low Byte data; Bit=8 for High
Byte data
If Size=AWord, Bit does not care. Always word data.
The value returned.
Return value:
None.
Example:
void main(void)
{
unsigned char Bdata;
unsigned int Wdata;
/* Slot0, pin13, data=0 or 1 */
Get5051(0, 13, ABit, &Bdata);
/* Slot2, pin0~pin7, Bdata=Low Byte data */
5-45
5-46
Description
The digital value specified by the user to be output.
0 to 3 (Slot0 .. Slot3).
See Size parameter below.
ABit, AByte, AWord
If Size = ABit, Bit = 0 ...15 (pin0 ... pin15)
If Size = AByte, Bit = 0 is Low Byte data
Bit = 8 is High Byte data
If Size = AWord, Bit does not care, always word data.
Return Value:
None.
Example:
void main(void)
{
unsigned char Bitdata = 1;
Set5056( &Bitdata, 0, 13, ABit);
/ * Output 1 to slot 0, pin 13 */
}
Remarks:
None
5-47
Description
The specific slot inserted with ADAM-5080
0-3 or slot0-slot3
Return Value:
None
Example:
Please refer to the ADAM-5080 Example
5-48
Description
The specific slot inserted with ADAM-5080
0-3 or slot0-slot3
The specific channel in ADAM-5080, 0-3
The Value returned
Return Value:
The Value from the specific channel
Example:
Please refer to the ADAM-5080 Example
5-49
Description
The specific slot inserted with ADAM-5080
0-3 or slot0-slot3
The specific channel in ADAM-5080, 0-3
Return Value:
None
Example:
Please refer to the ADAM-5080 Example
5-50
Description
The specific slot inserted with ADAM-5080, 0-3 or slot0-slot3
The specific channel in ADAM-5080, 0-3
1
0
Return Value:
None
Example:
Please refer to the ADAM-5080 Example
5-51
5-52
5-53
5-54
5-55
5-56
5-57
5-58
5-59
5-60
5-61
5-62
5-63
5-64
5-65
5-66
Appendix A
COM Port Register Structure
A-2
Baud rate
Divisor
Baud rate
Divisor
50
2304
2400
48
75
1536
3600
32
110
1047
4800
24
133.5
857
7200
16
150
768
9600
12
300
384
19200
600
192
38400
1200
96
56000
1800
64
115200
2000
58
Appandix A
Bit 6
0
0
1
1
0
1
0
1
01
04
08
14
Bit 1
Bit 0
0
0
1
1
0
1
0
1
5
6
7
8
A-3
A-4
Appendix B
Data Formats and I/O Ranges
Engineering Units
Data can be represented in Engineering Units by setting bits 0 and 1 of
the data format/checksum/integration time parameter to 0.
This format presents data in natural units, such as degrees, volts, millivolts, and milliamps. The Engineering Units format is readily parsed by
the majority of computer languages because the total data string length,
including sign, digits and decimal point, does not exceed seven characters.
The data format is a plus (+) or minus (-) sign, followed by five decimal
digits and a decimal point. The input range which is employed determines the resolution, or the number of decimal places used, as illustrated
in the following table:
Input Range
15 mV, 50 mV
1 V, 2.5 V, 5 V
10 V
20 mA
Type J and T
thermocouple
Type K, E, R, S, and B
thermocouple
B-2
Resolution
Appandix B
Example 1
The input value is -2.65 V 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.5C. The analog input module is configured for a
Type J thermocouple whose range is 0C to 760C. 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
range of 5 V range. When the engineering units 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)
B-3
Range
Code
08h
09h
0Ah
10 V
5 V
1 V
ADAM5017
0Bh
0Ch
0Dh
500 mV
150 mV
20 mA
+F.S.
Zero
-F.S.
Displayed Actual
Resolution Value
Engineering
Units
+10.000
00.000
-10.000
1 mV
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+5.0000
0.0000
-5.0000
100.00 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+1.0000
0.0000
-1.0000
100.00 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+500.00
000.00
-500.00
10 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+150.00
000.00
-150.00
10 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+20.000
00.000
-20.000
1 V
% of FSR
+100.00
000.00
-100.00
0.01%
0000
8000
1 LSB
Two's
7FFF
Complement
B-4
Reading/
1000
Reading/
1000
Reading/
10000
Reading/
10
Reading/
100
Reading/
1000
Appandix B
Range
Code
00h
01h
02h
ADAM5018
03h
04h
05h
06h
15 mV
50 mV
100 mV
500 mV
1 V
2.5 V
20 mA
+F.S.
Zero
-F.S.
Displayed Actual
Resolution Value
Engineering
Units
+15.000
00.000
-15.000
1 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+50.000
00.000
-50.000
1 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+100.00
000.00
-100.00
10 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+500.00
000.00
-500.00
10 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+1.0000
0.0000
-1.0000
100 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+2.5000
0.0000
-2.5000
100 V
% of FSR
+100.00
000.00
-100.00
0.01%
Two's
7FFF
Complement
0000
8000
1 LSB
Engineering
Units
+20.000
00.000
-20.000
1 A
% of FSR
+100.00
000.00
-100.00
0.01%
0000
8000
1 LSB
Two's
7FFF
Complement
07h
Reading/
1000
Reading/
100
Reading/
100
Reading/
10
Reading/
10000
Reading/
10000
Reading/
1000
Not Used
B-5
Module
Range
Code
Input Range
Description
Type J
Thermocouple
0Eh
0 C to
760 C
Type K
Thermocouple
0Fh
0 C to
1370 C
Type T
Thermocouple
ADAM- 10h
5018
-100 C to
400 C
Type E
Thermocouple
11h
0 C to
1000 C
Type R
Thermocouple
12h
500 C to
1750 C
Type S
Thermocouple
13h
500 C to
1750 C
Type B
Thermocouple
14h
500 C to
1800 C
B-6
Data Formats
Maximum
Specified
Signal
Minimum
Specified
Signal
Displayed Actual
Resolution Value
Engineering
Units
+760.00
+000.00
0.1 C
% of FSR
+100.00
+000.00
0.01%
Two's
Complement
7FFF
0000
1 LSB
Engineering
Units
+1370.0
+0000.0
0.1 C
% of FSR
+100.00
+000.00
0.01%
Two's
Complement
7FFF
0000
1 LSB
Engineering
Units
+400.00
-100.00
0.1 C
% of FSR
+100.00
-025.00
0.01%
Two's
Complement
7FFF
E000
1 LSB
Engineering
Units
+1000.00
+0000.0
0.1 C
% of FSR
+100.00
000.00
0.01%
Two's
Complement
7FFF
0000
1 LSB
Engineering
Units
+1750.0
+0500.0
0.1 C
% of FSR
+100.00
+028.57
0.01%
Two's
Complement
7FFF
2492
1 LSB
Engineering
Units
+1750.0
+0500.00
0.1 C
% of FSR
+100.00
+028.57
0.01%
Two's
Complement
7FFF
2492
1 LSB
Engineering
Units
+1800.0
+0500.0
0.1 C
% of FSR
+100.00
+027.77
0.01%
Two's
Complement
7FFF
2381
1 LSB
Reading/
10
Reading/
10
Reading/
10
Reading/
10
Reading/
10
Reading/
10
Reading/
10
Appandix B
01h
02h
10 V
0 ~ 10 V
5 V
Zero
Engineering 11
-11
2.7 mV
EFFF
Engineering 11
Don't care 1
-5.5
1.3 mV
EFFF
Engineering
+Full
Scale
5.5
03h
0~5V
Engineering
Don't care 1
04h
2.5 V
Engineering
-2.75
0.67 mV
EFFF
Don't care 1
Engineering 1.375
-1.375
0.34 mV
EFFF
Engineering 1.375
Don't care 1
687.5
-687.5
0.16 mV
EFFF
687.5
Don't care 1
Engineering
4.0
2.75
06h
07h
08h
09h
0ah
0 ~ 2.5 V
1 V
0~1V
500 mV
Engineering
Engineering
0 ~ 500 mV Engineering
4 ~ 20 mA
2.75
22
0 ~ 20 mA
Engineering
22
Note:
Don't care 1
The full scale values in this table are theoretical values for your
reference; actual values will vary.
B-7
Engineering Units
Data can be represented in engineering units by setting bits 0 and 1 of
the data format/checksum/integration time parameter to 0.
This format presents data in natural units, such as milliamps. The Engineering Units format is readily parsed by the majority of computer languages as the total data string length is fixed at six characters: two
decimal digits, a decimal point and three decimal digits. The resolution is
5 A.
Example:
An analog output module on channel 1 of slot 0 in an ADAM-5000
system at address 01h is configured for a 0 to 20 mA range. If the output
value is +4.762 mA, the format of the Analog Data Out command would
be #01S0C14.762<cr>
30
31
32
B-8
0 to 20 mA
4 to 20 mA
0 to 10 V
Minimum
Specified
Signal
Displayed
Resolution
Engineering
Units
20.000
00.000
5 A
% of Span
+100.00
+000.00
5 A
Hexadecimal
Binary
FFF
000
5 A
Engineering
Units
20.000
04.000
5 A
% of Span
+100.00
+000.00
5 A
Hexadecimal
Binary
FFF
000
5 A
Engineering
Units
10.000
00.000
2.442 mV
% of Span
+100.00
+000.00
2.442 mV
Hexadecimal
Binary
FFF
000
2.442 mV
Appandix B
20
Engineering +100.00
100 Ohms
Units
Platinum
RTD -100 to
100 C
a=0.00385
-100.00
0.1 C
21
100 Ohms
Platinum
RTD 0 to
100 C
a=0.00385
Engineering +100.00
Units
+000.00
0.1 C
22
100 Ohms
Platinum
RTD 0 to
200 C
a=0.00385
Engineering +200.00
Units
+000.00
0.2 C
23
100 Ohms
Platinum
RTD 0 to
600 C
a=0.00385
Engineering +600.00
Units
+000.00
0.6 C
24
Engineering +100.00
100 Ohms
Units
Platinum
RTD -100 to
100 C
a=0.00392
-100.00
0.1 C
25
100 Ohms
Platinum
RTD 0 to
100 C
a=0.00392
Engineering +100.00
Units
+000.00
0.1 C
26
100 Ohms
Platinum
RTD 0 to
200 C
a=0.00392
Engineering +200.00
Units
+000.00
0.2 C
Note:
Data
Formats
Range
Code (hex)
B-9
27
100 Ohms
Platinum
RTD 0 to
600 C
a=0.00392
Engineering +600.00
Units
+000.00
0.6 C
28
120 Ohms
Nickel RTD
-80 to
100 C
Engineering +100.00
Units
-80.00
0.1 C
29
120 Ohms
Nickel RTD
0 to 100 C
Engineering +100.00
Units
+000.00
0.1 C
Appandix B
Type
385(IEC)
5017H AI
5018 AI
5024 AO
Range High
Scale Low
Scale High
-100
100
65535
Data Format
U16B
0
0
100
200
0
0
65535
65535
U16B
U16B
U16B
600
65535
-100
100
65535
U16B
395(JIS)
0
0
100
200
0
0
65535
65535
U16B
U16B
600
65535
U16B
Ni
-80
0
100
100
0
0
65535
65535
U16B
U16B
mV
-150
150
65535
U16B
mV
-500
500
65535
U16B
V
V
-1
-5
1
5
0
0
65535
65535
U16B
U16B
5013RTD
5017AI
Range Low
-10
10
65535
U16B
mA
-20
20
65535
U16B
mV
mV
-500
0
500
500
0
0
4095
4095
U12B
U12B
-10
10
4095
U12B
10
4095
U12B
-5
4095
U12B
4095
U12B
-2.5
2.5
4095
U12B
V
V
0
-1
2.5
1
0
0
4095
4095
U12B
U12B
4095
U12B
mA
20
4095
U12B
mA
mV
0
-15
20
15
0
0
4095
65535
U12B
U16B
mV
-50
50
65535
U16B
mV
-100
100
65535
U16B
mV
V
-500
-1
500
1
0
0
65535
65535
U16B
U16B
-2.5
2.5
65535
U16B
mA
-20
20
65535
U16B
T/C(J)
760
65535
U16B
T/C(K)
1370
65535
U16B
T/C(T)
-100
400
65535
U16B
T/C(E)
1000
65535
U16B
T/C(R)
500
1750
65535
U16B
T/C(S)
500
1750
65535
U16B
T/C(B)
500
1800
65535
U16B
10
4095
U12B
mA
20
4095
U12B
mA
20
4095
U12B
B-11
Appendix C
Examples on CD
Appandix C Examples on CD
Three examples are included on the ADAM-5511 CD. After you install
the utility CD on your host PC, these examples will be located in the
directory C:\ADAM5511\Example. The following list describes these examples.
Example 1 (Ex1.prj)
This example scans all slots in an ADAM-5511 and then shows the
status of any I/O modules(include AI/O, DI/O, Counter, and Series Communication Module) located in the slots.
Example 2 (Ex2.prj)
This is a modem test example which includes dial, hang-up, auto-answer
and set break.
Example 3 (Ex3.prj)
Using ADAM-5511 COM port and ADAM-4520 (RS-232 to RS-422/485
converter) to scan ADAM-4000 series module as remote I/O function.
C-2
Appendix D
RS-485 Network
D-2
Appandix D
RS-485 Network
Daisychain
The last module of a segment is a repeater. It is directly connected to the
main-wires thereby ending the first segment and starting the next segment. Up to 32 addressable systems can be daisychained . This limitation
is a physical one. When using more systems per segment the IC driver
current rapidly decreases, causing communication errors. In total, the
network can hold up to 64 addressable systems. The limitation on this
number is the two-character hexadecimal address code that can address
64 combinations. The ADAM converter, ADAM repeaters and the host
computer are non addressable units and therefore are not included in
these numbers.
Segment 1
Coverter
RS232/RS485
Segment 2
Repeater
1
RS-485
RS-232
D-3
D-4
RS-485 Network
Appandix D
Random
This is a combination of daisychain and hierarchical structure.
ADAM-5510/P31
SYSTEM
D-5
The value of the resistor should be a close as possible to the characteristic impedance 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 kW 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).
D-6
RS-485 Network
Appandix D
Because each input is biased to 2.4 V, the nominal common mode voltage
of balanced RS-485 systems, the 18 kW on the input can be taken as
being in series across the input of each individual receiver.
If thirty of these receivers are put closely together at the end of the
transmission line, they will tend to react as thirty 36kW resistors in parallel with the termination resistor. The overall effective resistance will
need to be close to the characteristics of the line. The effective parallel
receiver resistance RP will therefore be equal to:
RP = 36 x 103/30 = 1200
While the termination receptor RT will equal:
RT = RO / [1 - RO/RP]
Thus for a line with a characteristic impedance of 100 W resistor
RT = 100/[1 - 100/1200] = 110
Since this value lies within 10% of the line characteristic impedance.
D-7
D-8
Appendix E
Grounding Reference
E-2
Grounding Reference
Appandix E
E.1 Grounding
E.1-1 The Earth for reference
E-3
N
N
N
G
G
Grounding is one of the most important issues for our system. Just like
Frame Ground of the computer, this signal offers a reference point of the
electronic circuit inside the computer. If we want to communicate with
this computer, both Signal Ground and Frame Ground should be connected to make a reference point of each others electronic circuit. Generally speaking, it is necessary to install an individual grounding bar for
each system, such as computer networks, power systems, telecommunication networks, etc. Those individual grounding bars not only provide
the individual reference point, but also make the earth a our ground!
E-4
Grounding Reference
Appandix E
Have you ever tried to measure the voltage between a live circuit and a
concrete floor? How about the voltage between neutral and a concrete
floor? You will get nonsense values. Hot and Neutral are just relational signals: you will get 110VAC or 220VAC by measuring these signals. Normal mode and common mode just show you that the Frame
Ground is the most important reference signal for all the systems and
equipments.
E-5
E-6
Grounding Reference
Appandix E
E-7
E-8
Grounding Reference
Appandix E
ADAM
4013
+16 V
ADAM
4014
+18 V
ADAM
4017
+20 V
ADAM
4021
+22 V
+ 2 4V
Power
Supply
E-9
ADAM
4013
ADAM
4014
ADAM
4017
ADAM
4021
+16V
+18V
+20V
+22 V
+22V
+22V
+22V
+22 V
ADAM
4013
ADAM
4014
ADAM
4017
+24V
Power
Supply
ADAM
4021
+24
Power
Supply
The above diagram shows you that a single point grounding system will
be a more stable system. If you use thin cable for powering these devices, the end device will actually get lower power. The thin cable will
consume the energy.
E-10
Grounding Reference
Appandix E
E.2 Shielding
E.2-1 Cable Shield
E-11
E-12
Grounding Reference
Appandix E
RS-232
ADAM
ADAM
ADAM
ADAM
4520
4013
4017
4021
Terminal Block
+24V
Power
Supply
Never stripping too much of the plastic cable cover. This is improper
and can destroy the characteristics of the Shielded-Twisted-Pair cable.
Besides, the bare wire shield easily conducts the noise.
Cascade these shields together by soldering. Please refer to following
page for further detailed explanation.
Connect the shield to Frame Ground of DC power supply to force the
conducted noise to flow to the frame ground of the DC power supply.
(The frame ground of the DC power supply should be connected to
the system ground)
E-13
E-14
Grounding Reference
Appandix E
E-15
E-16
Grounding Reference
Appandix E
E-17
E-18