Functions Output (Fo); Use Index Register(Xr) For Indirect Addressing - FATEK FBS Series Manual

Plc
Hide thumbs Also See for FBS Series:
Table of Contents

Advertisement

5.1.4 Functions Output (FO)

The "Function Output" (FO) is used to indicate the operation result of the function instruction. Like control input, each
function outputs shown in the screen of programming software are all attached with a word which comes from the
abbreviation of the output functionality. Such as CY derived from CarrY. The maximum number of function outputs is 4
and those are denoted as FO0, FO1, FO2, FO3 respectively. The FO status must be taken out by FO instruction (there is
a FO special key on FP-07 program writing device). The unused FO may be left without connecting to any elements, such
as FO1 (CY) shown in Example 4 below.
Example 4 :
X0
When M1919=0, the FO status will only be updated if the instruction is executed. It will keep the same status until
a new FO status is generated after the instruction is executed again (memory keeping).
When M1919=1, the FO status will be reset to 0 (no memory keeping) if the instruction is not executed.

5.2 Use Index Register(XR) for Indirect Addressing

In the FBs-PLC function instructions, there are some operands that can be combined with pointer register (V、Z、P0~P9)
to make indirect addressing (will be shown in the operand table if it applicable). However, only the registers in the range
R0~R8071 can be combined with an pointer register to perform indirect addressing (other operands such as discrete,
constant and D0~D3071 cannot be used for indirect addressing).
There are twelve pointer registers XR (V、Z、P0~P9). The V register in fact is the R4164 of special registers (R3840~
R4167) , the Z register is the R4165 and the P0~P9 register is the (D4080~D4089). The actual addressed register by
index addressing is just offset the original operand with the content of the index register.
Ladder Diagram
11D.(+)
R
Sa :
0
D=0
EN
Sb :
R
2
D :
4
R
CY
U/S
BR
Original
Operand
R100
100
ORG
Y0
FUN
FO
Y1
OUT
FO
OUT
Pointer
Actual
Register
Operand
V
(If V=50)
= R150
+
50
(If V=100)
= R200
5 - 6
Mnemonic Codes
X
0
11D
Sa:
R
0
Sb:
R
2
D :
R
4
0
Y
0
2
Y
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents