Explanation of the timing points in the above sequence diagram:
The LCCAL instruction is enabled and the CPoint value and the flags Trigger, Done, ADone and Error are all
cleared automatically.
Trigger the calibration flag.
The instruction finds a module number error and displays the error code of LC module number error
Disable the LCCAL instruction.
After a trigger, the LC module completes the single-point calibration and the CPoint value is added by 1 and the
Done flag changes to ON.
Clear the trigger signal flag Trigger.
Subsequently, the Done flag is cleared by the instruction.
After a trigger, the LC module completes the entire calibration and the CPoint value is added by 1 and both of
the flags Done and ADone change to ON.
Example
When PLC runs, the value of the first point for calibration weight is 0 written in D0 and D1. The value of the second point
for calibration weight is 500.0 written in D2 and D3.
When M0 switches to ON, you can use DLCCAL instruction to calibrate.
Make sure there is no load on the weighing platform. Set M50 to ON and then start zero correction (set the value of
the first point to zero). When D100 = 1 and M100 is ON, you have the first point calibrated. M50 switches to OFF.
Put a 500 g weight on the weighing platform, set M50 to ON and then start a 500 g calibration for the second point.
When D100 = 2 and M101 is ON, you have the second point calibrated. M50 switches to OFF and MO to OFF.
Cha p ter 6 App l ied Ins truc tio ns
6_
6-467