Tightening machines control
From PlcWiki
NOK tightening handling
NOK tightening can be handled by PLC Client by the following ways:
- No special action
- Activate reverse run (see Reverse run control bellow)
- Responsible confirmation
- Stop the conveyor
Reverse run control
It is possible to set tightening operations to control their reverse run. The following parameter is used for this feature:
operation.name.ActivateReverseRunAfterNOK = No | Yes
The loosening job (or Pset or cycle) needs to be defined in tightening machine. If the above parameter is set to "Yes", then this job is automatically selected after NOK tightening. The original job is returned back after the loosening result is received.
If the tightening job is set like that the switch to the reverse run is not enabled, this feature allows loosening only after NOK tightening. If the screw was OK tightened, the operator shouldn't be able to unscrew it.
The default reverse run job number is 99 for machines Atlas Copco and 0 for Georges Renault. In this case it is necessary to specify it in the configuration file by a following parameter (for example):
workplace.devicehub.tmachine_io_combo_1.high_level.device.tmachine_1.settings.looseningjobnumber = 7
If the loosening follows after OK result, the count of reached OK-done screws is decreased by 1. If the previous tightening was NOK or if the count of reached screws is zero, then the count is not decreased.
It is possible to use following bar codes to switch the reverse run on and off. A responsible person (for example the shift leader) can use these barcodes to have the control of an assebly process.
PLCEREVTM<Channel Number> - Enable REVerse run. The common value of <Channel Number> is 1. So for example PLCEREVTM1 PLCDREVTM<Channel Number> - Disable REVerse run. The common value of <Channel Number> is 1. So for example PLCDREVTM1
Barcodes for the tightening machines control
PLCUBTM - UnBlock Tightening Machine
PLCDBTM - Disable Blocking of Tightening Machine
PLCEBTM - Enable Blocking of Tightening Machine
PLCTMJOB<JobNumber> - Selects a tightening job or Pset (or cycle)
PLCEREVTM<Channel Number> - Enable REVerse run. The common value of <Channel Number> is 1. So for example PLCEREVTM1
PLCDREVTM<Channel Number> - Disable REVerse run. The common value of <Channel Number> is 1. So for example PLCDREVTM1