Professional Documents
Culture Documents
This application is released as an example only and there is no warranty for any issue.
Index of Content
1. Overview ............................................................................................................................. 2
2. Function Block FA_Read .................................................................................................... 3
3. Function Block FA_Write..................................................................................................... 4
4. Example measuring device PAC 3200 / 4200 ..................................................................... 5
5. Example circuit breaker 3VA ............................................................................................... 8
1/9
30.04.2019
SENTRON Communication – TIA Portal
Flexible Access (FA) for Profibus (DP) and Profinet (PN)
1. Overview
Profinet
Profibus
Flexible Access (FA) via Profibus and Profinet is a special method for the SENTRON
measuring devices and circuit breakers to be able to address and read all measured values
and parameters that can be read via Modbus via a DP/PN connection.
Focus is the accessibility to measured values, which are not available in the regular basic
types or datasets via DP/PN standard access.
If the desired measurement values are available via DP/PN standard functions (for example,
part of basic types), regular access via DP/PN is recommended.
Supported PLC’s:
All devices with equipped “Profinet / Switched Ethernet” or “Profibus DPV1“ Module. PAC
32x0, 42x0 and 3VA + COM100/800.
For all devices and expansion modules, the use of a current firmware is recommended:
https://support.industry.siemens.com/cs/ww/en/ps/21501/dl
https://support.industry.siemens.com/cs/ww/en/ps/19479/dl
2/9
30.04.2019
SENTRON Communication – TIA Portal
Flexible Access (FA) for Profibus (DP) and Profinet (PN)
Remark:
An FB can be called multiple times within a sequence and always use the same instance
DB. It should be noted that all inputs must be completely re-assigned each time they are
called. Otherwise, values of the previous call are retained at the inputs and unwanted states
of the inputs can occur.
3/9
30.04.2019
SENTRON Communication – TIA Portal
Flexible Access (FA) for Profibus (DP) and Profinet (PN)
4/9
30.04.2019
SENTRON Communication – TIA Portal
Flexible Access (FA) for Profibus (DP) and Profinet (PN)
4.1. Addressing
[…]
5/9
30.04.2019
SENTRON Communication – TIA Portal
Flexible Access (FA) for Profibus (DP) and Profinet (PN)
Input variables for a sequence control. This can be used to coordinate several queries
as a sequence and are processed consecutively in series.
6/9
30.04.2019
SENTRON Communication – TIA Portal
Flexible Access (FA) for Profibus (DP) and Profinet (PN)
Call with ID 1. This is processed after the previous call has been completed. With
"SC_ID_Next" = 0, the user jumps to the first call and the sequence starts again.
7/9
30.04.2019
SENTRON Communication – TIA Portal
Flexible Access (FA) for Profibus (DP) and Profinet (PN)
5.1. Addressing
Offset and Length must be specified as a decimal number starting from 1. The
information in HEX should therefore be converted to DEC as follows:
[…]
8/9
30.04.2019
SENTRON Communication – TIA Portal
Flexible Access (FA) for Profibus (DP) and Profinet (PN)
Call with ID 1. This is processed after the previous call has been completed. With
"SC_ID_Next" = 0, the user jumps to the first call and the sequence starts again.
9/9
30.04.2019