News:

  • October 26, 2026, 08:04:13 AM

Login with username, password and session length

Author Topic: Modbus or Direct Logic success and error control relays  (Read 8713 times)

Henryp

  • Hero Member
  • *****
  • Posts: 161
I may have a mistake in my ladder, but it seems like the Modbus or Direct Logic success and error control relays don't work when the communication box is set to a continuous update interval rate.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3628
  • Darth Ladder
Re: Modbus or Direct Logic success and error control relays
« Reply #1 on: May 12, 2014, 02:56:38 PM »
I think any comm box acts like it's in a queue.  IOW,  on a leading edge on the enable line it then waits for the port to be available, then attempts the transaction.  It also clears the success and failure flags, not sure whether on leading edge or when it gets the port.   Anyway the point is that the flags are only valid between requests and for a continuously-triggered box with no competition, you may have a transaction in process 99% of the time.

Try putting in counters on the success and fail flags.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6177
  • Yes Pinky, Do-more will control the world!
Re: Modbus or Direct Logic success and error control relays
« Reply #2 on: May 12, 2014, 03:57:26 PM »
I may have a mistake in my ladder, but it seems like the Modbus or Direct Logic success and error control relays don't work when the communication box is set to a continuous update interval rate.

They turn on for one scan as the instruction recycles.
"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