Technical data
Technology functions
CPU 317T: Technology Functions
6-236 A5E00251798-03
6.6.6 FB 453 MC_ReadRecord - Reading data record
Valid for firmware version V3.1.x of the integrated technology
Purpose
• The "MC_ReadRecord" technology function can be used to read a data record
from an I/O on DP(DRIVE).
• The technology function can be compared with the system function SFC 59
"RD_REC" which is used to read data records at the DP interface of an
S7 CPU.
Applicable to
• DP I/O on DP(DRIVE)
Requirements
• The I/O must support data record communication.
• The I/O must support the relevant data record.
Overriding commands
An MC_ReadRecord command can not be canceled by any other command.
An MC_ReadRecord command does not cancel any other commands.
Input parameters
Parameter Data type Start value Description
Execute BOOL FALSE Start of the command at the positive edge
InOut BOOL FALSE I/O assignment of the logical base address of the I/O
module
FALSE: input address
TRUE: output address
Address INT 0 Logical base address of the I/O module
RecordNumber INT 0 Number of the data record of the I/O module (possible
values: 0 to 255)
Data ANY - Destination for read data.
The maximum length of data to be read is defined by the
data type and the repetition coefficient at the ANY
pointer.
DoneFlag INT 0 DoneFlag generated in the MCDevice DB