Download Print this page

Danfoss MCO 305 Design Manual page 141

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
OUTDA
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Syntax Example
PCD
Summary
Syntax
Parameter
Description
Command Group
Cross Index
Syntax Example
Syntax Example
__ Software Reference __
Sets FC 300 analog output.
OUTDA n v
n =
output number (42)
v =
value (0 – 100000)
NB!:
Parameter 6-50 must be set to "MCO controlled".
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.
I/O
FC 300 Design Guide, parameter 6-50
/* condition: parameter 650 is set to "MCO controlled" */
OUTDA 42 50000
/* set FC 300 output to 10 mA */
Pseudo array for direct access to the field bus data area
PCD[n]
n = index
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.
Communication option
COMOPTGET, COMOPTSEND, SYSVAR
Variable = PCD[1]
Variable = PCD[1].2
Variable = PCD[2].b1
PCD[1] = Variable
PCD[1].3 = Variable
_IF (PCD[2]= = 256) THEN
_IF (PCD[3].2) THEN
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
// Word 1
// Bit 2 of Word 1
// Byte 1 of Word 2
// compare value
// is bit 2 of PCD3 high?
141

Advertisement

loading