News:
Home
Help
Search
Login
Register
August 27, 2026, 10:57:39 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
»
General Category
»
Do-more CPUs and Do-more Designer Software
»
Using $LastScan to see if a DM is in run mode.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Using $LastScan to see if a DM is in run mode. (Read 5780 times)
Henryp
Hero Member
Posts: 161
Using $LastScan to see if a DM is in run mode.
«
on:
October 03, 2018, 07:29:25 PM »
Hi,
I'm using $LastScan to reset a Modbus coil so I can read if my PLC is in run mode. The PLC had an I/O error and the coil didn't reset. Does $LastScan not go true on an I/O fault? Attached is a screen print.
Thank you
Logged
BobO
Host Moderator
Hero Member
Posts: 6174
Yes Pinky, Do-more will control the world!
Re: Using $LastScan to see if a DM is in run mode.
«
Reply #1 on:
October 04, 2018, 12:23:47 AM »
I/O faults are fatal errors, and currently all fatal errors shut down hard. I guess there really is no reason we can't treat I/O errors a little more gently though, and do the $LastScan.
Logged
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO
Print
Pages: [
1
]
« previous
next »
Host Engineering Forum
»
General Category
»
Do-more CPUs and Do-more Designer Software
»
Using $LastScan to see if a DM is in run mode.