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...
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�...
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�...
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...
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�...
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...
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�...
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�...
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�...
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�...
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�...
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�...
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�...
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�...
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�...
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...
Need help?
Do you have a question about the efectror190 DTE100 and is the answer not in the manual?
Questions and answers