26
MG.10.G1.51 – VLT is a registered Danfoss trademark
Gateway InterBus-S
:!=F
is 0 -> no fault
:JC
=INI2
FAUL :
**** FAULTS ****
:A
F 0.1
VKE"1"
:S
=ERR
Fault occurred
:RB
=STRC
Reset first run
:RB
=STR1
:RB
=STR2
:BEU
INI2
:
*** Initiate Request OK ***
:A
F 0.1
VKE"1"
:S
=STRC
Set Inititate successful
:RB
=STR1
Reset flag
:BE
FB2
FB2
FB2
FB2
FB2
NAME:PARAMETER
DECL :PDB
B
DECL :COUN
IW
DECL :ANZA
DKF
DECL :PKEW
IW
DECL :PARW
IW
DECL :OK
IBI
DECL :STRT
IBI
DECL :ZEIG
IW
DECL :INIT
IBI
:
:DO
=PDB
Open data-DB
:AN
=INIT
:JC
=INIT
STRT :
:LW
=ANZA
retrieve number
:L
=COUN
retrieve present number
:>F
not end yet
:JC
=WEIT
-> continue
:RB
=OK
FINISHED
:RB
=INIT
Reverse INIT
:R
F 224.1
:BEU
and END
Example of pr
ogram for Siemens S5-115U