Вы находитесь на странице: 1из 8

4 SFC

S7-300 S7-400
A5E00261410-01

4-1

4 SFC

4.1
SFC43 "RE_TRIGR"

SFC43 "RE_TRIGR" (retrigger watchdog [


])
.

SFC43 "RE_TRIGR" .


SFC43 "RE_TRIGR" .

4-2

S7-300 S7-400
A5E00261410-01

4 SFC

4.2 CPU STOP SFC46 "STP"

SFC 46 STP (stop) CPU STOP.

SFC46 "STP" .


SFC46 "STP" .

S7-300 S7-400
A5E00261410-01

4-3

4 SFC

4.3
SFC47 "WAIT"

SFC 47 WAIT
.
32767 .
CPU SFC 47.


SFC47 "WAIT" OB .

( S7-300, CPU 318)


, SFC 47, -
.
.

WT

INPUT

INT


I, Q, M, D, L,

WT
.


SFC47 "WAIT" .

4-4

S7-300 S7-400
A5E00261410-01

4 SFC

4.4
SFC35 "MP_ALM"

SFC 35 MP_ALM
.
OB 60 CPU.
OB 60
CPU, SFC 35.
JOB
.
CPU
OB 60 (/234/).
SFC 35 MP_ALM .
RUN,
STARTUP .
.

JOB

INPUT

BYTE

RET_VAL

OUTPUT

INT

I, Q, M, D, L,

I, Q, M, D, L

:
: 1 15

,
.



(W#16#...)

0000

8090

JOB .

80A0

OB60
CPU.
(STARTUP [] RUN).

80A1

S7-300 S7-400
A5E00261410-01

4-5

4 SFC

4.5 CiR SFC104 "CiR"

SFC104 "CiR"
RUN:
CiR.
PG CPU .
, SFC104
"CiR".
CiR
CiR .
PG CPU , CPU
, ,
.
, (enable) CiR.

, A_FT
CiR.

CiR-,
.

MODE

4-6

INPUT

BYTE


I, Q, M, D, L,

ID (Job ID)
:

0:

1: CiR
( CiR
)

2: CiR

3: CiR
.
CiR FRZ_TIME.

S7-300 S7-400
A5E00261410-01

4 SFC

FRZ_TIME

INPUT

TIME

I, Q, M, D, L,

"Freeze time" (" ")


CiR
:
200...2500 ( : 1000 )
: FRZ_TIME
MODE=3.

RET_VAL

OUTPUT

INT

I, Q, M, D, L


,
.
MODE=0, RET_VAL
,
CiR
(enable).

A_FT

OUTPUT

TIME

I, Q, M, D, L



CiR-.



(W#16#...)

0000

. ( MODE=1 MODE=2 MODE=3)

0001

CiR (enabled). ( MODE=0.)

0002

CiR . ( MODE=0.)

0003

CiR . ( MODE=0.)

8001

CPU CiR. H CPU H (),


CPU .

8002

MODE

8003

FRZ_TIME

8xyy

: RET_VAL

SFC104
SFC104 "CIR" , ,
CiR , CPU .
CPU ,
CPU:
SFC104 MODE = 2 ( CiR-)

CPU:

""

SFC104 MODE = 1 ( CiR-) MODE =


3 ( CiR- )

S7-300 S7-400
A5E00261410-01

4-7

4 SFC

4-8

S7-300 S7-400
A5E00261410-01