This topic contains a description of the SMOVE function parameters with code 22.
The SMOVE function should be used to program a "Flying Shear" movement with the following syntax: SMOVE %Chr.m.1(N,Gp,22,Dist,Vit,M)
Parameter
|
Description
|
%Chr.m.1
|
Channel 1 address
|
N
|
Movement Number
|
Gp
|
Preparatory code. Possible values are:
-
90 : Normal cut
-
98 : Cut on event
|
22
|
Specific instruction code for flying shear
|
Dist
|
Cutting length
|
Vit
|
Speed for return to idle point
|
M
|
Initialization of cut counter
|
Where:
-
(Dist/K0) < modulo/2
-
(Dist/K0) * K0 * Movement ratio > (PointSynchro - PointRepos)
-
Vit <= Vmax
-
M = 0 or 16#0100. If M = 16#0100, the counter is then initialized at 0 then incremented if the cut is performed
-
The movement programmed can only be executed under the following conditions:
Axis conditions
Axis 0
|
Axis 1
|
Channel 0 should be configured as an infinite machine. It is advisable to enter the maximum value authorized into the modulo, so that the cutting length of the product is not limited.
|
The channel 1 "Flying Shear" utility must be configured
|
Channel 0 should not have a blocking fault
|
The operating mode should be set to automatic
|
It is essential that the numerator product for the Movement ratio with the K0 numerator be less than 230
|
Axis 1 should be referenced
|
It is essential that the denominator product for the Movement ratio with the K0 denominator be less than 230
|
The drive should be Enable
|
The K0 ratio should be between 0.01 and 5
|
The cart should have come to idle. The preceding movement should be a G09 or G22 and should have the idle position as a position setpoint.
The distance between the * K0 * Movement ratio synchronization idle point and end point should be more than modulo/2 on channel 0
|
-
|
Code G98:
|
Only the SMOVE with G22 instruction saves the control source point to memory. All other instructions or mode changes erase this memory.
If there is no control source point in the memory upon the next SMOVE with G22 instruction, the new control source point is equal to the conveyor belt position at the point at which the instruction was received plus the length of the Dist cut passed to parameters.
Dynamic Condition for Refusing Command
A command is refused if:
When starting the tool, the module states:
Either the belt speed is too great in relation to the Vmax cart speed,
or the synchronization distance is more than the distance between the synchronization point and the rest point.
Warning on SMOVE with G22 "Value exceeded"
A warning is generated if the module states, when receiving the SMOVE with G22 instruction:
-
Either that the belt is too close to the control source point to cut, in which case, the module will calculate a new control source, which will allow cutting with the following formula:
New control source point = n * Dist + last control source point, where n is the smallest whole number which allows the cutting cycle to be implemented
-
Or that the control source point has been exceeded, in which case, the FAIL_CMD_AUTO_COTE_DEPASSE 0x0042 Warning is given to the PLC at the beginning of the execution of G22.
A sensor detects the course of the product to be cut. When the event is received, the module memorizes the belt position and calculates the cutting point according to the following formula:
Control source point = Memorized position + Cutting distance on event.
The Dist parameter should have a value more than the cutting length on event so that the event triggers the tool. This forms a security system, if the event does not intervene during the final cutting distance.
Be careful not to disturb the event input on channel 0 when cutting on event.
To perform an immediate cut, the module should be in waiting phase 0 for starting a cart with the SMOVE with G22 instruction and receive a CoupeIm(%Qr.m.1.20) rising edge command. The module will calculate the minimum cutting distance for a shorter piece than the one currently being carried out. The cutting position is saved as the control source for the next cut.
If the cart begins to move, the command for an immediate cut is ignored.
After carrying out each cutting instruction, the cut counter (%Iwr.m.1.7) is increased.
While executing a G22, it is possible to prepare and send the module the consecutive cutting order at the end of the current cut, which can be identical or different to the current cut.
To halt the cutting operations using the cart at the rest point, it is possible to:
-
No longer send G22 and allow the current cuts (or those queuing in the module) to be completed
-
Send a Pause order to allow the current cut to be completed without moving on to the orders queuing in the module
-
Send a STOP order when the G22 is waiting (%Ir.m.1.44)
The Feed hold command (via the CMV command reset) is ineffective.
The CMV alteration is ignored during the SMOVE with G22 command. Only the current CMV value present from the start of the command is taken into account.
A blocking fault on channel 1 stops the cart by exiting the synchronization status axis where it is.
NOTE: Alterations to your own parameters for the flying shear are only adapted when the cart is at the rest point.
Comment: Detailed editing of the SMOVE with G22 instruction is not currently possible.
Tool Output Operating Mode
In manual mode, this is the strict copy of the AUX_OUT (%Qr.m.1.11) output bit.
In automatic mode, it is set by the M parameter for ALL instructions with a G code.
During a G22 code instruction, the status depends upon:
-
The current position of the cart
-
The parameters: Tool down position, Tool up position, Tool up time.
-
The InhibTool (%Qr.m.1.21) command.
Tool descent always takes place on the Tool down position, without the use of a time delay.
The tool rechucking takes place on a position, after the Tool up time. The position is set either by the Tool up position on the adjustment screen, or by the tool rechucking event if the Tool up on event. box is checked.
If the Tool up on event. box is checked, and the expected tool deactivation event does not occur, the Tool up time will be triggered on the way to the Tool up position.
Upon ordering STOP (%Qr.m.1.15) the tool rechucks immediately, without any time delay. The axis begins to stop after the Tool up time. If this time delay is zero, a value of 4ms is used.
During a SMOVE with G22 command, when the InhibTool (%Qr.m.1.21) command is at 1, the auxiliary output is forced to 0. Therefore, the tool remains chucked, regardless of the cart's position. If the tool was low, it is immediately rechucked, without using any time delay.
If the Tool up on event. box is checked, the EXT_EVT (%Qr.m.1.10) command allows the tool to be rechucked before waiting for the Tool up position.