Unexplained exception for ReadWrite Multiple Registers (FC 17h)

Discuss Stepper motors, Drivers, Controllers, GUI's and related Accessories here.
Post Reply
dp1
Posts: 14
Joined: Fri Feb 22, 2019 10:16 am

Unexplained exception for ReadWrite Multiple Registers (FC 17h)

Post by dp1 » Thu Jul 18, 2019 9:42 am

Here a trace of a Modbus communication to two equivalent drivers AZD-CD, called with the same commands.

I discovered 2 inexplicable communication conducts.
1). First on driver 2 a Read/Write-Registers command is issued (FC 17hex, displayed as 17x)
That query is successfully being replied as shown in the trace

The same Read/Write-Registers command is then issued on driver 1
Instead of a successful reply, the exception #1 is responded.
I assume this means "Invalid Function Code" but FC 17h is a valid one !!

In addition, that second R/W-Registers command is identical the former one on the other driver.
Also all other Read and Write request works flawless.


WHAT CAN EXPLAIN THIS UNSUCCESSFUL READ/WRITE REGISTERS QUERY ?


2). Although on driver 1 a 0 was been written at address 1393h,
still en exception is replied as shown in the trace (cfr same place in the trace as previous problem).

WHY DO I STILL GET AN EXCEPTION?

What did I misunderstood from the Function Edition manual about these 2 problems ?

Here follows the trace file
The first value on a line shows the time in ms since a WaitObj state.
The second value shows the effective time of the read or write operation.
The third value is the driver slave ID
Then > or < means Send or Receive, or Query and Response
Next is the Function Code

WaitObj 1 18-15h43m12
11/ 0 2 > 06x 1393x(5011) 0000x - 7d50x // Slave 2 disable exception response
11/ 27 2 < 06x 1393x(5011) 0000x - 7d50x
49/ 0 2 > 06x 01a9x(425) 0002x - d9e4x // Slave 2 Clear Information History
49/ 27 2 < 06x 01a9x(425) 0002x - d9e4x
87/ 30 2 > 17x 1200x(4608) 32 // Slave 2 Preset Remote I/O setting parameters
1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 2e78x
117/100 2 < 17x 64 ... - 2a70x
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
// Slave 1 prepare Read Indirect vvv
228/ 31 2 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - 7999x
259/ 25 2 < 10x 1300x(4864) c4bbx
295/ 0 2 > 06x 007dx(125) 0000x - 19e1x // Slave 2 RESET Opcode
295/ 27 2 < 06x 007dx(125) 0000x - 19e1x
369/ 0 2 > 03x 007fx(127) 1 - b5e1x // Slave 2 Get driver output status
369/ 31 2 < 03x 2 ... - fd9cx
2 Regs 007f(127):32[0020], // Slave 2 is READY
411/ 0 1 > 06x 1393x(5011) 0000x - 7d63x // Slave 1 disable exception response
411/ 26 1 < 06x 1393x(5011) 0000x - 7d63x
448/ 0 1 > 06x 01a9x(425) 0002x - d9d7x // Slave 1 Clear Information History
448/ 28 1 < 06x 01a9x(425) 0002x - d9d7x
486/ 30 1 > 17x 1200x(4608) 32 // Slave 1 Preset Remote I/O setting parameters
1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 9e79x
Exception analysis 01x, 97x, 01x, 8fx, f0x
Exception code : 01x(1)
516/901 Read error: Exception
// Slave 1 prepare Read Indirect vvv
1928/ 31 1 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - c998x
1959/ 24 1 < 10x 1300x(4864) c488x
1995/ 0 1 > 06x 007dx(125) 0000x - 19d2x // Slave 1 RESET Opcode
1995/ 26 1 < 06x 007dx(125) 0000x - 19d2x
2071/ 0 1 > 03x 007fx(127) 1 - b5d2x // Slave 1 Get driver output status
2071/ 30 1 < 03x 2 ... - b99cx
1 Regs 007f(127):32[0020], // Slave 1 is READY

2112/ 1 2 > 03x 1340x(4928) 12 - 40acx // Slave 2 Read Indirect
2113/ 55 2 < 03x 24 ... - 756fx
2 Regs 1340(4928):13427[0000-3473],-10[ffff-fff6],273[0000-0111],32[0000-0020],0[0000-0000],0[0000-0000],
2181/ 0 1 > 03x 1340x(4928) 12 - 409fx // Slave 1 Read Indirect
2181/ 55 1 < 03x 24 ... - 730cx
1 Regs 1340(4928):-31[ffff-ffe1],0[0000-0000],251[0000-00fb],32[0000-0020],0[0000-0000],0[0000-0000],

WaitObj 258 18-15h43m15
11/ 0 2 > 03x 1340x(4928) 12 - 40acx
11/ 56 2 < 03x 24 ... - f6c2x
2 Regs 1340(4928):13427[0000-3473],0[0000-0000],273[0000-0111],32[0000-0020],0[0000-0000],0[0000-0000],
79/ 0 1 > 03x 1340x(4928) 12 - 409fx
79/ 56 1 < 03x 24 ... - 730cx
1 Regs 1340(4928):-31[ffff-ffe1],0[0000-0000],251[0000-00fb],32[0000-0020],0[0000-0000],0[0000-0000],

om_tech_support_KR
Posts: 53
Joined: Thu Jan 11, 2018 3:03 pm

Re: Unexplained exception for ReadWrite Multiple Registers (FC 17h)

Post by om_tech_support_KR » Thu Jul 18, 2019 1:27 pm

Hi dp1,

After you get the exception do you get any alarms? Can you run the diagnosis function code 08h shown on page 270 to verify if getting the same response after you get the exception code.

After you change register 1393h to 0 can you check in the MEXE02 if the register has been changed? In the software it would be under the Communication & I/F parameter. Or if cycling power to the driver you would have to save to the non-volatile memory first or register would go back to factory setting.

dp1
Posts: 14
Joined: Fri Feb 22, 2019 10:16 am

Re: Unexplained exception for ReadWrite Multiple Registers (FC 17h)

Post by dp1 » Fri Jul 19, 2019 12:29 pm

Trace according your request !
The 17h Function is writing 10 registers at 1216h, reading 32 registers at 1200h.
If an exception is encountered here, now a Diagnose function (08h) is exchanged.

Conclusion (cfr trace file):
the R/W function (17h) on slave 2 is always successful.
the R/W function (17h) on slave 1 is always responded with exception #1, where as the subsequent
Diagnose function (08h) is successful.

Further in the trace slave 1 still receives alarms and handles these

What concerns the Slave Response Mode (1393h), both slaves are in "Normal Response mode" (cfr attachment of slave 1 parameters).

Therefore the same QUESTION remains:
Why do I that exception doing the R/W function 17h on slave 1, where it does not happen on slave 2 for the SAME request?
Why ONLY on 17h function, not on 03h, 06h, 10h, 08h


WaitObj 1 19-19h52m45
11/ 0 2 > 06x 1393x(5011) 0000x - 7d50x
11/ 26 2 < 06x 1393x(5011) 0000x - 7d50x
49/ 0 2 > 06x 01a7x(423) 0002x - b827x
49/ 26 2 < 06x 01a7x(423) 0002x - b827x
198/ 31 2 > 17x 1200x(4608) 32
1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 2e78x
229/ 99 2 < 17x 64 ... - 2a70x
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
452/ 31 2 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - 7999x
483/ 24 2 < 10x 1300x(4864) c4bbx
518/ 0 2 > 06x 007dx(125) 0000x - 19e1x
518/ 27 2 < 06x 007dx(125) 0000x - 19e1x
556/ 0 2 > 03x 007fx(127) 1 - b5e1x
556/ 30 2 < 03x 2 ... - f9fcx
2 Regs 007f(127):3616[0e20],
598/ 0 1 > 06x 1393x(5011) 0000x - 7d63x
598/ 27 1 < 06x 1393x(5011) 0000x - 7d63x
636/ 0 1 > 06x 01a7x(423) 0002x - b814x
636/ 26 1 < 06x 01a7x(423) 0002x - b814x
786/ 31 1 > 17x 1200x(4608) 32
1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 9e79x
Exception analysis 01x, 97x, 01x, 8fx, f0x
Exception code : 01x(1)
817/602 Read error: Exception
1930/ 0 1 > 08x 0000x(0) 1234x ed7cx // Slave 1 Diagnose function
1930/ 27 1 < 08x 0000x(0) 1234x ed7cx


Direct read at address 1300h for 6 double registers:
1. Motor position
2. Motor speed
3. Motor temperature
4. Status register
5. Alarm code
6. Information field

2081/ 31 1 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - c998x
2112/ 24 1 < 10x 1300x(4864) c488x
2147/ 0 1 > 06x 007dx(125) 0000x - 19d2x
2147/ 28 1 < 06x 007dx(125) 0000x - 19d2x
2186/ 0 1 > 03x 007fx(127) 1 - b5d2x
2186/ 30 1 < 03x 2 ... - bdfcx
1 Regs 007f(127):3616[0e20],
2227/ 0 2 > 03x 1340x(4928) 12 - 40acx
2227/ 56 2 < 03x 24 ... - 7bcbx
2 Regs 1340(4928):0[0000-0000],0[0000-0000],396[0000-018c],3616[0000-0e20],0[0000-0000],0[0000-0000],
2295/ 0 1 > 03x 1340x(4928) 12 - 409fx
2295/ 56 1 < 03x 24 ... - 2b31x
1 Regs 1340(4928):0[0000-0000],0[0000-0000],368[0000-0170],3616[0000-0e20],0[0000-0000],0[0000-0000],

...
Note: 4th double register from address 1340h gives the Status bits of Slave 1

WaitObj 258 19-19h54m06
78/ 0 1 > 03x 1340x(4928) 12 - 409fx // Slave 1 Alarm Indication 0e80h
78/ 56 1 < 03x 24 ... - 8b3ex
1 Regs 1340(4928):0[0000-0000],0[0000-0000],378[0000-017a],3712[0000-0e80],16[0000-0010],2[0000-0002],

WaitObj 1 19-19h54m06
52/ 0 1 > 03x 007fx(127) 1 - b5d2x
52/ 31 1 < 03x 2 ... - bd84x
1 Regs 007f(127):3712[0e80],
94/ 0 1 > 03x 0081x(129) 1 - d422x
94/ 30 1 < 03x 2 ... - b988x
1 Regs 0081(129):16[0010],
136/ 0 1 > 06x 007dx(125) 0080x - 1872x // Slave 1 Alarm RESET
136/ 27 1 < 06x 007dx(125) 0080x - 1872x
174/ 0 1 > 06x 007dx(125) 0000x - 19d2x
174/ 27 1 < 06x 007dx(125) 0000x - 19d2x
211/ 0 1 > 03x 007fx(127) 1 - b5d2x
211/ 31 1 < 03x 2 ... - bc24x
1 Regs 007f(127):3584[0e00],
320/ 0 1 > 03x 1340x(4928) 12 - 409fx
320/ 56 1 < 03x 24 ... - b9bdx
1 Regs 1340(4928):0[0000-0000],0[0000-0000],381[0000-017d],3616[0000-0e20],0[0000-0000],2[0000-0002],
388/ 47 1 > 10x 1840x(6208) 18 36 0000x(0) 0001x(1)[1] 0001x(1) a208x(41480)[107016] 0000x(0) 0e67x(3687)[3687] 0000x(0) 0bb8x(3000)[3000] 0000x(0) 0bb8x(3000)[3000] 0000x(0) 0046x(70)[70] 0000x(0) 0001x(1)[1] 0000x(0) 0002x(2)[2] 0000x(0) 0002x(2)[2] - 14f4x
435/ 22 1 < 10x 1840x(6208) 4770x
468/ 47 1 > 10x 1880x(6272) 18 36 0000x(0) 0001x(1)[1] fffex(65534) 4f12x(20242)[-110830] 0000x(0) 0e67x(3687)[3687] 0000x(0) 0bb8x(3000)[3000] 0000x(0) 0bb8x(3000)[3000] 0000x(0) 0046x(70)[70] 0000x(0) 0000x(0)[0] 0000x(0) 0002x(2)[2] 0000x(0) 0001x(1)[1] - 7ecdx
515/ 22 1 < 10x 1880x(6272) 474cx
548/ 0 1 > 06x 007dx(125) 0009x - d9d4x
548/ 28 1 < 06x 007dx(125) 0009x - d9d4x
586/ 0 1 > 06x 007dx(125) 0000x - 19d2x
586/ 26 1 < 06x 007dx(125) 0000x - 19d2x

WaitObj 258 19-19h54m06
79/ 0 1 > 03x 1340x(4928) 12 - 409fx // Slave 1 Alarm Gone, now in 'Move' status 2000h
79/ 56 1 < 03x 24 ... - 2a88x
1 Regs 1340(4928):96[0000-0060],889[0000-0379],381[0000-017d],8192[0000-2000],0[0000-0000],2[0000-0002],
Attachments
Communication IF.pdf
(74.84 KiB) Downloaded 10 times

dp1
Posts: 14
Joined: Fri Feb 22, 2019 10:16 am

Re: Unexplained exception for ReadWrite Multiple Registers (FC 17h)

Post by dp1 » Wed Jul 24, 2019 1:17 pm

Hello,

As the Modbus program acts similarly on both drivers, I now did the following test:


Start the program as usual, with the trace (1) indicating the Read/Write error (FC 17h) on slave 1.
Before and after FC 17h I do a Read of the data to be written. Nothing has been written, and therefore maybe an exception justified.

Then I invert the slave IDs : driver #1 becomes #2 and driver #2 becomes #1
Start the program again with trace (2) now indicating the Read/Write error (FC 17h) moved to slave 2.

In the third trace (3) the FC 17h has been split in a Write FC 10h followed by a Read FC 3h
In this case I get no exception and all data is exchanged as expected.

Conclusion:
The R/W Error (FC 17h) always occurs on the same physical driver.
The data on addresses 1216h, 1218h, 12A0h, 12A2h, 12A4h are still the factory default ones, hence never been changed on the (faulty - problem reporting) driver.

Therefore the same QUESTIONS remain:
1). Why do I get that exception doing the R/W function 17h on slave(driver) 1, where it does not happen on slave(driver) 2 for the SAME request?
2). Although a 0 was written at address 1393h (to suppress exceptions), still an exception is replied as shown in the trace.
What now ?

Trace 1 ---
WaitObj 1 24-17h21m07
11/ 0 2 > 06x 1393x(5011) 0000x - 7d50x
11/ 27 2 < 06x 1393x(5011) 0000x - 7d50x
49/ 0 2 > 06x 01a7x(423) 0002x - b827x
49/ 28 2 < 06x 01a7x(423) 0002x - b827x
88/ 0 2 > 03x 1200x(4608) 32 - 4159x
88/102 2 < 03x 64 ... - f7f5x // Slave 2, last 5 data elements : 43, 44, 45, 46, 47
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],43[0000-002b],44[0000-002c],45[0000-002d],46[0000-002e],47[0000-002f],
201/ 31 2 > 17x 1200x(4608) 32
1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 2e78x
232/ 99 2 < 17x 64 ... - 2a70x
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
342/ 0 2 > 03x 1200x(4608) 32 - 4159x
342/102 2 < 03x 64 ... - 6924x // Slave 2, last 5 data elements now : 67, 68, 68, 70, 71
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
456/ 31 2 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - 7999x
487/ 25 2 < 10x 1300x(4864) c4bbx
522/ 0 2 > 06x 007dx(125) 0000x - 19e1x
522/ 26 2 < 06x 007dx(125) 0000x - 19e1x
560/ 0 2 > 03x 007fx(127) 1 - b5e1x
560/ 30 2 < 03x 2 ... - c800x
2 Regs 007f(127):20080[4e70],
601/ 0 2 > 03x 0a20x(2592) 2 - c62ax
601/ 34 2 < 03x 4 ... - dcf3x
2 Regs 0a20(2592):1073741824[4000-0000],
646/ 0 2 > 06x 01a7x(423) 0002x - b827x
646/ 26 2 < 06x 01a7x(423) 0002x - b827x
683/ 0 2 > 03x 007fx(127) 1 - b5e1x
683/ 30 2 < 03x 2 ... - c800x
2 Regs 007f(127):20080[4e70],
724/ 0 1 > 06x 1393x(5011) 0000x - 7d63x
724/ 28 1 < 06x 1393x(5011) 0000x - 7d63x
762/ 0 1 > 06x 01a7x(423) 0002x - b814x
762/ 26 1 < 06x 01a7x(423) 0002x - b814x
800/ 0 1 > 03x 1200x(4608) 32 - 416ax
800/102 1 < 03x 64 ... - aec6x /// Slave 1, last 5 data elements : 33, 52, 53, 56, 57
1 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],33[0000-0021],52[0000-0034],53[0000-0035],56[0000-0038],57[0000-0039],
913/ 31 1 > 17x 1200x(4608) 32
1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 9e79x
Exception analysis 01x, 97x, 01x, 8fx, f0x
Exception code : 01x(1)
944/553 Read error: Exception
2009/ 0 1 > 08x 0000x(0) 1234x ed7cx
2009/ 27 1 < 08x 0000x(0) 1234x ed7cx
2047/ 0 1 > 03x 1200x(4608) 32 - 416ax
2047/101 1 < 03x 64 ... - aec6x /// Slave 1, last 5 data elements unchanged : 33, 52, 53, 56, 57
1 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],33[0000-0021],52[0000-0034],53[0000-0035],56[0000-0038],57[0000-0039],
2159/ 31 1 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - c998x
2190/ 25 1 < 10x 1300x(4864) c488x
2226/ 0 1 > 06x 007dx(125) 0000x - 19d2x
2226/ 27 1 < 06x 007dx(125) 0000x - 19d2x
2264/ 0 1 > 03x 007fx(127) 1 - b5d2x
2264/ 30 1 < 03x 2 ... - 8df0x
1 Regs 007f(127):20016[4e30],

Trace 2 ---
WaitObj 1 24-17h34m33
11/ 0 2 > 06x 1393x(5011) 0000x - 7d50x
11/ 28 2 < 06x 1393x(5011) 0000x - 7d50x
49/ 0 2 > 06x 01a7x(423) 0002x - b827x
49/ 27 2 < 06x 01a7x(423) 0002x - b827x
87/ 0 2 > 03x 1200x(4608) 32 - 4159x
87/102 2 < 03x 64 ... - 9282x // Slave 2, last 5 data elements : 33, 52, 53, 56, 57
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],33[0000-0021],52[0000-0034],53[0000-0035],56[0000-0038],57[0000-0039],
200/ 31 2 > 17x 1200x(4608) 32
1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 2e78x
Exception analysis 02x, 97x, 01x, 7fx, f0x
Exception code : 01x(1)
231/553 Read error: Exception
1295/ 0 2 > 08x 0000x(0) 1234x ed4fx
1295/ 27 2 < 08x 0000x(0) 1234x ed4fx
1333/ 0 2 > 03x 1200x(4608) 32 - 4159x
1333/102 2 < 03x 64 ... - 9282x // Slave 2, last 5 data elements unchanged : 33, 52, 53, 56, 57
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],33[0000-0021],52[0000-0034],53[0000-0035],56[0000-0038],57[0000-0039],
1447/ 30 2 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - 7999x
1477/ 25 2 < 10x 1300x(4864) c4bbx
1513/ 0 2 > 06x 007dx(125) 0000x - 19e1x
1513/ 27 2 < 06x 007dx(125) 0000x - 19e1x
1551/ 0 2 > 03x 007fx(127) 1 - b5e1x
1551/ 30 2 < 03x 2 ... - c9f0x
2 Regs 007f(127):20016[4e30],
1593/ 0 1 > 06x 1393x(5011) 0000x - 7d63x
1593/ 27 1 < 06x 1393x(5011) 0000x - 7d63x
1631/ 0 1 > 06x 01a7x(423) 0002x - b814x
1631/ 27 1 < 06x 01a7x(423) 0002x - b814x
1669/ 0 1 > 03x 1200x(4608) 32 - 416ax
1669/102 1 < 03x 64 ... - cbb1x // Slave 1, last 5 data elements : 43, 44, 45, 46, 47
1 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],43[0000-002b],44[0000-002c],45[0000-002d],46[0000-002e],47[0000-002f],
1782/ 31 1 > 17x 1200x(4608) 32
1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 9e79x
1813/ 99 1 < 17x 64 ... - 1634x
1 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
1923/ 0 1 > 03x 1200x(4608) 32 - 416ax
1923/101 1 < 03x 64 ... - 5560x // Slave 1, last 5 data elements now : 67, 68, 68, 70, 71
1 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
2035/ 31 1 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - c998x
2066/ 25 1 < 10x 1300x(4864) c488x
2102/ 0 1 > 06x 007dx(125) 0000x - 19d2x
2102/ 27 1 < 06x 007dx(125) 0000x - 19d2x
2140/ 0 1 > 03x 007fx(127) 1 - b5d2x
2140/ 30 1 < 03x 2 ... - 8c00x
1 Regs 007f(127):20080[4e70],
2181/ 0 1 > 03x 0a20x(2592) 2 - c619x
2181/ 34 1 < 03x 4 ... - eff3x
1 Regs 0a20(2592):1073741824[4000-0000],
2226/ 0 1 > 06x 01a7x(423) 0002x - b814x
2226/ 27 1 < 06x 01a7x(423) 0002x - b814x
2263/ 0 1 > 03x 007fx(127) 1 - b5d2x
2263/ 31 1 < 03x 2 ... - 8c00x
1 Regs 007f(127):20080[4e70],

Trace 3 ---
WaitObj 1 24-21h17m14
10/ 0 2 > 06x 1393x(5011) 0000x - 7d50x
10/ 28 2 < 06x 1393x(5011) 0000x - 7d50x
49/ 0 2 > 06x 01a7x(423) 0002x - b827x
49/ 26 2 < 06x 01a7x(423) 0002x - b827x
86/ 0 2 > 03x 1200x(4608) 32 - 4159x
86/101 2 < 03x 64 ... - 6924x
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
// Slave 2, last 5 data elements written : 67, 68, 68, 70, 71
198/ 31 2 > 10x 1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 7e3ax
229/ 20 2 < 10x 1216x(4630) a481x // Slave 2 successfully !!!
260/ 0 2 > 03x 1200x(4608) 32 - 4159x
260/101 2 < 03x 64 ... - 6924x
2 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
372/ 31 2 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - 7999x
403/ 24 2 < 10x 1300x(4864) c4bbx
438/ 0 2 > 06x 007dx(125) 0000x - 19e1x
438/ 27 2 < 06x 007dx(125) 0000x - 19e1x
476/ 0 2 > 03x 007fx(127) 1 - b5e1x
476/ 31 2 < 03x 2 ... - cc5cx
2 Regs 007f(127):16416[4020],
518/ 0 1 > 06x 1393x(5011) 0000x - 7d63x
518/ 27 1 < 06x 1393x(5011) 0000x - 7d63x
556/ 0 1 > 06x 01a7x(423) 0002x - b814x
556/ 27 1 < 06x 01a7x(423) 0002x - b814x
593/ 0 1 > 03x 1200x(4608) 32 - 416ax
593/101 1 < 03x 64 ... - aec6x
1 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],33[0000-0021],52[0000-0034],53[0000-0035],56[0000-0038],57[0000-0039],
705/ 31 1 > 10x 1216x(4630) 10 20 0000x(0) 0043x(67)[67] 0000x(0) 0044x(68)[68] 0000x(0) 0045x(69)[69] 0000x(0) 0046x(70)[70] 0000x(0) 0047x(71)[71] - 7ffdx
736/ 20 1 < 10x 1216x(4630) a4b2x
767/ 0 1 > 03x 1200x(4608) 32 - 416ax
767/102 1 < 03x 64 ... - 5560x
1 Regs 1200(4608):64[0000-0040],65[0000-0041],66[0000-0042],32[0000-0020],37[0000-0025],5[0000-0005],1[0000-0001],8[0000-0008],40[0000-0028],41[0000-0029],42[0000-002a],67[0000-0043],68[0000-0044],69[0000-0045],70[0000-0046],71[0000-0047],
880/ 31 1 > 10x 1300x(4864) 12 24 0000x(0) 0066x(102)[102] 0000x(0) 0068x(104)[104] 0000x(0) 007dx(125)[125] 0000x(0) 003fx(63)[63] 0000x(0) 0500x(1280)[1280] 0000x(0) 0510x(1296)[1296] - c998x
911/ 24 1 < 10x 1300x(4864) c488x
946/ 0 1 > 06x 007dx(125) 0000x - 19d2x
946/ 27 1 < 06x 007dx(125) 0000x - 19d2x
984/ 0 1 > 03x 007fx(127) 1 - b5d2x
984/ 31 1 < 03x 2 ... - a074x
1 Regs 007f(127):8256[2040],
1026/ 0 1 > 03x 0a20x(2592) 2 - c619x
1026/ 33 1 < 03x 4 ... - eff3x
1 Regs 0a20(2592):1073741824[4000-0000],
1070/ 0 1 > 06x 01a7x(423) 0002x - b814x
1070/ 27 1 < 06x 01a7x(423) 0002x - b814x
1108/ 0 1 > 03x 007fx(127) 1 - b5d2x
1108/ 31 1 < 03x 2 ... - a074x
1 Regs 007f(127):8256[2040],

dp1
Posts: 14
Joined: Fri Feb 22, 2019 10:16 am

Solved: Unexplained exception for ReadWrite Multiple Registers (FC 17h)

Post by dp1 » Sat Jul 27, 2019 12:12 am

Eureka !


The Driver firmware update showed the following

Driver 2 (without the FC 17h problem) was on Version V4.30
Driver 1 (with the FC 17h problem) was on Version V4.10. After update (to V4.30) the problem disappeared.

I assume the FC 17h was not implemented at the time V4.10 came out, and the exception code "1" told this.

Where can one find the Release Notes associated to the successive Driver Firmware updates?

Post Reply