Welcome, Guest. Please login or register.
Did you miss your activation email?
September 21, 2018, 03:40:57 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Brains, Modbus & Spindle VFD challenge
Pages: 1   Go Down
Author Topic: Brains, Modbus & Spindle VFD challenge  (Read 812 times)
0 Members and 1 Guest are viewing this topic.
Active Member

Offline Offline

Posts: 132

View Profile
« on: November 09, 2017, 04:12:47 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.



Pages: 1   Go Up
Jump to:  

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