IFM Electronic efectror190 DTE100 Device Manual Supplement
IFM Electronic efectror190 DTE100 Device Manual Supplement

IFM Electronic efectror190 DTE100 Device Manual Supplement

S7 library for evaluation unit

Advertisement

Quick Links

Device manual
Supplement
UK
S7 library for
evaluation unit DTE100

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the efectror190 DTE100 and is the answer not in the manual?

Questions and answers

Summary of Contents for IFM Electronic efectror190 DTE100

  • Page 1 Device manual Supplement S7 library for evaluation unit DTE100...
  • Page 2: Table Of Contents

    Contents 1 Preliminary note � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 3 1�1 Symbols used�...
  • Page 3: Preliminary Note

    1 Preliminary note These instructions serve for the set-up and parameter setting of the communica- tion between the RFID evaluation unit DTE100 from ifm electronic and a Simatic S7 controller from Siemens� 1.1 Symbols used ► Instructions > Reaction, result...
  • Page 4: Installation

    3 Installation ► Install the GSD file "ifm_0D33�gsd"� > In the hardware catalogue of the controller there is the entry "DTE100" in the section_"Profibus DP" → "Further field devices" → "Gateway". ► Depending on the application, select the respective module and assign it to the requested slot�...
  • Page 5: 3�1 Modules Available In The Hardware Configuration

    3.1 Modules available in the hardware configuration Application Module name Description Note Unused channel Channel deactivated Deactivation of the channel Switching outputs of Input (1 byte In) Cyclic reading of the Data is stored in the sensors, IEC61131 input periphery input image of input signal the controller�...
  • Page 6: 3�2 Module Parameterisation

    3.2 Module parameterisation Each module allows additional, individual parameterisation� Module name Description Channel deactivated no parameterisation available Input Output PIB state RWH UID RWH STRG...
  • Page 7: 3�2�1 Description Of The Parameters

    3.2.1 Description of the parameters Data hold time Time in seconds for which the input signals C/Qi, I/Q and UID are to be maintained at channels IO-1 …IO-4 in the data input image (pulse stretching)� With the setting 0�0 s the signal is maintained as long as the respective input detects it�...
  • Page 8: Function Blocks

    4 Function blocks The following section describes the available function blocks and their input and output parameters� 4.1 COM_FB The POU COM_FB assumes the communication between the controller and the evaluation unit DTE100� The POUs FB_CONFIG_READ, FB_CONFIG_WRITE, FB_PHYSICAL_READ, FB_PHYSICAL_WRITE, FB_GET and FB_PUT need it for exchanging data within the controller�...
  • Page 9 Input parameter IN Name Data type Description 0: Deactivate POU EXECUTE BOOL 1: Execute POU 0 → 1: Initialisation routine is started. Number of the DP master system from the S7 hardware confi- DPM_SYSTEM_ID BYTE guration Profibus address of the evaluation unit DTE100 (ident unit, IDU_DP_ADDR WORD IDU)
  • Page 10 Name Data type Description 0: IO-2 interface not ready IO2_READY BOOL 1: IO-2 interface ready, commands can be processed 0: IO-3 interface not ready IO3_READY BOOL 1: IO-3 interface ready, commands can be processed 0: IO-4 interface not ready IO4_READY BOOL 1: IO-4 interface ready, commands can be processed...
  • Page 11: 4�2 Fb_Config_Read

    4.2 FB_CONFIG_READ This POU is used for reading the data length of the command channel selected via CHANNEL� It is not required in normal applications� Input parameter IN Name Data type Description 0 → 1: Start command REQUEST BOOL 0: Stop or reset command IDB_COM_FB BLOCK_DB Instance POU of the COM_FB...
  • Page 12 Output parameter OUT Name Data type Description 0: POU ready for new command BUSY BOOL 1: Command is processed 0: No command initiated or command not yet completed DONE BOOL 1: Command executed 0: No error ERROR BOOL 1: Error occurred, details see STATUS Error code: 1�...
  • Page 13: 4�3 Fb_Config_Write

    4.3 FB_CONFIG_WRITE This POU is used to synchronise the evaluation unit DTE100 with the PLC pro- gram within the POU COM_FB� In common applications it is not required� Input parameter IN Name Data type Description 0 → 1: Start command REQUEST BOOL 0: Stop or reset command...
  • Page 14 Output parameter OUT Name Data type Description 0: POU ready for new command BUSY BOOL 1: Command is processed 0: No command initiated or command not yet completed DONE BOOL 1: Command executed 0: No error ERROR BOOL 1: Error occurred, details see STATUS Error code: 1�...
  • Page 15: 4�4 Fb_Physical_Read

    4.4 FB_PHYSICAL_READ This POU is used for reading the user memory range within the transponder (tag)� Depending on the tag type the data block length has to be entered within the user configuration of the modules PIB and RHW_STRG� You will find the data block length in the data sheet of the transponder/tag at: →...
  • Page 16 Input parameter IN Name Data type Description 0 → 1: Start command REQUEST BOOL 0: Stop or reset command IDB_COM_FB BLOCK_DB Instance POU of the COM_FB CHANNEL BYTE Channels 1 - 4 for the IO interface 0 = timeout off CMD_TIME_OUT BYTE 1…...
  • Page 17 Name Data type Description Error code: 1� 0x0000: No error 2� 0x8000: Internal error (e�g� unexpected return value of an SFC, undefined status word of the evaluation unit) 3� 0x8001: Negative response of the evaluation unit, for more details see EXT_STATUS 4�...
  • Page 18: 4�5 Fb_Physical_Write

    4.5 FB_PHYSICAL_WRITE This POU is used for writing the user memory range within the transponder (tag)� Depending on the tag type the data block length has to be entered within the user configuration of the modules PIB and RHW_STRG� Example Setting with "Data block length"...
  • Page 19 Input parameter IN Name Data type Description 0 → 1: Start command REQUEST BOOL 0: Stop or reset command IDB_COM_FB BLOCK_DB Instance POU of the COM_FB CHANNEL BYTE Channels 1 - 4 for the IO interface 0 = timeout off CMD_TIME_OUT BYTE 1…...
  • Page 20 Name Data type Description Error code: 1� 0x0000: No error 2� 0x8000: Internal error (e�g� unexpected return value of an SFC, undefined status word of the evaluation unit) 3� 0x8001: Negative response of the evaluation unit, for more details see EXT_STATUS 4�...
  • Page 21: 4�6 Fb_Dev_Status

    4.6 FB_DEV_STATUS This POU is used for reading the Profibus identification and maintenance data I&M and I&M1� Input parameter IN Name Data type Description 0 → 1: Start command REQUEST BOOL 0: Stop or reset command IDB_COM_FB BLOCK_DB Instance POU of the COM_FB CHANNEL BYTE Channels 1 - 4 for the IO interface...
  • Page 22 Output parameter OUT Name Data type Description 0: POU ready for new command BUSY BOOL 1: Command is processed 0: No command initiated or command not yet completed DONE BOOL 1: Command executed 0: No error ERROR BOOL 1: Error occurred, details see STATUS� Error code: 1�...
  • Page 23: 4�7 Fb_Write_Im1

    4.7 FB_WRITE_IM1 This POU is used for writing the Profibus identification and maintenance data I&M1� Input parameter IN Name Data type Description 0 → 1: Start command REQUEST BOOL 0: Stop or reset command IDB_COM_FB BLOCK_DB Instance POU of the COM_FB Data area with the I&M1 data to be sent to the evaluation unit�...
  • Page 24 Output parameter OUT Name Data type Description 0: POU ready for new command BUSY BOOL 1: Command is processed 0: No command initiated or command not yet completed DONE BOOL 1: Command executed 0: No error ERROR BOOL 1: Error occurred, details see STATUS� Error code: 1�...
  • Page 25: 4�8 Fb_Get

    4.8 FB_GET This POU is used for executing different individual commands which can be selec- ted via the input SUB_CMD: Application Subcommand Description Read the Ethernet settings Get_Ethernet_Parameter IP address, gateway address, subnet mask Data format, overload setting, overcurrent Read the device settings Get_Ident_Unit_Parameter setting, high-current setting Year, month, day, hour, minute, second,...
  • Page 26 Application Subcommand Description Read the UID of the tag Get_UID Input parameter IN Name Data type Description 0 → 1: Start command REQUEST BOOL 0: Stop or reset command IDB_COM_FB BLOCK_DB Instance POU of the COM_FB CHANNEL BYTE Channels 1 - 4 for the IO interface 0 = timeout off CMD_TIME_OUT BYTE...
  • Page 27 Output parameter OUT Name Data type Description 0: POU ready for new command BUSY BOOL 1: Command is processed 0: No command initiated or command not yet completed DONE BOOL 1: Command executed 0: No error ERROR BOOL 1: Error occurred, details see STATUS� Error code: 1�...
  • Page 28: 4�9 Fb_Put

    4.9 FB_PUT This POU is used for executing different individual commands which can be selec- ted via the input SUB_CMD: Application Subcommand Description Programming of the Set_Ethernet_Parameter IP address, gateway address, subnet mask Ethernet settings Programming of the Data format, overload setting, overcurrent Set_Ident_Unit_Parameter setting, high-current setting device settings...
  • Page 29 Name Data type Description 0 = timeout off CMD_TIME_OUT BYTE 1… 255 = timeout in [s], Default value: 10 s Subcommand 0xD1: SET_ETHERNET_PARAMETER (UDT: ETH_PARA) 0xD2: SET_IDENT_UNIT_PARAMETER (UDT: IDENT_UNIT_ PARA) SUB_CMD BYTE 0xD3: SET_CLOCK (UDT: CLOCK) 0xD5: SET_DEFAULTS (UDT: - ) 0xD6: SET_BLOCK_PARAMETER (UDT: BLOCK_PARA) Data area with the data to be sent to the evaluation unit�...
  • Page 30: 4�10 Fb_Diag

    4.10 FB_DIAG This POU is used for reading the Profibus DP diagnosis within the device Input parameter IN Name Data type Description 0: The POU is deactivated� ENABLE BOOL 1: The diagnostic data is read cyclically and stored at DIAG_ DATA IDU_ADR WORD...
  • Page 31 Output parameter OUT Name Data type Description 0: No error ERROR BOOL 1: Error occurred, details see STATUS� Error code: 1� 0x0000: No error 2� 0x8000: Internal error (e�g� unexpected return value of an STATUS WORD SFC, undefined status word of the evaluation unit) 3�...
  • Page 32: 4�11 Fb_Set_Antenna

    4.11 FB_SET_ANTENNA This POU is used to activate/deactivate the transmission field of the RFID anten- na� Input parameter IN Name Data type Description 0 → 1: Start command REQUEST BOOL 0: Stop or reset command IDB_COM_FB BLOCK_DB Instance POU of the COM_FB 0 = timeout off CMD_TIME_OUT BYTE...
  • Page 33 Name Data type Description 0: Deactivate antenna 4 ANT4_ENABLE BOOL 1: Activate antenna 4 Output parameter OUT Name Data type Description 0: POU ready for new command BUSY BOOL 1: Command is processed 0: No command initiated or command not yet completed DONE BOOL 1: Command executed...
  • Page 34: 4�12 User-Defined Data Type

    4.12 User-defined data type UDT1: ETH_PARA UDT2: MAC_ADDRESS UDT3: IDENT_UNIT_PARA UDT4: CLOCK...
  • Page 35 UDT5: TRACEBUFFER UDT6: ANT_TYPE...
  • Page 36 UDT7: BLOCK_PARA UDT8: TRANSPONDER_TYPE UDT9: IDENT_DIAG...
  • Page 37 UDT10: ANT_DIAG UDT11: CHANNEL_MODE UDT15: MAX_PACK_SIZE UDT16: DIAG_DATA...
  • Page 39 UDT17: IM0_DATA UDT18: IM1_DATA...

Table of Contents