1、Designation: D6672 08Standard Practice forFormatting Cutting Data to Drive Numerically ControlledFabric Cutting Machines1This standard is issued under the fixed designation D6672; the number immediately following the designation indicates the year oforiginal adoption or, in the case of revision, the
2、 year of last revision. A number in parentheses indicates the year of last reapproval. Asuperscript epsilon () 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 standar
3、d 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 CADsoftware
4、.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 tr
5、ansfer 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 command
6、s 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 terminator.
7、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, tex
8、tiles, 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 the a
9、pplica-bility of regulatory limitations prior to use.2. Referenced Documents2.1 ASTM Standards:2D123 Terminology Relating to TextilesD6963 Terminology Relating to Sewn Products Automation2.2 ANSI/EIA Standard:ANSI/EIA-274-D Interchangeable Variable Block Data For-mat For Positioning, Contouring, and
10、 Contouring/ Posi-tioning Numerically Controlled Machines33. Terminology3.1 For all terminology related to Sewn ProductsAutomation, see Terminology D6963.3.2 For all other terms related to textiles see TerminologyD123.4. Summary of Practice4.1 Cut data are organized to allow a parsing algorithm tore
11、cognize 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.1This practice is under the jurisdiction ofASTM Committ
12、ee D13 on Textiles andis the direct responsibility of Subcommittee D13.66 on Sewn Product Automation.Current edition approved July 1, 2008. Published August 2008. Originallyapproved in 2001. Last previous edition approved in 2006 as D6672 06. DOI:10.1520/D6672-08.2For referenced ASTM standards, visi
13、t the ASTM website, www.astm.org, orcontact ASTM 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, Standards and TechnologyDepartment, Electronic
14、 Components Association, 2500 Wilson Blvd., Suite 310,Arlington, VA 22201-3834.Available from Engineering Department, 2001 Eye Street N.W., Washington, DC20008.Copyright ASTM International, 100 Barr Harbor Drive, PO Box C700, West Conshohocken, PA 19428-2959. United StatesNOTICE: This standard has e
15、ither been superseded and replaced by a new version or withdrawn.Contact ASTM International (www.astm.org) for the latest information14.2.1 The practice specifies syntactical and parametric con-straints to limit ambiguity.4.2.2 The practice defines functions which are necessary tothe task of cutting
16、 fabric in addition to the ANSI/EIA-274-Dfunctions. These functions are assigned commands from thecollection 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 allow
17、s acomputer 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 isa1to
18、3character alphanumericstring 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 befor
19、e the command 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 comma
20、nds in a definedorder, 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 d
21、rill size, T46 drill size, T47 drill size, T48 drill size, T49drill size./G00*G01*G90*G70or G71*U# decimal points incoordinate 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 offormat
22、ted data. 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 movementsrelativ
23、e to the current 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 a
24、single G01 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
25、percent of 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 bla
26、de moving 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 appl
27、ied as normal.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
28、the firsttool 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
29、 header. No 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 th
30、e header. 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 c
31、ommand signifies 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 ch
32、aracters long 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 enddelimit
33、ers as used 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 M31La
34、bel Data. 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, (ASCII character decimal 96) on the leading side and theD6672 082apostrophe symbol, , ASCII character decimal 39 on thetrailing side. Th
35、e open quote and 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*7.1.3 Other Function Codes:7.1.3.1 Select Tool CommandsTool commands
36、definewhich 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 catego
37、ry. Differenttools 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. A Select Tool Command isrequired in each piece before the first Activate Tool (D)Command is encountered in the piece. If a Sel
38、ect ToolCommand is not present before the first Activate Tool (D)Command is encountered in the piece, the Default tool will beused.T01Select Knife tool (Default tool) (Default knife tool)T11Select Light Tool (Default light tool)T21Select Marker Tool (pen) (Default marker tool)T31Select Labeler Tool
39、(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 tool is activated at the lastspecif
40、ied 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 degrees corresponds toan angle al
41、ong 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. The active toolremains down until a Tool up Command is received, a new
42、 toolis selected via a Select Tool Command, a new piece isencountered as designated by the Piece Number Command orthe Program Stop Command is encountered.D2Tool up. Puts the active tool in the up position at thecurrent (X,Y) coordinate location.D3Momentary activation of tool (drill, label, etc.). Th
43、iscommand 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 (slit notch). There is an optional parameter (C) whichspecifies the angular position at which the tool is acti
44、vated.There are only 2 valid forms of this command:D3*Momentarily activate tool at the current (X,Y) coordinatelocation. C angle of 0 degrees is assumed.D3Cc-coordinate* Rotate tool to angular position C and thenactivate the tool.7.1.3.3 FSet cutter arm feedrate. F is followed by afeedrate value cor
45、responding 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 selected, the F code units areinches per minute. The command sets the linear speed of alltools and will remain i
46、n 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 numbers in a cut file typicallybegin with number 1.7.1.3.5 UDecimal format (required in header). The Ucode is used
47、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 parameters listed below are accepted:U1One decimal place. Only permitted in Metric pro-gramming mode (G71).U2Two d
48、ecimal 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 cutterarm in two dimensional space above the cutting table. Alwaysfollowed by a Y motion dimension.7.1.3.7 YY motion
49、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 character. All characters between successive com-ment characters are ignored.8. Keywords8.1 apparel; cut file; cutter; marker; sewn goods; sewnproduct; upholstery; vector dataD6672 083APPENDIX(Nonmandatory Information)X1. SAMPLE CUT FILE COMPLIANT WITH PRACTICE D6672X1.1 The following example is a cut file in compli