Operand - FATEK FBS Series Manual

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

Advertisement

Remark: In order to differentiate between 16-bit and 32-bit instructions while using the ladder diagram and
mnemonic code, we add the postfix letter D after the "Instruction number" to represent 32-bit instructions
and the size of their operand are 32-bit as shown in example 4 on P.6-6. The instruction FUN 11D has a
postfix letter D, therefore the source and destination operands need to prefix a letter D as well, such as
the augend Sa : R0 is actually Sa=DR0=R1-R0 and Sb=DR2=R3-R2. Please also pay special attention to
the length of the other operands except source and destination are only one word whether 16-bit or 32-bit
instructions are used.
P: indicates the pulse mode instruction. The instruction will be executed when the status of input control changes from 0
to1 (rising edge). As shown in example 1, if a postfix letter P is added to the instruction (FUN 15P), the instruction FUN
15P will only be executed when the status of input control signal changes from 0 to 1. The execution of the instruction
is in level mode if it does not have a P postfix, this means the instruction will be executed for every scan until the status
of input control changes from 1 to 0. The pulse input is indicated by a symbol "↑", such as CK↑, EN↑, TG↑ etc.. In
this operation manual, an example of the operation statement of a function instruction is shown below.
● When the operation control〝EN〞=1
The first one indicates the execution requirement for non-P instruction (level mode) and the second one indicates the
execution requirement for P instruction (pulse mode). The following waveform shows the result (R0) of FUN15 and
FUN15P under the same input condition.
t is the scan time
Input control
Executes the FUN15P
(R0 initial is 0)
Executes the FUN15
(R0 initial is 0)
DP: Indicates the instruction is a 32-bit instruction operating with pulse mode.
Remark: P instruction is much more time saving than level instruction in program scanning, So user should use P
instruction as much as possible.

5.1.3 Operand

The operand is used for data reference and storage. The data of source (S) operand are only for reference and will not be
changed with the execution of the instruction. The destination (D) operand is used to store the result of operation and its
data may be changed after the execution of the instruction. The following table illustrates the names and functions of
FACON PLC function instruction's operands and types of contacts, coils, or registers that can be used as an operand.
or〝EN↑〞(P
t
t
t
1
2
0001H
3
0001H
0002H
0003H
5 - 3
instruction)from 0→1, .........
t
t
t
t
0002H
0004H
0005H
t
t
t
0006H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents