Recording device and method for controlling the recording device
The recording device addresses miniaturization challenges by using a detection mechanism that adjusts the media support section height based on contact detection, optimizing scanning without protrusions.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- SEIKO EPSON CORP
- Filing Date
- 2022-01-14
- Publication Date
- 2026-05-19
AI Technical Summary
Existing recording apparatuses face challenges in miniaturization due to the need for a detection member that protrudes outside the scanning range of the inkjet head, interfering with the scanning mechanism.
A recording device with a media support section, recording section, moving section, and detection section, where the detection section includes an arm section and displacement detection, allowing for contact with the medium while moving, and adjusting the height of the media support section based on contact detection to avoid interference.
Enables miniaturization of the recording apparatus by dynamically adjusting the height of the media support section to avoid contact with the detection member, ensuring optimal scanning without protrusions.
Smart Images

Figure 0007861405000001 
Figure 0007861405000002 
Figure 0007861405000003
Abstract
Description
Technical Field
[0001] The present invention relates to a recording apparatus and a control method for the recording apparatus.
Background Art
[0002] Conventionally, in a recording apparatus, a mechanism for adjusting the positional relationship between a printing medium and a recording unit is known. For example, Patent Document 1 discloses a configuration for detecting the height of the upper end of a printing medium in order to adjust the vertical distance between the printing medium and an inkjet head. The inkjet printer disclosed in Patent Document 1 includes a table on which a printing medium is placed, a holding member that holds an inkjet head, and a detection member attached to the holding member. The detection member rotates in contact with the printing medium to detect the height of the printing medium.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] In the configuration disclosed in Patent Document 1, recording is performed by scanning an inkjet head held by a holding member with respect to a printing medium. The detection member hangs below the holding member at a position outside the scanning range of the inkjet head. In this configuration, since it is necessary to arrange the detection member at a position that does not interfere with the scanning of the inkjet head, the detection member protrudes from the end of the holding member. Therefore, there is a problem that it is difficult to miniaturize the mechanism around the table.
Means for Solving the Problems
[0005] One embodiment for solving the above problem is a recording device comprising: a media support section for supporting a medium; a recording section for recording on the medium; a moving section that moves relative to the media support section along a first axis; and a detection section attached to the moving section, wherein the detection section comprises: an arm section rotatably connected to the moving section; a contact section fixed to one end of the arm section; and a displacement detection section for detecting the displacement of the contact section, wherein the contact section is positioned on a second axis perpendicular to the first axis and overlaps the media support section; the arm section is in a non-contact position along the first axis when the contact section is not in contact with the medium; the arm section rotates around a pivot axis as the contact section comes into contact with the medium while the moving section moves; and the displacement detection section detects whether or not the arm section is in the non-contact position.
[0006] Another embodiment for solving the above problem is a control method for a recording device comprising a media support section for supporting a medium, a recording section for recording on the medium, a moving section that moves relative to the media support section along a first axis, a contact section provided at the lower end of the moving section and rotatable relative to the moving section, a displacement detection section for detecting the displacement of the contact section, and a height movement mechanism for changing the relative height of the media support section with respect to the moving section, wherein the moving section is moved in either a first direction along the first axis or a second direction opposite to the first direction, and when the displacement detection section detects that the contact section has come into contact with the medium and rotated while the moving section is moving, the movement of the moving section is interrupted, the height of the media support section is lowered by the height movement mechanism, the movement of the moving section is resumed, and the amount of change in the height of the media support section when the displacement detection section detects that the contact section has rotated is set to be different depending on whether the direction of movement of the moving section is the first direction or the second direction. [Brief explanation of the drawing]
[0007] [Figure 1] A perspective view of a recording device according to an embodiment. [Figure 2] Perspective view of the height detection unit. [Figure 3] Enlarged perspective view of the main part of the height detection unit. [Figure 4] Enlarged perspective view of the main part of the height detection unit. [Figure 5] Side view of the height detection unit. [Figure 6] Diagram illustrating the detection status of the height detection unit. [Figure 7] Diagram illustrating the detection status of the height detection unit. [Figure 8] An explanatory diagram showing the movement of the contact plate during the detection state of the height detection unit. [Figure 9] Block diagram of the recording device. [Figure 10] A flowchart illustrating the operation of the recording device. [Figure 11] A flowchart illustrating the operation of the recording device. [Modes for carrying out the invention]
[0008] [1. Overall configuration of the recording device] The recording device 1 according to this embodiment will be described below with reference to the drawings. Figure 1 is a perspective view of the recording device 1.
[0009] The recording device 1 shown in Figure 1 is a device that records on a medium M by ejecting a liquid onto the medium M using a recording head 89. The medium M can be a sheet, cloth, or a three-dimensional object. The sheet may be made of paper or synthetic resin. The cloth may be nonwoven, knitted, or woven fabric. Three-dimensional objects include clothing, shoes and other accessories, daily necessities, machine parts, and various other objects. There are no restrictions on the type of liquid that the recording device 1 ejects onto the medium M; it just needs to be fluid. For example, the recording device 1 is a printer that forms an image on the medium M by spraying one or more colors of ink onto the surface of the medium M using a recording head 89. In this case, the medium M corresponds to a printing medium.
[0010] Figure 1 shows the X, Y, and Z axes. The X, Y, and Z axes are orthogonal to each other. The Z axis is an axis that extends in the vertical direction. The X and Y axes are parallel to the horizontal plane. In the following explanation, the direction along the X axis is considered the left-right direction, and the direction along the Y axis is considered the front-back direction. More specifically, the positive direction along the Z axis is considered the upward direction, the positive direction along the X axis is considered the rightward direction, and the positive direction along the Y axis is considered the forward direction. The X, Y, and Z axes in Figure 1 indicate the same directions in the figures described later. The X axis corresponds to the second axis, and the Y axis corresponds to the first axis.
[0011] The recording device 1 has a table 31 that supports a medium M. The table 31 is a platform that does not move in the X-axis direction or the Y-axis direction. The upper surface of the table 31 is the medium support section 31m. The medium support section 31m is a plane on which the medium M can be placed. The shape and size of the medium M are not restricted as long as they do not extend beyond the medium support section 31m. The edges of the medium M may extend beyond the medium support section 31m. The height of the medium M corresponds to the size of the medium M in the +Z direction. The height of the medium M can be any size within the range in which the table 31 can be raised and lowered, as will be described later. The recording device 1 supports the medium M so that it does not move with the medium support section 31m, and scans the recording head 89 above the medium M supported by the medium support section 31m, thereby discharging liquid from the recording head 89 onto the medium M.
[0012] The recording device 1 comprises a main body 10 and a movable part 70. The main body 10 is a base fixed to the mounting surface of the recording device 1. The movable part 70 moves along the Y-axis relative to the main body 10.
[0013] The main body 10 comprises a base portion 11, a media support mechanism 30, and a drive mechanism 50. The base portion 11 is fixed to the mounting surface of the recording device 1 and supports each part of the recording device 1. Figure 1 shows an example in which a pair of rod-shaped base portions 11 are arranged side by side along the Y axis.
[0014] The media support mechanism 30 includes a table 31 and a height adjustment mechanism 32. The table 31 has a rectangular flat plate and four table legs 31n arranged at the four corners of the flat plate, and the upper surface of the flat plate is the above-mentioned media support portion 31m.
[0015] The height adjustment mechanism 32 includes a lifting motor 33, a lifting belt 37, and a lifting mechanism 39, and moves the media support portion 31m in the direction along the Z-axis. The lifting mechanism 39 is provided on each of the four table legs 31n. The lifting mechanism 39 has a ball screw arranged along the Z-axis, a nut screwed onto the ball screw, and a pulley. The ball screw of the lifting mechanism 39 is rotatably supported by the base portion 11. The nut of the lifting mechanism 39 is fixed to the table leg 31n. The pulley of the lifting mechanism 39 is fixed to the upper part of the ball screw. When the pulley of the lifting mechanism 39 rotates, the ball screw rotates, and along with the rotation of the ball screw, the table leg 31n moves along the Z-axis together with the nut.
[0016] The lifting motor 33 is a motor that rotates according to the control of a control unit 90 described later. The control unit 90 controls the rotation direction and the rotation amount of the lifting motor 33. The lifting belt 37 is an annular belt stretched between the output shaft of the lifting motor 33 and the pulleys of the four lifting mechanisms 39. When the lifting motor 33 rotates, the lifting belt 37 is driven to circulate. The lifting belt 37 transmits the rotation of the lifting motor 33 to the pulleys of the four lifting mechanisms 39. Thereby, the ball screw of the lifting mechanism 39 rotates, and the table 31 is moved along the Z-axis.
[0017] The rotation direction of the lifting motor 33 can be switched between the positive direction for moving the table 31 upward and the reverse direction for moving the table 31 downward. The recording device 1 raises and lowers the table 31 by operating the lifting motor 33.
[0018] The drive mechanism 50 includes a first guide shaft 51a, a second guide shaft 51b, and a frame drive unit 60. The first guide shaft 51a and the second guide shaft 51b are stretched across a pair of base portions 11 and arranged along the Y axis. The first guide shaft 51a is fixed to the left end of the base portion 11, and the second guide shaft 51b is fixed to the right end of the base portion 11.
[0019] The mobile unit 70 comprises a main frame 71, a first leg portion 73a, a second leg portion 73b, and a recording unit 80.
[0020] The main frame 71 is a plate-shaped member that is long in the direction along the X-axis. The size of the main frame 71 in the left-right direction is larger than that of the base portion 11. The first leg portion 73a is fitted onto the first guide shaft 51a and is movable along the first guide shaft 51a. The second leg portion 73b is fitted onto the second guide shaft 51b and is movable along the second guide shaft 51b. The main frame 71 is fixed on the first leg portion 73a and the second leg portion 73b and is supported from below by the first leg portion 73a and the second leg portion 73b. The first leg portion 73a is located at the left end of the main frame 71 and the second leg portion 73b is located at the right end of the main frame 71. The main frame 71, together with the first leg portion 73a and the second leg portion 73b, is guided by the first guide shaft 51a and the second guide shaft 51b and moves along the Y-axis.
[0021] The frame drive unit 60 includes a frame moving motor 61, a transmission belt 63, a speed change mechanism 65, and a transmission belt 67.
[0022] The frame moving motor 61 is a motor that rotates according to the control of the control unit 90, which will be described later. The transmission belt 63 is an annular belt stretched between the output shaft of the frame moving motor 61 and the transmission mechanism 65, and transmits the driving force of the frame moving motor 61 to the transmission mechanism 65. The transmission mechanism 65 has a first pulley and a second pulley, with the transmission belt 63 wrapped around the first pulley and the transmission belt 67 wrapped around the second pulley. The transmission mechanism 65 drives the transmission belt 67 by rotating the second pulley with the driving force transmitted from the transmission belt 63 to the first pulley. The transmission mechanism 65 transmits the driving force of the frame moving motor 61 to the transmission belt 67 at a reduction ratio corresponding to the ratio of the diameters of the first pulley and the second pulley.
[0023] The transmission belt 67 is an annular belt stretched between the speed change mechanism 65 and a pulley 13 located at the -Y end of the base portion 11. The pulley 13 is rotatably mounted relative to the base portion 11. The transmission belt 67 is positioned along the first guide shaft 51a. The first leg portion 73a is fixed to the transmission belt 67 via a belt connection portion 79a. As a result, the circulating drive of the transmission belt 67 applies power to the first leg portion 73a, causing it to move along the Y axis. This causes the moving portion 70 to move along the Y axis.
[0024] The rotation direction of the frame movement motor 61 can be switched between the forward direction, which moves the main frame 71 in the +Y direction, and the reverse direction, which moves the main frame 71 in the -Y direction. The recording device 1 moves the main frame 71 forward and backward by operating the frame movement motor 61.
[0025] The second leg portion 73b of the movable section 70 is guided by the second guide axis 51b. As a result, the main frame 71 moves in parallel along the first guide axis 51a and the second guide axis 51b in the +Y and -Y directions. The +Y direction corresponds to the first direction, and the -Y direction corresponds to the second direction.
[0026] The main frame 71 is equipped with a carriage support frame 81, a transmission mechanism 82, a carriage guide shaft 83, and a carriage drive motor 87. The recording unit 80 includes a carriage 88 and a recording head 89.
[0027] The carriage support frame 81 is a long, plate-shaped member oriented along the X-axis. A carriage guide shaft 83 is fixed to the carriage support frame 81 along the X-axis. The carriage 88 is supported by the carriage support frame 81 and the carriage guide shaft 83 and is movable along the carriage guide shaft 83. Within the range of movement of the carriage 88 along the X-axis, the leftmost position is designated as the home position. Mechanisms for performing maintenance such as flushing and cleaning of the recording head 89 are located at the home position. The home position of the carriage 88 is shown by a dashed line in Figure 1.
[0028] The carriage drive belt 85 is an annular belt that stretches between a transmission mechanism 82 located at the left end of the carriage support frame 81 and a pulley (not shown) located at the right end of the carriage support frame 81. The carriage drive belt 85 is positioned along the carriage guide shaft 83.
[0029] The carriage drive motor 87 is a motor that rotates according to the control of the control unit 90, which will be described later. The transmission mechanism 82 has a pulley 82a, a two-stage pulley 82b, and a belt 82c. The pulley 82a is fixed to the output shaft of the carriage drive motor 87. The belt 82c is an annular belt that is stretched between the pulley 82a and the two-stage pulley 82b. The two-stage pulley 82b has a small pulley and a large pulley that has a larger diameter than the small pulley. The belt 82c is wrapped around the large pulley, and the carriage drive belt 85 is wrapped around the small pulley. The belt 82c is driven in a circulating manner as the carriage drive motor 87 rotates, rotating the large pulley of the two-stage pulley 82b. The small pulley of the two-stage pulley 82b rotates together with the large pulley, driving the carriage drive belt 85 in a circulating manner. In this way, the rotation of the carriage drive motor 87 is transmitted to the carriage drive belt 85 with a reduction ratio corresponding to the ratio of the diameters of the large pulley and the small pulley in the two-stage pulley 82b.
[0030] A carriage 88 is connected to a carriage drive belt 85. Therefore, when the carriage drive belt 85 is driven in a circular motion, the carriage 88 moves along the X-axis. The carriage 88 is equipped with a recording head 89. As the carriage 88 moves along the X-axis, the recording head 89 moves in the left-right direction, i.e., in the +X and -X directions. Also, as the main frame 71 moves along the Y-axis, the recording head 89 moves in the front-back direction, i.e., in the +Y and -Y directions. Thus, the recording device 1 can move the recording head 89 in the front-back and left-right directions relative to the table 31. As a result, liquid such as ink can be ejected over the entire medium M supported by the table 31.
[0031] The recording head 89 has a plurality of nozzles (not shown) for discharging liquid. These nozzles open at the lower end surface of the recording head 89. When the recording head 89 discharges liquid from the nozzles, the discharged liquid flies between the lower end surface of the recording head 89 and the medium M placed on the table 31 and lands on the medium M. The distance between the lower end of the recording head 89 and the medium M is called the recording gap. In order to perform high-quality recording on the medium M, the recording device 1 has a function to adjust the size of the recording gap. Specifically, the recording device 1 adjusts the recording gap to an appropriate size by operating the lifting motor 33 to raise or lower the table 31.
[0032] The recording device 1 includes a height detection unit 20. The height detection unit 20 detects the height of the medium M placed on the table 31. The height of the medium M refers to the position of the upper end of the medium M in the direction along the Z-axis. The height detection unit 20 corresponds to an example of a detection unit.
[0033] The height detection unit 20 has a contact plate 24 that protrudes downward from the lower end of the main frame 71. The contact plate 24 is a plate-shaped member that is long in the direction along the X axis and is mounted so as to be displaceable relative to the main frame 71, as will be described later. The height detection unit 20 detects the displacement of the contact plate 24. The contact plate 24 corresponds to an example of a contact portion.
[0034] When the recording device 1 detects that the contact plate 24 has come into contact with and displaced the medium M while the moving part 70 is moving forward or backward, it determines that the relative position of the medium support part 31m with respect to the main frame 71 on the Z axis is too high. In this case, the recording device 1 lowers the medium support part 31m using the height movement mechanism 32. This allows the relative position of the medium M with respect to the recording head 89 on the Z axis to be adjusted, and the recording gap can be adjusted to an appropriate size.
[0035] In the X-axis, the position of the contact plate 24 coincides with that of the media support unit 31m. That is, the range W in the X-axis where the media support unit 31m is located overlaps with that of the contact plate 24. Therefore, the contact plate 24 can be used to detect the relative position of the entire media M placed on the media support unit 31m with respect to the recording head 89.
[0036] [2. Configuration of the height detection unit] Figure 2 is a perspective view of the height detection unit 20. Figure 3 is an enlarged perspective view of the main part of the height detection unit 20, showing an enlarged view of the right end ER of the height detection unit 20. Figure 4 is an enlarged perspective view of the main part of the height detection unit 20, showing an enlarged view of the left end EL of the height detection unit 20. Figure 5 is a side view of the height detection unit 20.
[0037] The height detection unit 20 comprises a support unit 21, a support unit 22, a pivot shaft 23, a contact plate 24, and a displacement detection unit 25. The support unit 21 supports the contact plate 24 at the left end EL of the height detection unit 20. The support unit 22 supports the contact plate 24 at the right end ER of the height detection unit 20.
[0038] The support portion 21 has a bracket 21a and a connecting portion 21b. The bracket 21a is fixed to the lower end of the main frame 71. The connecting portion 21b is a plate-shaped portion extending from the bracket 21a in the -Y direction. The left end of the contact plate 24 is attached to the connecting portion 21b by a pivot shaft 23.
[0039] The support portion 22 has a bracket 22a, a connecting portion 22b, and a projection 22c. The bracket 22a is fixed to the lower end of the main frame 71. The connecting portion 22b is a plate-shaped portion extending from the bracket 22a in the -Y direction. The right end of the contact plate 24 is attached to the connecting portion 22b by a pivot shaft 23. The projection 22c is a projection provided at the rear end of the connecting portion 22b.
[0040] At the left end EL, the pivot shaft 23 supports the contact plate 24 so that it can rotate relative to the connecting portion 21b. Similarly at the right end ER, the pivot shaft 23 supports the contact plate 24 so that it can rotate relative to the connecting portion 22b. As a result, the contact plate 24 is attached to the main frame 71 so that it can rotate on the pair of pivot shafts 23. The lower end of the contact plate 24 is bent in the +Y direction. This portion is designated as the contact portion 24a.
[0041] The displacement detection unit 25 is provided at the left end EL of the height detection unit 20. The displacement detection unit 25 has an arm 26 and a displacement sensor 27. The arm 26 is connected to the contact plate 24 and is a member that extends from the contact plate 24 in the -Y direction. The arm 26 may be integrated with the contact plate 24. In other words, the height detection unit 20 is configured to include an arm 26 and a contact plate 24 fixed to or connected to one end of the arm 26. The arm 26 corresponds to an example of an arm. The displacement sensor 27 corresponds to an example of a displacement detection unit.
[0042] The displacement sensor 27 is a sensor attached to the connecting portion 21b. The arm tip portion 26a, which is the tip of the arm 26, is bent toward the displacement sensor 27.
[0043] As the main frame 71 moves forward or backward, the contact plate 24 comes into contact with the medium M or the table 31, causing the contact plate 24 to rotate around the pivot axis 23. At this time, the arm 26 is displaced in conjunction with the rotation of the contact plate 24. The displacement sensor 27 detects the displacement of the arm 26.
[0044] Figures 3 and 4 show the state in which the contact plate 24 is not in contact with either the medium M or the table 31. This state is called the normal state. The positions of the contact plate 24 and arm 26 in the normal state are defined as the non-contact positions. As shown in Figure 4, at the rightmost end ER, a spring support portion 28 is provided on the contact plate 24. The spring support portion 28 is connected to the contact plate 24 and is a member that extends from the contact plate 24 in the -Y direction. The spring support portion 28 may be integrated with the contact plate 24. A hole is drilled in the spring support portion 28, and a spring 29 is positioned between this hole and the projection 22c. The spring 29 is a tension coil spring that applies tension to the spring support portion 28 toward the projection 22c. The spring 29 corresponds to an example of a biasing member.
[0045] The spring 29 is an example of an elastic member that applies tension to the spring support 28 toward the rear of the recording device 1. The spring 29 can also be replaced with an elastic member such as rubber. The spring 29 applies tension to the spring support portion 28 so that it approaches the projection 22c. The spring support portion 28 is closest to the projection 22c when the contact plate 24 is not in contact with the medium M and the table 31, which is the non-contact position. When the contact plate 24 rotates from the non-contact position, the tension of the spring 29 acts in a direction that returns the contact plate 24 to the normal position. Thus, the spring 29 has the function of maintaining the contact plate 24 in the non-contact position and the function of returning the contact plate 24 to the non-contact position when the contact plate 24 rotates.
[0046] The displacement sensor 27 can be any sensor capable of detecting that the arm 26 has been displaced from its non-contact position. Examples of displacement sensors 27 include magnetic sensors, reflective optical sensors, and transmissive optical sensors.
[0047] As shown in Figures 3 and 5, this embodiment shows an example in which the displacement sensor 27 is composed of a transmissive light sensor. The displacement sensor 27 has a light-emitting unit 27a and a light-receiving unit 27b. The light-emitting unit 27a has a light source such as an LED (Light Emitting Diode) and emits light toward the light-receiving unit 27b. The light-receiving unit 27b has a light-receiving element and receives the light emitted by the light-emitting unit 27a and outputs a detection value corresponding to the amount of light received. In Figure 5, the path of the light emitted by the light-emitting unit 27a is indicated by the symbol L.
[0048] A space is provided between the light-emitting unit 27a and the light-receiving unit 27b, through which the arm tip 26a can move in and out. In the non-contact position, the arm tip 26a is located between the light-emitting unit 27a and the light-receiving unit 27b, blocking the light path L. When the contact plate 24 rotates in contact with, for example, a medium M or a table 31, the arm 26 rotates together with the contact plate 24. As the arm 26 rotates, the arm tip 26a deviates from the light path L, increasing the amount of light received by the light-receiving unit 27b.
[0049] The contact plate 24, arm 26, and spring support 28 are integrated and meet around the pivot axis 23. Preferably, the weights of the contact plate 24, arm 26, and spring support 28 are adjusted so that they are horizontal in the normal state along the Y axis. More specifically, as shown in Figure 5, it is preferable that the mass of the portion MS1 in the +Y direction from the center of the pivot axis 23 and the mass of the portion MS2 in the -Y direction from the center of the pivot axis 23 are approximately the same. In this case, there is the advantage that the contact plate 24 and arm 26 are stable in the non-contact position when the contact plate 24 is not in contact with either the medium M or the table 31. Furthermore, there is the advantage that when the contact plate 24 comes into contact with either the medium M or the table 31, the contact plate 24 can easily rotate from the non-contact position together with the arm 26.
[0050] [3. Operation of the height detection unit] Figures 6 and 7 are explanatory diagrams illustrating the detection state of the height detection unit 20. Figure 8 is an explanatory diagram showing the movement of the contact plate in the detection state of the height detection unit 20. Figures 6 and 7 show the state when the contact plate 24 is in contact with the medium M while the moving part 70 is moving. In Figure 6, the direction of movement of the moving part 70 is indicated by the symbol D1. The D1 direction corresponds to the +Y direction. In Figure 7, the direction of movement of the moving part 70 is indicated by the symbol D2. The D2 direction corresponds to the -Y direction.
[0051] In the state shown in Figure 6, the contact portion 24a contacts the medium M from the rear. When the moving portion 70 moves in the direction D1 from the state in Figure 6, the contact portion 24a contacts the medium M, causing the contact plate 24 to rotate around the pivot axis 23 in the direction indicated by the symbol R1. Direction R1 is downward and rearward of the contact plate 24.
[0052] In the state shown in Figure 7, the contact portion 24a contacts the medium M from the front. When the moving portion 70 moves in the direction D2 from the state in Figure 7, the contact portion 24a contacts the medium M, causing the contact plate 24 to rotate around the pivot axis 23 in the direction indicated by the symbol R2. Direction R2 is upward and forward of the contact plate 24.
[0053] In both the state shown in Figure 6 and the state shown in Figure 7, the arm 26 is displaced and deviates from the optical path L as the moving part 70 continues to move. As a result, the displacement sensor 27 can detect that the contact plate 24 has rotated.
[0054] As shown in Figure 6, when the contact plate 24 comes into contact with the medium M while the moving part 70 moves in the D1 direction, the contact part 24a descends as the contact plate 24 rotates. The amount of this descent will be explained with reference to Figure 8.
[0055] Figure 8 shows the axis of the pivot shaft 23 as the rotation center 23c. The rotation center 23c is the center of rotation of the contact plate 24. The positions of the lower end of the contact portion 24a in the Z-axis direction are shown as positions P1 and P2. Position P1 is the position of the contact portion 24a in the normal state and is the non-contact position. Position P2 is the lowest position in the rotation range of the contact portion 24a. The difference between position P1 and position P2 is called the height H. The magnitude of the height H is determined by the rotation radius of the tip of the contact portion 24a, indicated by the symbol RR in Figure 8.
[0056] If the contact portion 24a comes into contact with the medium M or the table 31 while the moving portion 70 is moving in the D1 direction, the contact portion 24a will descend by a height H. Therefore, if the contact portion 24a and the table 31 are close together, the contact portion 24a may come into contact with the table 31 or the medium M due to its rotation. If the moving portion 70 moves further in the D1 direction from this state, the contact portion 24a may get caught on the upper surface of the table 31 or the medium M. Therefore, as will be described later, the recording device 1 ensures a gap between the contact portion 24a and the table 31 that is equal to or greater than the height H when the moving portion 70 moves in the D1 direction. This prevents the contact portion 24a from getting caught on the upper surface of the table 31 or the medium M.
[0057] [4. Configuration of the control system of the recording device] Figure 9 is a block diagram of the recording device 1, showing the functional configuration of the control system of the recording device 1. The recording device 1 has a control unit 90. The control unit 90 includes a processor such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), and a storage unit. The storage unit of the control unit 90 has volatile memory and non-volatile storage. The volatile memory is, for example, RAM (Random Access Memory). The non-volatile storage unit consists of ROM (Read Only Memory), hard disk, flash memory, etc. The control unit 90 controls each part of the recording device 1 by executing programs stored in the storage unit.
[0058] An interface (I / F) 91 is connected to the control unit 90. Interface 91 is a communication device that performs wired communication using a cable or wireless communication using a wireless communication line. Interface 91 communicates with a host computer (not shown) and receives recorded data. The recorded data includes image and character data recorded by the recording device 1 on the medium M, commands that instruct the recording device 1 to perform recording, and other data.
[0059] The control unit 90 is connected to the lifting motor 33, the frame moving motor 61, the carriage drive motor 87, and the recording head 89. The control unit 90 is also connected to the frame position sensor 92, the table position sensor 93, the carriage position sensor 94, and the displacement sensor 27.
[0060] The frame position sensor 92 is a sensor that detects the position of the main frame 71 in the Y-axis. For example, the frame position sensor 92 is a linear encoder positioned along the first guide axis 51a. The table position sensor 93 is a sensor that detects the position of the table 31 in the Z-axis. For example, the table position sensor 93 is a rotary encoder that detects the amount of rotation of the lifting motor 33, or a rotary encoder that detects the amount of rotation of the ball screw of the lifting mechanism 39. The carriage position sensor 94 is a sensor that detects the position of the carriage 88 in the X-axis. For example, the carriage position sensor 94 is a linear encoder positioned along the carriage guide axis 83. The control unit 90 determines the position of the main frame 71, the position of the table 31, and the position of the carriage 88 based on the detected values of the frame position sensor 92, the table position sensor 93, and the carriage position sensor 94.
[0061] The control unit 90 operates each motor based on the recorded data received by the interface 91. Specifically, the control unit 90 moves the moving unit 70 along the Y-axis by controlling the rotation direction of the frame moving motor 61 and the start and stop of its rotation. The control unit 90 moves the table 31 along the Z-axis by controlling the rotation direction of the lifting motor 33 and the start and stop of its rotation. The control unit 90 moves the carriage 88 along the X-axis by controlling the switching of the carriage drive motor 87 and the start and stop of its rotation. In these controls, the control unit 90 utilizes the detected values of the frame position sensor 92, the table position sensor 93, and the carriage position sensor 94.
[0062] The control unit 90 operates the recording head 89 based on the recorded data received by the interface 91, thereby causing the liquid to be discharged.
[0063] The control unit 90 adjusts the recording gap with the medium M placed on the table 31. The control unit 90 operates the frame movement motor 61 to move the main frame 71 in the D1 or D2 direction. Based on the value detected by the displacement sensor 27, the control unit 90 determines whether the arm 26 has been displaced, thereby determining whether the contact plate 24 has come into contact with the medium M or the table 31. If the control unit 90 determines that the contact plate 24 has come into contact with the medium M or the table 31, it operates the lifting motor 33 to lower the table 31.
[0064] [5. Operation of the recording device] Figures 10 and 11 are flowcharts illustrating the operation of recording device 1, showing how recording device 1 adjusts the recording gap.
[0065] In step S1, the control unit 90 adjusts the position of the table 31 to a reference position by operating the lifting motor 33 based on the value detected by the table position sensor 93. The reference position of the table 31 is a preset height, which is, for example, the position of the table 31 on the Z-axis when an appropriate recording gap is ensured when the medium M is a sheet.
[0066] In step S2, the control unit 90 starts moving the main frame 71 from its reference position. The reference position of the main frame 71 is, for example, the -Y end of the main frame 71's range of motion. In this case, the control unit 90 starts moving the main frame 71 in the +Y direction. In step S2, if the main frame 71 is not at the reference position, the control unit 90 may move the main frame 71 to the reference position before starting to move the main frame 71. While the main frame 71 is moving, the carriage 88 is held in the home position.
[0067] In step S3, the control unit 90 starts detection by the height detection unit 20 in conjunction with the start of movement of the main frame 71 in step S2. Specifically, the control unit 90 starts monitoring the detected value of the displacement sensor 27. The control unit 90 detects that the contact plate 24 has come into contact with the medium M or the table 31 when the detected value of the displacement sensor 27 changes beyond a preset range.
[0068] In step S4, the control unit 90 determines whether or not it has detected contact of the contact plate 24 with the medium M or the table 31. If contact of the contact plate 24 is not detected (step S4; NO), the control unit 90 proceeds to step S5. In step S5, the control unit 90 determines whether or not the main frame 71 has reached the end position based on the detection value of the frame position sensor 92. The end position is, for example, the end in the +Y direction within the movement range of the main frame 71. The reference position and the end position of the main frame 71 are set in advance and stored in the memory unit of the control unit 90. If it is determined that the main frame 71 has not reached the end position (step S5; NO), the control unit 90 returns to step S4. If it is determined that the main frame 71 has reached the end position (step S5; YES), the control unit 90 proceeds to step S11, which will be described later.
[0069] If contact of the contact plate 24 is detected in step S4 (step S4; YES), the control unit 90 stops the movement of the main frame 71 and moves to step S6. In step S6, the control unit 90 sets the rotation direction of the lifting motor 33 to the reverse direction and lowers the table 31 by rotating the lifting motor 33. The height to which the table 31 is lowered in step S6, i.e., the amount of descent, is a preset first set amount. The first set amount is the same as or greater than the height H shown in Figure 8, and is set based on the height H. In other words, the first set amount is determined in correspondence with the rotation radius RR of the tip of the contact part 24a. The first set amount corresponds to an example of the first change amount.
[0070] In step S7, the control unit 90 resumes the movement of the main frame 71. Subsequently, in step S8, the control unit 90 determines whether or not it has detected contact of the contact plate 24 with the medium M or the table 31. If contact of the contact plate 24 is detected (step S8; YES), the control unit 90 returns to step S6 and stops the movement of the main frame 71.
[0071] If contact of the contact plate 24 is not detected (step S8; NO), the control unit 90 proceeds to step S9. In step S9, the control unit 90 determines whether the main frame 71 has reached the end position based on the detection value of the frame position sensor 92. If it is determined that the main frame 71 has not reached the end position (step S9; NO), the control unit 90 returns to step S8. If it is determined that the main frame 71 has reached the end position (step S9; YES), the control unit 90 proceeds to step S10. In step S10, the control unit 90 stops the movement of the main frame 71 and proceeds to step S14 in Figure 11.
[0072] Meanwhile, in step S11, the control unit 90 stops the movement of the mainframe 71. Subsequently, in step S12, the control unit 90 outputs an error. In step S12, the control unit 90 outputs a signal indicating the error to, for example, the host computer connected to the interface 91. Also, if the recording device 1 is equipped with a display, in step S12, the control unit 90 displays characters or the like indicating the error on the display.
[0073] In step S13, the control unit 90 moves the main frame 71 to the reference position and terminates the process.
[0074] In step S14, the control unit 90 sets the rotation direction of the lifting motor 33 to the positive direction and rotates the lifting motor 33 to raise the table 31. The height to which the table 31 is raised in step S14, i.e., the amount of rise, is a preset second setting amount. The second setting amount is smaller than the height H shown in Figure 8.
[0075] Next, in step S15, the control unit 90 starts moving the main frame 71 in the -Y direction from its end position. Also, in step S16, the control unit 90 starts detection by the height detection unit 20 in conjunction with the start of movement of the main frame 71.
[0076] In step S17, the control unit 90 determines whether or not it has detected contact between the contact plate 24 and the medium M or the table 31. If contact between the contact plate 24 and the medium is not detected (step S17; NO), the control unit 90 proceeds to step S20, which will be described later.
[0077] If contact with the contact plate 24 is detected (step S17; YES), the control unit 90 stops the movement of the main frame 71 and moves to step S18. In step S18, the control unit 90 sets the rotation direction of the lifting motor 33 to the reverse direction and lowers the table 31 by rotating the lifting motor 33. The height to which the table 31 is lowered in step S18, i.e., the amount of descent, is a preset third setting amount. The third setting amount is smaller than the first setting amount. The third setting amount corresponds to an example of the second change amount.
[0078] Next, the control unit 90 resumes the movement of the main frame 71 in step S19 and returns to step S17.
[0079] In step S20, the control unit 90 determines whether the main frame 71 has reached the end position. If it determines that the main frame 71 has not reached the end position (step S20; NO), the control unit 90 returns to step S17. If it determines that the main frame 71 has reached the end position (step S20; YES), the control unit 90 proceeds to step S21. In step S21, the control unit 90 stops the movement of the main frame 71. Subsequently, in step S22, the control unit 90 stores the height of the table 31 in a storage unit (not shown) and terminates this process.
[0080] [6. Effects of the Embodiment] As described above, the recording device 1 according to the embodiment of this disclosure includes a media support section 31m for supporting a medium M, a recording section 80 for recording on the medium M, and a moving section 70 that moves relative to the media support section 31m along a first axis. The recording device 1 includes a height detection section 20 attached to the moving section 70. The height detection section 20 includes an arm 26 rotatably connected to the moving section 70, a contact plate 24 fixed to one end of the arm 26, and a displacement sensor 27 for detecting the displacement of the contact plate 24. The contact plate 24 is positioned to overlap the media support section 31m on a second axis perpendicular to the first axis. The arm 26 is in a non-contact position along the first axis when the contact plate 24 is not in contact with the medium M, and rotates around a pivot axis 23 as the contact plate 24 comes into contact with the medium while the moving section 70 moves. The displacement sensor 27 detects whether or not the arm 26 is in the non-contact position.
[0081] With this configuration, the height of the medium M can be detected by detecting whether or not the contact plate 24 has come into contact with the medium M while the moving part 70 is moving. Since the contact plate 24 is positioned to overlap with the medium support part 31m in the X-axis perpendicular to the direction of movement of the moving part 70, it is not necessary to provide the height detection part 20 in a position that protrudes from the moving part 70 in the X-axis direction, for example. Therefore, the height of the medium M can be detected without providing any members that protrude around the table 31.
[0082] The recording device 1 includes a biasing member that biases the arm 26 in a direction that prevents it from deviating from its non-contact position. With this configuration, since the arm 26 is held in the non-contact position, it is possible to suppress the occurrence of false detection of contact when the contact plate 24 is not in contact with the medium M. Therefore, the height of the medium M can be detected more accurately.
[0083] In the recording device 1, the contact plate 24 is attached to the lower end of the movable part 70, and the lower end of the contact plate 24 protrudes below the arm 26. With this configuration, the height detection unit 20 can be placed on the movable part 70 without protruding from the movable part 70 in the X-axis direction.
[0084] The recording device 1 includes a height adjustment mechanism 32 that changes the relative height of the media support section 31m with respect to the movable section 70, and a control unit 90 that operates the height adjustment mechanism 32. The movable section 70 is movable in a first direction along the first axis and in a second direction opposite to the first direction. When the displacement sensor 27 detects that the arm 26 is not in the non-contact position while the movable section 70 is moving in the first or second direction, the control unit 90 changes the height of the media support section 31m using the height adjustment mechanism 32. The control unit 90 makes the amount of change in the height of the media support section 31m different depending on the direction of movement of the movable section 70 when the displacement sensor 27 detects that the arm 26 is not in the non-contact position. For example, the control unit 90 lowers the table 31 by a first set amount when the direction of movement of the movable section 70 is in the +Y direction, and lowers the table 31 by a third set amount when the direction of movement of the movable section 70 is in the -Y direction. This configuration makes it possible to avoid issues caused by the contact plate 24 moving toward the table 31 when the contact plate 24 and arm 26 rotate.
[0085] In the recording device 1, the pivot axis 23 of the arm 26 is located behind the contact plate 24 when the moving part 70 moves in the first direction. The control unit 90 sets the change in height of the media support part 31m when the moving part 70 moves in the first direction as the first change amount, and the change in height of the media support part 31m when the moving part 70 moves in the second direction as the second change amount, which is smaller than the first change amount. The first change amount corresponds to the first set amount, and the second change amount corresponds to the third set amount. In this configuration, when the moving part 70 moves in the +Y direction, the contact plate 24 and the arm 26 rotate around the pivot axis 23 located behind them. Therefore, the contact plate 24 and the arm 26 descend as they rotate, but the control unit 90 can avoid the contact plate 24 coming into contact with the upper surface of the table 31 by lowering the table 31 by the third set amount.
[0086] In the recording device 1, the difference between the first change amount and the second change amount is determined in accordance with the difference between the position of the contact plate 24 in the non-contact position and the position of the contact plate 24 when it descends due to the rotation of the arm 26. Specifically, the first set amount is determined in accordance with the height H, which is the difference between position P1 and position P2. This makes it possible to more reliably avoid events caused by the contact plate 24 moving in a direction toward the table 31 when the contact plate 24 and arm 26 rotate.
[0087] In the recording device 1, the difference between the first change amount and the second change amount is determined in accordance with the radius of rotation when the contact plate 24 rotates around the pivot axis 23 of the arm 26. Specifically, the first set amount is determined in accordance with the radius of rotation RR of the contact portion 24a. This makes it possible to more reliably avoid events caused by the contact plate 24 moving toward the table 31 when the contact plate 24 and arm 26 rotate.
[0088] The control unit 90 moves the movable unit 70 in a first or second direction, and interrupts the movement of the movable unit 70 if the displacement sensor 27 detects that the arm 26 is not in the non-contact position during the movement of the movable unit 70. The control unit 90 then changes the height of the media support unit 31m to a lower level using the height movement mechanism, and resumes the movement of the movable unit 70, and stores the height of the media support unit 31m when the movable unit 70 has completed movement within a predetermined range. The predetermined range is, for example, the range in which the movable unit 70 can move along the Y-axis, and is between the reference position and the end position of the main frame 71. With this configuration, the height position of the media M can be detected and the detected height can be stored based on the detection state of the height detection unit 20 while the movable unit 70 is moving.
[0089] The recording device 1 of this embodiment includes a media support section 31m, a recording section 80, and a moving section 70 that moves relative to the media support section 31m along a first axis. The recording device 1 includes a contact plate 24 provided at the lower end of the moving section 70 and rotatable relative to the moving section 70, a displacement sensor 27 for detecting the displacement of the contact plate 24, and a height movement mechanism for changing the relative height of the media support section 31m with respect to the moving section 70. The control method for the recording device 1 moves the moving section 70 in either a first direction along the first axis or a second direction opposite to the first direction. Furthermore, if the displacement sensor 27 detects that the contact plate 24 has come into contact with the media M and rotated while the moving section 70 is moving, the movement of the moving section 70 is interrupted, and the height of the media support section 31m is lowered by the height movement mechanism. Then, when the movement of the movable part 70 is resumed and the displacement sensor 27 detects that the contact plate 24 has rotated, the amount of change in the height of the media support part 31m is set to be different depending on whether the direction of movement of the movable part 70 is the first direction or the second direction.
[0090] With this configuration, the height of the medium M can be detected by detecting whether or not the contact plate 24 has come into contact with the medium M while the movable part 70 is moving. Since the contact plate 24 is positioned to overlap with the medium support part 31m in the X-axis perpendicular to the direction of movement of the movable part 70, it is not necessary to provide the height detection part 20 in a position that protrudes from the movable part 70 in the X-axis direction, for example. Therefore, the height of the medium M can be detected without providing any members that protrude around the table 31. The recording device 1 can then detect the height position of the medium M based on the detection state of the height detection part 20 while the movable part 70 is moving, and store the detected height.
[0091] [7. Other Embodiments] The above embodiments are merely examples illustrating the application of the present invention. The present invention is not limited to the configuration of the above embodiments, and can be implemented in various forms without departing from the spirit of the invention.
[0092] For example, a configuration in which the recording device 1 moves the moving part 70 along the Y-axis was described using a frame moving motor 61, a transmission belt 63, a speed change mechanism 65, and a transmission belt 67, but this is just one example. The recording device 1 may also be configured such that, for example, the first guide shaft 51a is made of a ball screw, a nut that engages with the ball screw is fixed to the first leg portion 73a, and the first guide shaft 51a is rotated by the driving force of the frame moving motor 61. Alternatively, the recording device 1 may be configured to move the moving part 70 along the Y-axis by applying driving force to both the first leg portion 73a and the second leg portion 73b of the main frame 71. Similarly, a transmission mechanism 82 was described as a configuration in which the recording device 1 scans the recording unit 80 in the X-axis direction, but this is just one example. Instead of the transmission mechanism 82, a configuration using a ball screw and a nut may be adopted, or the carriage 88 may be moved by a linear motor. Furthermore, while a height-moving mechanism 32, which drives a lifting mechanism 39 by a lifting belt 37, has been described as a configuration for raising and lowering the table 31, this is merely one example. For example, the recording device 1 may be configured to raise and lower the table 31 using a rack and pinion mechanism. The media support portion 31m, which is the upper surface of the table 31, is not limited to a flat surface. For example, the table 31 may be a pedestal having a holder such as claws or a belt for holding the media M. Alternatively, the media support portion 31m may be a recess into which the media M is fitted. Other mechanical configurations of the recording device 1 can be appropriately modified to achieve the same function as in the present invention.
[0093] The configuration of the recording device 1 shown in Figure 9, which includes a frame position sensor 92, a table position sensor 93, and a carriage position sensor 94, is just one example. For example, the recording device 1 may be configured to determine the position of the main frame 71 by detecting the amount of rotation of the frame moving motor 61. Similarly, the recording device 1 may be configured to determine the position of the table 31 by detecting the amount of rotation of the lifting motor 33, or to determine the position of the carriage 88 by detecting the amount of rotation of the carriage drive motor 87.
[0094] At least some of the functional blocks shown in Figure 9 may be implemented in hardware, or they may be implemented through the collaboration of hardware and software. The processing units in the flowcharts of Figures 10 and 11 are divided according to the main processing content in order to facilitate understanding of the operation of the recording device 1, and the embodiments are not limited by the way the processing units are divided or the names of the illustrated processing units. [Explanation of symbols]
[0095] 1...Recording device, 2...Pulley, 10...Main body, 11...Base, 13...Pulley, 20...Height detection unit (detection unit), 21...Support unit, 21a...Bracket, 21b...Connecting unit, 22...Support unit, 22a...Bracket, 22b...Connecting unit, 22c...Protrusion, 23...Rotation axis, 23c...Center of rotation, 24...Contact plate (contact unit), 24a...Contact unit, 25...Displacement detection unit, 26...Arm (arm unit), 26a...Arm tip, 27...Displacement sensor (displacement detection unit), 27a...Light-emitting unit, 27b...Light-receiving unit, 28...Spring support unit, 29...Spring (biasing member), 30...Media support mechanism, 31...Table, 31m...Media support unit, 31n...Table leg, 32...Height movement mechanism, 33...Lifting and lowering Motor, 37... Lifting belt, 39... Lifting mechanism, 50... Drive mechanism, 51a... First guide shaft, 51b... Second guide shaft, 60... Frame drive unit, 61... Frame moving motor, 63... Transmission belt, 65... Speed change mechanism, 67... Transmission belt, 70... Moving unit, 71... Main frame, 73a... First leg unit, 73b... Second leg unit, 79a... Belt connection unit, 80... Recording unit, 81... Carriage support frame, 82... Transmission mechanism, 82a... Pulley, 82b... Two-stage pulley, 82c... Belt, 83... Carriage guide shaft, 85... Carriage drive belt, 87... Carriage drive motor, 88... Carriage, 89... Recording head, 90... Control unit, RR... Turning radius.
Claims
1. A media support section which is a flat surface on which a media can be placed, A recording unit that records on the aforementioned medium, A moving part moves along a first axis that is aligned with the media support part, A detection unit attached to the aforementioned moving part, It comprises a main body, which is fixed to the mounting surface and serves as a base for supporting the media support part, The movable part is supported so as to be movable relative to the media support part and the main body part by a drive mechanism. The recording unit is supported by the movable unit so as to be movable relative to the movable unit, The detection unit comprises an arm rotatably connected to the movable part, a contact part fixed to one end of the arm, and a displacement detection unit for detecting the displacement of the contact part. The arm portion, the displacement detection portion, and the contact portion are arranged in the range of the media support portion along a second axis perpendicular to the first axis and along the media support portion. The aforementioned arm portion is When the contact portion is not in contact with the medium, it is in a non-contact position along the first axis. As the moving part moves, the contact part comes into contact with the medium, causing it to rotate around the pivot axis. The displacement detection unit is a recording device that detects whether or not the arm is in the non-contact position.
2. The recording device according to claim 1, further comprising a biasing member that biases the arm portion in a direction that prevents it from deviating from the non-contact position.
3. The contact portion is attached to the lower end of the movable portion. The recording device according to claim 1 or claim 2, wherein the lower end of the contact portion protrudes below the arm portion.
4. A height adjustment mechanism that changes the relative height of the media support portion with respect to the moving portion, The system comprises a control unit for operating the height movement mechanism, The movable part is movable in a first direction along the first axis and in a second direction opposite to the first direction. The lower end of the contact portion is bent in a first direction along the first axis, The control unit, If the displacement detection unit detects that the arm is not in the non-contact position while the moving part is moving in the first or second direction, the height movement mechanism lowers the height of the media support part. The recording device according to claim 3, wherein the amount of change in the height of the media support portion is made greater when the movement direction of the moving portion is the first direction when the displacement detection unit detects that the arm portion is not in the non-contact position, compared to when the movement direction is the second direction.
5. The pivot axis of the arm is located behind the contact portion when the moving portion moves in the first direction. The recording apparatus according to claim 4, wherein the control unit sets the amount of change in the height of the media support portion when the direction of movement of the moving portion is the first direction as a first change, and the amount of change in the height of the media support portion when the direction of movement of the moving portion is the second direction as a second change that is smaller than the first change.
6. The recording device according to claim 5, wherein the difference between the first amount of change and the second amount of change is determined in accordance with the difference between the position of the contact portion at the non-contact position and the position of the contact portion when the contact portion descends due to the rotation of the arm.
7. The recording device according to claim 5, wherein the difference between the first amount of change and the second amount of change is determined in accordance with the value obtained by subtracting the radius of rotation when the contact portion rotates around the pivot axis of the arm portion from the height of the lower end of the contact portion at the non-contact position.
8. The control unit, Move the movable part in the first direction or the second direction. If the displacement detection unit detects that the arm portion is not in the non-contact position while the moving portion is moving, the movement of the moving portion is interrupted. The height of the media support is lowered by the height movement mechanism, and then the movement of the moving part is resumed. The recording device according to claim 6 or 7, which stores the height of the media support when the moving part has completed movement within a predetermined range of motion.
9. A control method for a recording device comprising: a media support section which is a flat surface on which a medium can be placed; a recording section which records on the medium; a moving section which moves relative to the media support section along a first axis which is parallel to the media support section; a contact section provided at the lower end of the moving section which is rotatable relative to the moving section; a displacement detection section which detects the displacement of the contact section; and a height movement mechanism which changes the relative height of the media support section with respect to the moving section, The recording device further includes a main body which is fixed to the mounting surface and serves as a base for supporting the media support portion. The movable part is supported so as to be movable relative to the media support part and the main body part by a drive mechanism. The recording unit is supported by the movable unit so as to be movable relative to the movable unit, The displacement detection unit and the contact unit are arranged in the area of the media support unit along a second axis perpendicular to the first axis and along the media support unit. The lower end of the contact portion is bent in a first direction along the first axis, The movable part is moved in either the first direction or the second direction opposite to the first direction. If the displacement detection unit detects that the contact portion has rotated while the moving portion is in contact with the medium, the movement of the moving portion is interrupted. The height adjustment mechanism lowers the height of the media support portion. The movement of the aforementioned movable part is resumed, A control method for a recording device, wherein when the displacement detection unit detects that the contact portion has rotated, the amount of change in the height of the media support portion is set to be greater when the direction of movement of the moving portion is the first direction than when the direction of movement is the second direction.