Epsilon EP-P Drive Reference Manual
71
Revision A4
www.controltechniques.com
The following parameters are part of the User Variable definition:
Name
This is a twelve-character string that allows the user to assign a descriptive name to the parameter. Spaces are not allowed in
the name of a user variable.
Decimal
This parameter (Var.Var#.Decimal) defines the number of digits (up to 6) to be used after the decimal point for the specific
variable. This is the maximum resolution that the parameter will have.
Initial Value
This is the initial value of the user variable that will be used on power up. If the user variable has been configured as a Save
to NVM parameter, then the value in NVM will overwrite the initial value on power up.
3.23.1 Adding and Deleting Variables
The default number of variables is ten. To add more user variables, click on the up arrow next to the “Number of User
Variables” box on the User Variables view. The maximum number of user variables is 500.
Only the last variable in the list can be deleted. To delete the last variable, simple click on the down arrow next to the “Number
of User Variables” box.
User variables are all of a Global type, meaning that they can be accessed from any program.
Online Tab (not shown)
While online with the Epsilon EP-P drive, an online tab will be shown next to the Setup tab. This online tab will show the
current online value of each of the user variables.
3.23.2 Using Variables in a Program
Once setup, user variables can be used inside a program in calculations, motion profile setup, or any other user-desired
function. To access user variables, click on the
Drag in Variables
button in the user program toolbar. User Variables is a
branch in the Select Variables From Tree dialog box.
3.24
Bits View
Bits act just like Variables except that they allow the user to store bit level parameters rather than 32-bit parameters. The user
may customize each Bit by giving it a Name and an Initial Value.
The Name for each bit may be up to 12 characters in length, and must start in an alpha character (non-numeric character).
Spaces are not available in the Name for a Bit, however the underscore character ("_") may be used.
The Initial Value for each user bit is configured using the check box for the specific bit. To make the Initial Value “On” or
“Active”, simply select the check box for that bit. The default value for each User Bit will be “Off” or “Inactive”.
User Bits are configured on the Bits view as shown in Figure 81.
Bits may be accessed on the User Program. Several examples of this are shown below.
Bit.Raise_Table = ON
Wait For Bit.Vacuum_ON = OFF
Wait For Bit.RunPart_A OR Bit.RunPart_B OR Bit.RunPart_C
If (Bit.RunPart_A = ON AND Bit.Vacuum_ON = OFF) Then
Call Program.1
Endif
Bits are turned on by setting them equal to ON, TRUE, YES, SET, or ENABLE (not case sensitive), and can be deactivated by
setting them equal to OFF, FALSE, NO, CLEAR, or DISABLE. Setting an individual bit equal to 1 or 0 in a user program will
cause a red dot error. The Boolean values listed above must be used.
Содержание Epsilon EP-P
Страница 2: ......
Страница 14: ...xii Epsilon EP P Drive Reference Manual www controltechniques com Revision A4 Glossary 225 Index 231...
Страница 124: ...110 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 200: ...186 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 218: ...204 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 238: ...224 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 244: ...230 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 247: ......