MC_WriteBoolParameter
This function block writes a boolean parameter value to the axis.
The command is typically processed synchronously.
Syntax
Definition:
FUNCTION_BLOCK MC_WriteBoolParameter
VAR_INPUT
Axis : Type_PtpReadWriteParameter;
Execute : BOOL;
ParameterId : EAxisParameterId;
Value : BOOL;
END_VAR
VAR_OUTPUT
Done : BOOL;
Busy : BOOL;
Error : BOOL;
ErrorId : UDINT;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
Axis |
Reference to the axis | |
|
Execute |
BOOL |
Trigger the command with rising edge. |
|
ParameterId |
Identifier of the parameter to write. | |
|
Value |
BOOL |
Value of the parameter to write. |
Outputs
|
Name |
Type |
Description |
|---|---|---|
|
Done |
BOOL |
Parameter value has been successfully written. |
|
Busy |
BOOL |
Function block is not finished. |
|
Error |
BOOL |
Error occurred within function block. |
|
ErrorId |
UDINT |
Error identifier |