G-code
Supported M-codes
M64, M65, M66, M67 (Phoenix Contact Axioline IO)
10 min
these commands use the axioline smart elements by phoenix contact support for this is locked with a paid activation key contact our sales team when interested in purchasing a key without this key, this functionality will not work this key is only available for icnc600, cnc720, and cnc760 controllers digital outputs axl se do16 set output m64 p set the output on the modbus tcp module to on the p word must be comprised of a module number(1 6) and an output port(1 16) clear output m65 p set the output on the modbus tcp module to off the p word must be comprised of a module number(1 6) and an output port(1 16) read outputs m67 p read the state of the output on the modbus tcp module , and store the result in variable #5399 the p word must be comprised of a module number(1 6) and an output port(1 16) digital inputs axl se di16 read inputs m66 p read the state of the input on the modbus tcp module , and store the result in variable #5399 the p word must be comprised of a module number(1 6) and an output port(1 16) read input + wait m66 p l q read digital input p and specify wait mode, the result is stored in variable #5399 p the input number l 0 do not wait l 1 wait for high l 2 wait for low q timeout (seconds) note that we use wait (l2) here, in the event of a timeout, the value of #5399 is 1 in order to make this code simulation and rendering proof we need to extend it like this