Echelon FTXL Manual do Utilizador Página 64

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 261
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 63
52 Creating a Model File
element of the
Meter
array of functional blocks, again starting with
nvoWattage[0]
.
The user-defined
UCPTcoupling
configuration property
nciCoupling
is shared
among all three meters, configuring the meters as three single-phase meters or
as one three-phase meter in this example. There is only a single
nciCoupling
configuration property, and it applies to every element of the array of three
UFPTenergyMeter
functional blocks.
The LonTalk Interface Developer utility creates a network variable table for the
configuration network variables and the persistent
nvoUsage
network variable.
Functional Blocks with Configuration Properties
Implemented in a Configuration File
This example implements a device similar to the one in the previous example,
with these differences:
1. All configuration properties are implemented within a configuration file
instead of as a configuration network variable
2. A
SNVT_address
type network variable is declared to enable access to
these files through the direct memory files feature
3. An
SFPTnodeObject
node object has been added to support the SNVT
address network variable
// config properties for the node object:
SCPTlocation cp_family cpLocation;
// network variables for the node object
network input SNVT_obj_request nviNodeRequest;
network output polled SNVT_obj_status nvoNodeStatus;
const network output polled SNVT_address nvoFileDirectory;
// node object
fblock SFPTnodeObject {
nviNodeRequest implements nviRequest;
nvoNodeStatus implements nvoStatus;
nvoFileDirectory implements nvoFileDirectory;
} NodeObject external_name("NodeObject") fb_properties {
cpLocation
};
// config properties for the Meter
SCPTminSendTime cp_family cpMinSendTime;
SCPTmaxSendTime cp_family cpMaxSendTime;
UCPTcoupling cp_family cpCoupling;
// network variables for the meter
network input SNVT_amp nviAmpere[3];
network input SNVT_volt nviVoltage[3];
network input SNVT_angle nviCosPhi[3];
network output SNVT_power nvoWattage[3] nv_properties {
cpMinSendTime,
cpMaxSendTime
};
Vista de página 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 260 261

Comentários a estes Manuais

Sem comentários