THE ANNIN ROBOTICS FORUM HAS MOVED TO A NEW COMMUNITY. 👉
Wiring up the Alarm...
 
Notifications
Clear all

Wiring up the Alarm output on CL57Y Driver Stepper Motor

6 Posts
2 Users
0 Reactions
84 Views
Alaeddine Brahem
(@alaeddine-brahem)
Active Member
Joined: 2 months ago
Posts: 7
Topic starter  

Hey ALL,

 

I'm wanting to double check I've got this right before wiring it up.

 

The CL57Y driver has an alarm signal output that triggers when the driver goes into a fault state. The object here is I want that signal to be picked up on one of the Arduino mega inputs so Mach can trigger an stop and halt the other drivers.

 

Can someone work on it can help me



   
Quote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 535
 

Are you working on a CNC machine? I havnt used the CL57Y on the robot but I have used and tested them. I dont completely understand what you are tying to wire up to but as I recall it should just be a 5v output when it alarms.



   
ReplyQuote
Alaeddine Brahem
(@alaeddine-brahem)
Active Member
Joined: 2 months ago
Posts: 7
Topic starter  

No im using for AR2

I want to get signal from ALM then use it to stop the robot



   
ReplyQuote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 535
 

you could wire the output to an arduino input and then in your program loop either at the end of your routine you could use "if input on" and have it stop if the input is high.



   
ReplyQuote
Alaeddine Brahem
(@alaeddine-brahem)
Active Member
Joined: 2 months ago
Posts: 7
Topic starter  

@chris-annin

thanx for replay

It should be add wait input on after each move

What about request interruptions in



   
ReplyQuote
Chris Annin
(@chris-annin)
Member Admin
Joined: 2 months ago
Posts: 535
 

the ARCS software isnt setup with any interrupt functionality for reading IO but the source code is open and could be modified if needed.



   
ReplyQuote
Share:
Upload your Photo