EasyManuals Logo

PI E-727 User Manual

PI E-727
240 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #126 background imageLoading...
Page #126 background image
User Manual
E727T0005, valid for E-727
BRO, 2019-06-28
Physik Instrumente (PI) GmbH & Co. KG, Auf der Roemerstrasse 1, 76228 Karlsruhe, Germany Page 126 / 240
Phone +49 721 4846-0, Fax +49 721 4846-1019, Email info@pi.ws, www.pi.ws
INFORMATION
You can link the macro execution to conditions with the
JRC
and
WAC
commands. The commands
must be included in the macro.
In the following, PITerminal or the Command entry window of PIMikroMove is used to enter
commands. Details on working with the Controller macros tab in PIMikroMove are found in the
PIMikroMove manual.
1. Start the macro execution:
If the macro is to be executed once, send the MAC START macroname
string command, whereby macroname indicates the name of the macro.
If the macro is to be executed n times, send the MAC NSTART macroname n
string command, whereby macroname indicates the name of the macro and
n indicates the number of executions.
string stands for the values of local variables. The values only have to be given when the
macro contains corresponding local variables. The sequence of the values in the input must
correspond to the numbering of the appropriate local variables, starting with the value of the
local variable 1. The individual values must be separated from each other with spaces.
2. If you want to check the macro execution:
Get whether a macro is being executed on the controller by sending the #8
command.
Get the name of the macro that is currently being executed on the controller by
sending the RMC? command.
Example: Moving an axis with a variable travel distance back and forth
INFORMATION
When macros are recorded on the Controller macros tab in PIMikroMove, the MAC BEG and
MAC END
commands must be omitted.
The axis 1 is to move back and forth. The travel to the left and to the right is to be variably
adjustable without having to change the used macros. Local and global variables are therefore
used.
1. Create the global variables LEFT and RIGHT by sending:
VAR LEFT 5
VAR RIGHT 15
LEFT thus has the value 5, and RIGHT has the value 15. These values can be changed at any
time, e.g., by sending the VAR command again.
Create the global variables again each time that the E-727 is switched on or
rebooted, since they are only written to the volatile memory of the E-727.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the PI E-727 and is the answer not in the manual?

PI E-727 Specifications

General IconGeneral
BrandPI
ModelE-727
CategoryController
LanguageEnglish

Related product manuals