Chap. 18 FB-6AD Analog Input Module

Chap. 18 FB-6AD Analog Input Module
Chapter 18
FB-6AD Analog Input Module
The resolution of FB-PLC analogue input (or called as A/D input) is 12 bits. The OS version of main unit before
V3.2x has only 8 points of analogue input for FB-PLC (which goes together with old A/D module of FB-8AD). Starting
from OS version V3.30, the analogue input can reach as many as 64 points, and its module changes to FB-6AD with
new model of slim shape. Each FB-6AD has 6 points of input; therefore, it can expand upto 11 FB-6AD input modules
with 64 points of analogue input in total (the last two points of the 11th module are invalid).
18.1 Specifications of FB-6AD Functions
Item
Input points
Specifications
6 points(Channels)
Digital input value
−2048〜+2047
Span of
analog
input
Bipolar*
Unipolar
Remark
10V*
1*.Voltage: −10〜10V
5. Current: −20〜20mA
5V
2.Voltage: −5 〜 5V
6. Current: −10〜10mA
10V
3.Voltage: 0 〜10V
7. Current: 0〜20mA
5V
4.Voltage: 0 〜 5V
8. Current:
hThere are 8 kinds of input in total,
user may set by himself.
* : It means the default setting.
0〜10mA
Finest resolution
Voltage: 1.22mV (when input set to 0〜5V)
Current: 2.44µA (when input set to 0〜10mA)
Accuracy
Within ±1% of full scale
Conversion rate
Update the A/D readings every scan
Maximum absolute input
signal
Voltage: ±15V(max)
Input resistance
40KΩ (voltage input), 250Ω (current input)
Insulation
Photocouple isolation
External power supply
24VDC±20%,
Current < 200mA/@24VDC
=Analogue input signal/4096
It may cause the destruction to
hardware if exceeds this value.
Current: ±30mA(max)
No isolation between channels
18.2 The Procedure of Using FB-6AD Analogue Input Module
Start
Set up input voltage/current choice (V/I),unipolar/bipolar
(B/U), input voltage/current range etc. jumpers setting
for respective point before installation. Cascade
------- Please refer to section 18.4 for hardware explanation.
connecting FB-6AD through the PLC expansion
interface, and complete the wiring of 24VDC external
power supply and analogue inputs.
Directly access analogue input registers R3840〜R3903
to acquire the analogue input value of CH0〜CH63.
End
18-1
18.3 Address Allocation of FB-PLC Analogue Inputs
The memory mapping of FB-6AD inputs is beginning from the module closest to main unit, it is orderly numbered as
CH0〜CH5 (1st module), CH6〜CH11 (2nd module), CH12〜CH17 (3rd module)…… and increased with occurring order
number, i.e. for each module, it adds with 6 and is totally 64 inputs from CH0〜CH63, and they are corresponding to the
respective internal analogue input register of PLC (so called as IR register) R3840〜R3903 as listed in following table.
As long as there is expanded FB-6AD module connection, the PLC main unit will automatically check to verify the quantity
of FB-6AD connected, and store the respective A/D value beginning from CH0 orderly into the IR register R3840〜R3903;
user just access from R3840〜R3093 and can acquire the corresponding input span.
For the relationship between
accessed value and input signal, please refer to section 18.6.
Content of IR
Analogue input
register (IR)
R3840
B15 B14 B13 B12
Input label
of FB-6AD
B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
B11 B11 B11 B11 B11
A/D value of CH0
CH0
B0
A/D value of CH1
CH1
R3842
″
A/D value of CH2
CH2
R3843
″
A/D value of CH3
CH3
R3844
″
A/D value of CH4
CH4
R3845
″
A/D value of CH5
CH5
R3846
″
A/D value of CH6
CH0
R3847
″
A/D value of CH7
CH1
R3848
″
A/D value of CH8
CH2
R3849
″
A/D value of CH9
CH3
1st module
2nd module
......
〜〜
......
〜〜
〜〜
〜〜
......
″
......
R3841
R3896
″
A/D value of CH56
CH2
R3897
″
A/D value of CH57
CH3
R3898
″
A/D value of CH58
CH4
R3899
″
A/D value of CH59
CH5
R3900
″
A/D value of CH60
CH0
R3901
″
A/D value of CH61
CH1
11th module
R3902
″
A/D value of CH62
CH2
(CH4~CH5 Invalid)
R3903
″
B11
A/D value of CH63
(Sign extended of B11)
18-2
B0
CH3
10th module
18.4 Explanation of FB-6AD Hardware
1
7
8
I0+
I1+
6
13
14
2
I0
JP2
V
I
I
JP3
JP1
C
H
1
C
H
0
V
19
I1
JP4
U
FG
20
B
G
4
3
3
4
5
POW
C
H
2
C
H
3
C
H
4
C
H
5
I2+
I3+
I4+
I5+
I3
I2
9
10
I4
11
JP5
I5
A: Outlook of top view
1
○
JP7
JP8
I
I
I
V
V
V
V
15
12
JP6
I
16
17
18
B: PCB top view (uncovered)
External power input terminal: Power supply of analogue circuit for FB-6AD, the voltage can be 24VDC±20% and
should be supplied with 4W of power at least.
2
○
Protecting ground terminal: To connect to the safety Earth Ground of the power system.
3
○
Expansion input cable: It should be connected to the front expansion unit, or the expansion output of main unit.
4
○
Expansion output connector: Provides the connection for next expansion unit.
5
○
Power indicator: It indicates whether the power supply at analogue circuit and external input power source are
normal.
6
○
Framing ground: To connect to the shielding of analogue input, please refer to the wiring connection diagram of next
page.
7 〜○
12 : Input terminal of CH0〜CH5.
○
18-3
13 〜○
18 : Selective jumpers of voltage(V)/current(I) for CH0〜CH5.
○
All of the 6 analogue inputs of FB-6AD can either be voltage input or current input. The voltage or current input
is sharing to use the same pair of input terminal (In+ and In−), and voltage or current is depending on the
voltage(V)/current(I) jumpers pair to define (the voltage V is close to terminal side, otherwise is the current I, as
shown in the JP3〜JP8 of diagram B above). The V/I selective jumpers must be placed according to the text
label direction (V, I are both vertically placed) to keep vertical as following diagram illustration; horizontally placed
will result in error.
ɜ
Voltage input(V)
ɺ
Current input(I)
JP3~JP8
JP3
、
JP4
JP3
、
JP4
V
I
(CH0〜CH1)
JP5
~
JP8
V
V
or
I
I
I
(CH0〜CH1)
JP5
~
JP8
I
V
(CH2〜CH5)
19
○
V
JP3~JP8
Jumper horizontally placed or not placed
in pair are both incorrect.
I
V
(CH2〜CH5)
5V/10V or 10mA/20mA selection: Maximum input span selection
All Channels must be collectively selected and can’t be independently chosen.
10V/20mA span
Jumper setting
5V
5V/10mA span
10V
5V
JP2
Unipolar(U)
Analogue
input
Bipolar(B)
0V〜10V
0V〜5V
0mA〜20mA
0mA〜10mA
−10V〜10V
−5V〜5V
−20mA〜20mA
−10mA〜10mA
U/B selection: Unipolar (U) or Bipolar (B) selection
The jumper must according to the U/B text label direction (both B, U are horizontal) to be horizontally placed; it
mustn’t be vertically placed.
ɜ
Bipolar(B)
JP1
U
JP1
B
B
U
B
or
U
JP1
JP1
U
Unipolar(U)
ɺ
B
20
○
10V
JP2
Jumper vertically placed or not inserted
in pair are both incorrect
18-4
18.5 The Input Circuit of FB-6AD
Inputs
FB−6AD
24V+
+ 24VDC
External Power supply
24V
V
I0+
I
I0
V
I1+
I
I1
V
CH0 Input
(Voltage source)
I
CH1 Input
(Current source)
V
CH5 Input
(Voltage source)
FG
I
I5+
V
I5
Twisted Pair with shielding
Voltage / Current
selection
18.6 The Input Characteristic and Jumper Setting of FB-6AD
The 8 kind of input range selections of FB-6AD must be based on the settings of V/I, U/B, 5V/10V jumpers to define,
that described in previous section.
Hereby it will be illustrated with diagram to explain the input conversion
characteristics of B/U, 5V/10V jumpers setting (4 kind of selections). These four conversion curves incorporating V/I
(voltage/ current) input setting can yield the above mentioned 8 kind of inputs. Please refer to the diagram illustration in
section 18.4 for the explanation of V/I selection.
18-5
range
Voltage
Current
−10V〜10V
Jumper
−20mA〜20mA
setting
5V 10V
JP2
JP1
B
Input
U
Diagram 1: Bipolar 10V (20mA) Span
Maximum Span
( IR A/D value )
Valid span
+2047
Full scale
+1023
+Half scale
0
0
1024
-Half scale
2048
-Full scale
15V
30mA
5V
10mA
10V
20mA
0V
0mA
+5V
+10mA
+10V
+20mA
+15V
+30mA
Voltage Input (V)
Current Input (I)
( Span of Input )
range
Voltage
−5V〜5V
Current
−10mA〜10mA
Jumper
setting
5V 10V
JP2
B
Input
U
Diagram 2: Bipolar 5V (10mA) Span
Maximum Span
( IR A/D value )
Valid span
+2047
Full scale
+1023
+Half scale
0
0
1024
-Half scale
2048
-Full scale
15V
30mA
10V
20mA
5V
10mA
0V
0mA
( Span of Input )
18-6
+5V
+10mA
+10V
+20mA
+15V
+30mA
Voltage Input (V)
Current Input (I)
JP1
range
Voltage
0V〜10V
Current
0mA〜20mA
Jumper
setting
5V
10V
JP2
JP1
B
Input
U
Diagram 3: Unipolar 10V (20mA) Span
Maximum Span
( IR A/D value )
Valid span
+2047
Full scale
+1023
+Half scale
0
0
1024
-Half scale
2048
-Full scale
15V
30mA
5V
10mA
10V
20mA
0V
0mA
+5V
+10mA
+10V
+20mA
+15V
+30mA
Voltage Input (V)
Current Input (I)
( Span of Input )
0V〜 5V
Voltage
range
Jumper
0mA〜10mA
Current
setting
JP2
5V
10V
JP1
B
Input
U
Diagram 4: Unipolar 5V (10mA) Span
Maximum Span
( IR A/D value )
Valid span
+2047
Full scale
+1023
+Half scale
0
0
1024
-Half scale
2048
-Full scale
15V
30mA
10V
20mA
5V
10mA
0V
0mA
( Span of Input )
18-7
+5V
+10mA
+10V
+20mA
+15V
+30mA
Voltage Input (V)
Current Input (I)
18.7 Notifications for the operation of FB-6AD
A Matching with the OS version of Main Unit and FB-6AD
FB-6AD must run on the main unit with OS version later than (include) V3.30 to work normally. If
installing FB-6AD to any main unit with version before V3.30, then only the first analog input (CH0) can work
normally, all other inputs will not be able to work correctly.
Consequently, for main unit with version before
V3.30, please use FB-8AD analogue module and can only install with one module with 8 points of analogue
input totally.
Note: To tell the version of the main unit, you can just open up the cover at the center of the CPU module and
see sticker with
FB-MAC
or
V3.××
FB-MU
The “3.xx” is the version of main unit.
V3.××
B FB-6AD can not install together with FB-4AJ(K)×× temperature module or FB-8AD analogue input module!
C The processing for Unipolar Inputs
The minimum value (0V or 0mA) should be 0 for the analogue input of unipolar, and should be 4095 for its
maximum input.
Nevertheless, the full resolution of 4096 of FB-6AD is expressed with −2048 (minimum) 〜
2047 (maximum), if the user intends to make it become 0〜4095, it must be added with a deviation value of
2048 to IR (R3840〜R3903) to acquire.
D Tackling on the OFFSET Mode Input
Confined in the limitation of space, the FB-6AD provides only normal mode for analog inputs. For the process
of input for signal source of offset mode (take 4〜20mA input for example), the user can set A/D input range to
be 0〜20mA, convert the IR value to unipolar (0〜4095), lessen the offset (4mA) value (4095x4/20=819), then
times the maximum input amount (20mA), and divide by the maximum span (4mA〜20mA); and it can acquire
the offset input conversion from 4mA〜20mA reflect to 0〜4095, the procedure is as follows:
a. Set the A/D input range of analogue input module to be 0〜20mA.
b. Add the IR (R3840〜R3903) value with 2048 and then store it into register Rn (the value of Rn is 0〜
4095).
c.
Deduct 819 (4095x
4
) from value of register Rn, and store the calculated value back to
20
register Rn; if the value is negative, clear the content of register Rn to 0 (the value of Rn is 0〜3276).
d. The value of register Rn times 20 and then divide by 16 (Rn x
20
), and it will convert the 4mA〜20mA
16
input to range of 0〜4095.
e. To sum up the items from a〜d, the mathematical equation is as follows:
Offset mode conversion value = 〔IR+2048 − (4095×
18-8
4
20
)〕×
; the value is 0〜4095.
20
16
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement