欢迎访问ic37.com |
会员登录 免费注册
发布采购

CY327 参数 Datasheet PDF下载

CY327图片预览
型号: CY327
PDF下载: 下载PDF文件 查看货源
内容描述: 步进系统控制器 [Stepper System Controller]
分类和应用: 控制器
文件页数/大小: 107 页 / 1095 K
品牌: ETC [ ETC ]
 浏览型号CY327的Datasheet PDF文件第97页浏览型号CY327的Datasheet PDF文件第98页浏览型号CY327的Datasheet PDF文件第99页浏览型号CY327的Datasheet PDF文件第100页浏览型号CY327的Datasheet PDF文件第102页浏览型号CY327的Datasheet PDF文件第103页浏览型号CY327的Datasheet PDF文件第104页浏览型号CY327的Datasheet PDF文件第105页  
CY545 Stepper System Controller  
www.ControlChips.com  
ASCII and Binary Data Programming Examples  
The following command sequence illustrates a simple motion with trigger signals. First we  
toggle USER BIT 0, then we set the stepping parameters, and finally take five steps. In the  
ASCII command mode, the command sequence is as follows:  
B 16<cr>  
B 0<cr>  
R 100<cr>  
S 240<cr>  
F 15<cr>  
N 5<cr>  
G<cr>  
USER BIT 0 low  
USER BIT 0 high  
set Rate  
set Slope  
set First Rate  
set Number of steps  
take five steps  
If the same sequence is issued in the Binary command mode, the command letters are the  
same, but the data values are given to the CY545 in binary form, not as ASCII decimal values.  
In the Binary command mode, the equivalent sequence is:  
42 01 10  
42 01 00  
52 01 64  
53 01 F0  
46 01 0F  
4E 03 05 00 00  
47 00  
USER BIT 0 low  
USER BIT 0 high  
set Rate 100  
set Slope 240  
set First Rate 15  
set Number of steps 5  
take five steps  
All values are listed as their hexadecimal equivalents, but are sent to the CY545 as single 8-bit  
data values. Command letters have the same codes as in ASCII, but parameters require a  
count, followed by the binary parameter value. Notice that multi-byte parameters are sent least  
significant byte first.  
The resulting waveforms are shown below. The CY545 behavior is the same in both ASCII and  
Binary modes, but the number of data bytes sent to achieve the results is different. Also, Binary  
mode commands will execute somewhat faster, since the CY545 converts ASCII parameter  
values into a binary format internally, taking additional command execution time.  
© 2002 Cybernetic Micro Systems  
96  
Chapter 19 - Circuits and Examples