Move Velocity
Original instructions
Description
This function is used to generate a pulse output at a specified frequency, by reaching this frequency smoothly through an acceleration ramp.
Physical Inputs/Output
Input/Output
Description
Drive_Ready&Emergency input (optional)
The pulse output is generated as long as a current goes through Drive_Ready&Emergency input.
Proximity&LimitSwitch input (optional)
Used as LimitSwitch.
Drive_Enable output:
To be connected to the corresponding input of the drive.
Enables the drive when active.
This output is directly controlled by the user through an implicit command object (%Qr.m.c.0).
Configuration Parameters
Parameter
Valid Values
PTO Output Mode
Value 0: Pulse + Direction (Default)
Value 1: CW/CCW
Value 2: A/B Phases
Value 3: Pulse + Direction – Reverse
Value 4: CW/CCW – Reverse
Value 5: A/B Phases – Reverse
Acceleration / Deceleration Unit
ms or Hz/2ms
Default is ms
Representation in FBD
Representation:
Representation in LD
Representation:
WARNING
UNINTENDED APPLICATION BEHAVIOR-COMMAND SENT ON EACH PLC CYCLE
Commands will be sent on every PLC cycle if EN is set to 1.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Representation in IL
Representation:
MOVEVELOCITY (CH := (*ANY_IODDT*), TARGET_VELOCITY := (*DINT*))
ST (*BYTE*)
Representation in ST
Representation:
(*BYTE*) := MOVEVELOCITY (CH := (*ANY_IODDT*), TARGET_VELOCITY := (*DINT*));
Command example using the WRITE_CMD command mechanism in ST representation:
if (ChangeVel = True) then  %CH0.1.0.CMD_CODE := 2;  %CH0.1.0.TGT_VELOCITY := 5000; WRITE_CMD(%CH0.1.0); ChangeVel := False; end_if;
Command Specific Parameters
Parameter
Valid Values
Target Velocity (in Hz)
-200 kHz to 200 kHz
Absolute value limited by Max Frequency
Adjustment Parameters
Parameter
Valid Values
Start Frequency (in Hz)
0 Hz to 65,535 Hz, default is 0Hz, limited by Max Frequency
Stop Frequency (in Hz)
0 Hz to 65,535 Hz, default is 0Hz, limited by Max Frequency
Acceleration Rate
10 to 32,500, default is 100, limited by Max Acceleration
Deceleration Rate
10 to 32,500, default is 100, limited by Max Deceleration
Emergency Deceleration Rate
10 to 32,500, default is 100, limited by Max Deceleration
Overall Parameters
This table describes all the functional parameters associated to the function.
Explicit Command Parameters
Setting Parameters
Adjustment Parameters
Address
Parameter
Address
Parameter
Address
Parameter
%MWr.m.c.6 (byte 0)
Command Code (=2)
%KWr.m.c.1(byte 0)
Output Mode
%MWr.m.c.18
Start Frequency
%MDr.m.c.10
Target Velocity
%KWr.m.c.1(byte 12)
Acc/Dec Unit
%MWr.m.c.19
Stop Frequency
%KWr.m.c.4
Acc Max
%MWr.m.c.20
Acceleration Rate
%KWr.m.c.5
Dec Max
%MWr.m.c.21
Deceleration Rate
%KDr.m.c.6
FMax
%MWr.m.c.25
Hysteresis