发布于 2012-08-22 22:48:27
1楼
李老板:
MD 27860 =7H可读取:
Bit 0 = 1
Measurement of total operating time for all part programs is active
($AC_OPERATING_TIME)
Bit 1 = 1
Measurement of current program runtime is active ($AC_CYCLE_TIME)
Bit 2 = 1
Measurement of tool operation time is active ($AC_CUTTING_TIME)
您可以通过在HMI画面中(好像是在参数画面中,回头我再试试)通过增加系统变量来读这三个变量的数据,或者用PLC程序通过NC-VAR来读,然后在自己做个画面显示(这个我做过项目)。
还有两个应该是一直有效的,直接用就可以了。
Timers ? always active
Time since the last ”Control power?up with default values” ( in minutes ):
$AN_SETUP_TIME (read?only)
”Power?up of the control system with default values” will reset it to zero automatically.
Time since the last ”Power?up of the control system” ( in minutes ):
$AN_POWERON_TIME (read?only)
”It is reset to zero automatically with each power?up of the control system.
借我三千虎骑,复我浩荡中华!饮马恒河畔,剑指天山西;碎叶城揽月,库叶岛赏雪;黑海之滨垂钓,贝加尔湖张弓;中南半岛访古,东京废墟遥祭华夏列祖。汉旗指处,望尘逃遁—— 敢犯中华天威者,虽远必诛!