
MCO 305 Design Guide
__ Software Reference __
MG.33.L4.02 – VLT
®
is a registered Danfoss trademark
141
OUTDA
Summary
Sets FC 300 analog output.
Syntax
OUTDA n v
Parameter
n =
output number (42)
v =
value (0 – 100000)
NB!:
Parameter 6-50 must be set to “MCO controlled”.
Description
With the OUTDA command it is possible to control the analog output of the FC 300
control card. FC 300 has one analog output. It is configured via parameter 6-50.
A FC 300 control card output can only be controlled from the application program
when it is configured as option output in the appropriate parameter.
Command Group
I/O
Cross Index
FC 300 Design Guide, parameter 6-50
Syntax Example
/* condition: parameter 650 is set to "MCO controlled" */
OUTDA 42 50000
/* set FC 300 output to 10 mA */
PCD
Summary
Pseudo array for direct access to the field bus data area
Syntax
PCD[n]
Parameter
n = index
Description
You can directly access the field bus data area with the command PCD without an
additional command COMOPTGET or COMOPTSEND. The communications memory is
written or read word by word (16-Bit).
NB!:
The parameters 9-15 and 9-16 must additionally to be set with the correct values.
Command Group
Communication
option
Cross Index
COMOPTGET, COMOPTSEND, 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
Syntax Example
_IF (PCD[2]= = 256) THEN
// compare value
_IF (PCD[3].2) THEN
// is bit 2 of PCD3 high?
Содержание MCO 305
Страница 4: ......