Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2017, 02:07:38 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Third party software and hardware support forums.
| |-+  Modbus
| | |-+  Brains, Modbus & Spindle VFD challenge
Pages: 1   Go Down
Print
Author Topic: Brains, Modbus & Spindle VFD challenge  (Read 74 times)
0 Members and 1 Guest are viewing this topic.
davidimurray
Active Member

Offline Offline

Posts: 132


View Profile
« on: November 13, 2017, 04:15:14 PM »

I'm new to Brains and in the process of fitting a new VFD to my mill, which I would like to control with Modbus. I've got an USB to RS485 which I've successfully got working with Mach 3, both in test mode and also writing simple brains to send single commands to the VFD.

The challenge I've got is how I EStop/reset the drive.
1) - ESTOP
I've written a brain, that uses ENABLE 1 as an estop single, when enable 1 is false - the code 0002 is sent to the cmd register. This shows on the drive, but then changes to 0000 immediately. I don't understand why 0000 is sent as I don't reference it anywhere.

2) - Reset
To reset the drive, when the estop is cleared, I need to send 0080 (fault reset), then 0006 (drive ready), then 0007 (drive activated), all to the same cmd register in the drive, in sequence one after the other - the sequence being triggered by the estop reset. I've tried a few things but cannot work out how to send a sequence.

Any help would be greatly appreciated.

Cheers

Dave
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!