I am trying to program a PLC so when an assembly line breaks down, the
operator can turn a switch, which will then put a message up to the
LED display that is away in the plant. The message is scrolling across
the LED display as follows:
273=line #
time=seconds
motors=variable of why line is down
DISPLAY SHOWS: 273<space>(amount of time the line has been
down)<space>motors.
The program works so whichever line is down, and whatever reason it is
down (no motors, no dunnage, changeover etc...) the message will be
displayed. I just need the timer to be able to count how long the
line has been down i.e. (the switch has been turned on). I use the
count up (CTU) function but then I get the time in seconds. Does
anyone know the best way to program a counter or timer function to
display a time format, i.e. 9:58, instead of just displaying the
seconds. Below is what I need:
WHAT I HAVE: 273 458 motors
WHAT I NEED: 273 9:58 motors
Please send an email to [email protected] or post a reply.THANKS FOR YOU ADVICE.
Matt
operator can turn a switch, which will then put a message up to the
LED display that is away in the plant. The message is scrolling across
the LED display as follows:
273=line #
time=seconds
motors=variable of why line is down
DISPLAY SHOWS: 273<space>(amount of time the line has been
down)<space>motors.
The program works so whichever line is down, and whatever reason it is
down (no motors, no dunnage, changeover etc...) the message will be
displayed. I just need the timer to be able to count how long the
line has been down i.e. (the switch has been turned on). I use the
count up (CTU) function but then I get the time in seconds. Does
anyone know the best way to program a counter or timer function to
display a time format, i.e. 9:58, instead of just displaying the
seconds. Below is what I need:
WHAT I HAVE: 273 458 motors
WHAT I NEED: 273 9:58 motors
Please send an email to [email protected] or post a reply.THANKS FOR YOU ADVICE.
Matt