MCA_Parameter (FB)

FUNCTION_BLOCK MCA_Parameter

This function block can be used to change the default values of the following parameters:

../../../../../../_images/plcopen.png
  • Target position window. The default value is 10 units.

  • Target velocity window. The default vaule is 10 units.

  • Maximum fieldbus delay. If this value will be exceeded then it will be assumed that there is a communication error

Note

The block MCA_Parameter has to be used to adjust the velocity limit when velocities < 10 u/s should be used (10 u/s: default value).

  • The parameter v_Window defines the limit for the axis to reach its target velocity or standstill

  • This detection will not work properly when smaller velocities are used, especially the block MC_StepLimitSwitch will not stop the axis when reaching the switch!

InOut:

Scope

Name

Type

Initial

Comment

Input

BusDelay

TIME

TIME#1s0ms

A delay time to wait for fieldbus data. When the delay time is too long, the reaction time of function blocks might be increased, while when it is too short an error might be indicated although everything is ok

PosWindow

LREAL

10

The limit for the axis to reach it´s target position

V_Window

LREAL

10

The limit for the axis to reach it´s target velocity

Inout

Axis

Axis_Ref

Reference to axis