![Pepperl+Fuchs WCS-PNG110 Manual Download Page 21](http://html1.mh-extra.com/html/pepperl-fuchs/wcs-png110/wcs-png110_manual_1527707021.webp)
WCS-PNG110
Appendix
202
34
2 2
009
-0
4
21
7
Appendix
7.1
Meaning of F0
Diagnostic function F0=1
The reading head can be requested to perform a diagnosis of the photoelectrics by means of
the request byte. For this purpose, the reading head must be located outside of the code rail.
On the WCS2B and WCS3B reading heads, the degree of dirt accumulation on the
photoelectrics is monitored automatically during operation and the diagnostic bit (DB) set if dirt
accumulation is too high. Thus the request for diagnosis to the reading head via F0 in the
request byte is no longer necessary. For reasons of downward compatibility, this function is also
supported by the new reading heads.
Diagnostic bit (DB)
Diagnostic bit DB displays the result of the self-diagnosis of the reading head.
7.2
Data from reading head
Meaning of A1 and A0
Function number for reading head F0=0 (send position value)
F0
Function number for reading head
0
Send position value
1
Send diagnosis result
A1
A0
reading head address
0
0
reading head address 0
0
1
reading head address 1
1
0
reading head address 2
1
1
reading head address 3
DB
ERR
OUT
Description
State of the
reading head
0
0
0
Current position value binary coded in P00...P18
good
0
0
1
reading head outside of the code rail, not a position
value
good
P0...P18=0: reading head partially outside of the
code rail
P0=1, P2...P18=0: reading head completely outside
of the code rail
1
0
0
Current position value binary coded in P00...P18
poor
1
0
1
not a position value, reading head outside of the
code rail
poor
x
1
x
not a position value, error message from reading
head, error number binary coded in P00...P18
-