A code changing structure, applied to a key coded lock;
- wherein the code changing structure comprises a lock base (1), a push rod (2), two locking pieces (3), a rotating knob (4), a linkage assembly (5), a position resetting assembly (6), and sets of corresponding key springs (7), password keys (8), button springs (9) and buttons (10);
- a top surface of the lock base (1) is provided with a sliding groove (11), an installing cavity (12) and a plurality of password key slots (13);
- the sliding groove (11) is connected to the mounting cavity (12) along a lengthwise direction of the lock base (1);
- the password key slots (13) are arranged symmetrically in pairs along two sides of the sliding groove (11);
- the push rod (2) is slidably fitted with the sliding groove (11);
- two sides of the push rod (2) are respectively provided with a plurality of hooks (21) corresponding to the password key slots (13);
- the two locking pieces (3) are respectively slidably arranged on the two sides of the sliding groove (11) and positioned outside the password key slots (13);
- an inner side of each locking piece (3) is provided with a plurality of openings (31) corresponding to the password key slots (13);
- the rotating knob (4) is rotatably fitted inside the installing cavity (12);
- the linkage assembly (5) is assembled on the rotating knob (4), and drives the push rod (2) and the locking pieces (3) to move axially along with rotation of the rotating knob (4);
- the position resetting assembly (6) is configured to drive the push rod (2), the locking pieces (3) and the rotating knob (4) to reset to an initial position;
- the key springs (7) and the password keys (8) are fitted inside the corresponding password key slots (13);
- upper positioning grooves (81), lower positioning grooves (82) and an annular position-limiting groove (83) are provided successively from top to bottom on a peripheral surface of each password key (8);
- the upper positioning grooves (81) and the lower positioning grooves (82) are arranged in a staggered manner by orienting differently by an angle of difference on a circumferential plane of each password key (8);
- when each password key (8) is pressed, the annular position-limiting groove (83) of each password key (8) is hooked by a corresponding hook (21) to stop the password key (8) from bouncing up;
- when a correct password key (8) is pressed, the upper positioning grooves (81) thereof allow an axial movement of a corresponding locking piece (3);
- when an incorrect password key (8) is not pressed, the lower positioning grooves (82) thereof allow an axial movement of the locking piece (3);
- a corresponding button spring (9) and a corresponding button (10) are successively fitted on a top end of each password key (8);
- a press-rotating mechanism is provided between each button (10) and each corresponding password key slot (13) to drive a corresponding password key (8) to rotate;
- a code-changing height is preset during a pressing process of the buttons (10);
- when each button (10) is pressed to a position below the code-changing height, the press-rotating mechanism thereof is triggered to rotate a corresponding password key (8) so as to change password;
- after entering the correct password, the rotating knob (4) is rotatable;
- a first angle and a second angle of rotation are preset during a rotating process of the rotating knob (4);
- when the rotating knob (4) rotates to the first angle, the key coded lock is in an unlocked state, wherein the locking pieces (3) move away from the rotating knob (4) and prevent the buttons (10) from being pressed to the code-changing height when being pressed;
- when the rotating knob (4) rotates to the second angle, the locking pieces (3) move towards the rotating knob (4), so that the openings (31) allow movements of the buttons (10), and the buttons (10) are then able to be pressed to the code-changing height so as to change password.