Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Chapter 20 FBs-4A2D Analog Input/Output Module

FBs-4A2D is one of the analog I/O modules of FATEK FBs series PLC. For analog output it provides 2 channels of
14 bit D/A output. Base on the different jumper settings it can provide varieties of current or voltage output signal. The
output code can be configured as unipolar or bipolar which makes the relation of output code and real output signal more
intuitive. For safety, the output signal will be automatically forced to zero(0V or 0mA) when the module is not serviced by
CPU for 0.5 second.

For analog input it provides 4 channels A/D input with 12 or 14 bits effective resolution. Base on the different
jumper settings it can measure the varieties of current or voltage signal. The reading value is represented by a 14 bit
value no matter the effective resolution is set to 12 or 14 bits The output code also can be configured as unipolar or
bipolar which makes the relation of input code and real input signal more intuitive.. In order to filter out the field noise
imposed on the signal, it also provides the average of sample input function.

20.1 Specifications of FBs-4A2D

General specifications

Isolation Transformer(Power) and photocouple(Signal)


Indicator(s) 5V PWR LED
Internal Power
5V、100mA
Consumption
External power supply 24V-15%/+20%、100mA
Operating Temperature 0 ~ 60 ℃
Storage Temperature -20 ~ 80 ℃
Dimensions 40(W)x90(H)x80(D) mm

Analog output specifications

Item Specifications Remark


Output Channel 2 Channel ( 2 D A )
Digital Output Value − 8 1 9 2 ~ + 8 1 9 1 ( Bipolar) o r 0 ~ 1 6 3 8 3 ( Unipolar)
*10V *1. Voltage: −10~ 10V 5. Current: −20~ 20mA
Span Bipolar* * : It means the default
Of 5V 2. Voltage: −5~ 5V 6. Current: −10~ 10mA
setting
Analog 10V 3. Voltage: 0~ 10V 7. Current:0~ 20mA
output Unipolar
5V 4. Voltage: 0~ 5V 8. Current:0~ 10mA

Resolution 14 bits
Finest resolution 0.3mV(Voltage)、0.61µA(Current)

I/O Points Occupied 2 OR(Output register)


Accuracy Within ±1% of full scale
Conversion Time Updated each scan

Voltage:500Ω~1MΩ The deviation will be


Maximum accommodation
enlarged if exceeding this
for resistance loading Current:0Ω~300Ω
range

20-1
Analog input specifications

Item Specifications Remark


Input Channel 4 Channel (4AD)
−8192~+8191or 0~16383(14bit)
Digital Input Value
−2048~+2047or 0~4095(12bit)
*10V *1. Voltage:−10~10V 5. Current:−20~20mA
Span Bipolar*
Of 5V 2. Voltage:−5~5V 6. Current:−10~10mA *: It means the default
Analog 10V 3. Voltage:0~10V 7. Current:0~20mA setting
Input Unipolar
5V 4. Voltage:0~5V 8. Current:0~10mA
Resolution 14 or 12 bit

Voltage:0.3mV =Analog Input Signal/


Finest resolution 16383(rounded the third
Current:0.61µA
decimal place)
I/O Points Occupied 4 IR(Input register)
Accuracy Within ±1% of full scale
Conversion Time Updated each scan
It may cause the
Maximum absolute input Voltage:±15V(max)
destruction to hardware if
signal Current:±30mA(max)
exceeds this value.
Input resistance 63.2KΩ(Voltage input)、250Ω(Current Input)

20.2 The procedure of using FBs-4A2D analog input/output module

St a r t

Set the I/O voltage/current (V/I), polarity (B/U), and the V/I
range of each point before installation. Connect
Please refer to section 20.4 for hardware
FBs-4A2D to the expansion interface on PLC in series - - - - - - -
explanation.
and connect an external 24VDC source and analog
output wires to the module.

Analog Input : Directly read the value of the four


corresponding IRs to obtain the analog input reading of
CH0~CH3.

Analog Output : Directly fill the output value into the


analogue output registers R3904~R3967 to acquire the
corresponding analogue output span of CH0~CH63 from
output module.

End

20-2
20.3 Address allocation of FBs-PLC analog inputs/outputs

FBs-4A2D offers 4 AD points and 2 DA points. The AD points number starts from the one nearest to the PLC, the
number in order is CH0~CH3 (module 1); CH4~CH7 (module 2); CH8~CH11 (module 3); etc, accumulates in serial; i.e.
add 4 to each module, the total is 64 points (CH0~CH63) corresponding top the value IRs inside the PLC (R3840~R3903),
respectively. In DA point numbering, from the one nearest to the PLC, the number runs from CH0 through to CH63 in
serial, the total is 64 points corresponding top the value ORs inside the PLC (R3904~R3967), respectively. After
connecting FBs-4A2D to the expansion interface on the PLC, FBs-PLC will automatically detect the number of AD/DA
points. WinProladder will automatically detect and calculate the value IRs/ORs on the system after connecting to the PLC.
Users may refer to the I/O Module Number Configuration provided by WinProladder in order to find out the exact I/O
address of each expansion module to facilitate programming (see I/O Number Configuration, Section 12.6, WinProladder
User’s Manual for details).

Address allocation of FBs-4A2D(Analog output)

Numeric Output Content of OR (CH0~CH63)


Output
Register(OR) B 1 5 B 1 4 B 1 3 B 1 2 B 11 B 1 0 B 9 B 8 B 7 B 6 B 5 B 4 B 3 B 2 B 1 B 0 lable

O R +0 * * B13 CH0 output value B0 CH 0


F Bs - 4 A 2D
O R +1 * * C H1 output value CH 1

O R +2 Depends on module type CHX

O R +3 CHX
..... .
..... .
....




~ Other modules

R3 9 66 Depends on module type CHX

R3 9 67 Depends on module type CHX

* * --- ---- ---- - Unipolar code output (0~16383),B14、B15 = 00


Bipolar code output (-8192~8191),B14、B15 = B13

Address allocation of FBs-4A2D(Analog input)

Numeric Input Content of IR (CH0~CH63)


Input lable
R e g is t e r ( I R ) B 1 5 B 1 4 B 1 3 B 1 2 B 11 B 1 0 B 9 B 8 B 7 B 6 B 5 B 4 B 3 B 2 B 1 B 0

IR + 0 14/12 bit ; 14-bit , B14~ B15= B13 ; 12-bit, B12~ B15= B11 CH 0

IR + 1 14/12 bit ; 14-bit , B14~ B15= B13 ; 12-bit, B12~ B15= B11 CH 1
F Bs - 4 A 2D
IR + 2 ″ CH 2

IR + 3 ″ CH 3

20-3
... .
... .

... .



R3 9 00 Depends on module type CHX
Other modules
R3 9 01 Depends on module type CHX

R3 9 02 ″ CHX

R3 9 03 ″ CHX

20.4 FBs-4A2D hardware description

1 6 7 8

※ FBs-4A2D contains 3 PCBs overlapping one


another. The lowest one is the power supply
2 unit (isolated power supply). The middle one
O0+ O1+
AG O0- O1- is the I/O board (connectors are on this
C C
V I U B 5V 10V H
0
H
1
layer). The upper one is the control board
(control/expansion I/O connections) as
described below.:

FATEK
4
POW

3 C C C C
H H H H
0 1 2 3
I0+ I1+ I2+ I3+
I0- I1- I2- I3-

9 10 11 12
Outlook of top view


1 External power input terminal : Power supply of analogue circuit for this module, the voltage can be 24VDC±20%
and should be supplied with 4W of power at least.


2 Protecting ground terminal: Connect to the shielding of signal cable.


3 Expansion input cable: It should be connected to the front expansion unit, or the expansion output of main unit.

20-4

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 AG Ground: No connection is needed in general; except when the common mode signal is too high. See examples
overleaf for details.


7 、○
8 : Output terminal of CH0~CH1.


9 、○
12 : Input terminal of CH0~CH3.

20.4.1 FBs-4A2D hardware jumper setting


U
B
V
I

10V

5V

(Code)

JP1 D/A
U U
B B

JP1 A/D

Pin Layout in Control Board (open top cover)

20-5
Output Code Format JP1 Setting Output Value Range Corresponding Input Signals

- 10 V ~ 1 0 V( - 2 0m A ~ 2 0 m A)
Bipolar - 8 1 92 ~ 8 19 1
- 5 V ~ 5 V( - 2 0m A ~ 2 0 m A)

0 V ~ 1 0 V( 0m A ~ 20 m A)
Unipolar 0 ~ 1 6 38 3
0 V ~ 5 V( 0m A~ 1 0m A)

2. Output signal form setup (JPA&JPB)

Users can set the output signal form (voltage/current) of individual channels; except the polarity and amplitude which
are common.

Signal Form JPA (voltage/current) Setting JPB (polarity/amplitude) Setting

0V~ 10V

- 1 0 V ~ 10 V

0V~ 5V

-5V~ 5V

0m A ~ 20m A

- 2 0m A~ 2 0m A

0m A ~ 10m A

- 1 0m A~ 1 0 Vm A

● (Analog input)

1 . Input code format selection (JP1)

Users can select between unipolar and bipolar codes. The input range of unipolar codes and bipolar codes is
0~16383 and –8192~8191, respectively. The two extreme values of these formats correspond to the lowest and highest
input signal values, respectively (see table below). For example, if the input signal type is set to -10V~ +10V, the unipolar
code corresponding to the input is 8192 and the bipolar code corresponding to the input is 0 for 0V input. If the input is
10V, the unipolar code corresponding to the input is 16383 and the bipolar code corresponding to the input is 8191. In
general, the input code format is selected according to the form of input signals; i.e. unipolar codes for unipolar input
signals; and bipolar codes for bipolar input signals. In doing so, their correlations will become more heuristics. Unless it is

20-6
necessary to make a deviation conversion through FUN32; otherwise, do not select bipolar codes for unipolar input
signals (see FUN32 description for details). The format of input codes of all channels is selected from JP1. See above
diagram for the location of JP1:

Input Code Format JP1 Setting Input Value Range Corresponding Input Signals

- 10 V ~ 1 0 V( - 2 0m A ~ 2 0 m A)
Bipolar - 8 1 92 ~ 8 19 1
- 5 V ~ 5 V( - 2 0m A ~ 2 0 m A)

0 V ~ 1 0 V( 0m A ~ 20 m A)
Unipolar 0 ~ 1 6 38 3
0 V ~ 5 V( 0m A~ 1 0m A)

2 . Input signal form setup (JP3&JP4)

Users can set the input signal form (voltage/current) of individual channels; except the polarity and amplitude which
are common. The location of jumpers are tabulated below:

Signal Form JP3 Setting JP4Setting

0~ 10V
or
0~ 20mA

0~ 5V
or
0~ 10mA

-10~ +10V
or
-20~ +20mA
U
-5~ +5V B
or
-10mA~ +10mA

3. Voltage or current setting (JP5~JP8)

Signal Type JP5(CH0) ~ JP8(CH3) Setting

Voltage
V
I

Current

20-7
20.5 FBs-4A2D input/output circuit diagram

FBs-4A2D Output

+15V 24V+ + 24VDC


External power supply
15V 24V

CH0 Voltage output


V O0+ V+ +

I O0 V
Voltage Input
D/A FG

CH1 Current Input


V O1+ I+ +

I O1 I
Current Input
Twisted pair with shielding FG
Voltage/
Current output
selection
AG

FG

Input

V I0+
CH0 Input
V
I0
(Voltage source)
I

V I1+ CH1 Input


I (Current source)
I I1
A/D

V I2+ CH2 Input


V (Voltage source)
I I2

V I3+
CH3 Input
I
I3 (Current source)
I

Voltage/ Twisted pair with shielding


Current input
selection

20.6 FBs-4A2D input/output characteristics

Users can select the I/O ranges of FBs-4A2D from the jumpers described above, such as V/I, U/B (I/O codes), U/B
(signal form), 5V/10V, etc. The I/O conversion characteristics of these settings are illustrated below. Users can adjust
different I/O forms by coordinating the conversion curve with various V/I (voltage/current) I/O settings. See Section 20.4
for details of V/I settings.

20-8
Diagram 1:Bipolar 10V(20mA)Span

Input/Output Voltage − 10 V ~ 1 0 V

Range Current
− 20m A ~ 20m A

14 bit input/output format

12 bit input format

※ No 12-bit mode for analog output

20-9
Diagram 2:Bipolar 5V(10mA)Span

Input/Output Voltage −5V~ 5V

Range Current
− 10m A ~ 10m A

14 bit input/output format

12 bit input format

※ No 12-bit mode for analog output

20-10
Diagram 3:Unipolar 10V(20mA)Span

Input/Output Voltage
0V~ 10V

Range Current
0m A~ 2 0m A

14 bit input/output format

12 bit input format

※ No 12-bit mode for analog output

2 0 - 11
Diagram 4:Unipolar 5V(10mA)Span

Input/Output Voltage
0V~ 5V

Range Current
0m A~ 1 0m A

14 bit input/output format

12 bit input format

※ No 12-bit mode for analog output

20-12
20.7 FBs-4A2D analog input format planning

The reading input format planning of FBs-4A2D is exactly the same as that of FBs-6AD. See Section 18.7 for details.
The figure below shows the FBs-4A2D analog input format planning screen in WinProladder.

20-13
MEMO

You might also like