Technical data

Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-215
6.6.2 FB 406 MC_ReadSysParameter - Reading parameters
Valid for firmware version V3.1.x of the integrated technology
Purpose
The technology function "MC_ReadSysParameter" returns selected
parameters of a technology object, for example, of an axis or cam.
The valid actual value is indicated at the restart parameters.
The result is output at the relevant output parameter, depending on the
parameter type. In this case the other outputs return the a 0 value.
At input parameter Index you can define which of the multiple parameters of
the project you want to access. Multiple parameters exist in these areas:
- Data records (Dataset_1 to Dataset_16)
- Encoders (Encoder_1 to Encoder_8)
- Synchronization objects (1 for synchronization object, 2 for superimposing
synchronization object)
Applicable to
The parameter defined by the parameter number and the index must be
available in the system.
Overriding commands
An MC_ReadSysParameter command can not be canceled by any other
command.
An MC_ReadSysParameter command does not cancel any other commands.
Input parameters
Parameter Data type Start value Description
Axis INT 0 Number of the technology DB
Execute BOOL FALSE Command parameter value at the positive edge
ParameterNumber INT 0 Number of the parameter to be read
Index INT 0 Parameter field number (2 for data_set_2, for
example)