Tightening machines control
From PlcWiki
(→Setting batch size) |
|||
(3 intermediate revisions not shown) | |||
Line 49: | Line 49: | ||
WorkPlace.Tightening.StrictPSetCheck = Yes | WorkPlace.Tightening.StrictPSetCheck = Yes | ||
+ | |||
+ | == Strict check of tight count == | ||
+ | |||
+ | tolerance - tightening machine wil be blocked when plan + ToleranceOverPlan is reached | ||
+ | |||
+ | strict - tightening machine wil be blocked when plan is reached | ||
+ | |||
+ | none - tightening machine will not be blocked | ||
+ | |||
+ | WorkPlace.Tightening.AutoStopTmachine = Tolerance | Strict | None | ||
+ | |||
+ | Can be set by parameter | ||
== Setting batch size == | == Setting batch size == | ||
Line 55: | Line 67: | ||
To activate this, you need to set SetBatchSize = yes in the appropriate device settings: | To activate this, you need to set SetBatchSize = yes in the appropriate device settings: | ||
- | # Update CLEVER Workstation Client (plc_client) to a version | + | # Update CLEVER Workstation Client (plc_client) to a version 1202171015 or higher |
- | + | ||
# Set the configuration parameter (an example, check the device name) | # Set the configuration parameter (an example, check the device name) | ||
workplace.device.ac3000_1.settings.SetBatchSize = yes | workplace.device.ac3000_1.settings.SetBatchSize = yes | ||
+ | |||
== Unlocking tool after NOK result == | == Unlocking tool after NOK result == | ||
Line 65: | Line 77: | ||
To activate this, you need to set UnlockAfterNOK = yes in the appropriate device settings: | To activate this, you need to set UnlockAfterNOK = yes in the appropriate device settings: | ||
- | # Update CLEVER Workstation Client (plc_client) to a version | + | # Update CLEVER Workstation Client (plc_client) to a version 1202171015 or higher |
# Set the configuration parameter (an example, check the device name) | # Set the configuration parameter (an example, check the device name) | ||
workplace.device.ac3000_1.settings.UnlockAfterNOK = yes | workplace.device.ac3000_1.settings.UnlockAfterNOK = yes | ||
+ | |||
+ | |||
+ | |||
+ | == Atlac Copco PF machine configuration changes == | ||
+ | required to support batch size setting and locking the tool after NOK result | ||
+ | |||
+ | [[http://oko.clever.cz/~plc/doc/pub/Instellingen%20PF%20controller.pdf PDF]] |
Current revision as of 13:23, 6 October 2015
Contents |
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
Strict check of tightening program
A standard client behavior when the tightening data are being received is that the client searches all tightening operations for the one with a same tightening program as it is in the received tightening result. If no group with the same program is found, the current active group is not changed and the tightening result is assigned to it. It is possible to activate a feature called Strict check of tightening program, when the tightening program of the received data is compared with a program defined for the current active group. If it is a different one, the tightening data are not accepted (they are not assigned to any tightening group) and the tightening machine is blocked. To activate that strict logic on the station it is needed:
- Update CLEVER Workstation Client (plc_client) to a version 10.47.71 1112130354 or higher
- Set the configuration parameter
WorkPlace.Tightening.StrictPSetCheck = Yes
Strict check of tight count
tolerance - tightening machine wil be blocked when plan + ToleranceOverPlan is reached
strict - tightening machine wil be blocked when plan is reached
none - tightening machine will not be blocked
WorkPlace.Tightening.AutoStopTmachine = Tolerance | Strict | None
Can be set by parameter
Setting batch size
If the tightening machine is configured to lock the tool after the batch is done, the client needs to send updated batch size each time it changes program (pset). To activate this, you need to set SetBatchSize = yes in the appropriate device settings:
- Update CLEVER Workstation Client (plc_client) to a version 1202171015 or higher
- Set the configuration parameter (an example, check the device name)
workplace.device.ac3000_1.settings.SetBatchSize = yes
Unlocking tool after NOK result
If the tightening machine is configured to lock the tool after NOK tightening, the client needs to unlock the tool after NOK result. To activate this, you need to set UnlockAfterNOK = yes in the appropriate device settings:
- Update CLEVER Workstation Client (plc_client) to a version 1202171015 or higher
- Set the configuration parameter (an example, check the device name)
workplace.device.ac3000_1.settings.UnlockAfterNOK = yes
Atlac Copco PF machine configuration changes
required to support batch size setting and locking the tool after NOK result
[PDF]