828D手动换刀会在屏幕上改变刀号吗?

已锁定

kestrel

  • 帖子

    282
  • 精华

    0
  • 被关注

    12

论坛等级:侠圣

注册时间:2016-04-18

白金 白金 如何晋级?

828D手动换刀会在屏幕上改变刀号吗?

825

1

2016-04-18 06:56:36

请问,828d的数控车手动换刀会改变刀号吗?看程序是PLC启动异步子程序,那么异步子程序是怎样改变屏幕上的刀号的?哪位大侠讲解一下,谢谢!

现在调用以下异步子程序后出现17030报警,程序段不允许的数组索引2

PROC PLCASUP1 SAVE SBLOF DISPLOF

;VERSION: 02.12. Feb 07, 2013

;CHANGE : 02.03.00. Mar 04, 2011

;Tracking tools with manually swivelling revolver head

;

DEF INT _T_NEW,_REVPOS,_DP

;------------------------------------

N3 _REVPOS=$A_DBW[0]           ; revolver position from PLC 

                               ;(see function manual Basic Functions P4:PLC 828D Chapter 14.5.1.5)

N4 _T_NEW=$TC_MPP6[1,_REVPOS]  ; T no. of tool in this position

;------------------------------------

N5 IF(_T_NEW>0)                ; there is a tool at the current position

N6   $TC_MAP8[1]=_REVPOS       ; report current revolver position to NCK tool management

N7   _DP=$TC_TP1[_T_NEW]       ; duplo number

  ;----------------------------------

N8   TCA($TC_TP2[_T_NEW],_DP)  ; assign tool identifier to current position

N9 ELSE                        ; there is no tool at the current position

N10   IF($MC_TOOL_MANAGEMENT_MASK B_AND 'H10000') ; MD20310, Bit16: T = position number defined

N11     T=_REVPOS               ; T display: revolver position

N12   ELSE

N13     T0                      ; T display: empty

N14   ENDIF

N15 ENDIF

;------------------------------------

N16 M17


828D手动换刀会在屏幕上改变刀号吗? 已锁定
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SINUMERIK

共有25500条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。