Search found 14 matches

by dp1
Sat Jul 27, 2019 12:12 am
Forum: Stepper Motors and Controls
Topic: Unexplained exception for ReadWrite Multiple Registers (FC 17h)
Replies: 4
Views: 503

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

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 ex...
by dp1
Wed Jul 24, 2019 1:17 pm
Forum: Stepper Motors and Controls
Topic: Unexplained exception for ReadWrite Multiple Registers (FC 17h)
Replies: 4
Views: 503

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

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 ...
by dp1
Fri Jul 19, 2019 12:29 pm
Forum: Stepper Motors and Controls
Topic: Unexplained exception for ReadWrite Multiple Registers (FC 17h)
Replies: 4
Views: 503

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

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...
by dp1
Thu Jul 18, 2019 9:42 am
Forum: Stepper Motors and Controls
Topic: Unexplained exception for ReadWrite Multiple Registers (FC 17h)
Replies: 4
Views: 503

Unexplained exception for ReadWrite Multiple Registers (FC 17h)

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...
by dp1
Thu May 23, 2019 12:24 pm
Forum: Stepper Motors and Controls
Topic: Meaning of each bit of the Information Record?
Replies: 3
Views: 671

Re: Meaning of each bit of the Information Record?

O.K. but only with the mnemonic I cannot proceed. For programming purposes, such mnemonic needs an underlying value e,g, INFO-USRIO 0001h INFO-POSERR 0002h INFO-DRVTMP 0004h or alike. Only this way the Information record, which consists of one 32-bit word can be analyzed. Where can I find such a lis...
by dp1
Wed May 22, 2019 12:40 pm
Forum: Stepper Motors and Controls
Topic: Meaning of each bit of the Information Record?
Replies: 3
Views: 671

Meaning of each bit of the Information Record?

Where can I find the meaning of each bit of the "Information Record" contents, once that double-register word has been read over RSD485/MODbus?
at page 375 the Function Edition states it at address 0a20h for Information Record 1 but no explanation of the meaning thereof.
by dp1
Wed May 15, 2019 1:42 am
Forum: Stepper Motors and Controls
Topic: Driver Interference alarm 84h when executing D-SEL0 action.
Replies: 1
Views: 457

Also Driver alarm 84h on other slave when executing START.

2 > 06x 007dx(125) f80ex - dbe5x <<< Slave 2 action START+M1...M7=OC#254 2 < 06x 007dx(125) f80ex - dbe5x 2 > 06x 007dx(125) 0000x - 19e1x 2 < 06x 007dx(125) 0000x - 19e1x 1 > 03x 007fx(127) 1 - b5d2x 1 < 03x 2 ... - b9e4x 1 Regs 007f(127):128[0080], <<< Slave 1 in status Alarm How alarm 84h is anyh...
by dp1
Sat May 11, 2019 11:29 pm
Forum: Stepper Motors and Controls
Topic: Sporadic RS485 MODbus communication failure
Replies: 2
Views: 595

Re: Sporadic RS485 MODbus communication failure

I changed my application so that now when a new MODbus request with a slave ID different from previous ID has to be issued,
I first do a sleep of 5ms. This avoids all Communication Errors (84h) I got switching axis.

A sleep time of 3ms was not enough.
by dp1
Sat May 11, 2019 5:07 pm
Forum: Stepper Motors and Controls
Topic: Driver Interference alarm 84h when executing D-SEL0 action.
Replies: 1
Views: 457

Driver Interference alarm 84h when executing D-SEL0 action.

The setup consists of 2 drivers (SlaveID#1 and slaveID#2), daisy chained accessed over RS485/MODbus from a PC, without any external input nor output. MODbus communication does not encounter any Time-Outs! 1 > 06x 0ec1x(3777) 00fex - 5b5ex <<< Slave 1 Associate OD #254 to D-SEL0 1 < 06x 0ec1x(3777) 0...
by dp1
Sun May 05, 2019 1:57 am
Forum: Stepper Motors and Controls
Topic: Sporadic RS485 MODbus communication failure
Replies: 2
Views: 595

Sporadic RS485 MODbus communication failure

My setup is a RS485 wiring from a PC to the first driver(slave 2) (cable length 4m), daisy chained to the second driver (slave 1)(cable length .5m) Second driver has termination resistors set using the switches on the driver. Communication is at 9600Baud. There is no 120Ohm resistor at the RS485 PC ...
by dp1
Sat May 04, 2019 11:11 am
Forum: Stepper Motors and Controls
Topic: Why I cannot execute a ZHOME over MODbus ?
Replies: 4
Views: 811

Re: Why I cannot execute a ZHOME over MODbus ?

Thanks,

With this, now a D-SEL0 signal can start the Operation data #254.
by dp1
Fri May 03, 2019 10:11 am
Forum: Stepper Motors and Controls
Topic: Why I cannot execute a ZHOME over MODbus ?
Replies: 4
Views: 811

Re: Why I cannot execute a ZHOME over MODbus ?

Hy, It appears that without the MEX02 connection, the MODbus RS485 now allows to execute the ZHOME operation. I even managed to execute a direct operation writing registers to register address 0058h However I am now stuck trying to execute from an existing operation data: First the OD #254 and #255 ...
by dp1
Thu May 02, 2019 5:36 am
Forum: Stepper Motors and Controls
Topic: Why I cannot execute a ZHOME over MODbus ?
Replies: 4
Views: 811

Why I cannot execute a ZHOME over MODbus ?

With the MEX02 everyting is fine. Then I trace the MODbus communication and see successful queries and Responses: > 0103 00cc 0006 05f7 ?Pos, Speed < 0103 0c ffff ffff 0000 0000 0000 0000 8775 (ffff ffff) resulting into Position=-1, (0000 0000) resulting into Speed=0 > 0103 00fa 0002 e43a < 0103 04 ...
by dp1
Fri Feb 22, 2019 10:49 am
Forum: Stepper Motors and Controls
Topic: Start Operation data with RS485/MODbus
Replies: 1
Views: 1576

Start Operation data with RS485/MODbus

I went often though the Function Edition manual tying to find how to start the stepper motor, but didn't found any clear example. I read to execute a START ON, followed by a START OFF (writing 8 to reg 007Dh, then 0 to reg 007Dh) but how can one select on which one of the 256 Operation Data the STAR...