FLEXLINE-CAD_INM.pdf - 第132页

C- 12  Placement Data The PLACEMENT data s ection is considered to star t from “%NCDA T A” and ending up with the next “%." T able Pana - 8 below describes placement data it ems: T able Pana - 8: Panasonic POS Data…

100%1 / 145
C-11
.POS Data File
.POS Data Sample
Example 1 (MPA3 data file):
%HEADER
NAME=P-NCT121-B
MACHINE=MPA3
MNAME=
CREATE=1998/03/23
REVISE=1998/04/18
SETUP=D-NCT121-B
BOARD=
TYPE=ABS
BLOCK=00027
MLSTEP=00009
PANASONIC=1000
COMMENT=
%POFFSET
X102430Y74870H0;
%DISPSTART
X0Y0;
%NCDATA
N1X0Y0W0Z1PN(M51945BFP-T1 )C()H0M000100T0/0;
N2X149040Y21840W90Z1PN(M51945BFP-T1 )C(U104 )H0M000000T0/0;
N3X127960Y70060W270Z1PN(M51945BFP-T1 )C(U104 )H0M000000T0/0;
N4X205225Y46389W270Z3PN(MB3800PFV-G-BND )C(U101 )H0M000400T0/0;
N5X71915Y45561W90Z3PN(MB3800PFV-G-BND )C(U101 )H0M000400T0/0;
N6X183187Y36195W0Z5PN(TL1454CPWEL20 )C(U103 )H0M000000T0/0;
…….
N27X202380Y63834W0Z201PN(uPD93707GC-9EV )C(U2 )H320M000700T0/0;
%MARKLAND
N1M1(+272117,+65321,KAKU 1-1)M2(-4563,+10216,KAKU
1-1)L1(+0,+0)L2(+0,+0)L3(+0,+0)L4(+0,+0)L5(+0,+0)L6(+0,+0)L7(+0,+0)L8(+0,+0);
N4M1(+0,+0,)M2(+0,+0,)L1(+208788,+46773)L2(+208788,+46773)L3(+201663,+46803)L4(+201663,+46803)L5
(+201663,+46006)L6(+201663,+46006)L7(+208788,+45977)L8(+208788,+45977);
N5M1(+0,+0,)M2(+0,+0,)L1(+75478,+45963)L2(+75478,+45963)L3(+68353,+45963)L4(+68353,+45963)L5(+68
353,+45167)L6(+68353,+45167)L7(+75478,+45152)L8(+75478,+45152);
……….
*
C-12
Placement Data
The PLACEMENT data section is considered to start from “%NCDATA” and ending up with the
next “%." Table Pana-8 below describes placement data items:
Table Pana-8: Panasonic POS Data Format PLA data section
Data Item
Lines
Field
Units
Scaling
Placement ID Lines inside the
Placement section.
The field that is tagged by the
keyword “C” in the data line.
N/A N/A
INVALID
*1
Lines inside the
Placement section.
The field that is tagged by the
keyword “M” in the data line
N/A N/A
Placement
Position X
Lines inside the
Placement section.
The field that is tagged by the
keyword “X” in the data line.
mm 1/1000
Placement
Position Y
Lines inside the
Placement section.
The field that is tagged by the
keyword “Y” in the data line.
mm 1/1000
Placement
Angle
Lines inside the
Placement section.
The field that is tagged by the
keyword “W” in the data line.
degree 1
Component
Name
Lines inside the
Placement section.
The field that is tagged by the
keyword “PN” in the data line.
N/A N/A
Placement Skip
*2
Lines inside the
Placement section.
The field that is tagged by the
keyword “/” in the data line.
N/A N/A
*1 INVALID = “000100” or “100” indicates invalid placement line. Anything other than the string means valid
placement lines.
*2 Placement Skip = “7” indicates unconditional “Skip”; any other value than “7” means
Do Not Skip."
NOTE:
For keywords in the "Field" column of the above table, refer to the "Tagged Field" Field
Layout Method.
C-13
“Tagged Field” Field Layout Method
“Tagged Field” is a new functionality that supports both .NCD and .POS data of the Panasonic.
Note that the UDF Wizard does not yet support the "Tagged Field" functionality and you can only
manually create the INI file.
“Tagged Field” is a field layout method in which each data field is tagged by a unique field
keyword in the data line.
A valid field tag or keyword shall be an unique sequence of characters that occurs at the
beginning of the data field. The field tag is not case sensitive.
Valid Data Field:
(1) Numeric numbers, and sometimes that include a positive sign “
+
” or a negative
“ sign.
(2) If the field includes characters, it should always be enclosed by a left parenthesis
(“ and a right parenthesis “)”.
The following is an example of an INI file using the “Tagged Field” format. This section’s layout
is “Tag” and field layout is “Tagged Field.” The only unique part is “[FORMAT_2]” compared to
the other field layout alternatives.
In the future Flexline CAD version, the UDF will automatically generate this format.
[SECTION_2]
READLASTLINE="0"
READFIRSTLINE="1"
LABEL="PLA"
STOREAS="ARRAY"
SCHEMA=%PLA_ID(),$PLA_SKIP(),TAG,VALID,INVALID,%PLA_POS(X),%PLA_POS(Y),%PLA_C
MP(),%PLA_POS(D)
[FORMAT_2]
FIELDNUMBER="9"
FORMAT="TAGGEDFIELD"
COLUMNNUMBER="9"
DATAFILENAME="d:\dev5\FlexCAD\TestData\Panasonic\mv\CF000001.NCD"
FIELD_0=%PLA_ID(),N
FIELD_1=$PLA_SKIP(),/
FIELD_2=TAG,G
FIELD_3=VALID,M
FIELD_4=INVLID,M
FIELD_5=%PLA_POS(X),X
FIELD_6=%PLA_POS(Y),Y
FIELD_7=%PLA_CMP(),Z
FIELD_8=%PLA_POS(D),W
[TRANSLATE_2]
$PLA_SKIP()=7,"Y"
VALID=0,"VALID"
VALID=4,"VALID"
[TYPE_2]
TAG="0"
TYPE= TAGGED"