![FATEK FBs Series Скачать руководство пользователя страница 116](http://html1.mh-extra.com/html/fatek/fbs-series/fbs-series_manual_3764826116.webp)
5 -5
WX
WY
WM
WS TMR CTR
HR
IR
OR
SR ROR DR
K
XR
Range
Ope-
rand
WX0
∣
WX240
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3840
∣
R3903
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
16/32-bit
+/- number
V
、
Z
P0~P9
S
○
○
○
○
○
○
○
○
○
○
○
*
○
○
○
D
○
○
○
○
○
○
○
○
*
○
*
○
○
•
•
•
The "
○
" symbol in the table indicates can apply this kind of data as operand. The "
○
*" symbol indicates can apply this
kind of data except the write prohibited registers as operand. To learn more about write prohibited registers please refer
to page 3-6 for introduction of the special register.
When R5000
~
R8071 are not set to be read only registers, can used as normal registers (read, and write)
Remark 1: The registers with a prefix W, such as WX, WY, WM and WS are formed by 16 bits. For example, WX0
means the register is formed by X0(bit 0)~X15(bit 15). WY144 means the register is formed by Y144(bit
0)~Y159(bit 15). Please note that the discrete number must be the multiple of 8 such as 0, 8, 16, 24....
Remark 2: The last register (Word) in a table can not be represented as a 32-bit operand in the function because 2
Words are required for a 32-bit operand.
Remark 3: TMR
(
T0
~
T255
)
and CTR
(
C0
~
C255
)
are the registers of timers and counters respectively. Although
they can be used as general registers, they also complicate the systems and make debugging more
difficult. Therefore you should avoid writing anything into the TMR or CTR registers.
Remark 4: T0
~
T255 and C0
~
C199 are 16-bit register. But C200~C255 are 32-bit register, therefore can’t be
used as 16-bit operands.
Remark 5: Apart from being directly appointed by register’s number (address) as the foregoing discussions, the
register’s operand in the range of R0
~
R8071 can be combined with pointer register V or Z to make
indirect addressing. Please refer to the example in the next section (Section 5.2) for the description of
using pointer register (XR) to make indirect addressing.
c) Constant
operands
:
The range of 16-bit constant is between -32768~32767. The range of 32-bit constant is between
-2147483648~2147483647. The constant for several function instructions can only be a positive constant. The
range of 16-bit and 32-bit constants are listed in the table shown below.
Classification
Range
16-bit signed number
-32768
~
32767
16-bit un-signed number
0
~
32767
32-bit signed number
-2147483648
~
2147483647
32-bit un-signed number
0
~
2147483647
16/32-bit signed number
-32768
~
32767 or
-2147483648
~
2147483647
16/32-bit un-signed number
0
~
32767 or
0
~
2147483647
It is possible that the length and size of a specific operand, such as L, bit size, N etc.., are different, and the
differences are all directly marked at the operand column. Please refer to the explanations of function
instructions
.
Содержание FBs Series
Страница 78: ...MEMO ...
Страница 111: ...4 6 X0 X1 Node A Y0 Y1 Node B differential down Incerse differential up t Scan time Inverse t t ...
Страница 141: ...Basic Function Instruction 6 16 FUN 2 SKP SKIP START FUN 2 SKP Y2 Y1 Y0 T201 10S X0 X1 X2 0 10 0 ...
Страница 305: ...MEMO ...
Страница 348: ...MEMO ...