General Structure Of The Add-On Instructions - Siemens SIMATIC RF600 Series Configuration Manual

Hide thumbs Also See for SIMATIC RF600 Series:
Table of Contents

Advertisement

Programming via Rockwell controller

9.4 General structure of the add-on instructions

9.4
General structure of the add-on instructions
Structure of the blocks based on a sample block
The following graphic shows an example of a block with input and output parameters as they
exist in the same way in all blocks.
Figure 9-1
Description of the parameters
Table 9- 2
Parameter
Input parameters
EXECUTE
HW_CONNECT
MSG_READ
MSG_WRITE
STATUS_WORD
CONTROL_WORD
Output parameters
DONE (BOOL)
BUSY (BOOL)
ERROR (BOOL)
WARNING (BOOL)
STATUS (DINT)
PRESENCE (BOOL)
112
Example of a block
Description of the input and output parameters
Description
There must be a positive edge at this input before the block will exe-
cute the command.
Global parameter of the type "IID_HW_CONNECT" to address the
channel/reader and to synchronize the blocks. This parameter is
located in the variables of the type "IID_DATA_RF68xR".
"HW_CONNECT" must always be transferred to the blocks to ad-
dress the relevant channel/reader.
Message variable for communication between the controller and
reader
Message variable for communication between the controller and
reader
Cyclic status word which is sent from the reader to the contoller.
Cyclic control word which is sent from the controller to the reader.
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 Sta-
tus.
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 block is called. This parameter does not
exist in blocks specific to code reader systems.
Configuration Manual, 11/2018, C79000-G8976-C386-07
SIMATIC RF600

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents