1
CS-Lab / Confused on how to address outputs in VB with CSMIO
« on: May 22, 2018, 04:26:41 PM »
have been struggling with this for several days now.
I want to control output 3:
So in VB I Set adn reset Outbit (90,3)
then in ports and pins I set output #3 to port 10 and then pin number 3....
result it works.. Now I change the pin number to 4 assuming that that changes the output pin(terminal) as per documentation
and it does not change, it stays at 3 as before
the strange thing is that #outout 1 and 2 controling the spindle are routed to pin number 12 and 13 in the ports and pins and this works fine
what am i missing...
additional info
it seems that the spindle controll does adhere to the ports and pins pin number, but the VB side does not, it only follows the VB code and that needs to allign with the signal output# number
still confused as the documentation does not explain this verry well
I want to control output 3:
So in VB I Set adn reset Outbit (90,3)
then in ports and pins I set output #3 to port 10 and then pin number 3....
result it works.. Now I change the pin number to 4 assuming that that changes the output pin(terminal) as per documentation
and it does not change, it stays at 3 as before
the strange thing is that #outout 1 and 2 controling the spindle are routed to pin number 12 and 13 in the ports and pins and this works fine
what am i missing...
additional info
it seems that the spindle controll does adhere to the ports and pins pin number, but the VB side does not, it only follows the VB code and that needs to allign with the signal output# number
still confused as the documentation does not explain this verry well