Implementation Of The Commands - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Programming
6.3 Programming via the RS232 interface (using the Freeport protocol)
Parameter
Suppression of
error LED
Interface
Alternatively, the connection can be made using a serial module with RS232 interface and
P2P communication (e.g. ET 200SP CM PTP).
Connection via a third-party controller or any serial module
When using third-party controllers or any serial modules, programming and parameter
assignment can also be performed using the following commands.
Application example
The following link shows an application example for connecting the RF1040R/RF1070R
readers via an RF170C communication module.
Application example (https://support.industry.siemens.com/cs/ww/en/view/109770535)
6.3.1

Implementation of the commands

The different jobs are described in more detail below. Note that you must wait for the
respective response telegram (reader response time) before you can send new request
telegrams.
The parameter length is entered in "Big Endian" format and always refers to the user data as
of byte 5 excluding the optional checksum. All other data is output in "Little Endian" format.
Implementation for connection via a SIMATIC Ident communication module
Communication takes place using the ident blocks / the ident profile or the function block
FB 45. The "Write" command handles the sending of data and the "Read" command the
receipt of data. The maximum length of the telegrams (header and data) is 233 bytes or
229 bytes with the Ident profile.
Before you execute a "Read" or "Write" command for the first time, you need to once
execute a "Reset" command ("syscmd_reset"). With the "Reset" command, communication
between the CM and reader is reset and the buffer is emptied.
Checksum calculation ("BCC8")
Note that all bytes of the telegram must be linked with an "XOR" logical operator to calculate
the checksum. The result is shown in the "Optional checksum" field.
42
Parameter value
None
Channel 1
Channel 2
RS232
Description
Selection of whether the error LED (ERR) of a
channel is suppressed.
The parameter value "RS232" must be selected
in this parameter.
Operating Instructions, 02/2020, C79000-G8976-C432-07
SIMATIC RF1000

Advertisement

Table of Contents
loading

Table of Contents