Machsupport Forum
Mach Discussion => Brains Development => Topic started by: JGB2288 on November 15, 2013, 10:23:09 PM
-
Hi Everybody!
Attached the brain that let me crazy for several days!
Just I have a servo Spindle to control via Modbus . The connection via modbus is ok.
Happen that when the brain is enabled always send the last value (in this case 112 to the modbus and then the spindle always run in reverse.
if I delete the last rung then send the value to run in CW (48).
Means that dont care about the output signal led state.
If I view the brain execution then I can see with the intructions M3 and M4 turn green first led or second but...still send (I think the 2 Modbus orders first 48 and later send the 112)
Where Im wrong?
Thank you in advance
-
Hi,
see pict.
hope that works.
alex
-
Great ! Great ! Great ! Greaaaaaaaat !
now I should studi what you did !
but..M5 still dont works (not is your wrong) just I didnt ask help about and M5 the value to pass via modbus is 16 and not 0 (just 0 disable the servo shaft.
If you can modify the brain on time then will be great but BTW I will study now it.
Your Help value was really high for me. THANK YOU SO MUCH !
Where I can learn how works the logic of the brains? because I shaw some video tutorials...and also find docs on inet but failed and dont found them.
Thanks Again Alex, for your prompt and perfect answer.
Justo.
-
ok then I got final solution, just I change the way in the driver to let it receive more coherent values:
CW =3
CCW = 7
STOP Keeping enable = 1
and I made this change, Hope helpful for someone.
Works perfect !
-
Glad I could help. :)
Where I can learn how works the logic of the brains?
Since there isn't much information I dit learning by doing.
alex
-
wow! you should be a good assembler programmer or something like that. I guest.
this looks more like logical gates procedures than a sequential programming language.
I still have difficults to understand the logic.
Well, when I have time I will take like a Qitz to lern it
Thanks
Justo
-
:)
alex