Add a fourth axle, what should I do if the handwheel has no gear
For more details, please check EASYCNC YouTube video here.
Add a fourth axle, what should I do if the handwheel has no gear?
When adding the fourth axis, if there is no 4 axes on the handwheel or the machinery is stuck and cannot rotate to the 4 axis, what to do? Friends who have used CNC machine tools know the importance of handwheels, you can do without manual, but there must be handwheels, but what if the handwheel is not reserved for 4 axes when the machine tool leaves the factory? Many friends will say Take OFF as 4 axes, this is indeed a way, but in fact, we have a better choice. In fact, most of the band switches on the handwheel we use can be adjusted, simply put, 4 gears to 5 gears. We disassemble the handwheel to find the band switch, there will be a positioning screw on it, just remove it and move it back one position. Brother Kai has no photo in his hand, so he can only draw a schematic diagram, and everyone has the opportunity to study it themselves.
The shaft is selected, but there is no wiring behind the 4-axis band. Some friends will say: as long as XYZ has no signal, we think that it is 4 axis, then OFF is also 4 axis. Some friends will say: Then I weld a wire to the back cabinet, OK! Perfect! But Kai Ge is lazy, just don't like the wire welding, what to do? Fanuc's PLC is commonly used on the handwheel G18.0 G18.1 G18.2 when G18.0 is turned on when the axis is selected X When G18.1 is turned on, it is the axis selection Y, when G18.0 G18.1 is turned on at the same time, it is the axis selection Z, and when G18.2 is turned on, it is the axis selection 4. The following is a sample program.
X3.3 is axis selection X X3.4 is axis selection Y X3.5 is axis selection Z You can see their logical order, but axis selection 4 has no address. At this time, we have to make full use of the position where the 4 axis is located, he is behind the Z axis, so we must pass through the Z axis before choosing the 4 axis, at this time we use the No. 58 functional block in the Fanuc PLC - falling edge. That is to say, when our axis selects away from the Z axis, that is, the signal of X3.5 changes from 1 to 0, the moment R4.0 is turned on, and at the same time it is self-locked with R4.1 to form a signal that remains 1 inside the program, which is the 4-axis signal. When we turn the segment back to the Z axis, or when the other direction of the Z axis is the Y axis, the signal is disconnected. The above little trick fully shows the charm of PLC programming - only you can't think of it, and he can't do it without him. As long as we dig carefully, we can always make the design of our machine tools more convenient and more humane.