ACR BASICS
ACR Programmer’s Guide
133
Command Syntax
The AcroBASIC programming language accommodates a wide range of needs by providing basic motion control
building blocks, as well as sophisticated motion and program flow constructs.
The language comprises simple ASCII mnemonic commands, with each command separated by a command
delimiter (carriage return, colon, or line feed). The command delimiter indicates that a command is ready for
processing.
The AcroBASIC programming language uses a parent-daughter approach. A parent can have daughter statements;
a daughter statement is considered a sub-statement of the parent.
You can issue many parent statements alone
—
some provide the current status related to that particular
command, others perform an action. For example, issuing the
ATTACH
command at the program level provides
you with a report of the axis attachments to the master. Conversely, issuing the
CLEAR
command at the system
level frees the memory allocated to all programs.
You can only issue some parent commands in conjunction with a daughter statement. For example, the
DRIVE
command has the
ON
,
OFF
, and
RES
daughter statements. Therefore, you can issue the
DRIVE ON (axis)
,
DRIVE OFF (axis)
and
DRIVE RES (axis)
commands, but not
DRIVE
by itself.
Description of Format
1.
Mnemonic Code:
The ASCII command.
2.
Name:
A short description of the command.
3.
Format:
Indicates the proper syntax and arguments for the command.
4.
Group:
The functional group to which the command belongs.
5.
Units:
Indicates the units of measurement required by the argument(s) in the command syntax.
6.
Data Type:
Indicates the class of data required by the argument(s).
7.
Default:
Indicates the setting or value automatically selected unless you specify a substitute.
8.
Prompt Level:
Indicates the communication level at which you can use the command. For more
information, see Communication Levels.
9.
See Also:
Indicates commands related or similar to the command you are reviewing.
10.
Related Topics:
Indicates parameter and bit tables related to the command you are reviewing.
Summary of Contents for ACR7000 Series
Page 1: ...Effective June 2021 Document Number 88 028698 01E Programmer s Guide ACR Series Controllers ...
Page 23: ...PARKER MOTION MANAGER ACR Programmer s Guide 23 CHAPTER 1 Parker Motion Manager ...
Page 69: ...PARKER MOTION MANAGER ACR Programmer s Guide 69 ...
Page 101: ...ACR BASICS ACR Programmer s Guide 101 CHAPTER 2 ACR Basics ...
Page 153: ...MAKING MOTION ACR Programmer s Guide 153 CHAPTER 3 Making Motion ...
Page 207: ...WRITING ACROBASIC PROGRAMS ACR Programmer s Guide 207 CHAPTER 4 Writing AcroBASIC Programs ...
Page 233: ...WRITING ACROBASIC PROGRAMS ACR Programmer s Guide 233 ...
Page 238: ...BINARY HOST INTERFACE 238 ACR Programmer s Guide CHAPTER 5 Binary Host Interface ...
Page 269: ...TROUBLESHOOTING ACR Programmer s Guide 269 CHAPTER 6 Troubleshooting ...
Page 288: ...APPENDIX B ETHERNET BASICS 288 ACR Programmer s Guide APPENDIX B Ethernet Basics ...
Page 293: ...APPENDIX C SERVO PID TUNING ACR Programmer s Guide 293 APPENDIX C Servo PID Tuning ...
Page 296: ...APPENDIX C SERVO PID TUNING 296 ACR Programmer s Guide ...