1、Designation: D 6672 06Standard Practice forFormatting Cutting Data to Drive Numerically ControlledFabric Cutting Machines1This standard is issued under the fixed designation D 6672; the number immediately following the designation indicates the year oforiginal adoption or, in the case of revision, t
2、he year of last revision. A number in parentheses indicates the year of last reapproval. Asuperscript epsilon (e) indicates an editorial change since the last revision or reapproval.1. Scope1.1 This practice specifies a data format for numerically-controlled cutting machines for fabric.1.2 This stan
3、dard uses a subset of the defined instruction setdefined inANSI/EIA-274-D in addition to the codes defined bythis practice.1.3 This practice does not support curve interpolation ordefinitions. All curves are represented by discrete vectors(stroked) and are dependent on the resolution of the CADsoftw
4、are.1.4 This practice requires that all coordinates are absolute,not relative.1.5 This practice only supports positive coordinates that aremeasured from a single X-Y origin point with coordinates(0,0). The origin point is specified as the lower left corner ofthe cut file.1.6 This practice intends to
5、 transfer a static image with noprovision for editing.1.7 This practice imposes no limits on the width or length ofthe cut data. Physical limitations imposed by the hardware andtheir effects on the output are the responsibility of the hardwaremanufacturer.1.8 This practice does not support bite comm
6、ands or anymethods that insert multiple origin points or floating coordinatesystems.1.9 This practice does not support notch tools.1.10 This practice does not support pattern matching.1.11 This practice limits the cut file to contain a single blockof data demarked by a compatible header and terminat
7、or.Multiple blocks of data in a single file are not allowed.1.12 Any commands found in the cut file that are notdefined by this standard shall be ignored.1.13 The intended application of this practice is limited tothe class of output devices found in the sewn product industriesthat produce apparel,
8、textiles, upholstery, and others that usesoft or semi-rigid materials.1.14 This standard does not purport to address all of thesafety concerns, if any, associated with its use. It is theresponsibility of the user of this standard to establish appro-priate safety and health practices and determine th
9、e applica-bility of regulatory limitations prior to use.2. Referenced Documents2.1 ASTM Standards:2D 123 Terminology Relating to TextilesD 6963 Terminology Relating to Sewn Products Automa-tion2.2 ANSI/EIA Standard:ANSI/EIA-274-D Interchangeable Variable Block Data For-mat For Positioning, Contourin
10、g, and Contouring/ Posi-tioning Numerically Controlled Machines33. Terminology3.1 For all terminology related to Sewn Products Automa-tion, see Terminology D 6963.3.2 For all other terms related to textiles see TerminologyD 123.4. Summary of Practice4.1 Cut data are organized to allow a parsing algo
11、rithm torecognize adherence to the ASTM format and are written as adata block into a computer file.4.1.1 A specific group of commands are required at thebeginning of the data block, called a header.4.2 Cut data follow a subset of the ANSI/EIA-274-D codes.4.2.1 The practice specifies syntactical and
12、parametric con-straints to limit ambiguity.4.2.2 The practice defines functions which are necessary tothe task of cutting fabric in addition to the ANSI/EIA-274-Dfunctions. These functions are assigned commands from the1This practice is under the jurisdiction ofASTM Committee D13 on Textiles andis t
13、he direct responsibility of Subcommittee D13.66 on Sewn Product Automation.Current edition approved June 1, 2006. Published July 2006. Originally approvedin 2001. Last previous edition approved in 2001 as D 6672 01.2For referenced ASTM standards, visit the ASTM website, www.astm.org, orcontact ASTM
14、Customer Service at serviceastm.org. For Annual Book of ASTMStandards volume information, refer to the standards Document Summary page onthe ASTM website.3Available from Electronic Industries Association, Engineering Department,2001 Eye Street N.W., Washington, DC 20008.1Copyright ASTM International
15、, 100 Barr Harbor Drive, PO Box C700, West Conshohocken, PA 19428-2959, United States.collection of “permanently unassigned” codes in ANSI/EIA-274-D and from other codes which that standard allows to beredefined.5. Significance and Use5.1 This practice provides a common format that allows acomputer
16、design system to generate data that an output devicecan accurately reproduce independent of the hardware manu-facturer.6. Cut File6.1 Cut data are written in data blocks of ASCII characters,one data block per computer file.6.2 Data blocks are made up of commands.6.2.1 Each command isa1to3character a
17、lphanumericstring written in CAPITAL letters.6.2.2 An instruction and its associated parameters (if re-quired) are terminated by the asterisk (*) terminator.6.3 Some commands are followed by parameters.6.3.1 Parameters immediately follow the command with noseparating space and come before the comman
18、d terminator.6.3.2 X and Y motion dimension commands must exist inpairs (for example, X123Y123*). Strings of coordinates are notpermitted (for example, X123Y123X456Y456*).6.4 Blocks of data that adhere to this practice begin and endin a specific way.6.4.1 Blocks begin with specific commands in a def
19、inedorder, commonly called a header, as follows (information inbrackets, , are variable):%/ASTMD6672-XX. Author: Author Name. Creation Date: DD-MM-YYYY. Creation Time: HH-MM on a 24 hour time scale. DrillSizes(T41-T49): T41 drill size, T42 drill size, T43 drill size, T44 drillsize, T45 drill size, T
20、46 drill size, T47 drill size, T48 drill size, T49drill size./G00*G01*G90*G70or G71*U# decimal points in coordi-nate data*All subsequent plot file data follow this header6.4.2 Blocks are terminated with the M00 command.7. Syntax7.1 Syntax commands are used to govern interpretation offormatted data.
21、The following is a list of the supported syntaxand a description of the command.7.1.1 Preparatory Function Codes:7.1.1.1 G00Point to point positioning (required inheader). Defines that coordinate values in the cut file areabsolute coordinate values referenced to (0,0), not movementsrelative to the c
22、urrent position. This practice requires a singleG00 command in the header. No other instances of G00 areallowed.7.1.1.2 G01Linear interpolation (required in header).Movement between two coordinate points is to be performed ina straight line connecting those points. This practice requires asingle G01
23、 command in the header. No other instances of G01are allowed.7.1.1.3 G08Resume Normal Speed. A controlled speedincrease to the cutters programmed rate starting immediately.This command effects a linear speed increase on all tools.7.1.1.4 G09Slow Down. A controlled speed decrease to afixed percent of
24、 the programmed rate (as defined by the cutter)starting immediately. This command effects a linear speeddecrease on all tools and remains in effect until a G08command is received or the end of the piece is encountered.7.1.1.5 G25Inhibit next overcut. An overcut is defined asthe cutting blade moving
25、an extra predefined cut distance in thecurrent direction of motion. Overcuts are normally applied bythe cutter on the last tool down move prior to a tool up move.This command instructs the cutter not to overcut at the nextplace where it would normally do so. Subsequent overcuts willbe applied as nor
26、mal.7.1.1.6 G26Inhibit next overcut and next advance. Inaddition to inhibiting the next overcut, the next advance beforeplunge is also inhibited. Subsequent overcuts and advancebefore plunge values will be applied as normal. An advancebefore plunge is normally applied by the cutter before the firstt
27、ool down move following a tool up move.7.1.1.7 G70Imperial coordinates (required in headerorG71). Causes all subsequent X,Y parameters to be interpretedin units of inches. The decimal point is interpreted according tothe U command. This practice requires a single G70 (or G71)command in the header. N
28、o other instances of G70 are allowed.7.1.1.8 G71Metric coordinates (required in headerorG70). Causes all subsequent X,Y parameters to be interpretedin units of millimeters. The decimal point is interpretedaccording to the U command. This practice requires a singleG71 (or G70) command in the header.
29、No other instances ofG71 are allowed.7.1.1.9 G90Absolute dimension input (required inheader). This practice requires a single G90 command in theheader. No other instances of G90 are allowed.7.1.2 Miscellaneous Function Codes:7.1.2.1 M00Program stop (required at the end of theblock). This command sig
30、nifies the end of the block of data.Subsequent data in the file is ignored.7.1.2.2 M01Optional stop. Similar to M00, except thecutter pauses when encountering the M01 and waits foroperator input on whether to stop or continue.7.1.2.3 M20Message stop. The parameter is a string of upto 30 characters l
31、ong that represents a message to be displayedon the operator console of the cutter. The cutter stops while themessage is displayed. Operation is resumed when the operatormanually restarts the cutter. The M20 command is followed bythe message string enclosed by the same start and enddelimiters as use
32、d for a label string. Example:*M208THIS IS AN M20 MESSAGE STRING*7.1.2.4 M21Lift and plunge corner. This command causesthe knife blade to lift, rotate into alignment with the next datasegment and plunge into the material again. This command isoften used to cut precise corners.7.1.2.5 M31Label Data.
33、The parameter is a string ofcharacters to be printed on a label. The string of characters tobe printed on the label is enclosed by the open quote symbol,8, (ASCII character decimal 96) on the leading side and theapostrophe symbol, , ASCII character decimal 39 on thetrailing side. The open quote and
34、apostrophe may be printed bypreceding each occurrence with the escape character (ASCIIcharacter decimal 9). A label is applied using the momentaryactivation of tool command, D3. Example:*M318THIS IS A LABEL STRING*D66720627.1.3 Other Function Codes:7.1.3.1 Select Tool CommandsTool commands definewhi
35、ch tool is used for all subsequent commands. A toolremains selected until a different tool is selected or the end ofthe piece is encountered. There are 5 categories of tools: Knife,Light, Marker, Labeler, and Drill. The first tool within eachcategory defines the default tool for that category. Diffe
36、renttools are supported within each category of tools. If a specifiedtool is not supported by the output device, the default toolwithin that tools category is used.T01Select Knife tool (Default tool) (Default knife tool)T11Select Light Tool (Default light tool)T21Select Marker Tool (pen) (Default ma
37、rker tool)T31Select Labeler Tool (Default label tool)T41Select Drill Tool (Default drill tool)7.1.3.2 Activate Tool CommandsActivate tool commandsare used to activate or otherwise change the state (up/down) ofthe active tool, where the active tool is defined by one of theSelect Tool Commands. The to
38、ol is activated at the lastspecified XY coordinate location as defined by the X and Ycommands. The D3 command has an optional C parameter.The C coordinate value specifies an angle in degrees based ona Cartesian coordinate system where 0 degrees corresponds toan angle along the +X axis direction, 90
39、degrees corresponds toan angle along the +Y axis, etc. Valid C coordinate values are0-359 degrees. If the C parameter is not present, a C angle of0 degrees is assumed.D1Tool down. Puts the active tool in the down positionat the current (X,Y) coordinate location.D2Tool up. Puts the active tool in the
40、 up position at thecurrent (X,Y) coordinate location.D3Momentary activation of tool (drill, label, etc.). Thiscommand activates the currently selected tool. The primarypurpose of this command is to activate drill and label toolsalthough it may also be used to effect a momentary plunge ofthe knife (s
41、lit notch). There is an optional parameter (C) whichspecifies the angular position at which the tool is activated.There are only 2 valid forms of this command:D3*Momentarily activate tool at the current (X,Y) coordinate loca-tion. C angle of 0 degrees is assumed.D3Cc-coordinate* Rotate tool to angul
42、ar position C and then acti-vate the tool.7.1.3.3 FSet cutter arm feedrate. F is followed by afeedrate value corresponding to the units as specified by theG70 or G71 command. If Metric programming is selected viathe G70 command, the F code units are millimeters per minute.If Imperial programming is
43、selected, the F code units areinches per minute. The command sets the linear speed of alltools and will remain in effect until another F command isreceived.7.1.3.4 RPiece number. This command marks the begin-ning of a piece (a collection of commands). Each piece shouldhave a unique number. Piece num
44、bers in a cut file typicallybegin with number 1.7.1.3.5 UDecimal format (required in header). The Ucode is used to change interpretation of the decimal pointformat of all motion coordinate values. This practice requires asingle U command in the header. No other instances of U areallowed. Only the pa
45、rameters listed below are accepted:U1One decimal place. Only permitted in Metric pro-gramming mode (G71).U2Two decimal places. Only permitted in Imperialprogramming mode (G70).U3Three decimal places. Only permitted in Imperialprogramming mode (G70).7.1.3.6 XX motion dimension. Used to move the cutte
46、rarm in two dimensional space above the cutting table. Alwaysfollowed by a Y motion dimension.7.1.3.7 YY motion dimension. Used to move the cutterarm in two dimensional space above the cutting table. Alwayspreceded by an X motion dimension.7.1.3.8 /Comment character. This command is used as acomment
47、 character. All characters between successive com-ment characters are ignored.8. Keywords8.1 apparel; cut file; cutter; marker; sewn goods; sewnproduct; upholstery; vector dataAPPENDIX(Nonmandatory Information)X1. SAMPLE CUT FILE COMPLIANT WITH PRACTICE D 6672X1.1 The following example is a cut file
48、 in compliancewith Practice D 6672. It will render a 250 by 250 mm box withan origin at (0,0), containing a drill hole made by drill #1 atlocation (125,125) mm, a drill hole made by drill #2 at location(150,150) mm and a label with text “ASTM” placed at location(150,100) mm.X1.1.1 Example:%/ASTMD667
49、2-06. Author: John Doe. Creation Date: 01-01-2006.Creation Time: 17-49. Drill Sizes(T41-T49): 10mm, 15mm, 0, 0, 0,0, 0, 0, 0./ G00*G01*G90*G71*U1*M208Square.astm*R1*T01*D2*X0Y0*D1*X2500Y0*X2500Y2500*X0Y2500*X0Y0*D2*T41*X1250Y1250*D3*T42*X1500Y1500*D3*T31*M318ASTM*X1500Y1000*D3C270*M00*D6672063ASTM International takes no position respecting the validity of any patent rights asserted in connection with any item mentionedin this standard. Users of this standard are expressly advised that determination of the validity of a