137
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
■
■
■
■
■
OUTDA
With the OUTDA command it is possible to control
the analogue and digital outputs of the VLT control
card.
V
V
V
V
VL
L
L
L
LT5000
T5000
T5000
T5000
T5000
has two configurable outputs that can be
analogue or digital, they are configured via parame-
ter 319 (output 42) and parameter 321 (output 45).
V
V
V
V
VL
L
L
L
LT5000Flux
T5000Flux
T5000Flux
T5000Flux
T5000Flux
has two analogue outputs (output 42
configured in parameter 319 and output 45 confi-
gured in parameter 321) and two digital/pulse out-
puts (output 26 configured in parameter 341 and
output 46 configured in parameter 355).
A VLT control card output can only be controlled
from the application program when it is configured
as option output in the appropriate parameter.
Summary
Sets VLT output
Syntax
OUTDA no value
Parameter
VLT5000
no
= output number (42 or 45)
value = if parameter 319/321 =
"Option digital": value = 0 or 1
0 = output low (0 V)
1 = output high (24 V)
= if parameter 319/321 =
"Option 0…20 mA": then value = 0…100000
corresponding to 0…20 mA
"Option 4…20 mA": then value = 0…100000
corresponding to 4…20 mA
"Option 0…32 kHz": then value = 0…100000
corresponding to 0…32 kHz
Parameter
VLT5000Flux
no
= output number (26, 42, 45 and 46)
value = if parameter 319/321 (output 42/45) =
"Option 0…20 mA": then value = 0…100000
corresponding to 0…20mA
or
"Option 4…20 mA": then value = 0…100000
corresponding to 4…20 mA
or
= if parameter 341/355 (output 26/46) =
“Option digital”: then value = 0 or 1
0 = output low (0 V)
1 = output high (24 V)
or
"Option 0…50 kHz": then value = 0…100000
corresponding to 0…50 kH
z
Command group
I/O
Cross Index
VLT parameter 319, 321, 341 (only Flux) and 355
(only Flux)
Syntax-Example
OUTDA 42 5000
// set analog output to 10 mA
// condition: parameter 319 is
// set to "option 0…20 mA"
■
■
■
■
■
PCD
You can directly access the fieldbus data area with
the command PCD without an additional command
COMOPTGET or COMOPTSEND. The communica-
tions memory is written or read word by word
(16-Bit).
Summary
Pseudo array for direct access to the fieldbus data
area
Syntax
PCD[n]
n = index
Command group
Communication option
Cross Index
SYSVAR
Syntax-Example
Variable = PCD[1]
// Word 1
Variable = PCD[1].2
// Bit 2 of Word 1
Variable = PCD[2].b1
// Byte 1 of Word 2
PCD[1] = Variable
PCD[1].3 = Variable
Program sample
_IF (PCD [2] ==256) THEN
// compare value
_IF (PCD [3].2) THEN
// is bit 2 of PCD3 high?
Software Reference