Hello All,
I recently posted inquiring about a Real Time Clock, instead I have been asked to create a PLC program that uses Timer, Counter, and One Shots to count the day of the week and time in the day (hh:mm:ss) format and display and display it in as a string file. So I understand how to use TON and CTU - somewhat, still VERY new to PLC programing - in my program I have 3 timers that count up to equal 1 second, 1 minute, 1 hour. I know I need to reset the timers and have the counters count up when each timer gets to the ACC (before it resets). So I am confused about how/why to use a OSR and I don't have a clue as to how to display the Day and Time in a string file.
I am using an emulator for RSLogix 500. I am running this on a vert XP machine that is on a 7 64bit.
I have been searching for day on how to do this but I am just getting more and more lost and confused. If any one could help I would appreciate it greatly. Thank You in advance.
I recently posted inquiring about a Real Time Clock, instead I have been asked to create a PLC program that uses Timer, Counter, and One Shots to count the day of the week and time in the day (hh:mm:ss) format and display and display it in as a string file. So I understand how to use TON and CTU - somewhat, still VERY new to PLC programing - in my program I have 3 timers that count up to equal 1 second, 1 minute, 1 hour. I know I need to reset the timers and have the counters count up when each timer gets to the ACC (before it resets). So I am confused about how/why to use a OSR and I don't have a clue as to how to display the Day and Time in a string file.
I am using an emulator for RSLogix 500. I am running this on a vert XP machine that is on a 7 64bit.
I have been searching for day on how to do this but I am just getting more and more lost and confused. If any one could help I would appreciate it greatly. Thank You in advance.