大连光洋数控系统PLC-CNC功能手册.zip
(491.42 KB, 售价: 3 E币)
目录
1 引言.......................................................................................1
1.1 概述 …………………………………………………………………………………1
1.2 库....................................................................................... 1
1.2.1 标准库...............................................................................1
1.2.2 PLC 库 ..............................................................................2
1.3 功能.................................................................................... 2
1.4 功能块..................................................................................5
2 PCL 与 CNC 间的数据传输库 CNCPLC.LIB ..................................7
2.1 主轴功能...............................................................................7
2.1.1 WRITE_SWORD (FUN) .......................................................7
2.1.2 WRITE_SPOTI (FUN) .........................................................7
2.1.3 DEACTIVATE_SWORD (FUN) ..............................................7
2.1.4 DEACTIVATE_SPOTI (FUN) .................................................8
2.1.5 WRITE_SPINDLE_ORIENTATION (FUN) ...............................8
2.1.6 ACTIVATE_ WORD (FUN) ...................................................9
2.1.7 ACTIVATE_SPOTI (FUN) .....................................................9
2.1.8 WRITE_SPINDLE_CODE (FUN) ...........................................10
2.1.9 READ_SWORD (FB) ...........................................................10
2.2 手轮功能..............................................................................10
2.2.1 HANDWHEEL_DIRECTION (FUN) ........................................10
2.2.2 HANDWHEEL_FACTOR_AUTO1 (FUN) ..................................11
2.2.3 HANDWHEEL_FACTOR_AUTO2 (FUN) .................................11
2.2.4 RESET_HANDWHEEL_FACTOR (FUN) ..................................12
2.2.5 HANDWHEEL_FACTOR_MAN1 (FUN) ...................................12
2.2.6 HANDWHEEL_FACTOR_MAN2 (FUN) ...................................12
2.3 CNC 轴模拟通道 ...................................................................13
2.3.1 READ_ANALOG_CHANNEL (FB) ..........................................13
2.3.2 WRITE_ANALOG_CHANNEL (FUN) ......................................13
2.4 刀具管理...............................................................................13
2.4.1 WRITE_TOOL_NUMBER (FUN) ........................................... 13
2.4.2 WRITE_SPARE_TOOL (FUN) ....................................... 14
2.4.3 WRITE_GEOMETRIC_D (FUN) .................................. 14
2.4.4 WRITE_GEOMETRIC_H (FUN) .................................. 14
2.4.5 WRITE_GEOMETRIC_Z (FUN) ........................................... 14
2.4.6 WRITE_RATE_X (FUN) .................................................... 15
2.4.7 WRITE_RATE_Y (FUN) ............................................... 15
2.4.8 WRITE_SUPPLEM_X (FUN) ............................................. 15
2.4.9 WRITE_SUPPLEM_Y (FUN) ............................................. 15
2.4.10 WRITE_TOOL_TYPE (FUN) ........................................... 16
2.4.11 WRITE_NO_PIECES (FUN) ........................................... 16
2.4.12 WRITE_PLANNED_TOOL_LIFE (FUN) .................... 16
2.4.13 WRITE_REMAININGTOOL_LIFE (FUN) ......................... 16
2.4.14 WRITE_TOOL_WARNING_LIMIT (FUN) ................... 17
2.4.15 WRITE_BREAKING_PARAMETER (FUN) ................. 17
2.4.16 WRITE_CUTTING_FORCE (FUN) ........................... 17
2.4.17 WRITE_POSITION (FUN) ................................ 17
2.4.18 READ_TOOL_NUMBER (FB) ........................... 18
2.4.19 READ_SPARE_TOOL (FB) ......................... 18
2.4.20 READ_GEOMETRIC_D (FB) ........................... 18
2.4.21 READ_GEOMETRIC_H (FB) ......................... 18
2.4.22 READ_GEOMETRIC_Z (FB) ................. 18
2.4.23 READ_RATE_X (FB)............................. 19
2.4.24 READ_RATE_Y (FB) .............................19
2.4.25 READ_SUPPLEM_X (FB)....................... 19
2.4.26 READ_SUPPLEM_Y (FB) ...................... 19
2.4.27 READ_TOOL_TYPE (FB) ...................... 19
2.4.28 READ_NO_PIECES (FB) ...................... 20
2.4.29 READ_PLANNED_TOOL_LIFE (FB) ........ 20
2.4.30 READ_REMAININGTOOL_LIFE (FB) .................... 20
2.4.31 READ_TOOL_WARNING_LIMIT (FB) ................... 20
2.4.32 READ_BREAKING_PARAMETER (FB) ............... 20
2.4.33 READ_CUTTING_FORCE (FB) ........................... 21
2.4.34 READ_POSITION (FB) ............................... 21
2.5 机床参数.............................................. 21
2.5.1 WRITE_APPL_DATA (FUN) ........................... 21
2.5.2 READ_APPL_DATA (FB)............................... 21
2.6 人机界面中的 PLC 消息 ......................................... 22
2.6.1 MMI 中的 PLC 消息文件...................................... 22
2.6.2 WRITE_ERROR_MESSAGE .................................. 23
2.6.3 CLEAR_ERROR_MESSAGES .............................. 24
2.7 NC 程序.............................................................. 24
2.7.1 LOAD_NC_PROGRAM (FB) ................................ 24
2.7.2 ERASE_NC_PROGRAM_MEMORY (FB) ................. 24
2.7.3 SELECT_NC_PROGRAM (FB) ........................... 25
2.7.4 错误号...........................................................25
2.7.5 备注................................................................. 26
2.7.6 READFIRSTBLOCK............................................. 27
2.7.7 Select CNC-Station ............................................. 28
2.8 轴运动................................................................. 28
2.8.1 MOVE_POSITIONING_AXIS .............................. 28
2.8.2 SET_POSITIONING_FEED ................................ 29
2.8.3 SET_POSITIONING_ADJUST ................................ 29
2.8.4 MOVE_INTERPOLATING_AXIS.............................. 30
3 PLC 与外围设备间的通用数据传输库 EXTDATA.LIB .... 31
3.1 引言................................................................... 31
3.2 库功能描述........................................................ 32
3.2.1 ExtOpenDataChannel ..................................... 32
3.2.2 ExtReadData .................................. 34
3.2.3 ExtWriteData ..................................................... 35
3.2.4 ExtCloseDataChannel ............................................... 36
3.2.5 ExtClearError ........................................... 36
3.3 备注.............................................................. 37
3.4 举例...................................................................... 38
4 PLC 中的 CNC 错误处理................................................... 43
4.1 引言..................................................................... 43
4.2 全局变量.......................................................... 43
4.3 CNCSTD 库功能块 GET_CNC_ERR 的描述 ................... 44
4.4 备注........................................................................ 47
4.5 举例.......................................................................... 48
部分内容预览截图:
【必读】版权免责声明
1、本主题所有言论和内容纯属会员个人意见,与本论坛立场无关。2、本站对所发内容真实性、客观性、可用性不做任何保证也不负任何责任,网友之间仅出于学习目的进行交流。3、对提供的数字内容不拥有任何权利,其版权归原著者拥有。请勿将该数字内容进行商业交易、转载等行为,该内容只为学习所提供,使用后发生的一切问题与本站无关。 4、本网站不保证本站提供的下载资源的准确性、安全性和完整性;同时本网站也不承担用户因使用这些下载资源对自己和他人造成任何形式的损失或伤害。 5、本网站所有软件和资料均为网友推荐收集整理而来,仅供学习用途使用,请务必下载后两小时内删除,禁止商用。6、如有侵犯你版权的,请及时联系我们(电子邮箱1370723259@qq.com)指出,本站将立即改正。
|