Ch03_Expansion_FBs_PLC.pdf

(264 KB) Pobierz
Microsoft Word - 3-1-3-5_English_rp.doc
Chapter 3 Expansion of FB S -PLC
If the I/O point of the. Main unit of the applied FB S -PLC is not enough for a specific application, then can expand it with
the additional expansion units/modules. Besides I/O point there also have the requirements to expand the
communication port in some occasions.
3.1 I/O Expansion
The expansion of FB S -PLC I/O consists of Digital I/O ( DI/O, which status is represented by a single bit) and the Numeric
I/O (NI/O , which status is represented by a 16-bit Word). Either the DI/O or the NI/O expansion is realized through
expansion units or modules cascaded thru the usage of the “I/O Output Expansion Connector” located at the right side of
FB S -PLC or expansion unit/ module.
The I/O points of FB S -PLC system are limited to 512 points of DI/O (256 points for DI and DO, respectively), 128 words
of NI/O (64 words for NI and NO, respectively). Besides this there are two limits imposed by hardware: 1 . A maximum
number of 32 units or modules can be used in the expansion. 2 . The total length of the expansion cables cannot
exceed 5 meters.
Note
1. If the I/O points of the application system exceed one of the limitations(256 DI,256 DO,64 NI, 64 NO), while
startup the main unit of FB S -PLC will treat this as an illegal I/O configuration, which in return will flag as an error
situation by turn on the “ERR” LED and put the error code in Y0~Y3 LED(refer the page 8-2, Chapter 8). The
corresponding error code will also be indicated in the CPU status register (R4049).
2. The maximum number of expansion units/modules of FB S -PLC is 32. Beyond this numbers will be treated as
an invalid I/O configuration and the main unit will stop its operation, which in return will flag as an error situation
by turn on the “ERR” LED and put the error code in Y0~Y3 LED(refer the page 8-2, Chapter 8). The
corresponding error code will also be indicated in the CPU status register (R4049).
Warning
1. The maximum length of the I/O expansion cable for FB S -PLC is 5 meters. Cables longer than that will cause
incorrect I/O operation because of excess signal delay in hardware or noise pickup, resulting in damage to
equipment or posing hazard to operating personnel. Since this kind of situation cannot be detected by the PLC
main unit, users are advised to take extra cautions and necessary measures.
3.1.1 Digital I/O Expansion and I/O Numbering
Digital I/O means I/O with the discrete type status, including digital input (with initial X in DI numbering) and digital
output (with initial with Y in DO numbering). The DI and DO of FB S -PLC can both be expanded up to 256 points
(numbered as X0~X255 and Y0~Y255, each with 256 points).
The status of input contacts (X0~X255) of PLC come from the input signal connected to the digital input terminal block
on main unit or expansion unit/module; while the status appears at digital output terminal block of main unit and
expansion unit/module reflects the digital output relay (Y0~Y255) status inside PLC.
On FBs-PLC main unit, at the position below the digital input terminal block and the position above the output terminal
block, there have labels indicate the corresponding signal name. They label each terminal with numbers representing
the corresponding digital input contact Xn and digital output relay Yn. In the example of the main unit in FB S- 24MC, the
corresponding digital input contacts on the input terminal block are labeled X0~13, and the corresponding digital output
relays on the output terminal block Y0~Y9. Users only need to locate the printed label for each terminal to find out its
I/O number. The LED status display region also indicates the ON/OFF status for all DI(X0~X13) and DO(Y0~Y9) on the
H3-1
689134582.164.png 689134582.175.png 689134582.186.png 689134582.197.png 689134582.001.png
main unit. Users can easily find each terminal with its I/O number and LED status indication, as shown in the figure
below using X10 and Y6 as an example:
max.
400mA
24V OUT
S/S
X0
X2
X4
X6
X8
X10
X12
X1
X3
X5
X7
X9
X11
X13
X10
0 I 23
7
4
5
6
8
9
I0 I I
I2
I3
( )
IN X
POW
PROGRAMMABLE
CONTROLLER
RUN
ERR
TX
RX
OUT Y
( )
0
4
8 9
I
2
3
7
PORT0
56
Y6
IN
AC100~240V
C0
Y1
Y2
Y4
Y5
Y6
Y8
SINK
SRCE
Y0
C2
Y3
C4
C6
Y7
Y9
While the various expansion units/modules other than the main units have the same printed labels on the input/output
terminals as the main units do, these labels are only relative I/O numbers, different from the absolute I/O numbers on
main units. The number of a terminal only represents its order on the expansion unit/module. For example, the first
contact is X1 or Y1, the second X2 or Y2, etc. All numbers on the expansion unit/module begin with 1. The actual
number of digital input contact or the output replay, however, is determined by summing the numbers on all previous
expansion units/modules and the main unit. See the following figure and its calculation.
X49
X0
X23
X24
X37
X38
X61
X0 X1 • • • • • • • • • • • • • • X23
X1 X2 • • • • • • • • X14
X1 X2 • • • • • • X12 • • • • • • X24
FB S -40M
FB S -24EA
FB S -40EAP
Main Unit
( 第1個擴充機/模組 )
1 st expansion
unit/module
2 nd expansion
unit/module
Y0 Y1 • • • • • • • • • • • • Y15
Y1 Y2 • • • • • • • • Y10
Y1 Y2 • • • • • • • • • • • • Y16
Y0
Y15
Y16
Y25
Y26
Y41
As shown in the above figure, because the top X numbers of the previous two units are 23 and 14, respectively, the
number of input contact X12 on second expansion unit should be:
X (23 14 12) X49
H3-2
( 第2個擴充機/模組 )
( 主機 )
689134582.012.png 689134582.023.png 689134582.034.png 689134582.045.png 689134582.056.png 689134582.067.png 689134582.078.png 689134582.089.png 689134582.100.png 689134582.111.png 689134582.122.png 689134582.126.png 689134582.127.png 689134582.128.png 689134582.129.png 689134582.130.png 689134582.131.png 689134582.132.png
3.1.2 Numeric I/O Expansion and I/O Channel Mapping
The numeric I/O in FBs-PLC treat 16 single-bit data as one 16-bit numeric data (Word) ranging from the 0~65535.
Since all numeric data of FBs-PLC are stored in the register inside PLC (16-bit width), therefore numeric I/O is also
called register I/O. The Input Register (IR) has 64 Word (R3840 ~ R3903) for inputs from external numeric input (NI)
module, and the Output Register (OR) also has 64 Word (R3904 ~ R3967) for outputs to external numeric output (NO)
module.
Analog Input Module, Temperature Module, and Thumbwheel switch multiplex input module are of Numeric input (NI)
modules which use input register (IR) to convey the status. Analog Output Module, 7 Segments Display Module are of
Numeric output (NO) modules which output is directly from the Output register (OR). The Analog Input, Temperature
Input, and Analog Output is of analog voltage or current, while the Thumbwheel switch Input or 7 Segments Display
Output uses user-friendly BCD number signal. Either the magnitude of voltage or current or the value of BCD number is
represented by the 16-bit value of the corresponding register. The corresponding current/voltage signal or BCD value of
any IR or OR on the NI/O module is named as a Channel (CH). The channels on the NI module are called numeric
input channels (NI channels) and those on NO module numeric output channels (NO channels). The number of IR/OR
used by NI and NO channels on each module varies depending on the module type or working mode. The following
table lists the numbers of IR and OR used by NI and NO channels on each NI/O module:
NI/O
Module Name
NI Channel
Label
NO Channel
Label
Number of IR
occupied
(Word)
Number of OR
occupied
(Word)
Note
CH0
1
CH1
1
FBs-6AD
CH2
1
CH3
1
CH4
1
CH5
1
FBs-2DA
CH0
1
CH1
1
CH0
1
FBs-4DA
CH1
1
CH2
1
CH3
1
CH0
1
CH1
1
FBs-4A2D
CH2
1
CH3
1
CH0
1
CH1
1
FBs-32DGI
Unlabeled
8
1 CH only
FBs-7SG1
CH0
3(D)
4(ND)
3(D)
CH0
D:decode mode
ND:non-decode mode
4(ND)
2(D)
FBs-7SG2
CH1
4(ND)
FB S -TC2
1
1 CH only
FBs-TC6/RTD6
Unlabeled
1
1 CH only
FBs-TC16/RTD16
Unlabeled
1
1 CH only
H3-3
689134582.133.png 689134582.134.png 689134582.135.png 689134582.136.png 689134582.137.png 689134582.138.png 689134582.139.png 689134582.140.png 689134582.141.png 689134582.142.png 689134582.143.png 689134582.144.png 689134582.145.png 689134582.146.png 689134582.147.png 689134582.148.png
The corresponding IR or OR number calculation of the NI/O module starts from the first expansion unit/module(main
unit itself does not have any NI/O). The first NI channel corresponds to the first IR register (R3840). Adding R3840 with
the number of IR used by the first NI channel gives the IR number of the second NI channel. Adding the IR number of
the second NI channel with the number of IR used by the second NI channel gives the IR number of the third NI
channel. All other numbers can be obtained accordingly. Similarly, the first NO channel corresponds to the first OR
(R3904). Adding R3904 with the number of OR used by the first NO channel gives the OR number of the second NO
channel. (In the cumulative calculation of NI channels, care only for NI channels and disregard DI/O and NI. Similarly,
in the case of NO channels, disregard DI/O and NI channels.) The following figure helps users find out the relation
between NI/O channels and PLC’s IR and OR.
OR
IR
OR
FAT E K
X4
X6
X8
X10
X12
POW
24V IN
AG I0+ I1+
I1-
24V IN
O0 +
O1 +
S/S
X1
X3
X5
X7
X9
X11
X13
I0-
AG
O0 -
O1 -
X2
X4
C
C
C
C
0
I
2
3
V I U B
5V
10V
0
1
V
I
UB
5V
10V
0
1
CH0
4
5 6
7
8
9
I0
I I
I234
I2 I3
( )
IN X
EXT
V
V
1
IN X
( )
POW
0
POW
F A T EK
FA TE K
F AT E K
FATEK
RUN
ERR
RX
POW
POW
POW
POW
POW
( )
OUT Y
OUT Y
( )
I23
0
4
I
2
3
7
4
5
6
8 9
C
C
3
H
C
C
H
2
H
4
H
5
SINK
SRCE
CH1
Y4
Y5
Y6
Y8
SINK
SRCE
I2+
I3+
I4+
I5+
Y1
Y2
Y3
Y3
C4
C6
Y7
Y9
I2-
I3-
I4-
I5-
C1
C3
Y4
IR
IR
OR
During the startup stage, FBs-PLC will automatically detect the types and CH numbers of expansion units/modules.
While operation, the FBs-PLC will read the CH input values from the NI module and stores them into corresponding
IR(R3804 ~ R3903) and outputs OR values (R3904~R3967) to channels on the NO module. No pre-configuration or
setting by users is required.
3.2 Expansion of Communication Port
The main unit of FBs-PLC has one built-in communication port (port 0, with optional USB or RS232 interface).
Expansion of communication ports can be achieved by employing Communication Board (CB) or Communication
Module (CM). The available models of CB and CM for FBs are
H3-4
689134582.149.png 689134582.150.png 689134582.151.png 689134582.152.png 689134582.153.png 689134582.154.png 689134582.155.png 689134582.156.png 689134582.157.png 689134582.158.png 689134582.159.png 689134582.160.png 689134582.161.png 689134582.162.png 689134582.163.png 689134582.165.png 689134582.166.png 689134582.167.png 689134582.168.png 689134582.169.png 689134582.170.png 689134582.171.png 689134582.172.png 689134582.173.png 689134582.174.png 689134582.176.png 689134582.177.png 689134582.178.png 689134582.179.png 689134582.180.png 689134582.181.png 689134582.182.png 689134582.183.png 689134582.184.png 689134582.185.png 689134582.187.png 689134582.188.png 689134582.189.png 689134582.190.png 689134582.191.png 689134582.192.png 689134582.193.png 689134582.194.png 689134582.195.png 689134582.196.png 689134582.198.png 689134582.199.png 689134582.200.png 689134582.201.png 689134582.202.png 689134582.203.png 689134582.204.png 689134582.205.png 689134582.206.png 689134582.207.png 689134582.002.png 689134582.003.png 689134582.004.png 689134582.005.png 689134582.006.png 689134582.007.png 689134582.008.png 689134582.009.png 689134582.010.png 689134582.011.png 689134582.013.png 689134582.014.png 689134582.015.png 689134582.016.png 689134582.017.png 689134582.018.png 689134582.019.png 689134582.020.png 689134582.021.png 689134582.022.png 689134582.024.png 689134582.025.png 689134582.026.png 689134582.027.png 689134582.028.png 689134582.029.png 689134582.030.png 689134582.031.png 689134582.032.png 689134582.033.png 689134582.035.png 689134582.036.png 689134582.037.png 689134582.038.png 689134582.039.png 689134582.040.png 689134582.041.png 689134582.042.png 689134582.043.png 689134582.044.png 689134582.046.png 689134582.047.png 689134582.048.png 689134582.049.png 689134582.050.png 689134582.051.png 689134582.052.png 689134582.053.png 689134582.054.png 689134582.055.png 689134582.057.png 689134582.058.png 689134582.059.png 689134582.060.png 689134582.061.png 689134582.062.png 689134582.063.png 689134582.064.png 689134582.065.png 689134582.066.png 689134582.068.png 689134582.069.png 689134582.070.png 689134582.071.png 689134582.072.png 689134582.073.png 689134582.074.png 689134582.075.png 689134582.076.png 689134582.077.png 689134582.079.png 689134582.080.png 689134582.081.png 689134582.082.png 689134582.083.png 689134582.084.png 689134582.085.png 689134582.086.png 689134582.087.png 689134582.088.png 689134582.090.png 689134582.091.png 689134582.092.png 689134582.093.png 689134582.094.png
Model Number
Specifications
FBs-CB2
1 RS232 (port2) communication board
FBs-CB22
2 RS232 (port1 & port2) communication boards
FBs-CB5
1 RS485 (port2) communication board
FBs-CB55
2 RS485 (port1 & port2) communication boards
FBs-CB25
1 RS232 (port1) + 1 RS485 (port2) communication board
FBs-CBE
1 Ethernet communication board
FBs-CM22
2 RS232 (port3 & port4) communication modules
FBs-CM55
2 RS485 (port3 & port4) communication modules
FBs-CM25
1 RS232 (port3) + 1 RS485 (port4) communication expansion module
FBs-CM25E
1 RS232 (port3) + 1 RS485 (port4) communication module with Ethernet
FBs-CM55E
1 RS485 (port3) + 1 RS485 (port4) communication module with Ethernet
Communication boards, which can be directly installed on FBs main units, are employed for expansion of
communication ports port1 and port2. Communication modules are independent modules used for the expansion of
communication ports port3 and port4 and need to be mounted against the left side of FBs main unit and connected to
the main unit via a 14pin connector. The labels of communication ports are marked on the cover plate of
communication boards and modules, from which users can easily identify each port. Except that the built-in
communication port (Port0) can only be used for USB or RS 232 interface, all the other ports (Port 1~4) can be used
for RS232 or RS 485 interface in CB and CM. The following figure shows an example of expansion of 5 (maximum
allowed number) communication ports (CB22+CM25E):
RUN
3
6
LNK
ETHERNET
1
2
TX
RX
(PORT4)
max.
24V OUT
X0
X2
X4
X6
X8
X10
X12
400mA
S/S
X1
X3
X5
X7
X9
X11
X13
TX
TX
0 I 23
7
+
TX
RX
RX
4
89I0 I I
I3
5
6
PORT4
RX
G
I2
PROGRAMMABLE
CONTROLLER
( )
IN X
T
N
POW
RUN
ERR
TX
RX
OUT Y
( )
TX
PORT2
PORT1
0 I 23
7
5
6
PORT3
RX
PORT0
8
9
IN
AC100~240V
Y1
Y2
Y4
Y5
Y6
Y8
SINK
SRCE
C0
Y0
C2
Y3
C4
C6
Y7
Y9
FBs-CM25E
PORT2
PORT1
PORT0
H3-5
4
689134582.095.png 689134582.096.png 689134582.097.png 689134582.098.png 689134582.099.png 689134582.101.png 689134582.102.png 689134582.103.png 689134582.104.png 689134582.105.png 689134582.106.png 689134582.107.png 689134582.108.png 689134582.109.png 689134582.110.png 689134582.112.png 689134582.113.png 689134582.114.png 689134582.115.png 689134582.116.png 689134582.117.png 689134582.118.png 689134582.119.png 689134582.120.png 689134582.121.png 689134582.123.png 689134582.124.png 689134582.125.png
Zgłoś jeśli naruszono regulamin