Jump to content

Ness

Members
  • Posts

    18
  • Joined

  • Last visited

Ness's Achievements

Member

Member (2/4)

0

Reputation

  1. I'm not seeing this behavior with a quick test? I'm triggering a UDFB multiple times off Frequency.Frequency 1 (s) and all the UDFB instances are being called.
  2. Using a "List of Text Variable" object behind a Numeric Box with a transparent background can get you the background color change with only 2 objects. This doesn't allow text color changes like stacked numeric boxes will though.
  3. Hah, jeez I think I must have edited that port number, saved the project and totally forgotten about it when I tried again. I vaguely remember trying to get a computer with Ubuntu to act as the NTP server when I wasn't having luck with internet NTP servers. Not sure what I messed up not getting the program to work originally.
  4. So I was about to ask if anyone has gotten NTP to work with UniStreams. I've tried a few times in the past with no luck. Decided to give the example project another try (..\UniLogic_Example_Projects\UniLogic Examples_V1.30 Rev 52\Time based applications\UniStream_070_RFC_1305_UDFB v2.ulpr). Changing the port for 'UDP Socket1' from 555 to 123 got it working!
  5. In the ladder editor's Toolbox there is a 'Drawing' section with ladder functions for drawing and clearing basic shapes on the screen. I think it might be able to do what you're wanting.
  6. How can I get multiple values back from multiple SQL statements in a stored procedure in MySQL? Stored Procedure: CREATE DEFINER=`root`@`localhost` PROCEDURE `get_test`(OUT var1 INT, OUT var2 INT ) BEGIN SELECT Temperature into var1 FROM `interface`.`setpoints` WHERE Area = 1; SELECT Temperature into var2 FROM `interface`.`setpoints` WHERE Area = 2; SELECT var1, var2; END In MySQL Workbench: CALL `interface`.`get_test`(@a1,@a2); Result Grid shows: var1 | var2 750 | 850 In UniLogic my Query is: CALL get_test(:a,:b); The query executes successfully but doesn't return any values. The two tags tied to the Query Outputs keep their current values and aren't changed. Do I just need the proper SQL incantation to get this working? Or are out parameters not supported with UniLogic?
  7. Here's one way to get a running average. running average.ulpr
  8. I get this too randomly. Closing UniLogic, opening Task Manager, ending the 'Unitronics.Notifier' task, and reopening UniLogic fixes the issue for me. Just closing and reopening UniLogic leaves the program still laggy.
  9. One easy work around is to use a stored procedure, from what I've seem that seems to allow an unlimited number of input parameters.
  10. Actually, running some more tests I'm able to write a ton of the rows to the DTI without issue.. trying to narrow down what is actually causing the issue.
  11. Does this DTI digital signing also apply to "Write Row to DTI" ? We are getting the "CPU Watchdog Activated" for multiple DTI writes in 1.30 where we weren't in 1.28.
  12. Yeah, I really like the UniLogic ladder editor for the most part but not being able to view more tag characters is my #1 gripe. I find myself using shortened tag names for a lot of things just so I can read rungs at glance without mousing over everything.
  13. Support pointed me to a software build 1.29.138 which fixed the issue!
  14. We're having the exact same issue as Daniel_EWW. 1.28 works fine. Upgrade to 1.29 and the Modbus serial NumOfClients starts to grow, hits 165 and dies. This is with a single Modbus device as a master and the PLC is the slave.
  15. Maybe use two PID configurations - one is active when the PV is above a set point, the other active when the PV is below. Or maybe just toggle the 'Reverse Action' bit when the (SP > PV) and back when (SP < PV) if the heating/cooling behavior is similar.
×
×
  • Create New...