Mc_Writeparameter - 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.4 MC_WriteParameter

Supported Devices: AX-308E, AX-8, AX-364E
MC_WriteParameter writes a value to a specific parameter.
FB/FC
Instruction
FB
MC_WriteParameter
Inputs
Name
Execute
ParameterNumber
Value
Outputs
Name
True if the value is written
Done
successfully.
True when the function block is being
Busy
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)
Output Updating Time
Name
Graphic Expression
Function
Run the function block.
Number of the parameter to
be written.
Value to be written to the
parameter.
Function
Timing for Shifting to True
Data
Setting Value
Type
(Default Value)
True/False
BOOL
(False)
Positive,
DINT
negative, or 0 (0)
Positive,
LREAL
negative, or 0 (0)
Data Type
BOOL
BOOL
BOOL
SMC_ERROR*
ST Language
MC_WriteParameter_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)
Timing for Shifting to False
Ch a p t er 2
11 2

Advertisement

Table of Contents
loading

Table of Contents