找回密码
 注册

QQ登录

只需一步,快速开始

搜索

[文档] 大连光洋数控系统PLC-CNC功能手册

[复制链接]
dami 发表于 2022-10-22 10:35:17 | 显示全部楼层 |阅读模式
大连光洋数控系统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.png
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|ELEOK |网站地图

GMT+8, 2024-12-22 11:46

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表