Siemens SIMATIC RF170C Operating Instructions Manual page 66

Table of Contents

Advertisement

Appendix
A.2 Operation of optical handheld readers, access control readers or serial devices
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.
You can find detailed information on the commands and error messages on the
RF1040R/RF1070R reader in the "Programming" section of the "SIMATIC RF1000" manual. The
system job frames displayed must be stored in the data area for the "Write" command. The
answer message frames are output in the data block following a "Read" command.
Notes on the commands and functions
Init_run
Communication with the CM is initialized with the "Init_run" (RESET command). The RESET
command does not have reader-specific parameters and triggers the deletion of the buffers.
After the "Init_run" the communication module is ready for operation.
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.
66
Command
Description
Read
Read data
Write
Sending data
The address must be specified as "0xFFFF". Max. net data 194 bytes
(without length information); no error message if the length is
exceeded
Reset_Univ
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.
When using the technology object, the command "Reset_Reader" can
be used as an alternative.
Reset_Reder
As an alternative to the "Reset_Univ" command, this command can be
used with using the technology object "SIMATIC Ident > TO_Ident".
Address "0x0000"
The length of the valid data is entered in the first 2 bytes of the
result. The user data is entered starting at the 3rd byte. Max. net
data 227 bytes; no error message if the length is exceeded
When the "On receipt of the end delimiter(s)" parameter is used,
the result is increased by 1 or 2 bytes accordingly.
Address "0x0002"
No length information in the result; max. net data 229 bytes
Operating Instructions, 02/2022, J31069-D0176-U001-A6-7618
SIMATIC RF170C

Advertisement

Table of Contents
loading

This manual is also suitable for:

6gt2002-0hd016gt2002-1hd01

Table of Contents