beautypg.com
6/26/2010
920‐0032a3 eSCL Communication Reference Manual
Page 2
Table of Contents
Introduction ............................................................................................................................................................ 3
Getting Started ........................................................................................................................................................ 3
Connecting the Drive to Your PC ............................................................................................................................. 3
Addresses, Subnets, and Ports ............................................................................................................................ 3
Option 1: Connect a Drive to Your Local Area Network ..................................................................................... 5
Using DCHP ...................................................................................................................................................... 7
Option 2: Connect a Drive Directly to Your PC ................................................................................................... 8
Option 3: Use Two Network Interface Cards (NICs) ......................................................................................... 10
Configure the Drive for Your Motor and Application ............................................................................................ 11
ST Configurator ............................................................................................................................................. 12
Quick Tuner ................................................................................................................................................... 12
Q Programmer ............................................................................................................................................... 12
Learn the SCL and Q Languages ............................................................................................................................ 12
Create Your Own Application ................................................................................................................................ 13
Packet Format ................................................................................................................................................... 13
Sending Commands to a Drive ...................................................................................................................... 13
Receiving Responses from a Drive ................................................................................................................ 13
Further Reading ..................................................................................................................................................... 13
Conclusion ............................................................................................................................................................. 14
Appendix A: Changing Your Drive’s Table of IP Addresses................................................................................... 14
Appendix B: Example UDP Programs ................................................................................................................... 15
Visual Basic 6 ................................................................................................................................................. 15
C#.NET ........................................................................................................................................................... 16
Appendix C: Example TCP Program ...................................................................................................................... 18
Visual Basic 6 ................................................................................................................................................. 18