Basic Function Instruction
6-3
Ladder diagram
Key operations
Mnemonic code
P
X1
EN
EN
.01S
.01S
T0
1000
SET
M1957
T1
1000
X1
Y0
TUP
TUP
An example of taking
“Time-Up” signal directly
from FO0.
ORG
ORG
OUT
ORG
ORG
X
1
T0 PV:
1000
FO
0
OUT
Y
0
ORG
SHORT
SET
M
1957
ORG
X
1
T1 PV:
1000
c
M1957=0
(Defaulted)
d
M1957=1
X1
T0
(CV)
Y0
T0
T1
T1
(CV)
or
1000
0
0
32767
1000
CV
Time Start
Time-Up
10.0S
327.67S
Example 2
Variable PV
The preset value (PV) shown in example 1 is a constant which is equal to 1000. This value is fixed and can not
be changed once programmed. In many circumstances, the preset time of the timers needs to be varied while
PLC running. In order to change the preset time of a timer, can first use a register as the PV operand (R or WX,
WY...) and then the preset time can be varied by changing the register content. As shown in this example, if set
R0 to100, then T becomes a 10S Timer, and hence if set R0 to 200, then T becomes a 20S Timer.
T TIMER T
Example 1
Constant preset value
Содержание FBs-CBE
Страница 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 ...