5 Functional Mechanisms of this Application
5.1 Functionality of process data exchange
SINAMICS G120 DP at S7-1200
Entry-ID: 70155469, V1.4, 07/2018
Siemens AG 2018 All rights reserved
Networks
Table 5-2: Networks of the “Process_Data” FB
The temporary data area #InData is initialized with 0.
The process data is copied from the I/O area into the temporary #InData data
area using the “DPRD_Dat” instruction.
Status word, warning and faults are copied from the temporary #InData data
area to the respective block outputs, and the current actual values [WORD]
are copied into temporary tags [INT] for data type adjustment.
The current normalized speed value [INT] is denormalized by calling FC11
[REAL, rpm].
The current normalized current value [INT] is denormalized by calling FC11
[REAL, A].
The current torque value [INT] is denormalized by calling FC11 [REAL, Nm].
The setpoint speed value [REAL, rpm] is denormalized by calling FC12 [INT].
Control word and normalized setpoint speed value [INT] are copied to the
temporary #OUTData data area. The remaining four words to be transferred
are written with 0.
The process data is copied from the temporary #OutData data area into the
I/O area using the “DPWR_DAT” instruction.