GB T 16720. 4 1998 工业自动化系统制造报文规范 第4部分:数值控制用伴同标准4 L

  8.1.4刀具数据域

    刀具数据域的名称以6个字符的前缀"N_TLD_”开头,后面加上用户或实施者定义的刀具数据表


 

标识符.

    object :      Domain

    key Attribute:Domain Name=“N _TLD_…”

    Attribute:    List of Capabilities

    Attribute:    State    

    Attribute:    MMS Deletable

    Attribute:   Sharable

    Attribute:    Domain Content

    Attribute:    List of Subordinate objects

    Attribute:    List of Program Invocation References

    Attribute:    Upload in Progress

8.1.5生产用具数据域

    生产用具数据域的名称以6个字符的前缀“N_MOP”开头,后面加上用户或实施者定义的标识

符。

    object : Domain

    key Attribute: Domain Name=“N_MOP_…”

    Attribute:     List of Capabilities

    Attribute:     State

    Attribute :    MMS Deletable

    Attribute:     Sharable

    Attribute:     Domain Content

    Attribute :    List of Subordinate objects

    Attribute:     List of Program Invocation References

    Attribute :    Upload in Progress

8.1.6设定数据

    设定数据域的名称以6个字符的前缀“N_SET_”开头,后面加上用户或实施者定义的机床设定数据标识符.

object:     Domain

 

    key Attribute,:   Domain Name=“N_SET_ ...”

    Attribute :    List of Capabilities

    Attribute :    State

    Attribute :    MMS Deletable

    Attribute :    Sharable

    Attribute:     Domain Content

    Attribute:     List of Subordinate objects

    Attribute:     List of Program Invocation References

    Attribute:     Upload in Progress

8.1.7统计数据

    统计数据域的名称以6个字符的前缀“N_SDD_”开头,后面加上用户或实施者定义的统计数据标识符.


 

    object:Domain

    key Attribute: Domain Name= "N_SDD_…”

    Attribute :    List of Capabilities

    Attribute:    State

    Attribute:    MMS Deletable

    Attribute:    Sharable

    Attribute :   Domain Content

    Attribute:    List of Subordinate objects

    Attribute:    List of Program Invocation References

    Attribute:    Upload in Progress

 8.1.8量具数据表

    量具数据表的名称以6个字符的前缀“N_PRB_”开头,后面加上用户或实施者定义的量具数据表标识符。

    object:    Domain

    key Attribute:Domain Name=“N_PRB_…”

    Attribute:    List of Capabilities

    Attribute:    State

    Attribute:    MMS Deletable

    Attribute:   Sharable

    Attribute:    Domain Content

    Attribute:     List of Subordinate objects

    Attribute :    List of Program Invocation References

    Attribute:     Upload in Progress

8.1.9数控数据存贮域

    数控数据存贮域的名称以7个字符的前缀“N_STORE_”开头,后面加上用户或实施者定义的存贮标识符。

    object:    Domain

key Attribute:Domain Name                          =“N_STORE_…”

    Attribute:    List of Capabilities

    Attribute:   State                            =READY

    Attribute:    MMS Deletable                    =FALSE

    Attribute:   Sharable                         =FALSE

    Attribute:    Domain Content

    Attribute:     List of Subordinate objects     ={

                    N _ StoreType,

                    N _ MaxStoreEntries ,

                    N _ MaxStoreCapacity,

                    N _ CurrentEntries,

                   N _ RemainingEntries ,

                    N _ CurrentCapacityUsed ,


 

                        N—RemainingCapacity,

                        N—DataStoreEntry,            注l

                        N-EntryList,

                        data store entries             注2

                        }

    Attribute :    List of Program Invocation References={}    注3

    Attribute :    Upload in Progress

  注

  1实施者也可以使用一个不同的署名类型对象,但该对象包含N_DataStoreEntry属性.

  2数据存贮项也可以有另一署名类型对象定义的扩展类型.

  3程序调用引用表应是一个空表.

8.2程序调用对象

    以下各条中定义的各标准化数控特定对象应具有所规定的名称.这些对象被映射为程序调用对象.

8.2.1N_引用(N_Referencing)

    具有标准化名称“N_Referencing”的控制进程程序调用对象应执行设备原点设定过程。

object:    Program Invocation

 

    key Attribute:    Program Invocation Name     =”N_Referencing"

             Attribute:    State

             Attribute:    List of Domain References

             Attribute:    MMS Deletable           =FALSE

             Attribute:    Reusable                =TRUE

             Attribute:    Monitore                =FALSE

             Attribute:    Event Condition Reference

             Attribute,    Event Action Reference

             Attribute:    Event Enrollment Reference

             Attribute:    Execution Argument

8.3署名变量对象

  在以下各条中定义的各标准化数控特定署名变量对象应根据具体情况赋予规定的名称或按照规定

的方法构成其名称。某些“类型描述”属性的值可以在任意范围内,这时其取值范围(以及该属性段的长

度)应由实施者确定并说明。

8. 3.1数控VMD特定署名变量对象

8.3.1.1 N REMOTE

    具有标准名称“N_REMOTE”的署名变量对象代表数控系统的本地/远程状态.

    object:    Named Variable

    key Attribute,:   Variable Name    =VMD-specific”N_REMOTE”

    Attribute:    MMS Deletable        =FALSE

    Attribute:    Type Description     =boolean

    Attribute:    Access Method        =locally defined

8.3.2数控域特定署名变量对象

    下列署名变量对象具有域特定的有效范围.具体地说,该有效范围就是设备域的有效范围,因为这些对象都是和设备有关的。因此,相应设备域的名称应包含在该对象名之内.


   

8.3.2.1 N_NumAxes机床轴效

    具有标准化名称“N_NumAxes”的署名变量对象,其所含内容是“轴数”值.在设备的其他与配置有关的数据结构中可以使用该值.

object :   Named Variable      

 

key Attributet  :   Variable Name     =domain -specific {

                                                     domainID”N _ DEV_...”

                                                     itemID”N _ NumAxes"}

Attribute :      MMS Deletable        =FALSE

Attribute:        Type Description     = unsigned 8

Attribute:        Access Method        = locally defined

  数控伴同标准用户只能读该变量.

8.3.2.2 N_ZeroAxes轴零偏

  具有标准化名称“N_ZeroAxes”的署名变量对象,其所含内容是设备各轴的零偏值.一个数控系统内可支持的零偏数目是与本标准的实施有关的,因此要在适当的PICS项中为每个设备(在规定轴数的同时)规定零偏数.

    object:    Named Variable

 

key Attributet  :   Variable Name     =domain -specific {

                                                     domainID”N _ DEV_...”

                                                     itemID”N _ NumAxes"}

Attribute :      MMS Deletable        =FALSE

Attribute:        Type Description     =tructure{

    components{

    {componentName”on”,

    componentType boolean),        ——零偏对所有轴生效

    {componentName"zeroOffsets"'

    componentType array{

         numberOfElements=n-NumAxes-value

                                     ——每轴一个零偏

    elementType    structure{

         components{

                {componentNameunameofAxis"

                 componentType visible-string    l},

                                      ——“x”,“y”,“z”等

          {componentName“on”,

                                       ——零偏只对该轴有效

                      componentType boolean),

                     {componentName"zeroOffsets",

                      componentType  array,{

                                numberofElements= number-of-zero-offsets,

                                        ——设备特定常数

                      elementType structure{


   

                             components{

                                 {componentName"on”,

                                              ——零偏开/关

                                  componentType boolean).

                                  {componentName—zeroOffsetu,

                                               ——零偏值

                                   componentType floating-point{

                                                 format-width 32,

                                                 exponent-width 8)

        }}}}}}}

  Attribute:  Access Method  =locally defined

 8.3.2.3 N AxisVaITrans轴值变换

    具有本标准化名称。N—AxisVaITtans”的署名变量对象,其包含的内容是设备各轴的轴值变换矩阵.一个数控系统能支持的轴值变换数与本标准的实施有关,因此要在适当的PICS项中为每个设备(在规定轴数的同时)规定轴值变换数.

    注:如果一个数控系统只支持(比方说)镜像变换,那么在N_AxiSVaITrans对象结构内的数组值“number-of-axis-value-transformation-(轴值变换散)应设为1.分量“primitive”的值应设为2(表示镜像),且该值应是只读的.怎样输入此分量值.由本地规定.

    object :   Named Variable

key Attribute :  Variable Name  =domain-specific{

                                           domainID  "N_DEV_…”.

                                           itemID    "N_AxisVaITrans”)

    Attribute :    MMS Deletable  =FALSE

    Attribute:     Type Description =structure{

               components{

               {componentName“on“,

                componentType boolean).    ——变换对所有轴有效

               { componentName"transformations”,

                componentType array{

                     numberOfElements= n-NumAxes-value

                                             ——每轴一个

                     elementType structure{

                         components{

                             {componentName nameOfAxis,

                              componentType visible- string  l},

                                              ——“x”,“y”等

                             {componentName"on”,——变换对轴的开/关

                              componentType  boolean),

                             {componentName"transformationSequence”,

                              componentType  array,{

                                                ——成员按应用顺序

                                   numberOfElements=number of-axis-value-


                                                                        transformations,

                                         ——与实施有关

                        elementType structure{

                          components{

                             {componentName"on",

                                          ——原语开/关

                           componentType  boolean),

                           {componentName"primitiveu,

                            componentType unsigned 8),

                                           ——平移(0),

                                           ——比例(1),

                                           ——镜像(2)

                            {componentName"value",

                                           ——参数值

                            componentType floating-point{

                                           ——若是M()则不管

                                                     format-width 32,

                             exponent-width 8}}}}}

    }}}}}

    Attribute:    Access Method    =locally defined

8.3.2.4 N_Machine_S机床坐标系

    具有本标准化名称“N_Machine_CS”的署名变量对象用作机床坐标系的原点.

object:Named Variable

 

key Attribute:     Variable Name     = domain -specific {

                                               domainID “N _ DEV_…”,

                                               itemID  "N_Machine_CS”}

Attribute:     MMS Deletable         =FALSE

Attribute :    Type  Description     = structure {

         components {

           {componentName “x",

            componentType floating-point {

                      format-width 32,

                      exponent-width 8}},

           {componentName “y”,

            componentType floating-point {

                      format-width 32,

                      exponent-width 8}},

           {companentName“z”,

            componentType floating-point{

                       format-width 32,

                       exponent-width 8}}


   

    Attribute :Access Method    =locally defined

8.3.2.5 N_ActProg_CS现行程序坐标系

    具有本标准化名称“N_ActProg_CS”的署名变量对象,其包含的内容是当前活动的或将被激活的机床程序的坐标系的标识符.

object:Named Variable

 

key Attribute:     Variable Name    = domain -specific {

                                            domainI“'N _ DEV _...",

                                            itemID   “N _ ActProg _ CS”}

    Attribute:    MMS Deletable      =FALSE

    Attribute:   Type Description   =vi8ible-string-32

                  ——引用实际坐标系,即下列之一:

                  ——N.UNDEFINED CS若未定义

                  ——N.DEFAULT CS缺省坐标系

                  ——N.MACHINE CS机床坐标系

                  ——任何其他的,    如N_Palletl_CS

    Attribute:    Access Method    =locally defined

8.3.2.6 N_GeometryTrans几何变换

    具有本标准化名称“N_GeometryTrans”的署名变量对象,其包含的内容是设备的几何变换矩阵.一个数控系统能支持的几何变换数目与本标准的实施有关,因此要在适当的PICS项中为每个设备(在规定轴数的同时)规定几何变换数.

  注:假如某数控系统只支持(比方说)镜像变换,那么该几何变换对象结构内的数组值。number-of-geometric-trans-formations”应设为1.分量的值“primitive”应设为2(即镜像)且应是只读的.怎样输入该分量的值由地方规定,

    如果某数控系统只能支持-个预定义的原语序列,那么就不允许用写访问去改变这些原语的顺序.

object:    Named Variable

 

key Attribute:  Variable Name         =domain -specific {

                                              domainID "N _ DEV _...”

                                               itemID “N_GeometryTrans"}

    Attribute:     MMS Deletable       =FALSE

    Attribute:     Type  Description   = structure {

         components{

           {componentName“on“,                    ——变换有效

            componentType boolean } ,

            {componentName transformations",

             componentType array, {

          numberOfElements= number-of-geometry-transformations ,

                                                     ——与实施有关

elementType structure {                ——成员严格按

——变换次序

components {

                       {componentName"on",           ——原语开/关

                        componentType boolean } ,


   

                         {componentNameuprimitive",

                          componentType unsigned 8{

                                                      ——平移(0),

                                                      ——比例(1),

                                                      ——镜像(2),

                                                      ——旋转(3),

                          {componentName'valuel',

                           componentType floating-point{

                                     format-width 32,

                                     exponent-width 8)),

                           {componentName"value2",

                           componentType floating-point{

                                      farmat-width 32,

                                      exponent-width 8",

                           {componentName—value3",

                            camponentType floating-point{

                                       format-width 32,

                                        exponent-width 8}}}

    }}

    Attribute:Access Method    =locally defined

    注:分量值1.值2和值3的含义取决子分量原语的当前值;在平移变换时,三个分量代表一个用坐标系X,Y,Z表述的向量.在比例变换时,可以是为每个坐标轴规定比例因子.在旋转变换时,可用来规定X,Y,Z轴的转角.在镜像变换时,可选择镜平面.此时各分量值只能为0或1,1表示妥对该平面作镜像变换.XY平面可由分量值1来选择,XZ平面由分量值2选择.XZ平面由分量值3选择.

8.3.2.7 N_FRL进给率极限

    具有本标准化名称“N_FRL”的署名变量对象,其包含的内容是相应设备允许的最大进给率.

    key Attributei:   Variable Name   =domain-specific{

                                               domainID”N_DEV_…”.

                                               itemID"N_FRL')

    Attribute :   MMS Deletable       =FALSE

    Attribute :   Type Description    =array{

                  numberOfElements =n-NumAxes-value,

                      elementType floating-point{

                                       format-width 32,

exponent-width  8 } }

Attribute:    Access Method       =locally defined

8.3.2.8 N_FRO_ON进给率超调开/关

  具有本标准化名称“N_FRO_ON”的署名变量对象被用来施加进给率超调,如果其值为真.则变

量N_FRO的当前值将作为程序的进给率,否则,本地的进给率超调将起作用.

    object :    Named Variable

key Attribute:      Variable Name =domain -specific{

                                           domainID 'N_DEV_...",


   

                                             itemID  "N_FRO_ON")

    Attribute:    MMS Deletable      =FALSE

    Attribute:    Type Description   = boolean

    Attribute :    Access Method     =locally defined

 8.3.2.9 N_FRO进给率超调

    具有本标准化名称“N_FRO”的署名变量对象,其包含的内容是施加给程序进给率的进给率超调.该值可以是百分散,也可以是实值.

object:    Named Variable

 

key Attribute:     Variable Name       =domain -specific {

                                                domainID 'N _ DEV_…”,

                                                itemID   “N _ FRO”)

    Attribute :    MMS Deletable       =FALSE

    Attribute :    Type Description    =structure{

          components{

               {componentName"overridePerCent",

                componentType boolean),               ——如果是真,则值为百分数

               {componentName"overrideValue”,

                componentType floating-point{

                                       format-width 32,

                                       exponent-width 8”

    }}

    Attribute :    Access Method      =locally defined

8.3.2.10 N_OSP可选的停止

    具有本标准化名称"N_OSP”的署名变量对象,被用来开启可选择停止方式.着其值为真,则可选停止方式将起作用.

object:    Named Variable

 

key Attribute:     Variable Name     =domain -specific {

                                               domainID   “N_DEV_ ...",

                                               itemID      "N _ OSP"}

    Attribute:    MMS Deletable       =FALSE

    Attribute :    Type Description   =boolean

    Attribute :    Access Method      =locally defined

8.3.2.11 N RPO_ON快速超调开/关

    具有本标准化名称“N_RPO ON”的署名变量对象被用来开启快速超调,若其值为真,则变量N_RPO的当前值将被作为程序快速迸给值,否则,本地约定的值将起作用.

object:    Named Variable

 

key Attribute:    Variable Name     =domain-specific{

                                             domainID “N _DEV _”,

                                             itemID   “N_RPO_ ON")

     Attribute:     MMS Deletable    =FALSE


   

    Attribute:    Type Description   = boolean

    Attribute:    Access Method      =locally defined

8.3.2.12 N_RPO快速超调

    具有本标准化名称“N_RPO”的署名变量对象,其包含的内容是快速超调,可以是百分数,也可以是值,被施加给所有的已编程的快速移动.对于那些分别进行快速移动和加工进给率超调的设备,本变量有效。

object:    Named Variable

 

key Attribute :        Variable Name     = domain -specific {

                                                   domainID “N_DEV _...",

                                                   itemID   “ N _ RPO"}

    Attribute:    MMS  Deletable           =FALSE

    Attribute :    Type Description       =structure{

           components{

                { componentName"overridePerCentu”

                 componentType boolean),                    ——如果是真,则值为百分数

                { componentName"overrideValueu”

                 componentType floating-point{

                                           format-width 32,

                                           exponent-width 8}}

    }}

    Attribute :    Access Method            =locally defined

8.3.2.13 N_NumSpindles主轴数

    具有本标准化名称“N_NumSpindles”的署名变量对象,其包含的内容是“主轴数”的值.该设备的其他与主轴有关的结构化数据,如主轴速度极限等可能使用此变量值。

object:    Named Variable

 

key Attribute:     Variable Name     =domain -specific {

                                               domainID “N _ DEV _...",

                                                itemID "N_NumSpindles"}

    Attribute:    MMS  Deletable       =FALSE

    Attribute :    Type Description  =unsigned 8{

    Attribute:    Access Method       =locally defined

  数控伴同标准用户只能读该变量。

8.3.2.14 N_SSL主轴速度极限

    具有本标准化名称“N_SSL”的署名变量对象,其包含的内容是相应设备所允许的最大主轴速度的值。

  object:  Named Variable

 

key Attribute:     Variable Name     =domain-specific {

                                              domainID "N _ DEV _...”

                                               itemID  “N _ SSL"}

Attribute:     MMS Deletable          =FALSE

                                                               

 

 

    

 Attribute :  Type Description        =array {

                 numberOfElements =n-NumSpindles-value ,

                       elementType floating-point{

                                           format-width 32,

                                           expanent-width  8 } }

Attribute:     Acces8 Method            =locally defined

8.3.2.15 N_SSO_ON主轴速度超调开/关

  具有本标准化名称“N_SSO_ON”的署名变量对象被用来开启主轴速度超调。若其值为真,则变量

N_SSO的当前值被强制作为程序的主轴速度,否则本地约定的主轴速度超调将起作用.

object :    Named Variable

 

key Attribute :       Variable Name       = doraain -specific {

                                                     domainID “N _ DEV _...”,

                                                     itemID     "N _ SSO _ ON"}

    Attribute:    MMS Deletable            =FALSE

    Attribute:    Type Description         =boolean{

    Attribute:    Access Method            =locally defined

8.3.2.16 N_SSO主轴速度超调

  具有本标准化名称“N_SSO”的署名变量对象,其包含的内容是超调,可以是百分数,也可以是值,

被施加给已编程的主轴速度。

object:    Named Variable

 

    key  Attribute:     Variable Name     =domain -specific{

                                                   domainID “N _ DEV_ ...",

                                                   itemID “N SSO”)

    Attribute:    MMS Deletable            =FALSE

    Attribute:    Type Description         =array {

                       number of elements =n-NumSpindles-value,

                         elementType structure{

                            components{

                                     {componentName “noverrideperCent”,

                                       componentType boolean)

                                                         ——如果是真,则值为百分数

                                      {componentN8me "overrideValue",

                                       componentType floating-point{

                                                            format-width 32,

                                                            exponent-width 8}}}}

    Attribute:       Access Method            =locally defined

8.3.2.17 N_DEV _STATE设备状态

    具有本标准化名称“N_DEV STATE”的署名变量对象,其包含的内容是设备状态.

object:    Named Variable

 

key Attribute:      Variable Name   =domain -specific{



评论留言