4 -4
FUN7 is the UDCTR function. While rising edge of CK input occur, FUN7 will count up if the U/D status is 1 or count down
if the U/D status is 0. The example shown above, U/D status is fixed at 1 since U/D is directly connected from the
origin-line to a SHORT contact, therefore FUN7 becomes an Up counter. On the contrary, if the U/D input of FUN7 is
connected with an OPEN contact from the origin-line, the FUN7 becomes a DOWN counter.
ORG
X 0
LD OPEN
LD X
1
FUN 7
CV:
R
0
X0
X1
7.UDCTR
CV :
PV :
CK
U/D
CLR
R
0
10
R
CUP
PV:
R
10
4.2.3
Output Coil and Inverse Output Coil
Output Coil writes the node status into an operand specified by the coil instruction. Invert Output Coil writes the
complement status of node status into an operand specified by the coil instruction. The characteristics depicts at below.
ORG
X 0
OUT
Y 0
Y0
Y1
X0
OUT NOT Y 1
X0
Y0
Y1
4.2.4
Retentive Output Coil
The coil element can be categorized into two types, namely Retentive and Non Retentive. For example, M0~M799 can be
specified as the Retentive coils and M800~M1399 can be specified as the Non Retentive coils. One way to categorize the
relay type is to divide the relays into groups. Though this method is simple but for the most applications the coils needed
to be retentive may be in a random order. FBs-PLC allows user to set the retentive status of coil individually. When input
the program with mnemonics instructions, if put an “L” after the OUT instruction can declare this specific relay as retentive
output. This can be shown in the diagram below.
ORG
X 0
OR
Y 0
AND NOT X 1
X0
Y0
Y0
X0
L
OUT L
Y
0
Содержание 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 ...