Threaded View
-
19-10-2021 #10
Ignore the code for a moment, and answer the electrical questions.
The turret encoder goes high when active, but does it actively switch low when not-active?
If it does actively switch low (and not just go high-impedance), then it might be able to switch the SZGH inputs directly, but it'll depend on the actual hardware inputs as to whether they'll reliably switch when they're driven to 12V instead of being left open circuit.
As long as the electrical side is switching reliably, then swapping logic is easy enough. In that code sample you posted, you just need to swap the + and -'sAvoiding the rubbish customer service from AluminiumWarehouse since July '13.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Has anyone got any experience of SheetCNC or UK-DIY CNC?
By OceanMachine in forum Gantry/Router Machines & BuildingReplies: 10Last Post: 30-04-2021, 03:59 PM -
anyone had any experience of these cl motors
By alboy in forum Stepper & Servo MotorsReplies: 1Last Post: 21-08-2018, 11:23 AM -
Anyone had experience with one of these Coolubricators...
By Wal in forum Swarf & Chip ManagementReplies: 4Last Post: 06-04-2014, 02:16 PM -
Anyone had experience with one of these Coolubricators...
By Wal in forum Marketplace DiscussionReplies: 0Last Post: 06-02-2014, 01:07 AM -
EXPERIENCE: XYZ Machine - My Experience
By David Maybury in forum Trading Experience & FeedbackReplies: 0Last Post: 03-12-2012, 11:04 AM
Bookmarks