MC_MoveVelocity

Zastosowanie: |
PLC |
SIM |
Opis skrótowy:
This Function Block commands a never ending controlled motion at a specified velocity.
wejścia (8 sztuk):
nr |
typ |
impuls |
oznaczenie |
uwagi |
1 |
B |
tak | Execute | Start the action at rising edge |
2 | B | nie | ContinuousUpdate | |
3 | REAL | nie | Velocity | Value of the maximum ‘Velocity’ (not necessarily reached) [u/s] |
4 | REAL | nie | Acceleration | Value of the ‘Acceleration’ (always positive) (increasing energy of the motor) [u/s2 ] |
5 | REAL | nie | Deceleration | Value of the ‘Deceleration’ (always positive) (decreasing energy of the motor) [u/s2 ] |
6 | REAL | nie | Jerk | Value of the ‘Jerk’ [u/s3 ]. (always positive) |
7 | INT | nie | Direction | Enum type (1-of-4 values: mcPositiveDirection, mcShortestWay, mcNegativeDirection, mcCurrentDirection) |
8 | INT | nie | BufferMode | Defines the chronological sequence of the FB. See 2.4.2 ‘Aborting versus Buffered modes’ |
wyjścia (6 sztuk):
nr |
typ |
impuls |
oznaczenie |
uwagi |
1 |
B |
nie |
InVelocity |
Commanded velocity reached |
2 | B | nie | Busy | The FB is not finished and new output values are to be expected |
3 | B | nie | Active | Indicates that the FB has control on the axis |
4 | B | nie | CommandAborted | ‘Command’ is aborted by another command |
5 | B | nie | Error | ‘Signals that an error has occurred within the Function Block |
6 | INT | nie | ErrorID | Error identification |
ustawienia:
nr |
typ |
nazwa |
uwagi |
1 | INT | AxisID | numer skojarzonej osi |
opis działania:
Uwagi:
- To stop the motion, the FB has to be interrupted by another FB issuing a new command
- The signal ‘InVelocity’ has to be reset when the block is aborted by another block.
- Negative velocity * negative direction = positive velocity
- In combination with MC_MoveSuperimposed, the output ‘InVelocity’ is SET as long as the contribution of this FB (MC_MoveVelocity) to the set velocity is equal to the commanded velocity of this FB.
Używane rejestry R i znaczniki M: brak