Baldor mn1854 Power Screwdriver User Manual


 
6-24 Keypad Programming MN1854
Table 6-2 Summary of Expressions, Operators and Functions
[ ] Name Program
( ) Name Variable
&& Logical AND
|| Logical OR
! Logical NOT
!= Not Equal
+ Add
Subtract
* Multiply
/ Divide
= Equal
> Greater Than
>= Greater Than or equal to
< Less Than
<= Less Than or equal to
& Bitwise Boolean AND
| Bitwise Boolean OR
++ Increment Variable
+= Increment by n
Decrement Variable
= Decrement by n
<< Shift Left
>> Shift Right
Helpful Hints Programming your application
This section provides additional information that may be helpful to begin
programming the LinStep+. Also, several practical examples are given that can be
used or modified. More program examples are available on the Intelliware disk set.
Programming Overview
First, you must decide how the LinStep+ fits into the overall machine control
hierarchy. Generally there are three ways that the LinStep+ may be used:
1. Standalone mode controls all the Inputs/Outputs and motion.
2. With a PLC the PLC runs the machine and calls on the LinStep+ via
program select lines for motion.
3. In a hosted mode the PC sends serial commands to the LinStep+ for
execution. The LinStep+ uses a sequential, interpretive command
processor. This means that commands in a program are executed one at
a time, and that one command must be completed before the next
command is processed.