32
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
© Systeme Lauer GmbH
AEG120DR-driver
○
○
○ ○ ○ ○ ○
○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
○○
B
PB1;
/#Initialization#/;
L
KH 0/* ZERO KEYS */;
=
MW 104
/* PCS 090 = MW104,105 */;
=
MW 105
/* PCS 095 = MW104,105,123 */;
=
MW 106
/* PCS 900 = MW104,105,106 */;
=
MW 107
/* PCS9000 = MW104,105,106,107 */;
=
MW 123;
NOP
/* insert enables start. here */;
NOP
/* PCS 090, 095 */;
NOP
/* KH0FC8 after MW 113 */;
NOP
/* KH0080 after MW 114 */;
NOP
/* PCS 900 */;
NOP
/* KH1F00 after MW 136 */;
NOP
/* KH00FF after MW 137 */;
NOP
/* KH0080 after MW 138 */;
NOP
/* PCS 9000 */;
NOP
/* KH0000 after MW 114 */;
NOP
/* KH00FF after MW 115 */;
NOP;
=
MW 102
/* zero sync. words */;
=
MW 103;
UN SM 1
/* initialize time-out timer */;
=
M 1.1;
=
M 1.2;
L
K 4;
=
TSW 1;
U
M 1.1;
SE T 1;
DZB
1000MS;
L
TSW 1;
U
M 1.2;
R
T 1;
=
A 2.1;
*** ;
BE;
PB2;
/#Synchronization block#/;
U
SM 119
/*
1st cycle*/;
BAB
PB 1
/* initialization */;
U
A 2.1
/* communication loss?*/;
FLP
M 1.3;
BAB
PB 4
/* COFF program */;
U
E 2.2
/* edge for restart */;
FLP
M 1.4;
=
M 1.5;
O
M 1.6;
O
E 2.2;
O
M 1.5;
=
M 1.6;
UN M 1.6
/* restart after fault?*/;
U
A 2.1;
SPB
=END
/* no end */;
L
MW 103
/* access to data field OK?*/;
== MW 102;
SPB =END
/* no: end */;
BA PB 3
/* yes Pb3: processing MW */;
UN SM 1;
=
M 1.5;
=
M 1.6;
L
MW 103
/* process sync. word */;
X
KH FFFF;
=
MW 103;
=
MW 102;
Listing
B4.Listing