Siemens SIMATIC RF185C Operating Instructions Manual page 192

Hide thumbs Also See for SIMATIC RF185C:
Table of Contents

Advertisement

Appendix
A.3 Operation of optical handheld readers, access control readers or serial devices
Program blocks
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 of the
RF1040R/RF1070R 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.
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.
192
Command
Description
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 "0x0" 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".
SIMATIC RF185C, RF186C, RF188C, RF186CI, RF188CI
Operating Instructions, 04/2020, C79000-G8976-C512-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents