以前版本使用Delay延时都是通过手动添加DMIS语句来实现,现在在程序运行窗口可以让客户更加简单方便的使用。
程序数据区-DMIS功能工具条—插入注释行—DMESW/DELAY
插入注释行选择添加‘DMESW/DELAY’后,可在弹出的对话框内输入提示数字(延迟时间),点击回车键,语句会添加在程序里,运行程序会延迟测量下一个特征;
使用DMESW/DELAY,N暂停更换工件,感觉停止时间和所设置的时间不同。
使用DELAY的方式进行暂停,DMIS程序通常会添加一或者多个GOTO语句,以保证机器移动到安全的位置。
如果当前测量打开了FLY模式,机器在进行GOTO定位的时间,也计算到了DELAY的时间中。
在进行DELAY暂停前,关闭FLY模式即可以。
附注:DMIS 5.2标准:
Function: | Used to control data or the processing of data sent in the input file to the DME. |
Input Formats: | |
can be: | DMESW/var_1 |
Output Formats: | |
can be: | DMESW/var_1 |
Where: | |
var_1 can be: or: or: or: | COMAND,'command' |
'command' | is the command sent to the receiving system, enclosed with apostrophes. |
COMAND | signifies that the string of alphanumeric characters, enclosed with apostrophes, that follow will be interpreted as a DME-specific command. This is used to code DME-specific instructions that are not within the capability of the DMIS interface. |
CONTIN | signifies that the DME is to continue processing data. All data received after the DMESW/PAUSE statement and before the next DMESW/CONTIN statement are ignored by the DME. |
DELAY | signifies that the DME is to delay processing data for 'n' seconds. |
n | is a positive integer, that is the length of time in seconds (for example, DMESW/DELAY,600) |
PAUSE | signifies that the DME is to stop processing data. All data received after the DMESW/PAUSE statement is encountered and before the next DMESW/CONTIN statement is encountered, are ignored by the DME. |
The DMESW statement is passed to the output file when executed. |