6 Configuration and Settings
6.3 Comments on programming the SIMATIC S7-1200
Parameter
RECORD
10
For symbolic addressing, the length to be specified in "RECORD" is specified implicitly by the
structure of the actual parameter.
SINAMICS G120 DP at S7-1200
Entry-ID: 70155469,
V1.4,
(In the application, the system constant is transferred via the tags RD_HW-
ID and WR_HW-ID to the instructions DPRD_DAT and DPWR_DAT.
RD_HW-ID and WR_HW-ID are input parameters of the calling block
"Process_Data", which in the Main [OB1] was supplied with
"Transfer_area_1[DI]" and "Transfer_area_1[DO]".)
RECORD of type "VARIANT" is a pointer with specified length. It points to a
data area in the PLC in which the data read from the SINAMICS drive is
stored or from which the data to be written to the drive is fetched. The data
area must have the same length as the I/O area addressed by LADDR.
In the application example, RECORD is addressed symbolically
"InData" a field in the temporary data area of "Process_Data" was used,
consisting only of six words (Array [1 .. 6] Of Word), according to the length
of the "Telegram 352" frame. Since "InData" is a temporary tag, an absolute
access is not possible.
07/2018
Explanation
10
. For
59