Icon

Up Down Movement Counter

This application is used to detect 0.1Vdc changes in a 0-10Vdc signal. Two relays will transmit any positive or negative 0.1Vdc changes allowing an external counter to count overall movement. This movement will not be more than one 0.1Vdc change per second. A final input will be used to stop change count of the 0-10Vdc signal (drill head) whilst it is being raised (a new drill section is being inserted or removed). Faster times can be achieved by changing the timer value, timer values below 30ms will not give consistent results due to the speed of the relay contacts.

Operating Description

When the stop input is active;
  • "Cnt Drill" is made the same value as the input of CH1 ("Drill") and both the up and down relays are off.
  • When in run mode;
  • If a relay is on it is switched off then exit.
  • If the input is greater than "Cnt Drill" + Con_a then the up relay will be switched on and the value in "Cnt Drill" will be increased by Con_a then exit.
  • If the input is less than "Cnt Drill" - Con_a then the down relay will be switched on and the value in "Cnt Drill" will be decreased by Con_a then exit.

Declarations


USC Component Description
CH1 "Drill" 0 to 10Vdc position input reading
P1 Stop Input
RLY1 Up output
RLY2 Down output
M4 "Cnt Drill"
Con_a Change value (0.5)
Timer enable: Y
Timer value: 0.1 (relay on time and half the sample time for the system).
Update on in: N

USC Programs


File Comment
Help If unexpected results occur when loading the .usc file press back and click on help for instructions.
UAP00131.usc First Issue.
UAP00132.usc Convert to USC config 105 standard.