工控编程吧 gkbc8 com
西门子数控 808D PLC子程序库用户手册中文超清版
文档手册目录或截图为:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PLC 子程序库说明
目录
前言........................................................................................................................................................................ 2
1 概述........................................................................................................................................................................ 4
2 PLC 编程工具 ......................................................................................................................................................... 7
2.1 安装 808D 工具箱.......................................................................................................................................... 7
2.2 PLC 指令 ....................................................................................................................................................... 8
2.3 数据组织 ........................................................................................................................................................ 9
2.4 程序组织 ........................................................................................................................................................ 9
2.5 程序测试和监控 ............................................................................................................................................. 9
2.6 通过 RS232 接口建立连接 .......................................................................................................................... 13
2.7 通过以太网接口建立直接连接 ..................................................................................................................... 16
2.8 通过以太网接口建立网络连接 ..................................................................................................................... 19
2.9 下载/上载/复制/比较 PLC 应用程序 ............................................................................................................. 22
3 PLC 子程序........................................................................................................................................................... 32
3.1 PLC 机床数据 .............................................................................................................................................. 32
3.2 用于子程序中的符号的使用惯例 .................................................................................................................. 32
3.3 子程序 20 - AUX_MCP(机床辅助功能) ................................................................................................... 34
3.4 子程序 21 - AUX_LAMP(工作灯) ............................................................................................................ 35
3.5 子程序 22 - AUX_SAFE_DOOR(安全门) ................................................................................................ 35
3.6 子程序 23 - AUX_CHIP(排屑机).............................................................................................................. 36
3.7 子程序 31 - PLC_ini_USR_ini(用户初始化) ............................................................................................. 36
3.8 子程序 32 - PLC_INI(PLC 初始化) .......................................................................................................... 36
3.9 子程序 33 - EMG_STOP ............................................................................................................................. 37
3.10 子程序 37 - MCP_NCK(MCP 和 HMI 信号处理) ..................................................................................... 38
3.11 子程序 38 - MCP_Tool_Nr(MCP 上显示刀具号) ..................................................................................... 39
3.12 子程序 39 - HANDWHL (根据 HMI 接口信号选择手轮) ........................................................................... 39
3.13 子程序 40 - AXIS_CTL(主轴和进给轴控制) ............................................................................................. 40
3.14 子程序 41 - MINI_HHU(手轮手持单元) ................................................................................................... 42
3.15 子程序 42 - SPINDLE(主轴控制) ............................................................................................................ 43
3.16 子程序 43 - MEAS_JOG(JOG 方式下的测量) ......................................................................................... 44
3.17 子程序 44 - COOLING(冷却控制) ........................................................................................................... 45
3.18 子程序 45 - LUBRICAT(润滑控制) .......................................................................................................... 46
3.19 子程序 46 - PI_SERVICE(异步子程序) ................................................................................................... 47
3.20 子程序 47 - PLC_Select_PP(PLC 选择子程序)..................................................................................... 48
3.21 子程序 48 - ServPlan(维护计划) ........................................................................................................... 49
3.22 子程序 49 - GearChg1_Auto(主轴自动换档) ........................................................................................ 50
3.23 子程序 50 - GearChg2_Virtual(虚拟主轴换档) ...................................................................................... 51
3.24 子程序 51 - Turret1_HED_T(霍尔元件刀架控制)..................................................................................... 51
3.25 子程序 52 - TURRET2_BIN_T(带二进制编码功能的刀架)....................................................................... 54
3.26 子程序 53 - Turret3_CODE_T(带编码功能刀架的换刀控制) ................................................................... 55
3.27 子程序 54 - Turret2_3_ToolDir(判断就近换刀的方向) ............................................................................. 57
3.28 子程序 55 - Tail_stock_T(尾架控制程序,车床) ................................................................................... 58
3.29 子程序 56 - Lock_unlock_T(卡盘控制,用于车床) ............................................................................... 59
3.30 子程序 58(MM_MAIN) ............................................................................................................................ 60
3.31 子程序 59(MM_MCP_808D) ................................................................................................................... 62
3.32 子程序 60 - Disk_MGZ_M(盘式刀库,铣床) ......................................................................................... 63
3.33 子程序 34-36、57、61 和 62 ...................................................................................................................... 65
3.34 子程序 63 - TOGGLES ............................................................................................................................... 65
4 PLC 用户报警在子程序库中的使用 .........................................................................................................................66
5 PLC 实例应用程序 .................................................................................................................................................67
5.1 PLC 实例应用程序(车床) ........................................................................................................................ 67
5.2 PLC 实例应用程序(铣床) ........................................................................................................................ 70
索引 ......................................................................................................................................................................73
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
更多目录内容,请 免费 下载 观看;
说明:所有资源,解压密码一律为工控编程吧网址 gkbc8 com;
下载地址为: (为增加互动交流,回复后可免费下载)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
游客,为过滤非法行为,全站隐藏资源仅对充值会员开放 进入升级
|