
Appendix
A.2 Operation of optical handheld readers, access control readers or serial devices
SIMATIC RF170C
64
Operating Instructions, 02/2022, J31069-D0176-U001-A6-7618
If the connection is not established or the connection attempt is incorrect, the FB outputs the
error message "Error_MOBY = 03" or "0xE4FE03" with the Ident profile.
Read
When the "Read" command is started, the data that the CM has already received is transferred
to the controller.
If the "Read" command is started before the CM has received data, the command remains
active until the CM has received data that is then transferred to the controller. An active
"Read" command can be canceled with an "Init_run"/"Write_Config" command.
The presence bit ("TP" or "ANZ_MDS_present") indicates that the CM has received new data
and that this data is available for fetching with a "Read" command. After data transmission to
the controller, the presence bit is reset unless new data has already been received.
When doing this, note the buffer size and the buffer overflow. If the receive buffer of the CM
is full, existing data is overwritten by newly received data.
SLG-Status/Reader_Status
The device status of the optical handheld reader can be obtained using the "SLG-Status"
command (sub-command "13") or "Reader_Status" (ATTRIBIUTE "0x8D"). The following
information is contained in the acknowledgment of the status command sent by the CM
(response of the handheld reader):
Table A- 9
Structure of the “Status” acknowledgment frame of the optical handheld reader
Indicates that data contains the zero-terminated Reader information string (ofprintable ASCII
characters and TAB) in the following format:
IVVVVWWWWXXXXSSSSSSSSSSAOODYYYYHHIIIIJJJJKKKKLLLL<TAB>Z…Z
0xD
is reserved
I
indicates 'I' string output
VVVV
is the application firmware version number
WWWW
is the core application firmware version number
XXXX
is reserved
SSSSSSSSSS
is the Reader’s serial number (ten digits)
A
is the current execution state: "A" means core is running
OO
is the OEM identifier
D
is the display type: "0" is no display device
YYYY
is reserved
HH
is the hardware revision
IIII
is the hardware type identifier: Reports the value in register "0x21b"
JJJJ
is the boot application version
KKKK
is the operating system kernel version
LLLL
is the root file-system version
<TAB>
is the ASCII TAB character
Z...Z
is the OEM decoder version: a null terminated string of printable ASCII characters