How To>M59 Set Output Relay - Mill

M59 Set Output Relay - Mill

M59 Set Output Relay

P - Discrete output relay from 1100 to 1155.

M59 turns on a relay. An example of its usage is M59 P11nn, where nn is the number of the relay being turned on. M59 can turn on any of the discrete output relays in the range from 1100 to 1155 in the same order as axes motion. When using Macros, M59 P1103 does the same thing as using the optional macro command #1103=1, except that it is processed at the end of the line of code.

note: The 8 spare M functions on relay board 1 use addresses 1140 - 1147

Be aware: Many service and repair procedures should be done only by authorized personnel. The service technicians at your Haas Factory Outlet (HFO) have the training, experience, and are certified to do these tasks safely and correctly. You should not do machine repair or service procedures unless you are qualified and knowledgeable about the processes.

Danger: Some service procedures can be dangerous or life-threatening. DO NOT attempt a procedure that you do not completely understand. Contact your Haas Factory Outlet (HFO) and schedule a service technician visit if you have any doubts about doing a procedure.

Feedback