![Moeller LE 4-505-BS1 Hardware And Engineering Download Page 65](http://html1.mh-extra.com/html/moeller/le-4-505-bs1/le-4-505-bs1_hardware-and-engineering_1819277065.webp)
Checking status and
diagnostic messages in the
user program
63
02/98 AWB 27-1314-GB
END_VAR
Program:
LD DiaLE
ST Marker
LE master status byte
The LE master status byte contains information on
the diagnostic status of the master function
Structure of the LE master status byte:
Bit 0:
0: OK
1: Configuration error
Bit 1:
0: o.k.
1: ASi power fail/low)
Bit 2:
0: o.k.
1: Slave with address 0 detected)
Bit 3:
0: o.k.
1: ASi-LE offline (no data transfer
between master and slaves)
Bit 4 to bit 7: Reserved
Byte operand:
ISB0.0.X.1
X = 1:
1st. module of the PS 4
X = 2:
2nd. module of the PS 4
Bit operand:
IS 0.0.X.1.Z
Z = Bit 0...7
Example
Declaration of variables
VAR
DiaLEM AT% ISB 0.0.1.1: Byte; LE master status
byte
Marker : Byte; Any variable
END_VAR
Program:
LD DiaLEM
ST Marker
Bit-No.
7
6
5
4
3
2
1
0
H1314G.BK Seite 63 Freitag, 2. Juli 1999 9:02 09
Summary of Contents for LE 4-505-BS1
Page 6: ...4 02 98 AWB 27 1314 GB H1314G BK Seite 4 Freitag 2 Juli 1999 9 02 09...
Page 12: ...10 02 98 AWB 27 1314 GB H1314G BK Seite 10 Freitag 2 Juli 1999 9 02 09...
Page 20: ...18 02 98 AWB 27 1314 GB H1314G BK Seite 18 Freitag 2 Juli 1999 9 02 09...
Page 24: ...22 02 98 AWB 27 1314 GB H1314G BK Seite 22 Freitag 2 Juli 1999 9 02 09...
Page 32: ...30 02 98 AWB 27 1314 GB H1314G BK Seite 30 Freitag 2 Juli 1999 9 02 09...
Page 34: ...32 02 98 AWB 27 1314 GB H1314G BK Seite 32 Freitag 2 Juli 1999 9 02 09...
Page 52: ...50 02 98 AWB 27 1314 GB H1314G BK Seite 50 Freitag 2 Juli 1999 9 02 09...
Page 58: ...56 02 98 AWB 27 1314 GB H1314G BK Seite 56 Freitag 2 Juli 1999 9 02 09...
Page 68: ...66 02 98 AWB 27 1314 GB H1314G BK Seite 66 Freitag 2 Juli 1999 9 02 09...