Project Preparation; Creating Configuration Variables - Siemens SIMATIC Ident Function Manual

Hide thumbs Also See for SIMATIC Ident:
Table of Contents

Advertisement

Parameter
Output parameters
DONE (BOOL)
BUSY (BOOL)
ERROR (BOOL)
WARNING (BOOL)
STATUS (DINT)
PRESENCE (BOOL)
4.4

Project preparation

After you have imported the instruction library into your project, you need to perform the
following preparatory work:
1. Depending on the Ident devices used, you need to create variables for each Ident
device and for each channel of an Ident device.
2. You then need to execute a parameter instruction for these Ident devices to establish
the initial connection between Ident device and controller.
3. Finally, you need to execute a reset command for each channel of an Ident device to
reset the connected reader and transfer the application-specific settings.
These steps are described in detail in the following sections.
Once the project preparation steps have been completed, you can execute application-
specific commands, such as a read or write command.
4.4.1

Creating configuration variables

A configuration variable must be created for each module (CM/reader). You must create
these variables in the "Controller Tags".
There is a separate data type for this variable for each type of module:
• Reader SIMATIC RF600: IID_DATA_RF600
• Communication module SIMATIC RF18xC/RF18xCI: IID_DATA_RF18XC
• Communication module RFID 181EIP: IID_DATA_RFID181EIP
These variables contain buffers for the parameters that are transferred during startup
using the respective parameter instruction. These buffers (<variable name>.parameter)
are needed later in the message variable for configuration of the "Source" parameter.
For the addressing and synchronization of individual channels/reading points of a
module, the configuration variable contains a corresponding number of variables of the
type "IID_HW_CONNECT". All application instructions as well as the "Ident_Profile"
Ident profile, Add-on instruction for Rockwell systems
Function Manual, 07/2020, C79000-G8976-C410-04
Description
The job was executed. If the result is positive, this parameter is
set.
The job is being executed.
The job was ended with an error. The error code is indicated in
Status.
The job was ended with a warning.
Display of the error message if the "ERROR" bit was set.
This bit indicates the presence of a transponder. The displayed
value is updated each time the instruction is called. This parame-
ter does not occur in specific instructions for optical readers.
Configuring the instructions
4.4 Project preparation
17

Advertisement

Table of Contents
loading

Table of Contents