Functions And Commands - Siemens SIMATIC RF185C Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF185C:
Table of Contents

Advertisement

A.3.4

Functions and commands

Communication can be established using the ident blocks / the ident profile and the function
block FB 45. The "Write" command handles the sending of data and the "Read" command
the receipt of data.
Table A- 3
Compatible controllers/program blocks
Program blocks
FB 45
Ident profile/Ident blocks
as of V2.0
The following table shows the block-specific commands that you can execute with serial field
devices.
Table A- 4
Overview of the commands
Program blocks
FB 45
Ident blocks
1)
SIMATIC RF185C, RF186C, RF188C, RF186CI, RF188CI
Operating Instructions, 04/2020, C79000-G8976-C512-03
A.3 Operation of optical handheld readers, access control readers or serial devices
S7-300 / S7-400 and
STEP 7 V5.5
Yes
Yes
Command
Description
Init_run
Initialize the device
The parameter value "option_1" can be set to "0" or "2". Further input
is unnecessary.
Read
Read data
Write
Sending data
The address must be specified as "0xFFFF". Max. net data 233 bytes
(without length information); no error message if the length is ex-
ceeded
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 ex-
ceeded
Controllers
S7-1200 and
STEP 7 Basic/Professional
No
Yes
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 third byte. Max. net
data 231 bytes; no error message if the length is exceeded
Address "0x0002"
No length information in the result; max. net data 233 bytes
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 third byte. 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
Appendix
S7-1500 and
STEP 7 Basic/Professional
No
Yes
191

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents