Basics Of Using The Ident Blocks - Siemens SIMATIC MV400 Series Manual

Running via profibus as a technology objekt
Table of Contents

Advertisement

2 Engineering
Table 2-1
Ident block name
Reset_Reader
Reset_MV
Set_MV_Program
Read_MV
Write
Read
AdvancedCMD
This application example discusses only the four implemented blocks as they
determine the basic operation of SIMATIC MV code readers.
2.2

Basics of using the Ident blocks

To be able to use the Ident blocks, the following requirements must be met:
Call of the blocks
When an Ident block is called in TIA Portal, all required software components for
the block are automatically generated and added to your project. This includes
user-defined data types (UDTs), the basic "Ident_Profile" block and various system
function blocks (SFCs and SFBs).
In TIA Portal, you can find the Ident blocks in "Instructions" > "Optional packages"
> "SIMATIC Ident".
Addressing of the blocks
All Ident blocks have an INOUT parameter called "HW_CONNECT". Via this
interface, the blocks are provided with the address information of the configured
interface module/reader. To this end, a data block for this address information is
automatically generated when creating a technology object.
For more information about using the technology object, please refer to the next
chapter,
"2.3 Explanation of the technology
Edge-triggered execution of the blocks
All Ident blocks have an input parameter called "EXECUTE". Execution of the
respective RFID functionality of the blocks is started via this parameter. Please
note that the "EXECUTE" input responds only to positive edges. This means that
the blocks must be executed with a logic 0 ("false") at the EXECUTE parameter
before they can detect the change to 1 ("true") in a later CPU cycle.
Therefore, after successful or unsuccessful processing of the Ident blocks, it is
important that the EXECUTE parameter be set to 0 ("false") to be able to start the
block again at a later time.
Please see also chapter
Reset of the blocks
Before a SIMATIC MV code reader can execute its function, a reset must be
performed. The "Reset_Reader" block is available for this purpose.
MV Basics
Entry ID: 109757269,
V1.0,
Implemented in this example
"4. Tips and
04/2018
object".
Tricks".
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic mv420Simatic mv440

Table of Contents