没有合适的资源?快使用搜索试试~ 我知道了~
IAI 伺服控制器 通讯协议 英文版
5星 · 超过95%的资源 需积分: 50 48 下载量 139 浏览量
2009-10-27
19:15:42
上传
评论 1
收藏 290KB PDF 举报
温馨提示
试读
104页
这是一个说明文档,用于日本 IAI 工业伺服控制器与三菱PLC RS232通讯用,目前市面上很难找到,给有需要的朋友一些小帮助。
资源推荐
资源详情
资源评论
Page 1
Foreword
Using the Super SEL Controller Serial Communication Protocol Operating Manual
Thank you very much for purchasing and using Intelligent Actuator products. This manual provides detailed protocol
information for our Super SEL controller (version 3.0; 8/30/95). We hope that the explanations and information contained
in this manual will give you a more thorough understanding of our controller and, more importantly, allow you to take full
advantage of the capabilities of this controller.
This manual is not automatically provided to all IAI customers. It is provided only upon request and is not intended to
explain protocols at a beginners level. The manual is written on the assumption that the reader has a background not only
in BASIC but also in computer communications and computer programming in general.
Please note the following when using this manual:
• Every effort has been made to ensure the accuracy of the information contained in this publication. However, IAI
America, Inc. does not assume liability for the contents of this publication or any damage or injury resulting from
the use or misuse of this information.
• IAI America, Inc. reserves the right to make changes to products and/or documentation without notification.
• The user accepts full responsibility for actual implementation.
• This version of the Super SEL Controller, Serial Communication Protocol Manual supersedes any earlier ver-
sions.
• The communications setting is fixed at 9600 bps, 1 Stop, No Parity (please refer to the specification table pro-
vided in this publication).
Real-time interruptions are not possible while the unit is being run by a program. It is better to start a motion control
program after communications are completed. Even with a 10 byte inquiry such as a simple version inquiry or output port
inquiry, the minimum response will be 34 bytes of data. The amount of time required from inquiry to response is 1.0 x
(10+34) = 44msec assuming that the communication has no play. This is determined by CPU processing capability as well
as by the 9600 bps specification. The PC side will also require processing time. You can see that actual processing time
will be quite time consuming.
As long as you aware of these points, we believe you will obtain good results. IAI's PC Interface Software Manual also
incorporates this protocol.
August 1995
IAI America, Inc.
Page 2
Table of Contents
1. Specifications ................................................................................................................................................................ 4
2. General Conventions ..................................................................................................................................................... 5
2.1 Command, Response Format ............................................................................................................................. 5
2.2 Command, Response Contents......................................................................................................................... 6
2.3 Sum Check........................................................................................................................................................ 8
2.4 Important Notes ................................................................................................................................................ 9
3. Inquiry Text ................................................................................................................................................................ 9
3.1 Test Call ............................................................................................................................................................ 10
3.2 Version Inquiry ................................................................................................................................................. 11
3.3 Input Port Inquiry ............................................................................................................................................. 12
3.4 Output Port Inquiry .......................................................................................................................................... 13
3.5 Flag Inquiry ...................................................................................................................................................... 14
3.6 Available Memory Inquiry ............................................................................................................................... 15
3.7 Program Parameter Inquiry .............................................................................................................................. 16
3.8 Program Status Inquiry .................................................................................................................................... 17
3.9 Program Step Content Inquiry ......................................................................................................................... 18
3.10 SIO Parameter Inquiry ..................................................................................................................................... 19
3.11 Point Parameter Inquiry ................................................................................................................................... 20
3.12 Servo Parameter Inquiry................................................................................................................................... 21
3.13 Servo Parameter Inquiry by Axis ..................................................................................................................... 22
3.14 Homing Parameter Inquiry by Axis ................................................................................................................. 23
3.15 Motor Parameter Inquiry by Axis .................................................................................................................... 24
3.16 Circular Parameter Inquiry .............................................................................................................................. 25
3.17 Axis Status Inquiry ........................................................................................................................................... 26
3.18 Task Status Inquiry ........................................................................................................................................... 27
3.19 Step Quantity Inquiry ....................................................................................................................................... 28
3.20 Point Data Inquiry ............................................................................................................................................ 29
3.21 Error Message Inquiry...................................................................................................................................... 30
3.22 Variable Inquiry ................................................................................................................................................ 31
4. Execution Text ............................................................................................................................................................ 32
4.1 Servo ON/OFF .................................................................................................................................................. 33
4.2 Homing ............................................................................................................................................................. 34
4.3 Move to Specified Position ............................................................................................................................... 35
4.4 JOG Move ......................................................................................................................................................... 36
4.5 Point Number Move ......................................................................................................................................... 37
4.6 Erase Program .................................................................................................................................................. 38
4.7 Add Program Step ............................................................................................................................................ 39
4.8 Change Program ............................................................................................................................................... 40
4.9 Execute Program .............................................................................................................................................. 41
4.10 Stop Program .................................................................................................................................................... 42
4.11 Insert Program Step .......................................................................................................................................... 43
4.12 Reorganize Program Memory .......................................................................................................................... 44
4.13 Erase Program Step .......................................................................................................................................... 45
4.14 Set Point Data ................................................................................................................................................... 46
4.15 Clear Point Data ............................................................................................................................................... 47
4.16 Copy Point Data ............................................................................................................................................... 48
4.17 Shift Point Data ................................................................................................................................................ 49
Page 3
Table of Contents
4.18 Set Servo Parameters ........................................................................................................................................ 50
4.19 Set Servo Parameters by Axis .......................................................................................................................... 51
4.20 Set Homing Parameters by Axis ...................................................................................................................... 52
4.21 Set Motor Parameters by Axis.......................................................................................................................... 53
4.22 Set Arc Parameters ........................................................................................................................................... 54
4.23 Halt ................................................................................................................................................................... 55
4.24 Set Output Port ................................................................................................................................................. 56
4.25 Set Global Flags ............................................................................................................................................... 58
4.26 Clear Memory ................................................................................................................................................... 59
4.27 Reset.................................................................................................................................................................. 60
5. Error Response
5.1 Format............................................................................................................................................................... 61
5.2 General Errors .................................................................................................................................................. 61
5.3 Other Errors...................................................................................................................................................... 62
6. Sample Program
6.1 N88 BASIC....................................................................................................................................................... 63
6.2 QBASIC............................................................................................................................................................ 83
Page 4
1. Specifications
No. Item Explanation
1 Communications EIA RS232C
2 Baud Rate 9600BPS fixed
3 Cable Distance Maximum 15m
4 Data Type START(1)+DATA(8)+STOP(1)+NO
PARITY
5 Character ASCII Code
6 Data Error Check Sum Check
Page 5
2. General Conventions
2.1 Command/Response Format
A command is what the controller receives and a response is the answer given to the command. The format of the
command and response is shown below.
?(3FH) : Shows inquiry command
!(21H) : Shows execution command
#(23H) : Shows normal response
%(25H) : Shows error response
Code(H, L) : Shows controller code, used when a
multi drop application is added
ID(H, M, L) : Shows type of message
Error Code (H,L) : Error code
SC(H,L) : Check sum
CR(ODH) : Shows command/response end
LF(OAH) : Shows command/response end
Command
Normal
Response
#
Code
H L
ID
H M L
Response Data
S C
H L
C
R
L
F
Error
Response
%
Code
H L
Error
Code
H L
S C
H L
C
R
L
F
?
or
!
Code
H L
ID
H M L
Command Data
S C
H L
C
R
L
F
Sum Check Area
剩余103页未读,继续阅读
资源评论
- ray171262013-01-07现在正做IAI电缸的通讯控制,很有用
webberwu123
- 粉丝: 10
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功