Mc_Writeboolparameter - Delta AX Series Instruction Manual

Motion controller
Hide thumbs Also See for AX Series:
Table of Contents

Advertisement

AX- Ser i es Mo t i o n Co n t r o l l er I n s t r u c t i o n s Ma n u a l

2.2.6 MC_WriteBoolParameter

Supported Devices: AX-308E, AX-8, AX-364E
MC_WriteBoolParameter writes a Boolean value to a specific parameter.
FB/FC
Instruction
MC_WriteBool
FB
Parameter
Inputs
Name
Execute
ParameterNumber
Value
Outputs
Name
True if the Boolean value is written
Done
successfully.
True when the function block is
Busy
being run.
Error
True when an error occurs.
Record the error code when an
error occurs.
ErrorID
Refer to Appendix for error
code descriptions.
*Note: SMC_ERROR: Enumeration (Enum)
Graphic Expression
Function
Run the function block.
Number of the parameter to
be written.
Boolean value to be written
to the parameter.
Function
Setting
Value
Data Type
(Default
Value)
True/False
BOOL
(False)
Positive,
DINT
negative, or 0
(0)
True/False
BOOL
(False)
Data Type
BOOL
BOOL
BOOL
SMC_ERROR*
ST Language
MC_WriteBoolParameter_instance(
Axis : =,
Execute : =,
ParameterNumber : =,
Value : =,
Done =>,
Busy =>,
Error =>,
ErrorID => );
Timing to Take Effect
-
When Execute turns to True and
Busy is False.
When Execute turns to True and
Busy is False.
Output Range (Default Value)
True/False (False)
True/False (False)
True/False (False)
SMC_ERROR (SMC_NO_ERROR)
Ch a p t er 2
11 8

Advertisement

Table of Contents
loading

Table of Contents