找回密码
 注册

QQ登录

只需一步,快速开始

搜索

[机器人] SANMOTION C-RC 基础命令手册 中文版

[复制链接]
liianun 发表于 2017-4-2 14:42:52 | 显示全部楼层 |阅读模式
厂商
厂商: 其他
日本SANMOTION机器人编程使用手册.中文本资料是SANMOTION C RC-SERIES 基本命令的说明书。SANMOTION C RC 可通过手持终端或PC上安装的SANMOTION C.Teachview轻松进行程序设计工
作。此外,SANMOTION C RC备有可选功能,用户可根据实际需要添加各种所需功能。
目录
1. 前言 ...................................................................................................... 5
2. Sanmotion C RC 机器人语言的定义...................................................... 5
3. Sanmotion C RC 的命令 ....................................................................... 5
3.1 机器人运动命令(Robot Movement) .............................................................. 9
3.1.1 PTP ......................................................................................................... 10
3.1.2 Lin ........................................................................................................... 12
3.1.3 Circ .......................................................................................................... 14
3.1.4 PTPRel .................................................................................................... 15
3.1.5 LINRel .................................................................................................... 15
3.1.6 StopRobot ................................................................................................ 16
3.1.7 WaitIsFinished ........................................................................................ 16
3.1.8 WaitJustInTime ...................................................................................... 16
3.1.9 Homing/Referencing(原点复位) ............................................................ 17
3.1.9.1 RefRobotAxis ........................................................................................ 17
3.1.9.2 RefRobotAxisAsync .............................................................................. 17
3.1.9.3 WaitRefFinished .................................................................................. 18
3.2 设置命令(Setting) ...................................................................................... 18
3.2.1 动态的编程与重叠 ..................................................................................... 18
3.2.2 相对值及绝对值的设置 .............................................................................. 19
3.2.3 设置移动参数的效果 ................................................................................. 19
3.2.4 Dyn .......................................................................................................... 21
3.2.5 DynOvr.................................................................................................... 21
3.2.6 Ovl ........................................................................................................... 21
重叠命令 ............................................................................................................ 22
编程中的设置方法............................................................................................... 22
相对指定与绝对指定的区别 ................................................................................. 23
3.2.7 Ramp ....................................................................................................... 24
3.2.8 RefSys ..................................................................................................... 25
3.2.9 Tool .......................................................................................................... 25
3.2.10 OriMode ................................................................................................ 26
3.3 系统命令(System Functions) ..................................................................... 27
3.3.1 := … (Assignment) ................................................................................... 28
3.3.2 // … (Comment) ..................................................................................... 28
3.3.3 WaitTime ................................................................................................. 28
3.3.4 Stop ......................................................................................................... 28
3.3.5 Info .......................................................................................................... 29
3.3.6 Warning .................................................................................................. 29
3.3.7 Error ....................................................................................................... 30
3.3.8 时间计量命令 (Time Measurement) ........................................................ 31
SysTime ............................................................................................................ 31
SysTimeToString ............................................................................................... 31
3.3.9 数值计算命令 (Mathematical Functions) ............................................... 32
SIN, COS, TAN, COT ........................................................................................ 32
ASIN, ACOS, ATAN, ACOT ............................................................................... 32
3
SANMOTION C RC
ATAN2 ............................................................................................................... 32
LN, EXP ............................................................................................................ 32
ABS, SQRT ....................................................................................................... 32
3.3.10 位运算及转换命令 (Bitwise Operations & Conversions) ...................... 33
SHL ................................................................................................................... 33
SHR ................................................................................................................... 33
ROL ................................................................................................................... 33
ROR ................................................................................................................... 34
SetBit ................................................................................................................ 34
ResetBit ............................................................................................................ 35
CheckBit ........................................................................................................... 35
3.4 系统命令(System Functions) ..................................................................... 36
3.4.1 CALL ....................................................................................................... 36
3.4.2 WAIT ....................................................................................................... 36
3.4.3 IF … THEN … END_IF .......................................................................... 36
3.4.4 ELSE ....................................................................................................... 37
3.4.5 ELSIF … THEN ...................................................................................... 37
3.4.6 WHILE … DO … END_WHILE ............................................................. 37
3.4.7 LOOP … DO … END_LOOP................................................................... 38
3.4.8 RUN... ................................................................................................. 38
3.4.9 KILL... ................................................................................................. 38
3.4.10 RETURN ............................................................................................... 38
3.4.11 LABEL............................................................................................... 39
3.4.12 GOTO... ............................................................................................. 39
3.4.13 IF … GOTO … ...................................................................................... 39
3.5 I/O(输入/输出)设备 .................................................................................... 40
3.5.1 Digital I/O(数字 I/O) ............................................................................... 40
3.5.2 Analog I/O(模拟 I/O) ............................................................................... 40
3.6 Technology Options .................................................................................. 41
3.6.1 Technology Options() ............................................................................. 41
4. 数据类型 ............................................................................................. 42
4.1 基本数据类型 .............................................................................................. 42
4.1.1 BOOL ...................................................................................................... 42
4.1.2 DINT ....................................................................................................... 42
4.1.3 DWORD .................................................................................................. 42
4.1.4 REAL ...................................................................................................... 42
4.1.5 STRING .................................................................................................. 42
4.2 位置数据类型 .............................................................................................. 43
4.2.1 POSITION_ ............................................................................................. 43
4.2.2 AXISPOS ................................................................................................. 43
4.2.3 CARTPOS ............................................................................................... 43
4.2.4 AXISPOSREF ......................................................................................... 44
4.2.5 CARTPOSREF ........................................................................................ 44
4.2.6 AXISPOSEXT ......................................................................................... 44
4.2.7 CARTPOSEXT ........................................................................................ 44
4.2.8 ROBAXISPOS ......................................................................................... 45
4.2.9 AUXAXISPOS ......................................................................................... 45
4
SANMOTION C RC
4.2.10 ROBCARTPOS ...................................................................................... 45
4.2.11 DISTANCE_ .......................................................................................... 45
4.2.12 AXISDIST ............................................................................................. 46
4.2.13 CARTDIST ............................................................................................ 46
4.3 参考系统及工具 ........................................................................................... 46
4.3.1 REFSYS_ ................................................................................................ 46
4.3.2 WORLDREFSYS ..................................................................................... 47
4.3.3 CARTREFSYS ........................................................................................ 47
4.3.4 CARTREFSYSEXT ................................................................................. 47
4.3.5 CARTREFSYSAXIS ................................................................................ 47
4.3.6 TOOL_..................................................................................................... 48
4.3.7 TOOL ...................................................................................................... 48
4.3.8 TOOLSTATIC ......................................................................................... 48
4.4 动态与重叠 .................................................................................................. 49
4.4.1 OVERLAP_ ............................................................................................. 49
4.4.2 OVLREL ................................................................................................. 49
4.4.3 OVLABS .................................................................................................. 49
4.4.4 DYNAMIC(动态设置) ............................................................................ 50
4.4.5 百分比(PERCENT) ................................................................................. 51
4.4.6 百分比(PERC200) ................................................................................... 51
4.5 I/O-Devices (I/O 设备) .............................................................................. 51
4.5.1 I/O 的连接 ............................................................................................... 51
4.5.2 数据输入(DIN) .......................................................................................... 51
4.5.3 DIN.Wait/WaitN ................................................................................. 52
4.5.4 DIN.Read ................................................................................................ 52
4.5.5 DIN.ReadSt ............................................................................................. 53
4.5.5 DIN.ResetSt ............................................................................................ 53
4.5.6 数字输出(DOUT) .................................................................................... 54
4.5.7 DOUT.Wait/WaitN ................................................................................ 54
4.5.8 DOUT.Read ............................................................................................. 55
4.5.9 DOUT.ReadSt ......................................................................................... 55
4.5.10 DOUT.ResetSt ....................................................................................... 56
4.5.11 DOUT.Set .............................................................................................. 56
4.5.12 DOUT.Reset .......................................................................................... 56
4.5.13 DOUT.Write .......................................................................................... 57
4.6 系统 .......................................................................................................... 57
4.6.1 ROBOTSTATE ........................................................................................ 57

SANMOTION-C-RC-InstructionSet_ch(V1.0).pdf (1.39 MB, 售价: 10 E币)


1.png
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-25 22:37

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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