Abstract: A program code generating method for tilted plane machining makes the machine tool generate required program codes for machining a plurality of planes with various direction features. The method comprises: obtaining step of obtaining directional features of a first reference plane and a second reference plane; transformation step of obtaining coordinate transformations parameters between the directional features of the first reference plane and the second reference plane by coordinate transformations; testing step of making a tool shaft and a worktable of the machine tool perform a testing motion; and combining step of generating a combination code by adding the coordinate transformations parameters in the program codes applied to machining of the first reference plane, thereby making the machine tool subsequently perform machining on the second reference plane after performing machining on the first reference plane by using the combination code. A device for titled plane machining is also provided.
Abstract: In an extension cord with wireless timing function, there are included a receptacle housing having more than one flush plug receptacles and internally including a current converter, a power switch and a plurality of electronic relays corresponding to the receptacles; a programmable logic controller in the receptacle housing for controlling the ON/OFF state of the receptacles; a wireless transmission module in the receptacle housing for receiving a wireless signal from a remote device; a power cord connected at an end to the power switch; and an operation and control module located on the receptacle housing and connected to the controller. Thus, timed power supply by each of the receptacles can be set and recorded at the remote device. When the power switch is turned to off, the controller automatically resets the receptacles to ON; and when the power switch is turned to on again, the receptacles will remain to “ON”.