Machsupport Forum
Third party software and hardware support forums. => CS-Lab => Topic started by: wantcnc on May 20, 2018, 12:44:47 PM
-
I'm trying to get my Emco 120P ATC to work directly with CSMIO,
the ATC uses 4 signals for 8 tool positions, therefore its easier to read a whole byte of port pins and then mask of the top 4 and then looking for a value as it rotates.
so can I use GetPortByte() which seems to be a mach3 function or do I need to use the Modbus functions such as GetInbit as the CSMIO sample shows ?
-
have you tryed:
value = GetInput(XX)
-
will try as soon as I get the outputs to behave.
currently coded it with getinbit which "compiles" and runs.
for some reason the outputs ignore me, eventhough the power relay works from mach....
Thanks for the suggestion
JB