News:

  • October 13, 2025, 03:33:34 AM

Login with username, password and session length

Author Topic: Possible bug in MRX instruction  (Read 3576 times)

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Possible bug in MRX instruction
« on: December 10, 2009, 08:30:55 AM »
I had a wiring mistake on a sure servo communcating via  Modbus to a 260. Found the problem, but I noticed a behavior in the error response words that may indicate a bug. The lower word was fine, but the upper word didn't seem correct.

From what I understand, in each word, those bytes are supposed to be swapped. Where in the high word,the upper byte is supposed to be the CRC and the lower byte is the fault number. The upper byte of the word remained at 08  The lower byte which is supposed to be the fault kept changing with the number of words. You might want to take a look at that.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Possible bug in MRX instruction
« Reply #1 on: December 15, 2009, 06:58:47 PM »
Also in regards to the MRX and MWX. When you do a syntax check, it gives an E464 missing circuit error  on the location just past the instruction. Should it be doing that? You can go into run and no faults show, only if you do the manual syntax check.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Possible bug in MRX instruction
« Reply #2 on: December 15, 2009, 08:39:42 PM »
Those errors are determined and reported by the CPU.  DirectSOFT is just the "messenger".  You'll be better off posting this on the ADC forum.