
adccommunitymod (AutomationDirect) asked a question.
Created Date: April 27,2016
Created By: MRNewbie
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hi all, I am programming a new machine, and I would like to program a timer to display from the PLC to the HMI. I am using a Direct Logic 205, running Do-More ver. 1.42, and the HMI is running C-More ver.2.78. Something like start timer when Y0 activates, and stop timer when Y0 activates again, and display running value on screen. Fairly new to programming and doing research on how to do this. Any help or pointers will be very appreciated.
Created Date: April 27,2016
Created by: MRNewbie
Hi all, I am programming a new machine, and I would like to program a timer to display from the PLC to the HMI. I am using a Direct Logic 205, running Do-More ver. 1.42, and the HMI is running C-More ver.2.78. Something like start timer when Y0 activates, and stop timer when Y0 activates again, and display running value on screen. Fairly new to programming and doing research on how to do this. Any help or pointers will be very appreciated.
Created Date: April 28,2016
Created by: bcarlton
3 Rungs:
Rung 1 - create a one shot of Y0 to a C bit - let's say C0
Rung 2 - If C0 then move timer (created in Rung 3) accumulator to display register
Rung 3 - if NOT C0 then enable a timer - set the Preset for greater than the expected range of cycle times, perhaps just the maximum possible.
In the HMI display the value in the register written to in Rung 2. The value will update each cycle (the first actuation of Y0 will show 0)
Created Date: April 29,2016
Created by: MRNewbie
Awesome! thank you.