Siemens SIMATIC RF170C Operating Instructions Manual page 63

Table of Contents

Advertisement

Program blocks
Ident blocks
1)
When using Rockwell controllers, the commands are identical to those of the Ident blocks.
1)
You will find more information on programming in the corresponding function manual.
Notes on the commands and functions
Init_run
The connection to the optical handheld reader is established with "Init_run" (RESET
command). In the instance DB of the Ident profile or MOBY_DB, you can read out the
firmware version of the CM. A successful connection establishment is indicated by 3 signal
tones of the optical handheld reader. The RESET command does not have reader-specific
parameters and triggers deletion of the buffers on the optical handheld reader.
After the "Init_run" the handheld reader is ready for operation.
SIMATIC RF170C
Operating Instructions, 02/2022, J31069-D0176-U001-A6-7618
A.2 Operation of optical handheld readers, access control readers or serial devices
Command / bit
Write
SLG-Status
Read
Write
Reset_Univ
Reader_Status
Description
Send command to the device
Address "0xFFFF"
A write command with the length "3" and the data "0x23,
0x01, 0xNN" has the effect that the device vibrates "NN" times
or outputs signal tones.
Note that if there is memory overflow the oldest
acknowledgements are lost.
Fetch the status from the optical handheld reader (sub-command
"13")
The type of the optical handheld reader is displayed.
Reading optical data
Address "0x0000"
2 bytes for length information is reported in the result, max.
net data 227 bytes; no error message if the length is exceeded
Address "0x0002"
No length information in the result; max. net data 229 bytes
Address "0xFFFF"
For reading the acknowledgement of a write command
Send command to the device
Address "0xFFFF"
A write command with the length "3" and the data "0x23,
0x01, 0xNN" has the effect that the device vibrates "NN" times
or outputs signal tones.
Note that if there is memory overflow the oldest
acknowledgements are lost.
Reset the communication between CM and device and empty the
buffer.
The 11th byte ("option_1") of parameter "PARAM" can be
occupied by "0x00" or "0x02". The value "0x04" must be entered
in the first byte, and "0x0A" in the 6th byte.
Fetch the status from the optical handheld reader (ATTRIBUTE
"0x8D")
The type of the optical handheld reader is displayed.
Appendix
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

6gt2002-0hd016gt2002-1hd01

Table of Contents