Bosch CL400 Manual page 86

Hide thumbs Also See for CL400:
Table of Contents

Advertisement

11- -4
PLC Program Examples
;Confirmation module
CM
-R5CON,5
P0
W
-Para1
P1
W
-Para2
P2
W
-Para3
P3
W
-ErgMerk
P4
B
-ErrMerk
L
W
-Para3,B
L
W
-ErrMerk,C
L
W
-ErgMerk,A
U
W
16#FF00,A
CPLA W
16#200,A
JPZ
inBearb
CPLA W
16#100,A
JPZ
inBearb
CPLA W
16#000,A
JPZ
ende
fehler:
L
W
3,A
T
W
A,-Status
L
W
-ErrMerk,B
JP
kmdende
ende:
L
W
2,A
T
W
A,-Status
JP
kmdende
inBearb:
JP
kmdende
kmdende:
L
W
-Status,A
CPLA W
2,A
JPAG
errbeha
EM
errbeha:
;here, a special treatment for specific errors can be introduced
;L
W
-ErrMerk,A
;CPLA W 16#F003,A
;JPZ
noerror
;Storing the errors
L
W
16#0820,A
L
W
-ErrMerk,B
T
W
B,[A]
INC
W
A,2
L
W
-ErgMerk,B
T
W
B,[A]
EM
;
;RSS
;Job number
;Result bit bar
;Result
;Error identifier
;Mask low byte
;High byte 02: being processed
;High byte 01: being processed
;High byte 00: Command completed
;Otherwise error evaluation
;Status on error
;Command completed
;Status on o.k.
;Jump arithmetically higher to error handling
; Offset for error in DM
1070 072 196-101 (00.06) GB

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cl500

Table of Contents