Part 4
Part 4
TE33Q4T30-01E
YOKOGAWA
Software I/O
I/O interfaces
TE33Q4T30-01E
YOKOGAWA
TE33Q4T30-01E
YOKOGAWA
TE33Q4T30-01E
YOKOGAWA
SFC block:
The SFC block executes the sequential control
program described with SFC.
YOKOGAWA
32 rules
Condition signals
Total 32 (default)
Action signals
Total 32 (default)
TE33Q4T30-01E
Condition rules
Input
connection
information
Condition
specification
Output
connection
information
Action
specification
I/O signals
Total 64
(fixed)
Action rules
YOKOGAWA
Processing timing
Scan period
Step label
Condition
signal
comment
Action
signal
comment
TE33Q4T30-01E
YOKOGAWA
Rule
%Z011101
ON
%SW0201
ON
Step
C01
.
.
.
%SW0200.PV ON Y
%SW0201.PV ON Y
%SW0202.PV ON
%SW0203.PV ON
C32 (Condition signals)
A01 %Z011101.PV H
.
%Z011102.PV H
.
%SW0200.PV H
.
A32 (Action signals)
%Z011102
ON
%SW0203
ON
OR logic circuit
%SW0200
OFF
01 02 03 . . . . . . . . . . 32
N
Y
Y
Y
Y Y
Y
THEN
ELSE
%SW0200
ON
YOKOGAWA
Basic operation 1:
01 02 03 . . . . . . . . . . 32
Step
C01
.
.
.
%SW0200
Y
%SW0201
Y
%SW0202
%SW0203
C32 (Condition signals)
A01
.
.
.
A32
%Z011101
%Z011102
%Z011103
N
N
Y
Y
Y
(Action signals)
THEN
ELSE
YOKOGAWA
Rule
01 02 03 . . . . . . . . . . 32
Step
C01
%SW0200
Y
%SW0201
Y
.
%SW0202
.
.
%SW0203
C32 (Condition signals)
A01
.
.
.
A32
%Z011101
%Z011102
%Z011103
Y
Y
N
(Action signals)
THEN
ELSE
TE33Q4T30-01E
10
YOKOGAWA
Output timing
A sequence table block has two types of output timing:
Output only when conditions change (C)
Output each time conditions are satisfied (E)
TE33Q4T30-01E
11
YOKOGAWA
Output Timing
Output only when conditions change (C):
The action is executed only once when the condition is switched from false to
true. However, if the non-latched output is specified for the action signal, the
action changes when the condition is switched from true to false.
ON
Condition
ON
OFF
Condition
OFF
Non-latched type
(L type)
Output
TE33Q4T30-01E
Output
12
YOKOGAWA
Processing Timing
Execution timing and output timing can be used in combination.
The table below shows the combination of timings for ST16 and
ST16E.
Default
For the LC64, logic chart block, output timing (C) can not be specified.
TE33Q4T30-01E
13
YOKOGAWA
Rule
Step
C01
%SW0200
%SW0201
.
%SW0202
.
.
%SW0203
C32 (Condition signals)
A01
.
.
.
A32
%Z011101
%Z011102
%Z011103
04
05
08
Y
Y
Y
Y
Y
Y
Y
(Action signals)
THEN
ELSE
05
08
Step label
Tested rules
14
YOKOGAWA
Step
C01
.
.
.
%SW0200
%SW0201
%SW0202
%SW0203
C32 (Condition signals)
A01
.
.
.
A32
%Z011101
%Z011102
%Z011103
04
05
08
Y
Y
Y
Y
Y
Y
Y
(Action signals)
THEN
ELSE
05
08
TE33Q4T30-01E
15
YOKOGAWA
Step
C01
.
.
.
%SW0200
%SW0201
%SW0202
%SW0203
C32 (Condition signals)
A01
.
.
.
A32
%Z011101
%Z011102
%Z011103
04
05
08
Y
Y
Y
Y
Y
Y
Y
(Action signals)
THEN
ELSE
05
08
TE33Q4T30-01E
16
YOKOGAWA
Basic operation 4:
When a step advances to a
next step, the next step is
executed at the next scan
period.
When a step advances, the
conditions of each rule are
initialized once.
Step
02
01
C01
%SW0200
%SW0201
.
%SW0202
.
.
%SW0203
C32 (Condition signals)
Y
Y
A01
.
.
.
A32
%Z011101
%Z011102
03
04
%Z011103
(Action signals)
THEN
02
03
04
ELSE
The step sequence executes only a single step at each scan period.
In this example, it may take 2 seconds or more to turn %Z011103 OFF,
after the step 01 was executed.
TE33Q4T30-01E
17
YOKOGAWA
Basic operation 5:
Step
C01
.
.
.
A01
.
.
.
A32
00
01 02
03
%SW0200
Y
%SW0201
Y
%SW0202
Y
%SW0203
C32 (Condition signals)
%Z011101
%Z011102
%Z011103
04
Y
N
N
(Action signals)
THEN
02
03
04
ELSE
TE33Q4T30-01E
18
YOKOGAWA
%SW0500.PV
ON
TM100.BSTS
CTUP
TM100.OP
START
%SW0500.PV
Timer count-up
Timer start/stop
Start switch off
TE33Q4T30-01E
Start command
19
Stop command
YOKOGAWA
Stop switch
%SW0501.PV ON
Update switch
%SW0502.PV ON
Counter count-up
CT100.BSTS
CTUP
Counter update
CT100.ACT
ON
Counter stop
CT100.ACT
OFF
%SW0501.PV
%SW0502.PV
TE33Q4T30-01E
Stop command
20
Y
Y
Y
Update command
YOKOGAWA
e.g. %SW0501.PV.H
The latched and non-latched type output can also be applied for internal
switches, annunciator message outputs and so on.
TE33Q4T30-01E
21
YOKOGAWA
e.g. %SW0501.PV.L
TE33Q4T30-01E
22
YOKOGAWA
e.g. %Z011101.PV.F
The flashing type output can not be applied for internal switches,
annunciator message outputs and so on.
TE33Q4T30-01E
23
YOKOGAWA