回复:怎样跨通道读写R参数

jasence

  • 帖子

    114
  • 精华

    2
  • 被关注

    66

论坛等级:侠客

注册时间:2011-05-13

普通 普通 如何晋级?

发布于 2012-02-21 11:20:22

9楼

quote:以下是引用永远的巴乔在2012-02-17 10:28:00的发言:
目前知道的方法也就是通过全局变量来做,可以打西门子热线问问。


又看了一些国外的论坛,有人问过这个问题,我估计redef也不能解决这个问题,死心了,老老实实用GUD变量
Hello everyone!I have a problem with sharing R parameters between 2 channels on a machine with an 840D. I wonder if there is a * way to access R parameters in the second channel from a NC program running in the first?Best regards, Kajan.
Since the R variables are channel-specific, I don't think it is possible to read another channel's R variables.

You can create your own array using a global GUD (use the NCK keyword) that is common to both channels. For example, in UGUD.DEF, place the line:

DEF NCK REAL GR[100]

If look-ahead is an issue, you can either use STOPRE to stop block look ahead, or use the SYNRW keyword in the definition line to stop look ahead at all references to the variable.

Hope this helps,
SteveA
以无法为有法 以无限为有限
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SINUMERIK

共有25600条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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