MC_GrpWriteParam
Function Block A function block groups an algorithm and a set of private data. It has inputs and outputs. - Writes a value to the specified group parameter.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
Execute |
BOOL |
0, 1 |
N/A |
No default |
On the rising edge A rising edge is the transition of a digital signal from low to high. It is also called positive edge, request to write a value to the specified Boolean group parameter. |
AxesGroupRef |
No range |
N/A |
No default |
The axis group the Boolean parameter value is written to. |
|
ParamNum |
LREAL |
LREAL |
No default |
Currently, one parameter is supported:
|
|
ParamValue |
LREAL |
Parameter dependent. |
Parameter dependent. |
No default |
The new value for the group parameter. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Done |
BOOL |
|
|
If TRUE, the command completed successfully. |
Busy |
BOOL |
|
|
If TRUE, the function block is executing. |
Error |
BOOL |
|
|
If TRUE, an error has occurred. |
ErrorID |
INT |
|
|
Indicates the error if Error output is TRUE. See the table in PLCopen Function Block ErrorIDs. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller for more information.
- See Coordinated Motion, the top-level topic for Coordinated Motion.
- See Function Blocks - General Rules for more information about how inputs and outputs work.
Figure 6-125: MC_GrpWriteParam
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
Inst_MC_GrpWriteParam( DoExecute, Group1_ref, MC_GRP_PARAM_CIRCLE_TOLERANCE, CircleTolerance );
See Also