MC_ReadParameter
This FB serves to read a parameter from the axis data structure or from the drive.
|
Note!
In the default setting, the drive parameter is read out cyclically, i.e. after a successful read operation, the next one is started immediately. This, however, increases the bus load. The "ReadCycle" property of the FB serves to set a higher cycle time for repeating a read request.
Example of the automatic execution of a read request per second:
No parameters can be read out of the "STRING" data type. |
|
|
|
|
MC_ReadParameter |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXIS_REF |
- |
|
Axis |
Valid |
|
- |
BOOL |
|
BOOL |
- |
|
ENABLE |
Busy |
|
- |
BOOL |
|
DINT |
- |
|
ParameterNumber |
Error |
|
- |
BOOL |
|
|
|
|
|
ErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
Value |
|
- |
LREAL |
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
Axis |
Transfer of the axis data structure |
|
|
ENABLE BOOL |
TRUE |
Read parameters continuously. |
|
ParameterNumber DINT |
Determination of the parameter number of the parameter to be read.
|
|
Motion axes (AXIS_REF)