Hello,
Is it possible to calibrate touch panel PP45 if this option was not provided by developer?
Thank you
Hello @Matjaz_Kopac ,
Here is the possibility how to manually recalibrate the touchscreen.
RUC/PVI Transfer:
- Create a dummy project to calibrate the target
- Connect to the target
- Upload the “good” Calibration Data to the RUC (“vcdata.br” on older VC Versions, on newer versions the data is stored in “VisuHW.br”)
- Start the Target with the Original project
- Connect to the target and overwrite the vcdata.br or VisuHW.br file with the previously uploaded dummy one
But if you/your customer observed a touch issue, it also could be that it is caused by the change in resistance and this hw problem you can usually not fix with the re-calibration anyhow.
Hello,
Thank you for this information. Two more questions regarding this procedure:
- Just to confirm, if I understood correctly: When the calibration is done, file vcdata.br (or VisuHW.br) on the PLC is overwritten with new settings?
- Do we need exactly the same version of AS as it was used for original application?
Hello,
Depending on the VC4 version, the calibration will be on different locations.
Originally the calibration data was stored in the device´s internal flash memory. vcdata.dat for VC4 and user_tcal.txt for VC3.
If the calibration is done with a VC4 object, both files are created on drive B:, which is the drive letter for the internal memory. If its done with a VC3 object, just user_tcal.txt is created.
Since AS 2.6 the calibration data from VC4 objects are stored in the vcdata.br dataobject, which is located in the USRROM. Its possible to treat this module like a dataobject.
With AS 2.6 and VC3 the file Tcal.dat is created on the CF in the folder RPSHD\VCDATA after calibration.
Hence the calibration data are stored on the Compact Flash in both cases.
In earlier versions (prior to VC 4.14.1) the calibration is being stored in a B&R Datamodule called “vcdata”, so you’d find it in Software Comparison view of Automation Studio under node “Data Objects”.
In newer VC Runtime versions (beginning with VCRT 4.15.0), the name of the datamodule has been changed to be able to support more than 1 visualization on one target (e.g. for VNC server targets). The name consist now of the VC project name + “HW”, so if the name of the visu is “Vis”, then the calibration data object name is “VisHW”.
If there is VC4, you can calibrate the screen with a different project using the same VC4 version then upload the vcdata.br and then download the calibration to the running target using Runtime Utility Center.