Dm_command, Dm_report – Echelon DM-21 Device Manager User Manual
Page 78

6-4
Device Manager Commands, Reports, and Events
Table 6.2 – Device Manager Functional Block Network Variables
NV
Name
SNVT
ID
Comments
DM_VarLocId
8
RESERVED
DM_DBSelection
8
RESERVED
DM_Command
0
Input network variable that allows an external
device to interact with the Device Manager. For
example, sending the Device Manager a
DM_QUERY_DEVICE_PROPS
requests the Device
Manager to produce a report on device properties.
DM_Report
0
Output network variable that allows the Device
Manager to report status information to an
external device.
DM_Event
0
Output network variable that the Device
Manager can update to tell an external device of
some event. See the Event Log section, later in
this chapter, for more information.
DM_Command
This input network variable can be used by an external device to issue
commands; such as report requests. This network variable is a union of several
structs, each of which contains a command type as its first field. See
dmobj.h
in
\L
ON
W
ORKS
\DM\include
for more details.
Supported commands include:
DMCMD_QUERY_DM_PROPS
The DMCMD_QUERY_DM_PROPS command is used to cause the Device
Manager to issue a DmProps report using the DM_Report output network
variable. This command uses the DmQueryDmProps struct defined in
dmobj.h
.
DMCMD_QUERY_DEVICE_PROPS
The DMCMD_QUERY_DEVICE_PROPS command is used to cause the
Device Manager to issue a DmDeviceProps report using the DM_Report
output network variable. This command uses the DmQueryDeviceProps
struct defined in
dmobj.h.
DM_Report
This output network variable provides several reports in response to
DM_commands. This network variable is a union of several structs, each element
of which contains a report type as its first field. See
dmobj.h
in
\L
ON
W
ORKS
\DM\include
for more details.
Supported reports are:
DMREP_DM_PROPS
The DMREP_DM_PROPS report is issued by the Device Manager in response
to DMCMD_QUERY_DM_PROPS command received on the DM_Command
input network variable. This report uses the DmProps struct defined in
dmobj.h
.