Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - speedyfox

Pages: [1]
1
Technical support / Re:Real Time Clock
« on: August 14, 2008, 09:58:13 PM »
Thanks all for your help.  I had it right from the start.  Apparently TriLOGI software had faulted.  I noticed that the TRI software clock was skipping minutes and running faster than the PC clock.  So I closed & restarted the program.  After that the custom function worked just fine....go figure.   Talk soon!

2
Technical support / Re:Real Time Clock
« on: August 14, 2008, 02:30:39 PM »
Any Idea's anyone?  This code should run in simulation correct?  Just making sure I don't have to download it to ??? the PLC to test.

3
Technical support / Re:Real Time Clock
« on: August 13, 2008, 08:15:58 PM »
Thanks for the feedback.  I also managed to find an example in the book (Page A1-9) however when I ran the script with my settings it didn't turn on output 5 per the code.

Maybe I am doing something obviously wrong...not sure.  Below is what I coded.

If DATE[3]=3
   If TIME[1]=21 AND TIME[2]=55 SetBIT OUTPUT[1],4:ENDIF
   If TIME[1]=22 AND TIME[2]=0 SetBIT OUTPUT[1],4:ENDIF
   ENDIF
ENDIF

The latter logic was the following...
   Tim30s                        Fn_1
----I I---------------------{dCusF}

   Tim30s                       Tim30s
----I I------------------------(TIM)


4
Technical support / Real Time Clock
« on: August 11, 2008, 07:08:42 PM »
I have the T100MD+ PLC and I understand that you can use the real time clock to trigger events?

The book talks about this a little bit on page 10-4 however I can't find any reference on
how to do write the code so I can do the following:

I am needing to set a timed event.  I want to trigger a digital output to activate once a
week for a duration of 30seconds.  Can any one please give me some guidence on how to go about
this?

I learned how to program PLC's about 10 years ago in school but haven't messed with them again until now.

Thanks

Pages: [1]