Host Engineering Forum

General Category => DirectSOFT => Topic started by: ATU on December 10, 2009, 08:30:55 AM

Title: Possible bug in MRX instruction
Post by: ATU 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.
Title: Re: Possible bug in MRX instruction
Post by: ATU 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.
Title: Re: Possible bug in MRX instruction
Post by: franji1 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.