13.7.3.29 FB 833 - VMC_ReadDriveParameter - read drive parameter
An overview of the drive systems, which can be controlled with this block
can be found here:
Ä
Chap. 13.7.1 ‘Overview’ page 542
With VMC_ReadDriveParameter the value of a parameter from the connected drive is
read.
Parameter
Parameter Declaration Data type Description
Axis IN_OUT MC_AXIS_REF Reference to the axis
Execute INPUT BOOL
n Read drive parameter data
– Edge 0-1: The drive parameter data is reading.
Index INPUT WORD Index of the drive parameter
Subindex INPUT BYTE Subindex of the drive parameter
Length INPUT BYTE Length of data
n 1: BYTE
n 2: WORD
n 4: DWORD
Done OUTPUT BOOL
n Status
– TRUE: Job successfully done. Parameter data was
read
Busy OUTPUT BOOL
n Status
– TRUE: Job is running
Error OUTPUT BOOL
n Status
– TRUE: An error has occurred. Additional error infor-
mation can be found in the parameter ErrorID.
ErrorID OUTPUT WORD Additional error information
Ä
Chap. 13.10 ‘ErrorID - Additional error information’
page 637
Value OUTPUT DWORD Value of the read parameter
n Job start in each PLCopen-State possible.
The reading of the parameter data is started with an edge 0-1 at Execute. Busy is TRUE
as soon as reading of parameter data is running. After the parameter data was read,
Busy with FALSE and Done with TRUE is returned. The output Value shows the value of
the parameter.
An active job continues to run even when Execute is set to FALSE.
Description
PLCopen-State
Read drive parameter data
VIPA SPEED7
Motion control - Simple Motion Control Library
Blocks for axis control > Complex motion tasks - PLCopen blocks
HB00 | OPL_SP7 | Operation list | en | 18-30 600