3811
CS-Lab / Re: CS w/Brains & Triggers
« on: November 18, 2013, 05:20:50 AM »
Ok Russ, decided to just go to the wee lathe and disable the limit switch (in ports and pins, so it wouldnt conflict) then write some VB to look at it so I could figure out the address.
It has an IP-S on it but I think it will be the same address for all models base units.
Anyway what I had was
If GetInBit(90,7) Then ' This is the input I am using for X limit
MsgBox"Switch Closed"
Else
MsgBox"Switch Open"
End If
It worked fine so the address is 90 The pin will be whichever you are connected to, starting from 0.
Hood
It has an IP-S on it but I think it will be the same address for all models base units.
Anyway what I had was
If GetInBit(90,7) Then ' This is the input I am using for X limit
MsgBox"Switch Closed"
Else
MsgBox"Switch Open"
End If
It worked fine so the address is 90 The pin will be whichever you are connected to, starting from 0.
Hood