Technical data
Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-231
6.6.5 FB 451 MC_WritePeriphery - Writing technology I/O
Valid for firmware version V3.1.x of the integrated technology
Purpose
• The "MC_WritePeriphery" technology function can be used to write the I/O
image DP(DRIVE) of the integrated technology. For information on time-based
updates, refer to the Example
Applicable to
• DP I/O on DP(DRIVE)
• Integrated I/O of the Technology CPU
Requirements
• The addressed I/O must exist in the I/O image DP(DRIVE) of the integrated
technology.
Overriding commands
An MC_WritePeriphery command can not be canceled by any other command.
An MC_WritePeriphery 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
ByteAddress INT 0 Byte start address for writing (possible values: 0 to 63).
Data ANY -- Source are of data to be written.
The maximum length of data to be written is defined by
the data type and the repetition coefficient at the ANY
pointer. The maximum length is 64 bytes.
DoneFlag INT 0 DoneFlag generated in the MCDevice DB