Jump to content

Flex727

MVP 2023
  • Posts

    3,325
  • Joined

  • Last visited

  • Days Won

    241

Posts posted by Flex727

  1. 5 minutes ago, Cam said:

    You may want to make an action to jump to another screen and then when  the screen is touched jump back to the last display.   This way no buttons you have on the screen are activated when filming out of sleep mode.

    This is good advice.

  2. 1 hour ago, Ausman said:

    No doubt we'll hear from Flex saying "why update" and I generally agree with this, but in your case it probably seemed sensible!

    Not seeing the sensible reason here, but that doesn't mitigate the issue with the new software.

    1 hour ago, Ausman said:

    Paul, my immediate ask would be did it run itself as admin automatically, and if not did you try it manually? 

    What Ausman is asking here is did you install VisiLogic "as Administrator" and did you run VisiLogic "as Administrator"?

  3. 2 hours ago, Saragani said:

    Not if you want the action to perform only once per button press. Resetting the bit on release would keep the bit set for many cycles.

    You're right of course, but that's what the positive transition contact is for.

  4. 12 minutes ago, Mshak said:

    I see you numbers the time to #1 and the date to #9.... are those arbitrary numbers?  What do they represent?

    If you look at the top comment line of the RTC to ASCII UDFB, it explains what the numbers mean. It's basically selecting which format style you want your Time and Date strings to be in.

  5. 6 hours ago, Mshak said:

    My problem is creating a data table that acts as a log. It is supposed to keep track of  - 1. the time when a button is press, and  - 2. the date.

    You're on the right track using the UDFB RTC to ASCII. Just place a line like this in your Main Routine:

    image.png.27cc79223c1fa7ea420d0f3a0b0fee57.png

    Then copy those operands over to your Data Table Struct triggered by a positive transition of your button press. You will also need to index the Data Table down a line each time.

  6. 5 hours ago, Mshak said:

    the timer off command doesn't seem to work in my programming, which is supposed to turn off the outputs after 5 seconds. of being activated,

    Use a positive transition of your button push to activate a Time TE. Use the output bit of the TE to activate your outputs.

    Something like this:

    image.thumb.png.49996c4f0eb2cd589507fdafb6bceb91.png

    You appear to have the Horn coil in both rungs 1 & 2. THAT WILL NOT WORK. You can only have a direct coil in one ladder rung.

  7. The UniStream line does allow for more complex web pages to be built more easily, but with either the Vision line or UniStream line you will need to have the PLC visible to the internet in order to view a web page from a remote location. That's not a function of the PLC, but rather a function of your network. It's not the most secure method, but I usually just do port forwarding from the router that has the internet connection to the local PLC.

×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.