M96 Jump If No Input

Classic Control - Lathe 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

M96 Jump If No Signal

P - Program block to go to when conditional test is met
Q - Discrete input variable to test (0 to 63)

This code tests a discrete input for 0 (off) status. This is useful for checking the status of automatic work holding or other accessories that generate a signal for the control. The Q value must be in the range 0 to 63, which corresponds to the inputs on the diagnostic display (The upper left input is 0 and the lower right is input 63. When this program block is executed and the input signal specified by Q has a value of 0, the program block Pnnnn is performed (the Pnnnn line must be in the same program).

N05 M96 P10 Q8 (Test input #8, Door Switch, until closed) ; N10 (Start of program loop) ; . ; . (Program that machines part) ; . ; N85 M21 (Execute an external user function) ; N90 M96 P10 Q27 (Loop to N10 if spare input [#27] is 0) ; N95 M30 (If spare input is 1 then end program) ;

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.