
Page 30
Commissioning
IF2030/PNET
5.7
TIA Function Components
5.7.1
General
You can configure your IF2030/PNET via S7 by using several function components. They cover core functions
that can be used for all compatible Micro-Epsilon sensors.
The components are available in an unencrypted form to allow you to view the code (“Structured Control
Language”) and use it as a template for your own programs. The function components are provided together
with the GSDML file. An overview of configuration examples, incl. register addresses in hexadecimal format, is
provided below.
- IF2030_BaudrateInterface: R/W sensor interface (0x2023) and baud rate (0x2020)
- IF2030_CycletimeDatasize: R/W cycle time (0x2021) and data size (0x2022)
- IF2030_HTTL-Debug: R/W switching between HTL/TTL (0x2027) and enabling of the DebugHeader
(0x2028)
- IF2030_MEB_floatparam: R/W Float-type sensor parameter (0x2510)
- IF2030_MEB_intparam: R/W Int-type sensor parameter (0x2520)
- IF2030_MEB_uintparam: R/W UInt-type sensor parameter (0x2530)
- IF2030_Reset: Delete W IF2030/PNET- (0x2024) or sensor configuration (0x2025) and perform a reboot
(0x2026)
- IF2030_SelectSensor: R/W sensor selection (0x2000) and R sensor list (0x2001)
i
The
device_id
of the connected sensor or controller must be transferred to each function component.
A trigger for
TRUE
in a program cycle triggers the desired action, a Read command is prioritized over a
Write command, and the action’s end is signaled by
done = TRUE
. A
status != 0
shows an error
when data is sent or received. With
reset_after_write = TRUE
, the IF2030/PNET is rebooted after
successful configuration to allow the changes made to take effect immediately.
Содержание IF2030/PNET
Страница 1: ...Operating Instructions IF2030 PNET...
Страница 57: ......