EasyManua.ls Logo

SEW-Eurodrive IPOS plus - Overview of Commands for Standard Functions; Standard Bit Functions

SEW-Eurodrive IPOS plus
384 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Manual – IPOSplus®
205
17
Overview of commands for standard functions
Compiler – Functions
17.2 Overview of commands for standard functions
A large part of the IPOS
plus®
machine commands that are familiar from the IPOS
plus®
Assembler language are reproduced in the IPOS
plus®
Compiler's high-level language in
the form of certain syntactical constructions. For example, arithmetic commands (ADD,
SUB, etc.) are created by appropriate operators (+, -, etc.) or set commands (SET...) are
replaced by the assignment operator (=). However, there are also commands with no
equivalent in the programming language. These commands (GOA, BSET, etc.) are re-
produced using functions that form part of the Compiler and are therefore described as
standard functions, in contrast to user-defined functions.
The parameters of the IPOS
plus®
machine commands become function arguments of
the standard functions. The names of all standard functions start with an underscore (_)
so it is easier to distinguish them from user functions in the source text.
The constants specified as an argument in many functions are defined in the header file
CONSTB.H (MOVIDRIVE
®
B). If you want to use your own names instead, you can de-
fine them using the #define directive.
The following tables list the standard functions and the unit-specific availability.
17.2.1 Standard bit functions
Command Function Availability
Reference
MOVIDRIVE
®
B MOVITRAC
®
B MQx
_BitClear Deletes a bit within a variable X X X (page 209)
_BitMove Copies a bit in one variable to a bit
in another variable.
X X X (page 209)
_BitMoveNeg Copies a bit in one variable to a bit
in another variable and negates it.
X X X (page 209)
_BitSet Sets a bit within a variable X X X (page 210)
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n

Table of Contents