I'm pretty new to ladder logic but have a long background writing code in C++, C#, and more. I tend to look at solving my problems the way I would when writing code, which doesn't always translate to ladder logic. This is my first time working with VisiLogic and I'm updating an existing project. The implementation consists of a motor that runs for a time specified in a Delay Timer that I will refer to as DT 1. I need to add another motor that will run for the same amount of time specified in the preset of DT 1 after the first motor is finished running. I'm thinking I should add another timer (DT 2) for the second motor because there are different actions that have to happen when DT 1 and DT 2 expire. DT 1's preset is set by the operator via an on-screen variable. Is there a way to pull the preset time from DT 1 into DT 2 so that I don't have to add another operator entry field to the screen? Is there a way to detect when the preset of a Delay Timer has changed?
Any advice is greatly appreciated.