(0)| 10/19/2024 1:37 PM | |
|
Joined: 2/6/2022 Last visit: 12/22/2025 Posts: 52 Rating:
|
I'm doing some benchmark performance of instruction in LOGO. There I compare a timer set to 30s. To use the memory flag and latching relay do not produce any delay. So my conclusions is that the delay is from On-Delay or the Up/Down counter. In this picture I have to plc function that activate Q1 and Q2. The idea is to make Q1 and Q2 to activate at same time. If On-Delay is set to 6 seconds On and 0 seconds Off it will be slower (Q1) compare to Q2. To set On-Delay to 5s 95 in other words (50 milliseconds) less. Q1 and Q2 activate almost at same time. This have only been done in software simulation In software developers perspective 50ms is kind of slow for 2 instructions. And maybe that is not the reality if the PLC program is running on the hardware. So how accurate is the software simulation in LSC compare to hardware ?? Ps. I did other test with Online simulation. Q1 and Q2 was activated at same time when On-Delay was set to 6 seconds. It means that the software simulation is not accurate compare to hardware simulation. It make sense to do Online simulation against the hardware but it was a surprise that 50ms slower for 2 instructions. :) The counter is On at 5 so its will be 50ms x 5 times = 250ms slower. The test was performed in Windows 11 Pro, but I did the same in macOS no difference. Attachment30s_delay.zip (252 Downloads) |
Last edited by: FredrikS7 at: 10/19/2024 13:48:29Last edited by: FredrikS7 at: 10/19/2024 13:53:29Last edited by: FredrikS7 at: 10/19/2024 13:55:01Last edited by: FredrikS7 at: 10/19/2024 14:00:16Last edited by: FredrikS7 at: 10/19/2024 14:02:10Last edited by: FredrikS7 at: 10/19/2024 14:03:36Last edited by: FredrikS7 at: 10/19/2024 15:04:09Last edited by: Moderator_Lan at: 10/21/2024 09:02:59Image embedded |
|
Follow us on