Jump to content
Sign in to follow this  
mc controls

Modbus error check with Jazz

Recommended Posts

Hi All,

I have 3 Jazz PLC's communicating over Modbus with JZ-RS4, 1 master (R31) and 2 slaves(R10).

Is there a way to check for errors in comms, Rx & TX.

If comms fail, to reset all outputs on both slaves. (similar to CanBus "check alive function")

 

thanks

Matt

 

 

 

Share this post


Link to post
Share on other sites

There is no simple Modbus "Check Alive", but you can make one with old school handshaking.

 

Put a timer in your slave logic that sets a bit every so often.  Have your master logic reset it as part of the write.  Then have another timer in the slave look to see if that bit stays on for too long.

 

Joe T.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...