Page 2
RML-1 PROGRAMING GUIDELINE INDEX 1 ; Overview of RML-1 2 ; Command Format 3 ; Descriptions of Commands 3-1;Mode –1 3-2;Mode –2 3-3;Commands Common to Mode-1 and Mode-2 4 ; Device Control Commands 4-1 Format of Device Control Commands 4-2 Descriptions of Device Control Commands...
Page 3
1;Overview of RML-1 1-1;Command Set RML-1 commands are grouped as commands for mode 1, commands for mode 2, and commands that are common to both mode 1 and mode 2. Mode 1:Composed of one letter or symbol; based on DXY-GL.
Page 4
RML-1 PROGRAMING GUIDELINE 2;Command Format 2-1;Description Commands are made up of letters and some symbols, and parameters are or a combination of the two. Parameters are made up of numerals, which may be signed. Commands and parameters are separated by delimiters and terminators.
Page 5
Get parameters as required. [Parameter] This is a numeral and "+", "-", or ".". The characters that appear are not RML-1 commands. The "+" may be omitted. The value "5000" must follow without any intervening extra characters.
Page 6
RML-1 PROGRAMING GUIDELINE float type This indicates a range of -8388608.0 to 8388607.0. A size of four bytes and IEEE format are assumed. Special conditions are described in section 2-5. [Terminator] This is ";". The [terminator] is formally ";". Unless specially noted otherwise, this can be omitted when followed by the next command.
Page 7
RML-1 PROGRAMING GUIDELINE delimiter or terminator loses its significance as a numerical value, the character is treated as a terminator. (Examples) PA100,,100; is equivalent to PA100,;,100; PA100++100; is equivalent to PA100;++100; PA100..100; is equivalent to PA100.;.100; PA100,.100.0; is equivalent to PA100,0.100;.0;...
Page 8
RML-1 PROGRAMING GUIDELINE common commands. Even when the portion is only one letter and the determination is made that there is no corresponding command, it is necessary to get one more letter. 3;Descriptions of Commands 3-1;Mode 1 @ (Input Z1 & Z2 command) <Format>...
Page 9
RML-1 PROGRAMING GUIDELINE D [terminator] <Type> xn: float yn: float <Parameter Range> -8388608.0 8388607.0 <Description> This sequentially cuts line segments between coordinates specified from the present tool location, in the sequence x1,y1, x2,y2,..., xn,yn. The coordinate values are all absolute coordinates. Thereafter the system is in the absolute-coordinate mode.
Page 10
RML-1 PROGRAMING GUIDELINE When the machine is at a height other than Z1 when first moving to the amounts of change dx1, dy1, the spindle is rotated if it is in a rotatable state, and after rotation stabilizes, movement to the Z1 height is effected at the speed specified by !VZ or V.
Page 11
RML-1 PROGRAMING GUIDELINE R (Relative move -- Relative-coordinate linear-movement command) <Format> R dx1, dy1, dx2, dy2,..., dxn, dyn [terminator] R [terminator] <Type> float <Parameter Range> -8388608.0 8388607.0 <Description> This performs movement at the Z2 height from the present tool position to the coordinates specified by the amount of change along the X axis dx1 and the amount of change along the Y axis dy1.
Page 12
RML-1 PROGRAMING GUIDELINE performed. ^ (Call mode 2 -- Command for calling a mode 2 command) <Format> ^ [mode 2 command] [parameter]...[parameter] [terminator(;)] <Parameter Range> This depends on the mode 2 command set. <Description> This calls a mode 2 command from mode 1.
Page 13
RML-1 PROGRAMING GUIDELINE There is no change before and after command execution in the XY origin point or in the value of Z0 set using the control panel. F (Velocity XY axis -- X- and Y-direction speed setting command) <Format>...
Page 14
RML-1 PROGRAMING GUIDELINE Similar to VS. V (Velocity Z axis -- Tool up/down speed setting command) <Format> V tool-up/down speed [terminator] V [terminator] <Type> Basically int float for noninteger values such as V 0.5 <Parameter Range> -32768 32767 [mm/sec] <Description>...
Page 15
RML-1 PROGRAMING GUIDELINE When W is used without a parameter, the default value is applied (0 msec). There is no wait time when the direction of cutting changes. When a two-dimensional command such as PD or PU is used, the dwell operation is performed just before the PD tool-down operation or just before moving the XY plane period parameters.
Page 16
RML-1 PROGRAMING GUIDELINE <Errors> For the parameters, three values -- x, y, and z -- make up one set, and more than one set may be stated. When the number of parameters is not a multiple of three, the parameters are interpreted and executed in sequence from the start as x, y, and z, and the final one or final two results in error 2.
Page 17
RML-1 PROGRAMING GUIDELINE 1. Move the tool to the tool-up position. 2. PU. 3. Clear errors. 4. Stop the spindle motor. 5. Reset the coordinate values. The present position of the tool is the same as the position in the workpiece coordinate system.
Page 19
RML-1 PROGRAMING GUIDELINE Because Z1 cannot be set outside the device's cutting range, movement to the set value is performed. The operating speed for the PD command is set using the VS or F command. However, the speed specified by the VS or F command may not necessarily be reached.
Page 20
RML-1 PROGRAMING GUIDELINE x: float y: float <Parameter range> x: -8388608.0 to 8388607.0 y: -8388608.0 to 8388607.0 <Description> A PR command without parameters effects a change to the relative- coordinate mode. When parameters are present, the command effects the relative-...
Page 21
RML-1 PROGRAMING GUIDELINE When the value of the parameter is the model's capacity or lower, the model's minimum speed is used. The given parameter value is not guaranteed to be reached in actual operation. Depending on the length of the line segment, operation may be slower than the value specified by the parameter because of an inability to accelerate fully.
Page 22
RML-1 PROGRAMING GUIDELINE msec). There is no wait time when the cutting direction changes. When a two-dimensional command such as PD or PU is used, the dwell operation is performed just before the PD tool-down operation or just before moving the XY plane period parameters.
Page 23
RML-1 PROGRAMING GUIDELINE until the motor actually stops. <Errors> No error is generated. <Other Matters> !MC 0 is used in the scribing mode. When in this state, all operations that rotate the spindle are prohibited. To cancel this state, Switch off the power.
Page 24
RML-1 PROGRAMING GUIDELINE This sets the Z1 and Z2 points in the workpiece coordinate system as relative values from the Z0 coordinate. If an error occurs with either Z1 or Z2, the setting is made for the one for which no error resulted.
Page 25
RML-1 PROGRAMING GUIDELINE <Description> This sets the rotating speed of the spindle motor. Operation varies according to the value of the parameter. Note that models that are not equipped with both are not provided with a method for specifying direct rpm.
Page 26
RML-1 PROGRAMING GUIDELINE <Errors> A negative parameter (less than 0) results in error 3. Parameters exceeding 8388607 also result in error 3 and no execution. !VZ (Velocity select Z axis -- Z-axis feed rate setting command) <Format> !VZ s [terminator] !V [terminator] <Type>...
Page 27
RML-1 PROGRAMING GUIDELINE !ZM Z-axis Move -- Z-axis movement command <Format> !ZM z [terminator] !ZM [terminator] <Type> float <Parameter range> Values within the Z-axis movement range. Because this value is an integer, when a float value is input the decimal- fraction portion is ignored, and the resulting value must be within the Z- axis movement range.
Page 28
RML-1 PROGRAMING GUIDELINE !ZO (Set Z0 -- Z0 setting command) <Format> !ZO z [terminator] !ZO [terminator] <Type> float <Parameter range> Values within the Z-axis movement range. Because this value is an integer, when a float value is input the decimal- fraction portion is ignored, and the resulting value must be within the Z- axis movement range.
Page 29
RML-1 PROGRAMING GUIDELINE <Type> float <Parameter range> Axis name: A through Z or a through z Value: -8388608.0 through 8388607.0 <Description> This moves (or rotates) the specified axis from the present coordinate or angle to the specified coordinate or angle.
Page 30
RML-1 PROGRAMING GUIDELINE separator. Axes for which nothing is specified keep their present location and do not operate. Example: When the present locations (for X, Y, Z, and A) are respectively at the (100, 200, 300, 45) coordinates and !ZE X123Y456:X987Z-200 [terminator] is given, the X and Y axes first move simultaneously to (123, 456).
Page 31
RML-1 PROGRAMING GUIDELINE Consequently, the only operation of the foregoing command is to move the X and Y axes respectively to (100, 200). <Errors> Parameters that attempt simultaneous movement of axes that cannot operate at the same time (such as the Y and A axes on an MDX-650 equipped with a rotating axis) result in error 3.
Page 32
[ESC] . M P1 ; P2 ; P3 ; P4 ; P5; P6: [ESC] corresponds to hexadecimal 1B. Although these are used to illustrate the format, the ESC.M and ESC.T commands are not supported in RML-1. <Commands> This must be in the sequence of "[ESC] . letter/certain symbol".
Page 33
RML-1 PROGRAMING GUIDELINE This sequence starts when an [ESC] is received from the computer. When a sequence is determined not to correspond to the foregoing, it is interpreted as a mode 1, mode 2, or common command, and the order of characters appearing in the sequence is passed unchanged.
Page 34
RML-1 PROGRAMING GUIDELINE ESC.T10XYZ;100;... In the foregoing case, ESC.T is interpreted up to 10, the following X is determined to be uninterpretable, and the result of up to ESC.T10 is interpreted on the device-control side and discarded. XYZ and after is stored in the data buffer.
Page 35
RML-1 PROGRAMING GUIDELINE Output for the earliest request is executed, and the superfluous output request or requests are ignored. Ignored commands are not stored in the data buffer. Device control command error Everything up through [ESC] . is discarded, and the command is stored in the data buffer without interpreting the character thereafter that resulted in the error.
Page 36
RML-1 PROGRAMING GUIDELINE The errors described here are all communication-related, and are unrelated to errors that may occur in the interpretation of RML commands. Specifically, this applies only to 10 through 18, and has no connection with errors whose numbers are less than 10.
Page 37
RML-1 PROGRAMING GUIDELINE Cases of clipping can be classified as follows. (Commands sent at this time are all taken to be three-dimensional movement commands.) The cutting range can be represented by a regular parallepiped, and when operating within this regular parallepiped there is no problem with only simple operation.
Page 38
RML-1 PROGRAMING GUIDELINE particular side surface and enters from the bottom surface and not from a side surface. => When the protrusion is only from the bottom surface, move only the X and Y axes without moving the Z axis.
Page 39
RML-1 PROGRAMING GUIDELINE the same side. The cutting range is a regular parallepiped and movement extends from a particular side surface and enters the same side surface. The cutting range is a regular parallepiped and movement extends from a particular side surface and enters a different side surface.
Page 40
RML-1 PROGRAMING GUIDELINE => The case for "B The cutting range is a regular parallepiped and movement extends from a particular side surface and enters the same side surface" applies. The cutting range is a regular parallepiped and movement extends from a particular side surface and enters a different side surface.
Page 41
RML-1 PROGRAMING GUIDELINE particular top surface, and a PU or PD operation from a side surface is performed. => The case for "G The cutting range is a regular parallepiped and movement extends from a particular top surface and enters a side surface"...
Page 42
RML-1 PROGRAMING GUIDELINE Relative coordinates I, R, PR: After a command at left is executed, relative coordinates are in effect. Thereafter, this does not change until a command effecting absolute coordinates appears. Affected by relative and absolute coordinates PU, PD, Z:...
Page 43
RML-1 PROGRAMING GUIDELINE after execution is described. The tool is put into the raised state. If necessary, the raised state is maintained during movement. H, M, R, IN, PU The tool is put into the lowered state. If necessary, the lowered state is maintained during movement.
Need help?
Do you have a question about the RML-1 and is the answer not in the manual?
Questions and answers