没有合适的资源?快使用搜索试试~ 我知道了~
首页CODESYS_Library_mxAutomation_21_en.pdf
CODESYS_Library_mxAutomation_21_en.pdf
需积分: 20 193 浏览量
更新于2023-05-26
评论
收藏 4.25MB PDF 举报
KUKA MxAutomation 函数库说明 Knowledge of the robot controller system Advanced PLC programming skills Advanced knowledge of field bus interfaces
资源详情
资源评论
资源推荐

KUKA System Technology
CODESYS Library
For KUKA.PLC mxAutomation 2.1
KUKA Roboter GmbH
Issued: 14.12.2015
Version: CODESYS Library mxAutomation 2.1 V2
CODESYS Li-
brary

CODESYS Library
2 / 159 Issued: 14.12.2015 Version: CODESYS Library mxAutomation 2.1 V2
© Copyright 2015
KUKA Roboter GmbH
Zugspitzstraße 140
D-86165 Augsburg
Germany
This documentation or excerpts therefrom may not be reproduced or disclosed to third parties without
the express permission of KUKA Roboter GmbH.
Other functions not described in this documentation may be operable in the controller. The user has
no claims to these functions, however, in the case of a replacement or service work.
We have checked the content of this documentation for conformity with the hardware and software
described. Nevertheless, discrepancies cannot be precluded, for which reason we are not able to
guarantee total conformity. The information in this documentation is checked on a regular basis, how-
ever, and necessary corrections will be incorporated in the subsequent edition.
Subject to technical alterations without an effect on the function.
Translation of the original documentation
KIM-PS5-DOC
Publication: Pub CODESYS Library mxAutomation 2.1 (PDF) en
Book structure: CODESYS Library mxAutomation 2.1 V2.1
Version: CODESYS Library mxAutomation 2.1 V2

3 / 159Issued: 14.12.2015 Version: CODESYS Library mxAutomation 2.1 V2
Contents
1 Introduction .................................................................................................. 7
1.1 Target group .............................................................................................................. 7
1.2 Industrial robot documentation ................................................................................... 7
1.3 Representation of warnings and notes ...................................................................... 7
1.4 Terms used ................................................................................................................ 8
2 Product description ..................................................................................... 9
2.1 Overview ....................................................................................................................9
2.2 Intended use .............................................................................................................. 9
3 Safety ............................................................................................................ 11
4 Installation .................................................................................................... 13
4.1 System requirements ................................................................................................. 13
5 Configuration ............................................................................................... 15
5.1 Configuration in WorkVisual – overview .................................................................... 15
6 Programming ............................................................................................... 17
6.1 Instructions for programming ..................................................................................... 17
6.2 Overview of function blocks ....................................................................................... 17
6.3 Frequently used input/output signals in the function blocks ....................................... 20
6.3.1 Input signals .......................................................................................................... 20
6.3.2 Output signals ....................................................................................................... 20
6.3.3 Signal sequence for execution of ExecuteCmd .................................................... 21
6.4 Frequently used input/output signals in the MC function blocks ................................ 22
6.4.1 Input signals .......................................................................................................... 22
6.4.2 Output signals ....................................................................................................... 22
6.4.3 Signal sequence for execution of Execute ............................................................ 23
6.5 Structures for motion programming (STRUCT) ......................................................... 23
6.6 Integer variables ........................................................................................................ 26
6.7 Data of a Cartesian workspace .................................................................................. 28
6.8 Data of an axis-specific workspace ............................................................................ 28
6.9 Programming tips for KUKA.PLC mxAutomation ....................................................... 29
6.9.1 Programming example (template MxA_CODESYS_Template_PN) ..................... 30
6.10 Administrative functions ............................................................................................. 31
6.10.1 Reading PLC-specific communication into a non-PLC-specific structure ............. 31
6.10.2 Writing a non-PLC-specific structure into PLC-specific communication ............... 32
6.10.3 Initializing the mxA interface ................................................................................. 32
6.10.4 Setting the program override (POV) ..................................................................... 33
6.10.5 Activating and reading Automatic External signals from the robot controller ........ 34
6.10.6 Reading the current robot position ........................................................................ 36
6.10.7 Reading the current axis position ......................................................................... 37
6.10.8 Reading the current path velocity ......................................................................... 38
6.10.9 Reading the current axis velocity .......................................................................... 38
6.10.10 Reading the current robot acceleration ................................................................. 39
6.10.11 Reading a digital input .......................................................................................... 40
6.10.12 Reading digital inputs 1 to 8 ................................................................................. 40
Contents

4 / 159 Issued: 14.12.2015 Version: CODESYS Library mxAutomation 2.1 V2
CODESYS Library
6.10.13 Reading multiple digital inputs .............................................................................. 41
6.10.14 Reading a digital output ........................................................................................ 42
6.10.15 Writing a digital output .......................................................................................... 42
6.10.16 Writing digital outputs 1 to 8 ................................................................................. 43
6.10.17 Reading an analog input ...................................................................................... 44
6.10.18 Reading an analog output .................................................................................... 44
6.10.19 Writing an analog output ...................................................................................... 45
6.10.20 Wait statement (read digital input) ........................................................................ 46
6.10.21 Selecting the tool, base and interpolation mode ................................................... 46
6.10.22 Reading TOOL data ............................................................................................. 47
6.10.23 Writing TOOL data ................................................................................................ 48
6.10.24 Reading BASE data ............................................................................................. 49
6.10.25 Writing BASE data ................................................................................................ 50
6.10.26 Reading the load data .......................................................................................... 51
6.10.27 Writing load data .................................................................................................. 51
6.10.28 Reading the software limit switches of the robot axes .......................................... 53
6.10.29 Reading the software limit switches of the external axes ..................................... 53
6.10.30 Writing the software limit switches of the robot axes ............................................ 54
6.10.31 Writing the software limit switches of the external axes ....................................... 55
6.10.32 Declaring interrupts .............................................................................................. 56
6.10.33 Activating interrupts .............................................................................................. 57
6.10.34 Deactivating interrupts .......................................................................................... 58
6.10.35 Reading the state of an interrupt .......................................................................... 59
6.10.36 Activating a path-related switching action (TRIGGER WHEN DISTANCE) ......... 60
6.10.37 Activating a path-related switching action (TRIGGER WHEN PATH) .................. 61
6.10.38 Canceling a program ............................................................................................ 63
6.10.39 Stopping the robot ................................................................................................ 64
6.10.40 Continuing a program ........................................................................................... 64
6.10.41 Automatically starting function blocks and signals ............................................... 65
6.11 Functions for activating motions ................................................................................ 66
6.11.1 Moving to a Cartesian position with a LIN motion ................................................ 66
6.11.2 Moving to a Cartesian position with a LIN_REL motion ....................................... 67
6.11.3 Moving to a Cartesian position with a PTP motion ............................................... 69
6.11.4 Moving to a Cartesian position with a PTP_REL motion ...................................... 70
6.11.5 Moving to an axis-specific position with a PTP motion ......................................... 72
6.11.6 Moving to a Cartesian position with a CIRC motion ............................................. 73
6.11.7 Moving to a Cartesian position with a CIRC_REL motion .................................... 75
6.11.8 Jogging to a relative end position ......................................................................... 78
6.11.9 Jogging to a relative end position in the TOOL coordinate system ...................... 79
6.11.10 Jogging to an end position ................................................................................... 80
6.12 Functions for activating motions (PLC OPEN-compliant) .......................................... 83
6.12.1 Moving to a Cartesian position with a LIN motion ................................................ 83
6.12.2 Moving to a Cartesian position with a LIN_REL motion ....................................... 84
6.12.3 Moving to a Cartesian position with a PTP motion ............................................... 86
6.12.4 Moving to a Cartesian position with a PTP_REL motion ...................................... 87
6.12.5 Moving to an axis-specific position with a PTP motion ......................................... 89
6.12.6 Moving to a Cartesian position with a CIRC motion ............................................. 90
6.12.7 Moving to a Cartesian position with a CIRC_REL motion .................................... 93
6.13 Diagnostic functions .................................................................................................. 95

5 / 159Issued: 14.12.2015 Version: CODESYS Library mxAutomation 2.1 V2
Contents
6.13.1 Reading the current state of the mxA interface .................................................... 95
6.13.2 Reading error messages of the mxA interface ..................................................... 96
6.13.3 Resetting error messages of the mxA interface .................................................... 96
6.13.4 Reading error messages of the robot controller ................................................... 96
6.13.5 Reading diagnostic signals ................................................................................... 97
6.13.6 Reading and acknowledging error states ............................................................. 99
6.14 Special functions ........................................................................................................ 101
6.14.1 Reading system variables ..................................................................................... 101
6.14.2 Writing system variables ....................................................................................... 101
6.14.3 Calling a brake test ............................................................................................... 103
6.14.4 Calling a mastering test ........................................................................................ 104
6.14.5 Reading the safety controller signals .................................................................... 106
6.14.6 Reading the state of the TouchUp status keys ..................................................... 107
6.14.7 Teaching points .................................................................................................... 107
6.14.8 Modifying settings for the advance run ................................................................. 108
6.14.9 Reading values from KRC_SetAdvance ............................................................... 109
6.14.10 Calculating the Cartesian robot position from the axis angles .............................. 110
6.14.11 Calculating axis angles from the Cartesian robot position .................................... 111
6.14.12 Initializing a conveyor ........................................................................................... 112
6.14.13 Activating a conveyor ............................................................................................ 113
6.14.14 Tracking a workpiece on the conveyor ................................................................. 114
6.14.15 Picking up a workpiece from the conveyor ........................................................... 115
6.14.16 Activating interrupts for monitoring ....................................................................... 117
6.14.17 Deactivating interrupts for monitoring ................................................................... 118
6.14.18 Activating a motion along a vector ........................................................................ 119
6.14.19 Deactivating KRC_VectorMoveOn ....................................................................... 120
6.14.20 Configuring Cartesian workspaces ....................................................................... 121
6.14.21 Reading the configuration of Cartesian workspaces ............................................ 122
6.14.22 Configuring axis-specific workspaces ................................................................... 123
6.14.23 Reading the configuration of axis-specific workspaces ........................................ 124
6.14.24 Reading the status of the workspaces .................................................................. 124
7 Messages ..................................................................................................... 127
7.1 Error messages of the mxA interface in the robot interpreter .................................... 127
7.2 Error messages of the mxA interface in the submit interpreter .................................. 131
7.3 Errors in the function block ........................................................................................ 137
7.4 ProConOS errors ....................................................................................................... 140
8 KUKA Service .............................................................................................. 147
8.1 Requesting support .................................................................................................... 147
8.2 KUKA Customer Support ........................................................................................... 147
Index ............................................................................................................. 155
剩余158页未读,继续阅读















qq_36996229
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
最新资源
- ARM Cortex-A(armV7)编程手册V4.0.pdf
- ABB机器人保养总结解析.ppt
- 【超详细图解】菜鸡如何理解双向链表的python代码实现
- 常用网络命令的使用 ipconfig ping ARP FTP Netstat Route Tftp Tracert Telnet nslookup
- 基于单片机控制的DC-DC变换电路
- RS-232接口电路的ESD保护.pdf
- linux下用time(NULL)函数和localtime()获取当前时间的方法
- Openstack用户使用手册.docx
- KUKA KR 30 hA,KR 60 hA机器人产品手册.pdf
- Java programming with JNI
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

评论0