![FATEK FBs Series Manual Download Page 119](http://html1.mh-extra.com/html/fatek/fbs-series/fbs-series_manual_3764826119.webp)
5 -8
Indirect addressing program example
Ladder Diagram
Mnemonic Codes
103.BT_M
Ts :
Td :
EN
R100 V
R2000
4
L :
ORG
SHORT
FUN
103
Ts
:
R100V
Td
:
R2000
L
:
4
resident
data base in PLC
Pointer Register
V
R100
Name
4
Sensor
Station
R101
Tel. No.
Resident 2
(V=0)
Resident 1
R102
Car plate No.
R103
Parking
No.
˙
˙
˙
R104
Name
R105
Tel. No.
(V=4)
Resident 2
R106
Car plate No.
R107
Parking
No.
{
Monitor
Temporary
Display
Storage Area
R2000
Name
××
Community Resident
Parking System
˙
˙
˙
˙
˙
˙
R2001
Tel.
No.
Name:
(R2000)
˙
˙
˙
˙
˙
˙
˙
˙
˙
Name
R2002
Car plate No.
Tel. No.
(R2001)
Tel. No.
R2003
Parking No.
Car plate No.
(R2002)
(V=396)
Resident 100
Car plate No.
Parking No.
(R2003)
Rnnn
Parking
No.
Description Suppose that there are 100 resident parking spaces available in a parking management system for
community residents. Each resident has a set of basic information including name, telephone number,
number plate and parking number, that occupy four consecutive PLC registers as shown in the above
diagram. A total of 400 registers (R100
~
R499) are occupied. Each resident is given a card with a unique
card number (the number is 0 for resident 1, 4 for resident 2 etc.. ) for the sensing pass of the main
entrance and parking lot. The card number will be sensed by the PLC and stored into the pointer register
“V”. The attendant’s monitor (LCD or CRT) will only display the data grasped by R2001
~
R2003 in the
PLC. For example, the card of residence 2 with the card number 4 is sensed, then the register V=4 and
the PLC will immediately move the data in R104
~
R107 to the temporary display storage area (R2000
~
R2003). Hence, the attendant’s monitor can display the data of residence 2 as soon as its card is sensed.