MLAxisWriteParam
This function/function block was added in KAS v4.05.
Function Block - Write an axis property for a Pipe Network Axis.
Inputs
|
Input |
Data Type |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
AxisID |
DINT |
1 to 1024 |
N/A |
No default |
ID of the Axis block. |
|
ParameterNumber |
INT |
Enumerated |
N/A |
No default |
See Axis Parameters. |
|
Value |
LREAL |
No range |
N/A |
No default |
State to write. |
Outputs
|
Output |
Data Type |
Range |
Unit |
Description |
|---|---|---|---|---|
|
OK |
BOOL |
FALSE, TRUE |
N/A |
Indicates whether this function block has completed without error. |
Remarks
None
Axis Parameters
|
ID |
Parameter |
Name |
R/W |
Update Rate Type |
Description |
|---|---|---|---|---|---|
|
1036 |
ML_AXIS_PARAM_SIM_CLOSING |
Simulator Distance |
Read / Write |
This setting affects how responsive a simulated axis is to changing command positions.
Values use these ranges:
|
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
(* Set perfect following for simulated axes *)MLAxisWriteParam(PipeNetwork.AXIS1, ML_AXIS_PARAM_SIM_CLOSING, LREAL#1.0);
See Also







