3. AIAO Units
MN05003006E F or more information visit:
w w w. e a t o n . c o m
1-47
3. Program
Description
•
When X0 = On, set CR#1 to K1 (H’1, i.e. 0000 0000 0000 0001 in binary) and the
signal input mode at CH1 ~ CH4 to mode 1 (voltage input mode).
•
When X1 = On, write K0 (OFFSET value of CH1) into CR#18 and K500 (GAIN value
of CH1) into CR#24.
•
When X1 goes from On to Off, set M0 = On to disable the ability to modify the A/D
conversion curve. Write K1 (H’1, i.e. 0000 0000 0000 0001 in binary) into CR#33 to
disable modifying the A/D conversion curve for CH1.
4. Program
example
Ladder diagram:
Explanation:
Set CH1 to mode 1 (voltage
input mode)
Write the OFFSET value for
CH1
Write the GAIN value for
CH1
Disable modifying the A/D
conversion curve for CH1
X0
M0
X1
K0
K24
K1
K0
K33
K1
K0
K1
TOP
K0
K1
M0
TOP
TOP
TOP
X1
K1
H1
K18
K0
K500
SET
H1
Example #2: Adjusting A/D Conversion Curve in Current Input Mode
1. Description
Example for the ELC-AN06AANN:
•
When CR#1 (b11 ~ b0) is set to current input mode (mode 2), the OFFSET value will
be set to 4mA (K200) and the GAIN value to 20mA (K1,000), i.e. input current range
-12mA ~ +20mA will correspond to decimal values -1,000 ~ +1,000.
•
When CR#1 (b11 ~ b0) is set to current input mode (mode 3), the OFFSET value will
be set to 0mA (K0) and the GAIN value to 20mA (K1,000), i.e. input current range
-20mA ~ +20mA will correspond to decimal values -1,000 ~ +1,000.
•
If you cannot use the default current input modes (mode 2 and mode 3), you can
make adjustments to the A/D conversion curve according to the application
requirements. For example, Set the OFFSET of CH1 ~ CH4 to 5mA (K250) and the
GAIN to 20mA (K1,000).
•
You only need to set up the A/D conversion curve once.
2. Addresses
Used:
•
X0=On: Set the input mode for CH1 ~ CH4 to mode 3.
•
X1=On: Set the OFFSET values for CH1 ~ CH4 to 5mA (K250) and the GAIN values
Содержание ELCM Series
Страница 1: ......
Страница 107: ...ELC Operation Manual For more information visit www eaton com MN05003006E 2 20 MEMO...