Commissioning IDENTControl Compact IC-KP2-2HB17-2V1D Profinet Protocol with a Siemens S7 PLC



Similar documents
FACTORY AUTOMATION. Manual Commissioning IDENTControl IC-KP-B12-V45 and IC-KP-B17-AIDA1 with PROFINET Protocol to Siemens S7 Controller

FACTORY AUTOMATION MANUAL IC-KP-B12-V45

How-To-Do. Hardware Configuration SLIO CPU 014

PROFINET IO Diagnostics 1

Applications & Tools. Configuration of Messages and Alarms in WinCC (TIA Portal) WinCC (TIA Portal) Application description December 2012

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

Application Note Profinet Modules

GW-7552 PRIFIBUS/MODBUS GATEWAY

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

WinCC. Communication Manual. Manual 2. This manual is part of the documentation package with the order number: 6AV6392-1CA05-0AB0 C79000-G8276-C156-01

1 Application Description Objective Goals... 3

Technical Training Module ( 30 Days)

I.S. 1 remote I/O system Redundant coupling via PROFIBUS DP

Service & Support. How can you establish a connection between a S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

The goal is to program the PLC and HMI to count with the following behaviors:

Service & Support. How can you establish a connection between an S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

DeviceNet Bus Software Help for Programming an Allen Bradley Control System

PROCESS AUTOMATION PLANNING AND INTEGRATION INFORMATION LB8106* Integration in Siemens SIMATIC PCS 7

Start-up of IVI-KHD2-4HRX, IVI-KHA6-4HRX at S7-300 V1.1. Table of Contents TABLE OF CONTENTS... 1

Applications & Tools. Connecting a SINAMICS G120 Drive to an S7-300/400 CPU in TIA Portal V11 SINAMICS G120 (CU 240E-2 PN(-F)), SIMATIC S7-300/400

CMC-PD01 PROFIBUS DP Slave Communication Card Operation Manual

1 How configure S7 PLC in the configuration tool

S7 for Windows S7-300/400

TECHNICAL NOTE TNOI34

Profinet to EDV111 Series LED Signs Siemens Function Block Software Manual

The irnetbox Manager User Guide

8/23/13 Configuring the S7 I/O Server for Windows 95 to Access S7 PLCs Via the Profibus Network

SIMATIC NET. Functions (FC) and function blocks (FB) for SIMATIC NET S7 CPs. Preface. Overview and general information on working with FCs and FBs

Identification System. FC 44 Function for ASM 450 With Supplements for FB 240. Contents. General Features Hardware Description of ASM 450

FACTORY AUTOMATION MANUAL IC-KP-B17-AIDA1

Siemens S7 PLC and FC 300 Profibus

Using the WAGO PROFINET Coupler as Remote I/O with a Siemens S7 PLC

FAQ Communication over IE

Creating the program. TIA Portal. SIMATIC Creating the program. Loading the block library. Deleting program block Main [OB1] Copying program blocks

Custom Solutions Center. Users Guide. Low Cost OEM PackML Templates L02 Release. Version LC-1.0

Profibus DP Network with DeltaV/EMERSON Digital Automation System and Ponto Series Remote I/O

Page 1 S5.5 Monitoring Software Manual Rev 1.2 for Software Ver 1.0

Using IDENT M System T with Modbus/TCP

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Original instructions. PLUTO Gateway. User Manual. PROFIBUS GATE-P1/P2 DeviceNet GATE-D1/D2 CANopen GATE-C1/C2 Ethernet GATE-E1/E2

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3. Simatic. Readme. Readme

Training Document for Integrated Automation Solutions Totally Integrated Automation (TIA) MODULE M1

8/23/13 Configuring the S7 Server for Windows NT 4.0 to Access S7-400 PLCs via the Siemens CP1613 Card for ISO (Industrial Ethernet)

Cover sheet. Reading out the topology data of a PROFINET IO system SFB52 "RDREC" FAQ September Service & Support. Answers for industry.

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. Version 3.0

Getting Started - SINAMICS Startdrive. Startdrive. SINAMICS Getting Started - SINAMICS Startdrive. Introduction 1

How-To-Do. EtherCAT Communication with CPU 300S

PROFINET IRT: Getting Started with The Siemens CPU 315 PLC

Ethernet Module Manual

SEC 4100 SYSTEM MONITOR Programmable Serial Interface Card Series 2

MBP_MSTR: Modbus Plus Master 12

Applications & Tools. Master Slave Communication via a CM PtP using the Modbus RTU Protocol. S CM PtP RS422/485 HF, ET 200SP CM PtP

Automating with STEP7 in LAD and FBD

SIMATIC NET. CP AS-Interface Master B C. Preface Contents. Technical Description and Installation Instructions Interface to the User Program

Redundant PROFIBUS DP network with S7-400H System and Ponto PO5063V5 Remote

CPUs - CPU PN/DP

Software redundancy for SIMATIC S7 SIMATIC. S7-300/S7-400 Software redundancy for SIMATIC S7. Contents 1

GE Proficy Machine Edition Profibus/Profinet SARTUP GUIDE

PROFINET Diagnostics Software and Tools

AC500. Software Description. Scalable PLC for Individual Automation. Installation of the AC500 Control Builder PS501

Modbus RTU Communications RX/WX and MRX/MWX

ABB industrial drives. Quick start-up guide Drive Manager for SIMATIC

DUKANE Intelligent Assembly Solutions

Connecting UniOP to Telemecanique PLC s

CONTROLLER INFORMATION SHEET

IMPORTANT PRODUCT INFORMATION

Beckhoff TwinCAT. Configuring the TwinCAT I/O System

PNSPO! Modbus Solution CP1H / CP1L / CJ1 / CJ2 / CS1. Version /18/2009

Manual. VIPA WinNCS. Order no.: VIPA HB91E Rev. 04/03

Training Document for SIMIT SCE. MODULE G2 'Startup System Simulation with SIMIT SCE V7

How To Use An American Zw.Com V20-20 (V20) V20 (Veu) V2.20 (Femalese) V1.2.2 (V2.1) V3.

Configuration a Profibus-DP node using Step7 and WAGO-I/O components Application note

Scalable PLC AC500 Communication AC500 Modbus TCP. ABB Group Version 3.1 ( ) Technical Guides

Applications & Tools. Control and Status Check of the digital Output of a SCALANCE W748-1 via S7 PN-CPU and SNMP Library

Modbus Communications for PanelView Terminals

Flexi Soft Ethernet IP: Implicit Messaging with a Omron PLC

Network Operation and Troubleshooting

AN017. CAN Bus Monitor for Kvaser. Introduction. CAN Monitor

Omron I/O Driver (Series 2) Programmable Serial Interface Card

S and STEP 7 Basic V10.5

SIMATIC. Testing Your S7 Programs with S7-PLCSIM. Preface, Contents. Product Overview. Installing the S7-PLCSIM Software. Getting Started with

T-BOXN12R. First steps with T-BOXN12R. You can make it wireless. Date: Version 1.0

test.commander 1 KB_testcommanderV130_E.doc Gantner Instruments Test & Measurement GmbH Vers.-Nr. 130

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODUL E04

PROFIBUS / MODBUS GATEWAY Application Note for Communication between Premium CPU & XPS-MC Safety Controllers

xlogic App from Easy Electronic-Overview

SIMOTION. Supplement to the FM 350-1, FM and FM 352 Modules. Preface. Description 1. Function blocks of the FM 350-1

GE Power Controls FIELDBUS APPENDIX PROFIBUS DP. Doc. No.: ASTAT Plus PB_Appendix-v0

Automating witfi STEP7 in LAD and FBD

Ethernet Gateway for SIMATIC MPI/ PROFIBUS Driver

Engineering Tools. Backup & Restore. Data saving and restoring _ Software Manual EN. Ä.N""ä

PLC Master / Slave Example

User Manuals. Connection to Siemens S5 PU (AS511) Part Number: Version: 2. Date:

DATA COMMUNICATION BETWEEN PROGRAMMABLE LOGIC CONTROLLERS IN THE INDUSTRIAL DISTRIBUTION APPLICATIONS

FC5A Modbus Communication Training

PLC-ANALYZER pro 5. PLC-Driver Siemens SIMATIC S5 Industrial Ethernet TCP/IP. Driver-Addendum. The logic analyzer for programmable logic controls

Guide for Updating Firmware and Troubleshooting Connection Issues

BECKHOFF. Application Notes. BC9000: Getting Started Guide. For additional documentation, please visit.

Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE A5. PLC-Simulation with S7-PLCSIM

Transcription:

Commissioning IDENTControl Compact IC-KP2-2HB17-2V1D Profinet Protocol with a Siemens S7 PLC Seite 1 von 19

Index of contents 1. Adjustment of communication parameter with web interface...3 2. Installation GSDML-File...4 3. Installation User Program...4 4. Hardware configuration...5 5. Adjustment of device parameters...6 6. Function block IDENTControl...7 7. Error and Device Diagnostic...9 8. Examples of command executions...11 Initialization...11 Single...12 Enhanced...12 Single...13 Enhanced...13 Single...14 Enhanced...14 Single Write Fixcode...15 Command List (Prefetch)...15 9. Table data carrier...17 10. Table Status values...18 11. Table version information...18 Seite 2 von 19

1. Adjustment of communication parameter with web interface In the delivery status the IDENTControl do not have a Profinet-IO name. The name of the Profinet-IO partner can be assigned with the help of the device web interface. The IP-Address of the delivery status is 169.254.10.12. With the option Network you are able to define the communication parameter and the Profinet-IO name. The new parameterization of the device will adopt with Save. Afterwards the device starts automatically a restart. The new configuration will activated by turning the switch on the back side to position 0. Alternatively the Profinet-IO name can define with the help of the Hardware configuration tool of the PLC. In this case you choose following in the hardware configuration: PLC Ethernet Edit Ethernet Node. In this window you can with Browse search for all connected Profinet-IO nodes. Afterwards you can execute a new parameterization for the IP-Address and the Profinet-IO name. Seite 3 von 19

2. Installation GSDML-File Before starting the first commissioning the identification systems IDENTControl you need to install the GSDML file. You can find the GSDML file you on the CD Identification Systems which is enclosed the product. Alternatively you can download the file on the Pepperl+Fuchs Group website. www.pepperl-fuchs.com (Product search IC-KP2-2HB17-2V1D 18XXXXX.zip) To install the GSDML file you need to open the menu point Options Install GSD file in the Simatic hardware configuration. Afterwards you need to choose the GSD file out of the source list. The GSDML file will be transferred into the hardware catalog with the menu point Options Catalog Update 3. Installation User Program To install the user program you need to unpack the file IC-KP2-2HB17.zip. For this you need to select the menu item File Unpack in the Simatic Manager. Afterwards you can open the file by marking it and click the Open -button. After defining the storage space and the successful installation you can see the user program in the Simatic Manager window. Seite 4 von 19

4. Hardware configuration In the hardware configuration you have to parameterize the actual used modules of the PLC. Afterwards you can implement the Profinet-IO master system by right click on the Profinet-IO port. Than the connection of the IDENTControl to the Profinet-IO system follows. For commissioning the IDENTControl you need drag the symbol IC-KP2-2HB6 from the hardware catalog and drop it on the Master system. Then you need to define the Profibus telegram length with the help of the communication modules (i.e. In/Out 64 Byte). You also need to assign a slot to the module. Per double click on the symbol of the IDENTControl a window with the properties of the Profinet-IO node will open. Now you are able to reconfigure the name of the Profinet-IO node (here: identcontrol). With the choose Ethernet you can reconfigure the IP-Address of the Profinet-IO node. Seite 5 von 19

If you want to copy the function block into another application program it is useful also to copy the symbol table. This way you will be able to work with symbol information. 5. Adjustment of device parameters You can open the device parameters by double-cliching the slot 0 of the I/O table.. The device specific parameter Data Hold Time (DHT) defines the time in which the data in the data output cannot be overwritten. The value of the DHT should be the double time of the maximum cycle time of the PLC. Seite 6 von 19

6. Function block IDENTControl You can open the function block and the instance data block by executing the Call-command: Call IDENTControl, InstDB (symbolic description) Or Call FB32, DB32 If you would like to implement more than one IDENTControl to the PLC you can generate the necessary instance data blocks with the Call-command. Call FB32, DB33 Call FB32, DB34 and so one. The following picture shows how the function is opened and the configuration of the variables. Name Datentyp Beschreibung IC_INPUT_Address WORD Start address of the controller in the process area of the inputs (Input Address) IC_OUTPUT_Address WORD Start address of the controller in the process area of the outputs (Output Address) Length_IN INT Length of the Input telegram (length of the received Profibus telegram) Seite 7 von 19

Name Datentyp Beschreibung IC-KP2-2HB17-2V1D Profinet for S7 PLC Length_OUT INT Length of the Output telegram (length of the sent Profibus telegram) Timeout TIME Timer to control the response time of the system RetrySingleCommand INT Number of repetitions of single commands if no tag was recognized Head1DataFixcode grasp head 1 to 0:=Fixcode 1:=data area Head2DataFixcode grasp head 2 to 0:=Fixcode 1:=data area Head1SingleEnhanced Execution on head 1of 0:=Single 1:=Enhanced command Head2SingleEnhanced Execution on head 2of 0:=Single 1:=Enhanced command Head1SpecialCommand Execution of a special command on head 1 (positive edge); the command parameter needs to be defined before in the data structure Head_1.SpecialCommand; the received data is the data structure Head_1.InData Head2SpecialCommand Execution of a special command on head 2 (positive edge); the command parameter needs to be defined before in the data structure Head_2.SpecialCommand; the received data are inside the data structure Head_2.InData Head1Read Execution of a read command on head 1 (positive edge); define command parameter Head1WordNum and Head1Wordaddress; received data is in the data structure Head_1.InData Head2Read Execution of a read command on head 2 (positive edge); define command parameter Head2WordNum and Head2Wordaddress; received data is in the data structure Head_2.InData Head1Write Execution of a write command on head 1 (positive edge); define command parameter Head1WordNum and Head1Wordaddress; writable data needs to be defined in the data structure Head_1.OutData.DW1...15 Head2Write Execution of a write command on head 2 (positive edge); define command parameter Head2WordNum and Head2Wordaddress; writable data needs to be defined inside the data structure Head_2.OutData.DW1...15 Head1Quit Execution of the quit command on head 1 to abort the enhance command (positive edge) Head2Quit Execution of the quit command on head 2 to abort the enhance command (positive edge) QuitErrorHead1 Execution of the error routine on head 1 (positive edge) QuitErrorHead2 Execution of the error routine on head 2 (positive edge) IC_Command_Head1 Execution of a special command of the controller (positive edge); command is send on channel 0; define command parameter inside data structure Head_1.SpecialCommand; received data are inside the data structure Head_1.InData Head1WordNum INT Number of allocated data blocks on head 1 Head2WordNum INT Number of allocated data blocks on head 2 Head1WordAddress WORD Start address of the memory area of the tag allocated on head 1 Head2WordAddress WORD Start address of the memory area of the tag allocated on head 2 Head1TagType WORD Tag Type of head 1 (table of data carrier) Head2TagType WORD Tag Type of head 2 (table of data carrier) Head1Done New data exists (Enhanced) or command finished (Single) on head 1 Head2Done (positive edge) New data exists (Enhanced) or command finished (Single) on head 2 (positive edge) Head1NoDataCarrier No tag was in front of the head 1 during command execution Head2NoDataCarrier No tag was in front of the head 2 during command execution Head1Error Error occurred on head 1 (positive edge) Head2Error Error occurred on head 2 (positive edge) Head1Busy Command execution on head 1 Head2Busy Command execution on head 2 Head1Status BYTE Status value of channel 1 Head2Status BYTE Status value of channel 2 Head1ReplyCounter BYTE Value of the reply counter channel 1 Head2ReplyCounter BYTE Value of the reply counter channel 2 InitFinish Execution of controller initialization is finished (positive edge) SetRestart Start of initialization (positive edge) Seite 8 von 19

Example of the parameterization of the communication parameter: In the hardware configuration the communication module 64In / 64 Out Bytes is chosen. The process area of the Inputs (Input Address) starts at address 512 and finished at address 575 and has a length of 64 Bytes. The process area of the outputs (Output Address) starts at 512 finishes at address 575 and has a length of 64 Bytes. In this case you have the following parameterizations of the function block: IC_INPUT_Address :=W#16#200 IC_OUTPUT_Address :=W#16#200 Length_IN :=64 Length_OUT :=64 Annotation: If you choose a communication module for read-only mode (f.e. 64 In / 4 Out Bytes ) the output address ( IC_OUTPUT_Address ) has to be completely in the process output area. When using a CPU of the S7-300 line the process output area ranges from 0 to 256. The S7-400 line has a length of the process output area with a length of 0 to 512. Please check the maximal telegram length of your CPU. The CPU S7-315-2DP has got a telegram length of 32 Bytes. The CPUs of the S7-400 line are able to communicate with a telegram length of 64 Bytes. 7. Error and Device Diagnostic Most of the errors occur during the first implementation (initialization) of the function block. If the start of the initialization (positive edge of SetRestart) the bit InitFinish is not automatically set to true, an error has occurred during the execution of the initialization. The main reason for such an error is a difference in the parameterization of the hardware configuration and the communication parameters of the function block. This can be the parameters of the I/O area or a different parameterization telegram length. Another reason can be a wrong defined Tag Type (Head1(2)TagType). Another option of errors is the execution of commands. In this case the bit Head1(2)Error is set to true. Afterwards it is possible to make a diagnosis with the help of the listed error table. Reasons for such errors could be wrong defined command parameters (especially by executing Special Commands) or a wrong defined Tag Type. A wrong parameterized Tag Type is indicated with the status value 04hex inside the variable Head1(2) Status. Name Data Type Description Repair Head1(2)Error Error on head 1(2) Head_1(2).Invali Send and received command dresponse telegram are not identical Timer to control the response Head_1(2).Time time of the controller is run out. outoccured Slave does not answer in the defined time period. Head_1(2).Error _SFC_14 Head_1(2).Error _SFC_15 Error while reading data from the process area Error while writing data to the process area. Check of the Data Hold Time; Check the I/O configuration Enlarge the value of the variable Timeout if you have a large cycle time. Check of the variable Head_1 (2).Ret_Val_SFC14. Check of the parameterized I/O Address and telegram length. Check of the variable Head_1 (2).Ret_Val_SFC15. Check of the parameterized I/O Address and telegram length. Seite 9 von 19

Head_1(2).Ret_ Val_SFC14 Head_1(2).Ret_ Val_SFC15 Head1(2) Status Memory.InData.Statu s WORD INT BYTE BYTE Error value while executing the SFC14 Error value while executing the SFC15 (convert the value in hex format) Status value of the last received data of channel1(2) Status value of the last received data of channel1(2) W#16#8090 W#16#80B1 Check of the parameterized I/O Address and telegram length (more information inside the system help of the SFC14) W#16#8090 W#16#80B1 Check of the parameterized I/O Address and telegram length (more information inside the system help of the SFC15) Check the table status values. Check the table status values. The diagnosis data (Slave Diagnosis) of the IDENTControl will be read with the help of the system function SFC13 DPNRM_DG out of the diagnosis address. The address will be automatically allocated during the slaves configuration. You can see the address by double clicking the IDENTControl symbol. The length of the diagnosis data is 48 Byte. In the user program the diagnosis data will save inside the DB2. It is recommended to copy this diagnosis address into the application program. This way different device parameters (like software dates) can checked in an easily. Following you can find the diagnosis read from address 4092 (=0xFFC). Seite 10 von 19

8. Examples of command executions Initialization: (with data carrier IPC03) Fix of the data carrier (Tag Type): Head1TagType:= W#16#3033 (IPC03-..) Head2TagType:= W#16#3033 (IPC03-..) Start of the Initialization: SetRestart: = 1 (positive edge) Initialization executes: Head2Busy:= 1 Initialization finished: InitFinish: = 1 (positive edge) Head1Done:= 1 Head2Done:= 1 Seite 11 von 19

Single : (head 1) Fix the command parameter: Head1SingleEnhanced:= 0 Head1DataFixcode:= 1 Start of the command execution: Head1Read:= 1 (positive edge) Command executes: Command finished -> Data received: Head1NoDataCarrier:= 0 Head_1.InData.UserData Command finished -> no data carrier exists: Head1NoDataCarrier:= 1 (positive edge) None Enhanced : (head 1) Fix the command parameter: Head1SingleEnhanced:= 1 Head1DataFixcode:= 1 Start of the command execution: Head1Read:= 1 (positive edge) Command executes: Data received and command active: Head1Busy := 1 Head1NoDataCarrier:= 0 Head_1.InData.UserData No Tag in front of head 1 and command active: Head1NoDataCarrier:= 1 Head1Done:= 0 (positive edge) None Data carrier moves out of the read area and no tag in front of the head: Head1NoDataCarrier:= 1 Head1Done:= 0 (positive edge) None Data carrier moves into the read area and data read in: Head1NoDataCarrier:= 0 Head_1.InData.UserData Abort Enhanced command: Head1Quit:= 1 Command finished: Seite 12 von 19

Single : (head 1; 15 data blocks starting at address 0) IC-KP2-2HB17-2V1D Profinet for S7 PLC Fix the command parameter: Head1WordNum:= 15 (number of user data blocks) Head1WordAddress:= 0 (memory address) Head1SingleEnhanced:= 0 Head1DataFixcode:= 0 Start of the command execution: Head1Read:= 1 (positive edge) Command executes: Command finished -> Data received: Head1NoDataCarrier:= 0 Head_1.InData.UserData Command finished -> no data carrier exists: Head1NoDataCarrier:= 1 None Enhanced : (head 1; 15 data blocks starting at address 0) Fix the command parameter: Head1WordNum:= 15 (number of user data blocks) Head1WordAddress:= 0 (memory address) Head1SingleEnhanced:= 1 Head1DataFixcode:= 0 Start of the command execution: Head1Read:= 1 (positive edge) Command executes: Data received and command active: Head1NoDataCarrier:= 0 Head_1.InData.UserData No Tag in front of head 1 and command active: Head1NoDataCarrier:= 1 Head1Done:= 0 (positive edge) None Data carrier moves out of the read area and no tag in front of the head: Head1NoDataCarrier:= 1 Head1Done:= 0 (positive edge) None Data carrier moves into the read area and data read in: Head1NoDataCarrier:= 0 Head_1.InData.UserData Abort Enhanced command: Head1Quit:= 1 Command finished: Seite 13 von 19

Single : (head 1; 15 data blocks starting at address 0) IC-KP2-2HB17-2V1D Profinet for S7 PLC Fix the command parameter: Head1WordNum:= 15 (number of user data blocks) Head1WordAddress:= 0 (memory address) Head1SingleEnhanced:= 0 Head1DataFixcode:= 0 Define user data inside out data field: Head_1.OutData.UserData := XXXX Start of the command execution: Head1Write:= 1 (positive edge) Command executes: Command finished -> Data written Head1NoDataCarrier:= 0 Command finished -> no data carrier exists: Head1NoDataCarrier:= 1 Enhanced : (head 1; 15 data blocks starting at address 0) Fix the command parameter: Head1WordNum:= 15 (number of user data blocks) Head1WordAddress:= 0 (memory address) Head1SingleEnhanced:= 1 Head1DataFixcode:= 0 Define user data inside out data field: Head_1.OutData.UserData:= XXXX Start of the command execution: Head1Write:= 1 (positive edge) Command executes: Data written and command active: Head1NoDataCarrier:= 0 Head1Done:= 1 No Tag in front of head 1 and command active: Head1NoDataCarrier:= 1 Head1Done:= 0 Data carrier moves out of the read area and no tag in front of the head: Head1NoDataCarrier:= 1 Head1Done:= 0 (positive edge) Data carrier moves into the read area and data written: Head1NoDataCarrier:= 0 Abort Enhanced command: Head1Quit:= 1 Command finished: Seite 14 von 19

Single Write Fixcode: (head 1; IPC11) Fix the command parameter: Head_1.SpecialCommand.CommandCode:= 0x1F Head1.SpecialCommand.Channel:= 0x50 (Length of the Fixcode) Head_1.SpecialCommand.Parameter1:= FixType (High Byte) Head_1.SpecialCommand.Parameter2:= FixType (Low Byte) Head_1.SpecialCommand.Parameter3:= FixCode Byte 1 Head_1.SpecialCommand.Parameter4:= FixCode Byte 2 Head_1.SpecialCommand.Parameter5:= FixCode Byte 3 Head_1.SpecialCommand.Parameter6:= FixCode Byte 4 Head_1.SpecialCommand.Parameter7:= FixCode Byte 5 Start command execution: Head1SpecialCommand:= 1 (positive edge) Command executes: Command finished: Command List (Prefetch): (head 1) With the help of the command list it is possible to execute different commands successively. At first you need to open the command list. Afterwards you need to transfer the commands which have to be performed and then close the command list. The list will be executed when you activate the list in Single or Enhanced mode. The command list will be stored volatile. The opening, closing and the activation as well as the transfer of the performed commands will be executed with the help of the Special- Command. Open the Command List: Fix the command parameter: open Command List Head_1.SpecialCommand.CommandCode := 0xAC Head_1.SpecialCommand.Channel := 0x00 Head_1.SpecialCommand.Parameter1 := 0x00 (ListNo) Head_1.SpecialCommand.Parameter2 := 0x01 (ListModus) Start command execution: Transfer of the command Head1SpecialCommand := 1 (positive edge) Command executes: transfer is active Head1Busy := 1 Command finished: transfer finished Head1Done := 1 (positive edge) Head1Busy := 0 After the opening of the command list you need to transfer the performed commands with the help of the SpecialCommand to the controller. Afterwards first command Enhanced and second command Enhanced are parameterized. Seite 15 von 19

Command 1: Enhanced head 1 Fix the command parameter: Enhance Head_1.SpecialCommand.CommandCode := 0x01 Head_1.SpecialCommand.Channel := 0x00 Start command execution: Transfer of the command Head1SpecialCommand := 1 (positive edge) Command executes: transfer is active Head1Busy := 1 Command finished: transfer finished Head1Done := 1 (positive edge) Head1Busy := 0 Command 2: Enhanced Fix the command parameter: Enhanced Head_1.SpecialCommand.CommandCode := 0x19 Head_1.SpecialCommand.Channel := 0xF0 (number of data blocks) Head_1.SpecialCommand.Parameter1 := 0x00 (WordAddress High Byte) Head_1.SpecialCommand.Parameter2 := 0x00 (WordAddress Low Byte) Start command execution: Transfer of the command Head1SpecialCommand := 1 (positive edge) Command executes: transfer is active Head1Busy := 1 Command finished: transfer finished Head1Done := 1 (positive edge) Head1Busy := 0 The number of the performed commands inside the command list is 10. The parameterization of the command list is finished by closing of the command list. Closing command list: Fix the command parameter: closing command list Head_1.SpecialCommand.CommandCode := 0xAC Head_1.SpecialCommand.Channel := 0x00 Head_1.SpecialCommand.Parameter1 := 0x00 (ListNo) Head_1.SpecialCommand.Parameter2 := 0x00 (ListModus) Start command execution: Transfer of the command Head1SpecialCommand := 1 (positive edge) Command executes: transfer is active Head1Busy := 1 Command finished: transfer finished Head1Done := 1 (positive edge) Head1Busy := 0 The execution of the command list will be started by activating in Single or Enhanced Mode. Seite 16 von 19

Activating with Single Mode: Fix the command parameter: Activating Single Mode Head_1.SpecialCommand.CommandCode := 0xAC Head_1.SpecialCommand.Channel := 0x00 Head_1.SpecialCommand.Parameter1 := 0x00 (ListNo) Head_1.SpecialCommand.Parameter2 := 0x02 (ListModus) Start command execution: Transfer of the command Head1SpecialCommand := 1 (positive edge) Command executes: transfer is active Head1Busy := 1 Command finished: transfer finished Head1Done := 1 (positive edge) Head1Busy := 0 After the activation of the command list the commands will be executed. The read in data will be available inside the data field Head_1.InData.UserData. If a tag is in the reading range the status (Head1Status) of every response telegram has the value 0x00. To verify the different responses you need to check the ReplyCounter (Head1ReplyCounter). By receiving a new telegram the value of this variable changes based on the previous telegram. After finishing the cycle of the command list you get a response with the Status (Head1Status) value of 0x0F. If you activate the command list in Single mode, the commands will be executed once. After the last telegram (Head1Status = 0x0F) the execution is automatically stopped. By activating in Enhanced Mode the execution of the command list starts again with the first command after receiving the last telegram. 9. Table data carrier Name Tag Type Command Fixcode Data Word Address frequency IPC02 W#16#3032 5 Byte - - 125kHz IPC03 W#16#3033 4 Byte 116 Byte 0000 001C 125kHz IPC11 W#16#3131 Write Fixcode 5 Byte - - 125kHz IPC12 W#16#3132 4 Byte 8192 Byte 0000 07FF 125kHz 7 Byte Fixcode IDC W#16#3530 Write Fixcode 6 Byte 128 Byte 0000 001F 250kHz Read Special Fixcode Write Special Fixcode Special Fixcode ICC W#16#3532 7 Byte - - 250kHz IQC21 W#16#3231 8 Byte 112 Byte 0000 001B 13,56MHz IQC22 W#16#3232 8 Byte 256 Byte 0000 003F 13,56MHz IQC23 W#16#3233 8 Byte 224 Byte 0000 0037 13,56MHz IQC24 W#16#3234 8 Byte 928 Byte 0000 00E7 13,56MHz IQC31 W#16#3331 8 Byte 32 Byte 0000 0007 13,56MHz Seite 17 von 19

IQC33 IQC35 MVC W#16#3333 W#16#3335 W#16#3630 8 Byte 2000 Byte 0000 00F9 13,56MHz 8 Byte 256 Byte 0000 003F 13,56MHz 8 Byte 7552 Byte 0000 075F 2,45GHz 10. Table Status values Head1(2)Status Meaning Repair 0x00 Command executed without errors None; next command can be sent to this channel 0xFF Command in process Command execute from the head in progress; a command can be sent to another channel (not to the same) 0x01 Battery status is low (only Data will be sent in the same telegram; change the battery or the whole MVC Tags) tag 0x04 Incorrect or incomplete command or parameter not in valid range Check the command parameters and the defined Tag Type (IQC33 has got even numbered WordNum); check the installation of the head (is the head grounded; shielded read head cable) 0x05 No data carrier in detection Check the distance between tag and head; check the installation of the range head (is the head grounded; shielded read head cable) 0x06 Hardware error; no head is connected to this channel; head is defective Check the cable of the head (shielded cable named V1-G-XM-PUR ABG- V1-W); check the LED of the head (switched off: head damaged; blinking: execute Initialization with correct Tag Type; constant: head is OK) 0x07 Internal device error Internal memory overflow (reduce the Data Hold Time) 0x09 parameterized data carrier type does not match to the Check the parameterized Tag Type connected read head 0x0F Last telegram of command list None; 0x20 Reset was executed Error sent by the bus interface; signals that the controller is ready for command executions 0x40 Incorrect or incomplete command or parameter not in valid range Error sent by the bus interface; Check the command parameters and the defined Tag Type (IQC33 has got even numbered WordNum); check the installation of the head (is the head grounded; shielded read head cable) 0x60 Hardware error; no head is connected to this channel; head is defective Error sent by the bus interface; Check the cable of the head (shielded cable named V1-G-XM-PUR ABG-V1-W); check the LED of the head (switched off: head damaged; blinking: execute Initialization with correct Tag Type; constant: head is OK) 0x70 Internal device error Internal memory overflow (reduce the Data Hold Time) 11. Table version information Version Date Change Function Block Change Documentation 2.0 2.1 18.11. 2008 28.02. 2009 - Change from 4-Channel version to 2-Channel Version - Replacement of the IN-Variable IDENTControlAddress with the IN-Variables INPUT/OUTPUT_Address and INPUT/OUTPUT_Length - Output data length of 4 Bytes possible by implementation of SFC81 - Entering the OUT-Variables Done; NoDataCarrier; Busy and Error - Connecting variable Memory.Error_SFC_14 with variable Head1(2)Error - Change of the check of the variables Head_1(2).ExistTC and Head_1(2).NotExist by parameterisation of the commands -> Triggermode - Implementation of the Status check of value 0x0F -> last telegram of the command list - Change of the identity check of the Input and Output data field -> by execution of the command list the Input and Output datafield are not identical - Reset of the variable Head_1(2).QuitError by execution of the Reset and the Quit-Error routine. - Implementation of new symbolic names of the user data fields of - Initial edition - Implement new picture with the overview of the variables of the FB (page 5) - Implement new variables in the table with the functionality (page 5-6) - Information about the different telegram length of the CPUs lines (page 7) - Change of the name of the status variable (page 7-8) Seite 18 von 19

2.2 24.04. 2009 the Input and Output data fields - >Head_1(2).InData/OutData.UserData - Implementation of a check of the value of the variable Head1(2)WordNum -> if value higher than 15 the variable Head1(2)Error will be set - Implementation of the Outdata variable Head1(2)Status and Head1(2)ReplyCounter IC-KP2-2HB17-2V1D Profinet for S7 PLC - Text library added for classification of the Status values - none Seite 19 von 19