Communication networks (comm)
[Programmable logic controllers (plc)]


Detailed Description

Messages are sent from one PLC object to another using PLC code.

The PLC communications object implements message handling between PLC objects.

The following functions are available to send and receive messages.

Each communications networks is defined by a single object that handles all messages between PLC objects linked to it. The network has the following properties


Functions

 comm::comm (MODULE *mod)
 Register the new object class and construct the default object properties.
int comm::create ()
 Create a new object.
int comm::init (OBJECT *parent)
 Initialize the new object.
TIMESTAMP comm::sync (TIMESTAMP t0)
 Synchronize the object.

Variables

static comm * comm::defaults = NULL
 a pointer to the default values for new objects
static CLASS * comm::oclass = NULL
 a pointer to the registered object class definition


GridLAB-DTM Version 2.0
An open-source project initiated by the US Department of Energy