Sample program for programmable day / week timer?

keristos

Member
Join Date
Aug 2011
Location
Malta
Posts
65
I am looking for a sample program or user defined block for connected components workbench to be able to set and view timers for an output to be able to be switched on/off throughout a week.

For example on

Mon/Wed/Fri - 8:00 - 18:00 - Timer ON
Tue/Thur/Sat - 13:00 - 16:00 - Timer ON

I'm looking for one which is variable and ideally one I could interface with an HMI display. I can't seem to find anything on the rockwell sample programs =/

Thank you
 
AB Panelview HMIs have clocks in them which the PLC can read. They are more reliable than setting timers in the PLC, and would be very simple to accomplish.
 
AB Panelview HMIs have clocks in them which the PLC can read. They are more reliable than setting timers in the PLC, and would be very simple to accomplish.

Thank you for your reply. I understand that the HMI (T4T) in my case have built in clocks, but how would you suggest I implement logic to check the day of week / time compared to the 'timer' settings to see if an output should be ON or OFF?
 
I'm not sure I understand what you're trying to accomplish. I played with it a little to just make a conditional out based on day and time and I found the hour minute thing to be a little tricky, so I came up with this.

Capture.PNG
 
Thank you, I am using connected components though and I can't seem to find a way to get the HMI clock data.
 
Oh I get it now. I've never used connected components, but in AB FactoryTalk Studio there is a tab in the explorer window under System called Global Connections. That is where you assign a tag for the PLC to read the HMIs clock.
 
Oh I get it now. I've never used connected components, but in AB FactoryTalk Studio there is a tab in the explorer window under System called Global Connections. That is where you assign a tag for the PLC to read the HMIs clock.

Thank you, I'll look into it further.
 

Similar Topics

Hi! I am trying to run the 'SimpleSample' (https://infosys.beckhoff.com/content/1033/TF5100_TC3_NC_I/Resources/3438746891/.zip ) to understand the...
Replies
2
Views
98
Hi everyone, Good day! Do you have any sample PCS7 program using SFC Type/Instance? Thanks in advance
Replies
0
Views
665
Hi, I am looking for a sample PLC program with Load cell XBF LD02S. can anybody help me with that??
Replies
1
Views
1,205
Can any one post sample programming blocks for the following 1.1 duty and 1 stand by pump logic
Replies
2
Views
1,378
anyone have sample program of Pro-Set 200 from Allen Bradley? or any other injection molding sample? i'm struggling on upgrading old injection...
Replies
0
Views
1,550
Back
Top Bottom