M59 Set Output Relay

Next Generation Control Mill Operator's Manual

The Online Interactive Operator's Manual is currently available in English only.

A PDF version of the Operator's Manual is available for download in multiple languages. Click the link below to view the Operator's Manual in your language. Click "Continue" to view the online version in English.

Get a translated PDF Download Continue
P - Discrete output relay from 0 to 255 or macro number 12000 to 12255.

M59 turns on a discrete output relay. An example of its usage is M59 Pnnn, where nnn is the relay number being turned on. M59 can also be used with the corresponding macro number in the range from 12000 to 12255. When using Macros, M59 P12003 does the same thing as using the optional macro command #12003=1, except that it is processed at the end of the line of code.

note: For the 8 spare M functions on relay board 1 use relays 90-97 or macro addresses #12090 - #12097

This M code turns on a relay. An example of its use is M59 Pnn, where nn is the number of the relay being turned on. An M59 command is used to turn on any of the discrete output relays in the range from 1100 to 1155. When using Macros, M59 P1103 does the same thing as using the optional macro command #1103 = 1, except that it is processed in the same order as axis motion.

note: The 8 spare M functions 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