Control method of plate turnover machine
By presetting the work instruction code and sequential position value control method in the flip machine, combined with the PLC feedback signal and the lifting and adjusting adjustable fixed rod structure, the control complexity and compatibility problems of the flip machine are solved, and the effects of simplifying debugging and reducing costs are achieved.
Patent Information
- Application Number
- CN202510981569.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2025-10-28
AI Technical Summary
Existing control methods for flipping machines are complex to operate, difficult to debug, have poor program readability, and are costly to maintain. They are also incompatible with upstream and downstream equipment or conveyor lines of different heights, and traditional methods are expensive.
The flip-board machine control method adopts a preset working instruction code. New working instruction codes are formed by increasing the sequential position values. Combined with PLC and sensor feedback signals, simple and clear logic control is achieved. The adjustable fixed rod and positioning bar can adapt to equipment of different heights, thereby reducing costs.
It simplifies the debugging process of the flip machine, improves the readability and maintainability of the program, reduces the adaptability cost of the equipment, and achieves compatibility with equipment of different heights.
Smart Images

Figure CN120848385A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of flipping conveyor equipment, and in particular to a control method for a flipping machine. Background Technology
[0002] In industrial automation control, PLCs are widely used for various sequential logic control tasks. Traditional PLC sequential logic control methods involve engineers writing their own instructions, using SET and RST instructions to set and reset the sequential flow control logic at address M. This method is too chaotic and lacks a clear sequential control approach, frequently leading to errors. It results in engineers wasting considerable time on debugging and ultimately achieving unstable control, causing difficulties in debugging and high maintenance costs.
[0003] A small number of engineers also use Sequential Function Charts (SFCs) to write sequential control logic. SFCs are composed of steps, transitions, and conditional logic. As the number of steps in the process increases, the complexity of the connecting lines and conditional judgments in the diagram grows exponentially, making it inconvenient for unified viewing and maintenance of the program. Furthermore, switching from an SFC to a ladder diagram requires an intermediate step, which is too cumbersome. And it becomes even more difficult to handle logical relationships that frequently require skipping certain intermediate steps.
[0004] Therefore, it is necessary to provide a control method for the flipping machine to solve the above-mentioned technical problems. Summary of the Invention
[0005] This invention provides a control method for a flip-board machine to solve the problems of complex operation, difficult debugging, poor program readability, and high maintenance cost in the control methods of existing flip-board machines.
[0006] To solve the above-mentioned technical problems, the technical solution of the present invention is: a control method for a flipping machine, wherein the flipping machine includes a controller, a flipping drive mechanism, and a conveying module connected to the output end of the flipping drive mechanism, and the control method for the flipping machine includes the following steps:
[0007] Step S11: The operator sets the start command code for the flipping machine, divides the operation of the flipping machine into several working steps, and sets the corresponding working command code for each of the several working steps in the controller according to the settings.
[0008] Step S12: The operator inputs a start command code into the controller, the controller obtains the work command code of the first sequential position, and the controller controls the flipping machine to perform the corresponding work steps according to the work command code;
[0009] Step S13: When the flipping machine completes the corresponding work steps according to the work instruction code of the first sequential position, the controller increases the sequential position value of the work instruction code of the current sequential position to form a new work instruction code, and the controller controls the flipping machine to execute the corresponding work steps according to the new work instruction code;
[0010] Step S14: Return to step S12 after the flipping machine has completed all the work steps corresponding to the work instruction codes.
[0011] In this invention, step S12 further includes:
[0012] The controller uses a normally open auxiliary electrical appliance operated by the PLC to output the working instruction code as a decoding instruction. The decoding instruction is used to decode the value in the value register into the on or off state of the corresponding relay.
[0013] Step S13 further includes:
[0014] When the flipping machine completes the corresponding work steps according to the work instruction code at the first sequential position, the PLC will obtain the feedback signal that the flipping machine has completed the execution. The PLC will output a new work instruction code with the sequential position incremented by 1 based on the work instruction code at the current sequential position, and output it as a new decoding instruction. The new decoding instruction is used to decode the value in the value register into the on or off state of the corresponding relay.
[0015] Furthermore, the flipping machine also includes a feeding sensor, a position sensor, and a discharge sensor sequentially arranged above the conveying module;
[0016] The feed sensor, the position sensor, and the discharge sensor send feedback signals to the PLC indicating that the corresponding work steps have been completed.
[0017] In addition, the feedback signal is a delay command.
[0018] In this invention, the operator inputs an assignment instruction to the controller, causing the controller to obtain the working instruction code at the position corresponding to the assignment instruction.
[0019] In this invention, the flipping machine further includes: a base, a fixed rod, a flipping plate, a movable mounting plate, a conveying module, a flipping drive mechanism, and a conveying drive mechanism;
[0020] Two parallel fixed rods are adjustablely mounted on the base. The sides of the two fixed rods that are close to each other are rotatably connected to the flipping plate. The flipping drive mechanism is fixedly mounted on the fixed rods. The output end of the flipping drive mechanism is drivenly connected to one of the flipping plates. A sliding guide rod and a width-adjusting screw are connected between the two flipping plates. The movable mounting plate is located between the two flipping plates and is slidably connected to the sliding guide rod. The movable mounting plate is drivenly connected to the width-adjusting screw. The conveying module is fixedly mounted on the sides of one of the flipping plates and the movable mounting plate that are close to each other. The conveying module is equipped with a conveyor belt. The output end of the conveying drive mechanism is drivenly connected to the conveyor belt.
[0021] The base is fixedly connected to a connecting plate, and the opposite sides of the fixing rods are slidably connected to the connecting plate. A lifting cylinder is fixedly installed on one side of the connecting plate, and the output end of the lifting cylinder is connected to the fixing rod.
[0022] The connecting plate has a first positioning strip and a second positioning strip slidably adjustable on the side where the fixing rod is mounted. The fixing rod is limited to slide up and down between the first positioning strip and the second positioning strip. The distance between the first positioning strip and the second positioning strip is less than the driving stroke of the lifting cylinder.
[0023] Furthermore, the connecting plate is provided with multiple sliding grooves, a first slider is provided on one side of the first positioning strip, the first slider is used to slide and engage with the corresponding sliding groove, and a second slider is provided on one side of the second positioning strip, the second slider is used to slide and engage with the corresponding sliding groove.
[0024] The connecting plate has a first fixing plate and a second fixing plate respectively on its two ends away from the first positioning strip. A first screw is threaded through and connected to the first fixing plate, and one end of the first screw is rotatably connected to the first slider. A second screw is threaded through and connected to the second fixing plate, and one end of the second screw is rotatably connected to the second slider.
[0025] In this invention, clamping mechanisms are symmetrically arranged at both ends of at least one of the fixed rods, and a limit block is provided on one side of the flipping plate. The clamping mechanism includes a clamping cylinder, a mounting base, and a movable clamping block. A fixed clamping block extends from one end of the mounting base, and the movable clamping block is rotatably mounted on the mounting base. The clamping cylinder is connected to the mounting base, and the output end of the clamping cylinder is connected to the movable clamping block through a connecting rod. When the conveying module flips to a horizontal state, the movable clamping block and the fixed clamping block of one of the clamping mechanisms clamp the limit block.
[0026] Both ends of the clamping cylinder are equipped with magnetic switches. When the clamping cylinder extends into position, the magnetic switches send a feedback signal to the PLC indicating that the corresponding work step has been completed.
[0027] Compared with the prior art, the beneficial effects of this invention are as follows: the control method of the flip machine of this invention pre-sets corresponding work instruction codes for several work steps, and forms new work instruction codes by increasing the sequential position values to run multiple work steps. At the same time, it can jump to the corresponding work steps by assigning values. The logic is simple and clear, debugging is more convenient, the program readability is greatly enhanced, and the maintainability of the logic control program is improved.
[0028] The flip-plate machine features an adjustable fixed rod, allowing the conveyor module to be compatible with upstream and downstream equipment or conveyor lines of varying heights. Furthermore, a lifting cylinder drives the fixed rod's movement, with first and second positioning bars providing limit control over its elevation, resulting in lower costs. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments are briefly introduced below. The drawings described below are only the corresponding drawings of some embodiments of the present invention.
[0030] Figure 1 This is a flowchart of the control method for the flipping machine of the present invention.
[0031] Figure 2 This is a schematic diagram of the flipping machine in this invention.
[0032] Figure 3 This is a partial structural diagram of the clamping mechanism of the flipping machine in this invention.
[0033] Figure 4 This is a partial structural diagram of the fixing rod of the flipping machine in this invention. Detailed Implementation
[0034] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0035] The directional terms mentioned in this invention, such as "up", "down", "front", "back", "left", "right", "inner", "outer", "side", "top" and "bottom", are only for reference to the orientation of the accompanying drawings. The directional terms used are for the purpose of explaining and understanding this invention, and are not intended to limit this invention.
[0036] The terms "first" and "second" used in the terminology of this invention are for descriptive purposes only and should not be construed as indicating or implying relative importance, nor as limiting the order of events.
[0037] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, a connection can be a detachable connection or a connection of an integral structure; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two components or an interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0038] The logic control methods of existing flip-board machines have problems such as time-consuming debugging, unstable control, difficulty in debugging, and high maintenance costs.
[0039] Furthermore, the input and output heights of existing flip-board machine control methods are generally fixed, making it difficult to achieve good compatibility with upstream and downstream equipment or conveyor lines of different heights. Alternatively, some existing flip-board machine control methods use linear motors, motor screw assemblies, or other linear lifting modules to drive the flip-board machine's lifting and lowering, in order to solve the above problems, but this is relatively expensive.
[0040] The following is a preferred embodiment of a control method for a flip-board machine provided by the present invention, which can solve the above-mentioned technical problems.
[0041] Please refer to Figure 1 ,in Figure 1 This is a flowchart of the control method for the flipping machine of the present invention.
[0042] In the diagram, units with similar structures are represented by the same labels.
[0043] This embodiment provides a control method for a flipping machine, wherein the flipping machine includes a controller, a flipping drive mechanism 171, and a conveying module 15 connected to the output end of the flipping drive mechanism 171. The control method for the flipping machine includes the following steps:
[0044] Step S11: The operator sets the start command code for the flipping machine, dividing the machine's actions into several work steps. Each work step is then correctly configured with its corresponding work command code in the controller. The sequence of the work steps corresponds to the sequence of the work command codes, and all work command codes correspond to exclusive work steps.
[0045] Step S12: The operator inputs the start command code to the controller, the controller obtains the work command code of the first sequential position, and the controller controls the flipping machine to perform the corresponding work steps according to the work command code.
[0046] Step S13: When the flipping machine completes the corresponding work step according to the work instruction code of the first sequential position, the controller increments the sequential position value of the current sequential position work instruction code to form a new work instruction code. The controller then controls the flipping machine to execute the corresponding work step according to the new work instruction code. Normally, the work instruction code increments by 1 each time a work step is completed, meaning multiple work steps are completed sequentially. In special cases, the controller can also obtain the work instruction code required by the operator by inputting an assignment instruction, thereby jumping to the corresponding work step.
[0047] Step S14: Return to step S12 after the flipping machine has completed all the work steps corresponding to the work instruction codes. It should be noted that during the cyclic operation and upon returning to step S12, the controller can automatically obtain the start instruction code. During the cyclic operation, the operator does not need to input the start instruction code each time, unless the operator inputs a stop instruction code or a malfunction occurs; in this case, the flipping machine will no longer automatically cycle through the operation. That is, after the controller obtains the start instruction code manually input by the operator for the first time, the controller can automatically obtain subsequent start instruction codes.
[0048] In this embodiment, step S12 further includes:
[0049] The controller uses normally open auxiliary electrical components operated by the PLC to output work instruction codes as decoding instructions. These decoding instructions are used to decode the values in the value registers into the on or off states of the corresponding relays. (If the relay corresponding to the current work instruction code is in the on state, then other relays are in the off state, thus achieving the exclusivity of the work steps.)
[0050] Specifically, step S13 also includes:
[0051] When the flipping machine completes the corresponding work steps according to the work instruction code of the first sequential position, the PLC will obtain the feedback signal that the flipping machine has completed the execution. The PLC will output a new work instruction code with the sequential position incremented by 1 based on the work instruction code of the current sequential position, and output it as a new decoding instruction. The new decoding instruction is used to decode the value in the value register into the on or off state of the corresponding relay.
[0052] Furthermore, the flipping machine also includes a feed sensor, a position sensor, and a discharge sensor sequentially arranged above the conveying module 15. When a product is conveyed to a position detected by the position sensor, the conveying module 15 can be controlled to flip. Alternatively, after the discharge sensor detects that a product has been output outside the conveying module 15, the conveying module 15 may not flip until the next product reaches the position detected by the position sensor.
[0053] The feed sensor, position sensor, and discharge sensor send feedback signals to the PLC indicating the completion of the corresponding work steps. In other words, the feed sensor, position sensor, and discharge sensor can determine whether the feeding and discharging work steps have been completed.
[0054] Additionally, if some work steps lack corresponding components to provide feedback, a delay can be used as a condition. When the delay time is reached, the work instruction code can increment the sequential position value, and the decoding process jumps to the next step. The feedback signal in this process is the delay instruction.
[0055] In this embodiment, the operator can input an assignment command to the controller, causing the controller to obtain the work instruction code corresponding to the sequence position of the assignment command, thereby enabling the flip-board machine to jump to the work step required by the operator. Because in the control process of real-world automated equipment, many actions have multiple choices, once a certain condition is met, the normal process is not followed; instead, several work steps are skipped to another step or directly to the last work step.
[0056] Please refer to Figure 2 In this embodiment, the flipping machine includes: a base 11, a fixed rod 12, a flipping plate 13, a movable mounting plate 14, a conveying module 15, a flipping drive mechanism 171, and a conveying drive mechanism 172.
[0057] Two parallel fixed rods 12 are adjustablely mounted on the base 11. The sides of the two fixed rods 12 that are close to each other are rotatably connected to the flip plate 13. The flip drive mechanism 171 is fixedly mounted on the fixed rods 12. The output end of the flip drive mechanism 171 is connected to the flip plate 13. A sliding guide rod 18 and a width adjustment screw 19 are connected between the two flip plates 13. The movable mounting plate 14 is located between the two flip plates 13 and is slidably connected to the sliding guide rod 18. The movable mounting plate 14 is connected to the width adjustment screw 19.
[0058] A conveyor module 15 is fixedly installed on the side of a flip plate 13 and a movable mounting plate 14 that are close to each other. A conveyor belt 151 is installed on the conveyor module 15, and the output end of the conveyor drive mechanism 172 is connected to the conveyor belt 151 for transmission.
[0059] The flipping drive mechanism 171 drives the two flipping plates 13 and the movable mounting plate 14 to flip together. At the same time, the movable mounting plate 14 can be moved by the width adjusting screw 19, thereby adjusting the distance between the two conveying modules 15 to accommodate the conveying of products of different sizes and specifications (in this embodiment, the products may be, but are not limited to, circuit boards).
[0060] Please refer to Figure 2 and Figure 4 In this embodiment, a connecting plate 21 is fixedly connected to the base 11. The opposite sides of the fixing rods 12 are slidably connected to the connecting plate 21. The fixing rods 12 and the connecting plate 21 can be slidably connected by a sliding block groove. A lifting cylinder 22 is fixedly installed on one side of the connecting plate 21, and the output end of the lifting cylinder 22 is connected to the fixing rod 12. It should be noted that lifting cylinders 22 are symmetrically installed at both ends of the fixing rods 12, and all lifting cylinders 22 connected to the two fixing rods 12 work synchronously.
[0061] The connecting plate 21 has a first positioning bar 23 and a second positioning bar 26 that are slidably adjustable on one side where the fixing rod 12 is mounted. The fixing rod 12 is limited to sliding between the first positioning bar 23 and the second positioning bar 26.
[0062] When the upstream and downstream conveyor lines are at different heights, the fixing rod 12 makes positioning contact with the first positioning bar 23 or the second positioning bar 26 respectively, so that the conveying module 15 connects with the upstream and downstream conveyor lines respectively. When the upstream and downstream conveyor lines are at the same height, the positions of the first positioning bar 23 and the second positioning bar 26 can be moved and fixed, so that the first positioning bar 23 and the second positioning bar 26 limit the position of the fixing rod 12, and the lifting cylinder 22 can be removed. This method is low-cost and can adapt to different usage requirements.
[0063] Preferably, the distance between the first positioning bar 23 and the second positioning bar 26 is less than the driving stroke of the lifting cylinder 22, thereby ensuring that the fixing rod 12 can stably make positioning contact with the first positioning bar 23 or the second positioning bar 26.
[0064] Furthermore, the connecting plate 21 is provided with multiple sliding grooves 211, and a first slider is provided on one side of the first positioning strip 23. The first slider is used to slide and engage with the corresponding sliding groove 211. A second slider is provided on one side of the second positioning strip 26. The second slider is used to slide and engage with the corresponding sliding groove 211.
[0065] On the side of the connecting plate 21 away from the first positioning strip 23, a first fixing plate 24 and a second fixing plate 27 are respectively provided at both ends. A first screw 25 is threaded through and connected to the first fixing plate 24, and one end of the first screw 25 is rotatably connected to the first slider. A second screw 28 is threaded through and connected to the second fixing plate 27, and one end of the second screw 28 is rotatably connected to the second slider. The positions of the first positioning strip 23 and the second positioning strip 26 are adjusted by turning the first screw 25 and the second screw 28.
[0066] Please refer to Figure 2 In this embodiment, each conveying module 15 is provided with two sets of conveyor belts 151. The conveyor belts 151 are connected to multiple drive wheels 154. The multiple drive wheels 154 make the sides of the two sets of conveyor belts 151 that are close to each other form parallel conveying sections. The conveying sections of the two sets of conveyor belts 151 respectively contact the two sides of the circuit board to drive the circuit board to move and convey. The sides of the two sets of conveyor belts 151 that are far from each other are respectively connected to corresponding drive wheels 152. The drive wheels 152 are connected to the conveying drive mechanism 172.
[0067] The drive wheel 152 is a set distance away from the circuit board. When the conveyor belt 151 goes around the drive wheel 152, it forms a bend, which can tension the conveyor belt 151. The conveyor belt 151 can cover more of the drive wheel 152, and the drive wheel 152 can drive the conveyor belt 151 more stably, which in turn makes the conveyor belt 151 transport the circuit board more stably.
[0068] Specifically, the conveyor drive mechanism 172 is fixedly mounted on a tilting plate 13. A transmission rod 153 is rotatably mounted between two tilting plates 13. The two transmission rods 153 are connected to the output end of the conveyor drive mechanism 172 via a belt assembly 1A (pulley and belt body). The drive wheel 152 is fixedly sleeved with the transmission rod 153. Each transmission rod 153 drives the conveyor belts 151 on the same side of two conveyor modules 15. That is, the conveyor drive mechanism 172 can synchronously drive four sets of conveyor belts 151 through the belt assembly 1A and the transmission rods 153.
[0069] Please refer to Figure 2 and Figure 3 In this embodiment, clamping mechanisms 16 are symmetrically arranged at both ends of at least one fixing rod 12. A limit block 131 (e.g., ...) is provided on one side of the flip plate 13. Figure 3 (In this embodiment, the limiting block 131 is composed of two blocks.) The clamping mechanism 16 includes a clamping cylinder 161, a mounting base 162, and a movable clamping block 163.
[0070] A fixed clamping block 1621 extends from one end of the mounting base 162, and a movable clamping block 163 is rotatably mounted on the mounting base 162. A clamping cylinder 161 is connected to the mounting base 162, and the output end of the clamping cylinder 161 is connected to the movable clamping block 163 via a connecting rod 164. When the conveying module 15 is flipped to a horizontal state, the movable clamping block 163 and the fixed clamping block 1621 of one of the clamping mechanisms 16 clamp the limiting block 131. When the conveying module 15 is flipped to a horizontal state in different orientations, one of the two clamping mechanisms 16 clamps the limiting block 131, so that the conveying module 15 is stably maintained in a horizontal conveying state.
[0071] Both ends of the clamping cylinder 161 are equipped with magnetic switches. When the clamping cylinder 161 extends into position, the magnetic switches send a feedback signal to the PLC indicating that the corresponding work step has been completed.
[0072] In this embodiment, two width-adjusting screws 19 are connected between the two flip plates 13. Both width-adjusting screws 19 pass through the flip plates 13, and both ends of the width-adjusting screws 19 are provided with synchronous pulleys. The two synchronous pulleys are connected by a synchronous belt 1B, and the two width-adjusting screws 19 can rotate synchronously, thereby stably driving the movable mounting plate 14 to move.
[0073] The working principle of this invention is as follows: Before use, the positions of the first positioning bar 23 and the second positioning bar 26 are adjusted according to the height of the upstream and downstream conveyor lines. When the heights of the upstream and downstream conveyor lines are inconsistent, the lifting cylinder 22 will correspondingly drive or shut down once each time the conveyor module 15 flips. When the heights of the upstream and downstream conveyor lines are consistent, there is no need to set up the lifting cylinder 22; it is only necessary to control the conveyor module 15 to perform flipping and conveying operations.
[0074] To further clarify the control method of the flipping machine of the present invention, several specific application examples of the control method of the flipping machine of the present invention will be described below.
[0075] In conformal coating production lines, the spraying machines are typically equipped with a connecting platform. Some customers require that every machine on the entire production line can automatically adjust the width of its conveyor module. For example, if the target width of 400 mm is entered on the touchscreen and the automatic width adjustment button is clicked, the PLC will send pulses to control the servo motor to automatically adjust the width of the conveyor module to 400 mm.
[0076] The following is an example illustrating the application of the automatic width adjustment and zeroing control method for flipping machines:
[0077] Step 1: The PLC decodes the work instruction code D20 = K0, which corresponds to the ON state of relay M100. Using M100 as a condition, a normally open button M55 (width modulation and zero-return start) is connected in series. Then, a new work instruction code INC (increment) D20 is output, incremented by 1. That is, while M100 is ON, the PLC waits until button M55 is ON (zero-return start), at which point the value in D20 changes from K0 to K1, and the process jumps to the next step.
[0078] Step 2: Decode the new work instruction code D20 = K1 to indicate that the corresponding relay M101 is in the ON state. Use M101 as a condition to connect the normally closed feed sensor X5 and the normally open discharge sensor X1 in series, and then connect timer T101 in series. That is, when M101 is ON, wait until the feed sensor X5 and the discharge sensor X1 are OFF, and then wait until the timer T101 delay time expires. At this point, output the new work instruction code INC D20, incrementing the sequence position by 1. The value in D20 then changes from K1 to K2, and proceed to the next step.
[0079] Step 3: Decode the new work instruction code D20 = K2 to indicate that the corresponding relay M102 is in the ON state. Use the normally open M102 as a condition to execute the pulse control to rotate the servo motor or stepper motor, driving the conveyor module to move in the negative direction. After using M102 as a condition, connect the width-adjusting limit mechanism X2 and the normally open timer T101 in series. That is, when M102 is ON, the equiaxial movement sprays until the normally closed limit mechanism X2 signal, and then waits for the timer T101 delay time (limit delay) to expire. At this time, output the new work instruction code INC D20 with the sequence position incremented by 1. At this time, the value in D20 changes from K2 to K3, and jump to the next step.
[0080] Step 4: Decode the new work instruction code D20 = K3 to indicate that the corresponding relay M103 is in the ON state. Use the normally open M103 as a condition to execute the pulse control to rotate the servo motor or stepper motor, driving the conveyor module to move forward. After using M103 as a condition, connect the normally open signal of the width-adjusting limit mechanism X2 in series, and then output the new work instruction code INC D20 with the sequence position incremented by 1. At this time, the value in D20 changes from K3 to K4, and jump to the next step.
[0081] Step 5: Decode the new work instruction code D20 = K4 to indicate that the corresponding relay M104 is in the ON state. Use the normally open M104 as a condition to execute the pulse control to rotate the servo motor or stepper motor, driving the conveyor module to move forward a set distance. Then, use M104 as a condition followed by the normally open M59 (move-in completion signal), and output the new work instruction code INC D20 with the sequence position incremented by 1. At this point, the value in D20 changes from K4 to K5, and the process jumps to the next step.
[0082] Step Six: Decode the new work instruction code D20 = K5 to indicate that the corresponding relay M105 is in the ON state. Use M105 as a condition to set the zero point, i.e., clear the current coordinates to zero. Then, use M105 as a condition to directly output the new work instruction code INC D20, which increments the sequential position by 1. At this point, the value in D20 changes from K5 to K6. Proceed to the next step.
[0083] Step 7: Decode the new work instruction code D20 = K6 to indicate that the corresponding relay M106 is in the ON state. Use M106 as a condition to calculate and add the zero-return compensation value to the current value, displaying it at the current coordinate. Then, use M106 as a condition to directly output the new work instruction code INC D20, which increments the sequential position by 1. At this point, the value in D20 changes from K6 to K7, and the process jumps to the next step.
[0084] Step 8: Decode the new working instruction code D20 = K7 to indicate that the corresponding relay M107 is in the ON state. Then, use M107 as a condition to directly output the assignment instruction MOV K0 D20 (used to transfer the constant 0 (K0 represents the decimal constant 0) to the target operating element). At this time, the value in D20 changes from K7 to K0. This is how the loop logic jumps back to the first step from the last step, and so on, continuing the loop.
[0085] It should be noted that in the application example of the automatic width adjustment and zeroing control method for flip-board machines, there are multiple conditions for each step. For example, to execute the action of extending the positioning cylinder, after the PLC's Y-point output is energized, the corresponding solenoid valve drives the positioning cylinder to extend. Generally, two magnetic switches are installed at both ends of the cylinder. When the cylinder extends to the correct position, the magnetic switch lights up, and the signal is connected to the PLC's input point. At this time, this magnetic switch input point signal is connected in series in the conditions. When the conditions are met, the instruction INC D20, which increments the sequential position by 1, is executed, and the decoding process jumps to the next step.
[0086] Before automatically adjusting the width of the conveyor module, a process of returning the conveyor module to its origin must be performed. The following example illustrates the application of the control method for returning the conveyor module to its origin on a flipping machine:
[0087] Step 1: Relay M100 is ON, waiting for the return-to-origin start. Specifically, this is the button M55 (return-to-origin start signal). This button M55 signal is displayed on the touchscreen interface of the flip machine. When the user presses the return-to-origin button M55, a new working instruction code INC D20 is output, incrementing the sequence position by 1. At this time, the value in D20 changes from K0 to K1, and the process proceeds to the next step.
[0088] Step Two: The controller determines whether there is a product at the inlet / outlet sensor position. Specifically, outlet sensor X1 is normally closed, and inlet sensor X5 is normally closed. If neither outlet sensor X1 nor inlet sensor X5 detects a product, a new working instruction code INC D20 is output, incrementing the sequential position by 1. The value in D20 changes from K1 to K2, and the process jumps to the next step. Otherwise, an alarm is triggered, and the process returns to Step One. If any sensor has a signal, a pop-up alarm is activated, displaying the message: "There is product on the conveyor module; return to the origin position is not possible. Please remove the product before operating, as moving the conveyor module while a product is present may either damage the product or cause it to fall."
[0089] Step 3: Relay M102 is ON, and the conveyor module moves back to its origin in the negative direction. Specifically, the normally closed X2 limit sensor uses M102 as a condition to send pulses to the servo driver. The servo driver controls the servo motor to rotate, which in turn controls the ball screw to rotate, causing the conveyor module on the ball screw to move in the negative direction until it is detected by the limit sensor. A new working instruction code INC D20, incrementing the sequential position by 1, is then output. At this point, the value in D20 changes from K2 to K3. Relay M102 is OFF, stopping the pulse sending. The servo motor then stops moving. The process then proceeds to the next step.
[0090] Step 4: Relay M103 is ON, and the conveyor module moves in the forward direction until it is disengaged from the limit sensor. Specifically, limit sensor X2 is normally open. M103 sends a pulse to the servo driver, which controls the servo motor to rotate, which in turn controls the ball screw to rotate, moving the conveyor module on the ball screw in the forward direction until it is disengaged from the limit sensor. A new working instruction code INC D20, incrementing the sequential position by 1, is then output. At this point, the value in D20 changes from K3 to K4. Relay M103 is OFF, stopping the pulse sending and the servo motor stops moving. The process then proceeds to the next step.
[0091] Step 5: Relay M104 is ON, the conveyor module moves a set distance in the positive direction. M104 sends a pulse to the servo driver, which controls the servo motor to rotate, which in turn controls the ball screw to move the conveyor module a set distance in the positive direction. Once the positioning completion signal M59 is ON, a new working instruction code INC D20 is output, incrementing the sequential position by 1. The value in D20 changes from K4 to K5. Relay M104 is OFF, stopping pulse sending. The servo motor stops moving, and the process jumps to the next step.
[0092] Step Six: Set the zero point by turning relay M105 ON. Use M105 as a condition to send the MOV command to zero the current coordinates. Then, use M105 to directly output the new working instruction code INC D20, which increments the sequential position by 1. At this point, the value in D20 changes from K5 to K6. Simultaneously, jump to the next step.
[0093] Step 7: Relay M106 ON displays the coordinates with the compensation value. Using M106 as a condition, the zero-return compensation value plus K0 is transmitted to the current coordinate. Then, M106 directly outputs the new working instruction code INC D20, which increments the sequential position by 1. At this point, the value in D20 changes from K6 to K7. Simultaneously, proceed to the next step.
[0094] Step 8: The process of relay M107 ON returning to the origin ends. Then, use M107 to directly output the assignment instruction MOV K0D20. At this time, the value in D20 changes from K7 to K0. Simultaneously, jump to step 1. The process of the conveyor module returning to the origin is completed.
[0095] In the production line for spraying conformal coating, there is a part that requires spraying both the front and back sides. Therefore, a flipping machine is usually set up in the middle. The spraying machine in front of the flipping machine sprays the front side first, and then the product enters the flipping machine to flip it to the back side before flowing into the second spraying machine to spray the back side.
[0096] The following is an example illustrating the application of the control method for the flipping conveyor of the flipping machine:
[0097] Step 1: Relay M100 ON, ready to start. Specifically, the X0 feed sensor is normally closed and the start button M1 is normally open. Upon startup, the feed sensor signal is read first. If there is no product in the feed inlet, proceed to the next step. If there is a product in the feed inlet, a pop-up window will display "Please remove the product from the feed inlet before starting." A new working instruction code INC D20, incremented by 1, will then be output. The value in D20 will change from K0 to K1. Simultaneously, proceed to the next step.
[0098] Step Two: Relay M101 is ON, and the feed blocking cylinder is activated. Specifically, the T101 cylinder blocking timer is normally open. Once the T101 cylinder blocking timer's delay time expires, the output point Y4, controlled by the T101 condition, lowers the feed blocking cylinder. This prevents products outside the flipper from entering. A new working instruction code, INC D20, is then output, incrementing the sequence position by 1. At this point, the value in D20 changes from K1 to K2. Simultaneously, the process jumps to the next step.
[0099] Step 3: Relay M102 ON to determine if the product is in the front position. Specifically, the front position limit sensor X4 is normally open, and timer T102 delays in the front position. If the product is determined to be in the front position, proceed to the next step. If it is neither in the front nor the back position, use the assignment instruction MOV K17 D20 to jump to step eighteen below. If it is in the back position, use the assignment instruction MOV K10 D20 to jump to step eleven below. Then, output the new working instruction code INC D20, incrementing the sequential position by 1. At this time, the value in D20 changes from K2 to K3. Simultaneously, jump to the next step.
[0100] Step 4: Relay M103 ON, the front-facing pressing cylinder clamps down. Specifically, M103 acts as a condition, followed by a normally open timer T103 connected in series. The delay in the pressing cylinder's clamping position controls the opening of output point Y14, which in turn controls the front-facing pressing cylinder to press down the limit block of the flipping mechanism, keeping it in the front-facing position. A new working instruction code INCD20 is then output, incrementing the sequence position by 1. At this point, the value in D20 changes from K3 to K4. Simultaneously, the process jumps to the next step.
[0101] Step 5: Relay M104 is ON, the conveyor module chain rotates forward for a set time, and the controller checks if there is a product. Specifically, M104 is used as a condition followed by the normally closed signals of the first positioning sensor X15 and the second positioning sensor X17, and the normally open signal of the timer T104. This allows the flipper chain to rotate forward for the set time, then reads the first and second positioning sensors. If there is no product, it waits for the set time and then jumps to the next step. If there is a product, the assignment instruction MOV K9 D20 jumps to step nine, skipping the feeding process. Then, a new working instruction code INC D20 is output, incrementing the sequence position by 1. At this time, the value in D20 changes from K4 to K5. Simultaneously, it jumps to the next step.
[0102] Step Six: Relay M105 is ON, releasing the feed blocking cylinder and sending a request signal to the forward station. Specifically, M105 is used as a condition followed by a timer T105, which controls the opening of output point Y4 (releasing the feed blocking cylinder) and output point Y17 (sending a request signal to the forward station). The new working instruction code INC D20, with the sequential position incremented by 1, is then directly output. At this point, the value in D20 changes from K5 to K6. Simultaneously, the process jumps to the next step.
[0103] Step 7: Relay M106 is ON, waiting for board feed. Specifically, M106 is used to conditionally connect the feed sensor M27, the board quantity selector M650, and the timer T106, outputting a new working instruction code INC D20 with the sequence position incremented by 1. At this time, the value in D20 changes from K6 to K7. Simultaneously, proceed to the next step. This ensures that a board is fed into the feed port and completes feeding after the delay time, then proceeds to the next step.
[0104] Step 8: Relay M107 is ON, and the feed blocking cylinder stops the flow. Specifically, M107 is connected in series with timer T107, and output point Y4 is turned off to control the feed blocking cylinder to prevent products from the previous station from flowing into the flipper. The output sequence position is then incremented by 1, resulting in a new working instruction code INC D20. At this point, the value in D20 changes from K7 to K8. Simultaneously, proceed to the next step.
[0105] Step Nine: Relay M108 is ON, waiting for the board to reach the positioning position. Specifically, the position sensor X15 and the board quantity selector M650 are normally open, waiting for the product from the previous feeding process to flow into the positioning position before proceeding to the next step. A new work instruction code INC D20, incrementing the sequence position by 1, is then output. At this point, the value in D20 changes from K8 to K9. Simultaneously, proceeding to the next step...
[0106] Step 10: Relay M109 ON, the conveyor module chain stops running. Specifically, the straight-through mode controller M12 is normally closed, shutting down the output point Y0 to send a pulse to stop the chain. If the operator selects non-straight-through mode, after shutting down the output point Y0 to send a pulse to stop the chain, immediately proceed to the next step to release the front-side clamping cylinder, perform the flipping, and then discharge the material. If the operator selects straight-through mode, after shutting down the output point Y0 to send a pulse to stop the chain, immediately proceed to step 14 below, waiting for the next station's board signal to discharge the material directly, without needing to flip it. The output sequence position is then incremented by 1 to a new working instruction code INC D20, at which point the value in D20 changes from K9 to K10. Simultaneously, proceed to the next step.
[0107] Step 11: Relay M110 ON, releasing the front-side clamping cylinder. Specifically, the normally closed sensor X7 inside the feed inlet and the timer T110 delay program control the closing of output point Y14, thereby controlling the release of the front-side clamping cylinder to prepare for the flipping mechanism to flip. A new working instruction code INC D20 is then output, incrementing the sequence position by 1. At this point, the value in D20 changes from K10 to K11. Simultaneously, proceed to the next step.
[0108] Step 12: Relay M111 ON, conveyor module flips. Specifically, this controls output point Y2 to activate the relay, ultimately controlling the flipping motor to rotate 180 degrees clockwise, causing the flipping mechanism to flip the product to the reverse side. A new work instruction code INC D20, incrementing the sequence position by 1, is then output. The value in D20 changes from K11 to K12. Simultaneously, proceed to the next step.
[0109] Step 13: Relay M112 is ON, waiting for the conveyor module to be flipped into position. Specifically, M112 is used as a condition, followed by the normally open signal of the reverse side status limit sensor X5, which outputs a new working instruction code INC D20 with the sequential position incremented by 1. At this time, the value in D20 changes from K12 to K13. Simultaneously, proceed to the next step.
[0110] Step Fourteen: Relay M113 is ON, and the reverse clamping cylinder clamps. Specifically, M113 is used as a condition followed by a timer T113 delay program, which outputs a new working instruction code INC D20 with the sequential position incremented by 1. At this time, the value in D20 changes from K13 to K14. Simultaneously, proceed to the next step.
[0111] Step 15: Relay M114 is ON, awaiting the next station's board request signal. Specifically, M114 is used as a conditional connection to the normally open X16 board request signal from the next station, outputting a new working instruction code INC D20 with the sequence position incremented by 1. At this time, the value in D20 changes from K14 to K15. Simultaneously, proceed to the next step.
[0112] Step Sixteen: Relay M115 ON, the conveyor module chain reverses to exit the plate. Specifically, M1115 is used as a condition followed by the normally closed signals of the discharge sensor X1 and the positioning sensor X15, as well as the departure delay signal. This controls the opening of output point Y0 to generate a pulse and the opening of point Y1 to control the chain to reverse and send the product out of the flipping machine. A new working instruction code INC D20 is then output, incrementing the output sequence position by 1. At this time, the value in D20 changes from K15 to K16. Simultaneously, proceed to the next step.
[0113] Step 17: Relay M116 is ON to determine if it is in straight-through mode. Specifically, M116 is used as a conditional series connection with the normally closed straight-through mode controller M12. A new working instruction code INC D20 is output, incrementing the sequence position by 1. At this time, the value in D20 changes from K16 to K17. Simultaneously, the process jumps to the next step. If this step is not in straight-through mode, it normally jumps to the next step, releases the reverse clamping cylinder, and then performs a backflip action to return to the initial position. If it is in straight-through mode, the assignment instruction MOVK6 D20 is output, jumping back to step five. This means it doesn't backflip and directly jumps back to opening the feed blocking cylinder and receiving the board signal to feed again for the next cycle.
[0114] Step 18: Relay M117 ON in reverse state, releasing the clamping cylinder. Specifically, M117 is used as a condition to control and close output point Y15, thereby controlling the release of the reverse clamping cylinder. A normally open clamping cylinder release timer T117 is connected in series afterward. A new working instruction code INC D20 is output, incremented by 1, at which point the value in D20 changes from K17 to K18. Simultaneously, proceed to the next step.
[0115] Step 19: Relay M118 ON, conveyor module flips back. Specifically, M118 is used as a condition to control the output point Y3, which in turn controls the relay to activate, thereby controlling the flipping mechanism to return to the front position, i.e., the initial position. Then, a new working instruction code INC D20 is output, incrementing the sequential position by 1. At this point, the value in D20 changes from K18 to K19. Simultaneously, proceed to the next step.
[0116] Step 20: Relay M119 is ON, waiting for the conveyor module to flip back into position. Specifically, M119 is used as a condition, with the front position limit sensor X4 normally open and the flip-back timer T119 normally open, creating a delay program. Once the sensor waiting to flip into position detects the delay, the program jumps to the next step. A new working instruction code INC D20 is then output, incrementing the sequential position by 1. At this point, the value in D20 changes from K19 to K20. Simultaneously, the program jumps to the next step.
[0117] Step 21: Relay M120 ON, the front-facing pressing cylinder clamps. Specifically, M120 is used as a condition, followed by a normally open timer T120 for the front-facing pressing cylinder, which performs a delay program. This controls the opening of output point Y14 to control the cylinder to clamp the fixing bar of the flipping mechanism, ensuring it is stably fixed in the front-facing position. A new working instruction code INC D20 is then output, incrementing the sequential position by 1. At this point, the value in D20 changes from K20 to K21. Simultaneously, the process jumps to the next step.
[0118] Step 22: Relay M121 ON, automatic operation ends. Specifically, M121 is used to directly output the assignment instruction (MOV K5 D20), changing K21 to K5 in D20. Simultaneously, jump to step five. Steps one through four are the initialization steps at startup; after one run, the second loop does not require further initialization. Therefore, we can directly jump to step five to continue the loop.
[0119] The control method of the flipping machine of the present invention pre-sets corresponding working instruction codes for several working steps, and runs multiple working steps by increasing the sequential position values to form new working instruction codes. At the same time, it can jump to the corresponding working steps by assigning values. The logic is simple and clear, debugging is more convenient, the program readability is greatly enhanced, and the maintainability of the logic control program is improved.
[0120] The flip-plate machine features an adjustable fixed rod, allowing the conveyor module to be compatible with upstream and downstream equipment or conveyor lines of varying heights. Furthermore, a lifting cylinder drives the fixed rod's movement, with first and second positioning bars providing limit control over its elevation, resulting in lower costs.
[0121] In summary, although the present invention has been disclosed above with reference to preferred embodiments, the above preferred embodiments are not intended to limit the present invention. Those skilled in the art can make various modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the scope defined in the claims.
Claims
1. A control method for a flip-board machine, characterized in that, The flipping machine includes a controller, a flipping drive mechanism, and a conveying module connected to the output end of the flipping drive mechanism. The control method of the flipping machine includes the following steps: Step S11: The operator sets the start command code for the flipping machine, divides the operation of the flipping machine into several working steps, and sets the corresponding working command code for each of the several working steps in the controller according to the settings. Step S12: The operator inputs a start command code into the controller, the controller obtains the work command code of the first sequential position, and the controller controls the flipping machine to perform the corresponding work steps according to the work command code; Step S13: When the flipping machine completes the corresponding work steps according to the work instruction code of the first sequential position, the controller increases the sequential position value of the work instruction code of the current sequential position to form a new work instruction code, and the controller controls the flipping machine to execute the corresponding work steps according to the new work instruction code; Step S14: Return to step S12 after the flipping machine has completed all the work steps corresponding to the work instruction codes.
2. The control method for the flipping machine according to claim 1, characterized in that, Step S12 further includes: The controller uses a normally open auxiliary electrical appliance operated by the PLC to output the working instruction code as a decoding instruction. The decoding instruction is used to decode the value in the value register into the on or off state of the corresponding relay.
3. The control method for the flipping machine according to claim 2, characterized in that, Step S13 further includes: When the flipping machine completes the corresponding work steps according to the work instruction code at the first sequential position, the PLC will obtain the feedback signal that the flipping machine has completed the execution. The PLC will output a new work instruction code with the sequential position incremented by 1 based on the work instruction code at the current sequential position, and output it as a new decoding instruction. The new decoding instruction is used to decode the value in the value register into the on or off state of the corresponding relay.
4. The control method for the flipping machine according to claim 3, characterized in that, The flipping machine also includes a feeding sensor, a position sensor, and a discharge sensor, which are sequentially arranged above the conveying module. The feed sensor, the position sensor, and the discharge sensor send feedback signals to the PLC indicating that the corresponding work steps have been completed.
5. The control method for the flipping machine according to claim 3, characterized in that, The feedback signal is a delay command.
6. The control method for the flipping machine according to claim 1, characterized in that, The operator inputs an assignment instruction to the controller, causing the controller to obtain the work instruction code corresponding to the sequential position of the assignment instruction.
7. The control method for the flipping machine according to claim 3, characterized in that, The flipping machine also includes: a base, a fixed rod, a flipping plate, a movable mounting plate, a conveying module, a flipping drive mechanism, and a conveying drive mechanism; Two parallel fixed rods are adjustablely mounted on the base. The sides of the two fixed rods that are close to each other are rotatably connected to the flipping plate. The flipping drive mechanism is fixedly mounted on the fixed rods. The output end of the flipping drive mechanism is drivenly connected to one of the flipping plates. A sliding guide rod and a width-adjusting screw are connected between the two flipping plates. The movable mounting plate is located between the two flipping plates and is slidably connected to the sliding guide rod. The movable mounting plate is drivenly connected to the width-adjusting screw. The conveying module is fixedly mounted on the sides of one of the flipping plates and the movable mounting plate that are close to each other. The conveying module is equipped with a conveyor belt. The output end of the conveying drive mechanism is drivenly connected to the conveyor belt.
8. The control method for the flipping machine according to claim 7, characterized in that, A connecting plate is fixedly connected to the base. The opposite sides of the fixing rods are slidably connected to the connecting plate. A lifting cylinder is fixedly installed on one side of the connecting plate. The output end of the lifting cylinder is connected to the fixing rod. The connecting plate has a first positioning strip and a second positioning strip slidably adjustable on the side where the fixing rod is mounted. The fixing rod is limited to slide up and down between the first positioning strip and the second positioning strip. The distance between the first positioning strip and the second positioning strip is less than the driving stroke of the lifting cylinder.
9. The control method for the flipping machine according to claim 8, characterized in that, The connecting plate is provided with multiple sliding grooves, and a first slider is provided on one side of the first positioning strip. The first slider is used to slide and engage with the corresponding sliding groove. A second slider is provided on one side of the second positioning strip. The second slider is used to slide and engage with the corresponding sliding groove. The connecting plate has a first fixing plate and a second fixing plate respectively on its two ends away from the first positioning strip. A first screw is threaded through and connected to the first fixing plate, and one end of the first screw is rotatably connected to the first slider. A second screw is threaded through and connected to the second fixing plate, and one end of the second screw is rotatably connected to the second slider.
10. The control method for the flipping machine according to claim 7, characterized in that, At least one of the fixed rods is symmetrically provided with clamping mechanisms at both ends, and a limit block is provided on one side of the flipping plate. The clamping mechanism includes a clamping cylinder, a mounting base, and a movable clamping block. A fixed clamping block extends from one end of the mounting base, and the movable clamping block is rotatably mounted on the mounting base. The clamping cylinder is connected to the mounting base, and the output end of the clamping cylinder is connected to the movable clamping block through a connecting rod. When the conveying module is flipped to a horizontal state, the movable clamping block and the fixed clamping block of one of the clamping mechanisms clamp the limit block. Both ends of the clamping cylinder are equipped with magnetic switches. When the clamping cylinder extends into position, the magnetic switches send a feedback signal to the PLC indicating that the corresponding work step has been completed.