List of Contributions

Layden

Contact Details

Layden


My Content

1 to 20 of 26 total
Posted By Layden Jul 16, 2026 02:53:03 PM
Found In Egroup: Automation Control
\ view thread
Hi Philip, Thanks for the comprehensive analysis! I had been wondering how the timer knew when the previous scan was, now I know. So for my CompactLogix running Studio5000 38.11 code, would the following cases all be true? I want to make sure I have my head wrapped around this. A JSR is called ...
Posted By Layden Jul 16, 2026 11:13:30 AM
Found In Egroup: Automation Control
\ view thread
Think that could be addressed by doing a wallclock sync to an NTP server in the PowerUp Handler? Just to prevent unexpected syncing at a later date?
Posted By Layden Jul 16, 2026 09:37:17 AM
Found In Egroup: Automation Control
\ view thread
I was pondering this last night, and I have more information that might be relevant. On Monday afternoon, I powered down the controller for about 35 minutes to install new IO modules. I then downloaded an updated program to reference those cards. On Tuesday, I downloaded another update, and also ...
Posted By Layden Jul 16, 2026 09:27:05 AM
Found In Egroup: Automation Control
\ view thread
Here's a snip of the main routine and subroutine that leads to the RTO. This is on the continuous task. The three limit conditions were true for the duration of the run based on the logged data. The isBatchinUse gate was also true the entire time. I also have relevant info on Splash's ...
Posted By Layden Jul 15, 2026 02:58:00 PM
Found In Egroup: Automation Control
\ view thread
Manually changing my system clock doesn't seem to have any effect on active timer ACC values. It also required going into the properties and clicking synch to get it to change, which I did not do yesterday. Based on these two things, I don't think the controller clock is our culprit here... Any other ...
Posted By Layden Jul 15, 2026 12:54:00 PM
Found In Egroup: Automation Control
\ view thread
I didn't intentionally, but it's not impossible that my laptop synched when I went online. Would that cause the timers to jump forward like that?
Posted By Layden Jul 15, 2026 11:42:00 AM
Found In Egroup: Automation Control
\ view thread
Hello, I have a 5380-L330 controller running a program using RTO timers to control process cycles. Yesterday, all my timers "skipped" forward by about 45 minutes - as best I can tell, they accumulated 8.75 hours in an 8-hour real-world time frame. It appears isolated to just yesterday, I've reviewed ...
Posted By Layden Jun 22, 2026 09:48:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
I found the error - I was multiplying 600 by 3,600,000 instead of 60,000 (hours to ms instead of min to ms) and writing to a DINT. Value of 2,160,000,000 to a variable that can hold up to 2,147,483,647. Got a garbage negative integer in the PLC memory. I gotta assume that's overflow. I corrected ...
Posted By Layden Jun 17, 2026 08:56:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
That uninitialized date could definitely do it - like @asemlucben noted, my Optix times initialize at 1/1/1601 so if one of those was fed to a server that can only handle 1/1/1753 and above, it would do this error. That also would explain why it's intermittent - my hand-written code zeroes dates to 1/1/2000 ...
Posted By Layden Jun 16, 2026 11:45:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Hello, I'm using Optix to do both periodic and command-driven data logging to an onsite SQL Server, and I've been intermittently getting the following error: "The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value" This error tanks the ODBC connection ...
Posted By Layden Jun 16, 2026 11:24:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Hello, I'm running a program using Optix HMI and Studio 5000 for the 5380 controller. I've run into some nasty major faults where upstream math in Optix causes a number larger than 2,147,483,647 to be fed into a timer preset value. This overflows the DINT, sending it negative and faulting the controller. ...
Posted By Layden May 14, 2026 01:44:00 PM
Found In Egroup: Automation Control
\ view thread
Controller sure did just think it was 1998, purely a coincidence that it's half the system time. Synched it and working great. -------------------------------------------
Posted By Layden May 13, 2026 03:40:00 PM
Found In Egroup: Automation Control
\ view thread
Hello, I'm using my first GSV to WallClockTime in Studio5k v38, to read the CurrentValue attribute into a DT tag. My controller is a 5380-L330ER. It's reading in as 8.8e14, which is causing my logic to think it's 1998. I was doing some investigating, and epoch time would indicate that it should ...
Posted By Layden May 01, 2026 02:36:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Ok I've tried this a couple different ways without success. New Object under the UI folder, added a variable to it. Variable was not unique by session (changing it in one session changed all). New UI Session under the UI folder, added a variable and referenced it via Project->UI->UI Session->Variable. ...
Posted By Layden Apr 28, 2026 02:14:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
That Project Context link is gold - I've been feeling my way through the structure of Optix as I go along but it's so helpful to have explained it in one place. Should be able to do what I want using a MainWindow variable, thanks. -------------------------------------------
Posted By Layden Apr 28, 2026 01:00:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
Hello, I have a program in FT Optix that will be deployed to multiple terminals throughout our facility via webclient. I'm using Model variables in Optix for UI/navigation in the program, and CommDriver variables on my PLC for the actual controls. The default setup appears to use one set of ...
Posted By Layden Apr 09, 2026 10:04:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Good morning, I'm deploying a dozen web clients on Ubuntu devices to display department-specific status monitoring screens, and was wondering if there's a common way to have these web clients automatically (or auto-navigate) to their destination screen. Mainly trying to avoid walking around the ...
Posted By Layden Mar 27, 2026 03:22:00 PM
Found In Egroup: FactoryTalk Optix
\ view thread
That did the trick, thanks so much! Shawn -------------------------------------------
Posted By Layden Mar 26, 2026 11:24:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Hello, I'm having a similar issue that I don't know the syntax for - I have an array of UDTs that I've imported into Netlogic per your suggestion above, and I trying to do a FOR loop to walk through the array and read the value from the tags at each index. I'm getting a "Cannot apply indexing with ...
Posted By Layden Feb 18, 2026 09:01:00 AM
Found In Egroup: FactoryTalk Optix
\ view thread
Thanks! I'll dig through these and the boiler demo today and see if they spark follow-up questions. -------------------------------------------