User Unit - Danfoss VLT 5000 Series Manual

Synchronizing and positioning option onizing and positioning option
Hide thumbs Also See for VLT 5000 Series:
Table of Contents

Advertisement

Assignment Operation
Value
= 0
Standard assignment to a variable
Field[1]
= 0
Standard assignment to an array
value
Value.3
= 1
Bit 3 is set at 1, value = 4
Field[1].8 = 1
Bit 8 is set at 1, field[1] = 128
Value.b1 = 72 The lowest byte of value is set
at 72
Value = 72
Value.b2 = 128 Second byte of value is set at 128
Value = 0x00008048
Value.w2 = 15
Second word of value is set at the
value 15.
Value = 0x000F8048
Priority of the Operators and the Operations
Operators in the same line have the same priority,
thus they are completed one after the other.
The priorities are described in decreasing order:
*
%
multiplicative
+
additive
>> <<
bit-by-bit shifting
≤ >
<
relation
= =
!=
equality
&
bit-by-bit and
|
bit-by-bit inclusive or
AND
(logical and)
OR
(logical or)
MG.10.J4.02 – VLT is a registered Danfoss trade mark
®
VLT
5000 SyncPos option
I I I I I User unit
All path information in motion commands are
made in user units and are converted to quad-
counts internally. By choosing these scaling units
correspondingly it is possible to work with any
technical measurement unit (for example mm).
This factor is a fraction which consists of a nume-
rator and denominator.
1 User unit = POSFACT_Z / POSFACT_N
Scaling determines how many quad-counts make
up a user unit. For example, if it is 50375/1000,
then one UU corresponds to exactly 50.375 qc.
The user units (UU) corresponds in the standard
setting to the number of quad-counts.
Parameter
POSFACT_Z (23) and POSFCT_N (26) = 1
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents