Datasheet
Class all the subclasses to Pb_Module are listed. If you find a class corresponding to the current
module type, you select this class, otherwise you select the baseclass Pb_Module. The difference
between the subclasses and the baseclass is that in the subclasses, the dataarea is specified with
channel objects (se section Specify the data area).
When all the modules are configured you save by clicking on 'Ok' and leave by clicking 'Cancel'.
The moduleobjects with specified objectnames and classes are now created below the slave object.
If you are lucky, you will find a moduleobject the corresponds to the current module. The criteria
for the correspondence is whether the specified data area matches the current module or not. If you
don't find a suitable module class there are two options: to create at new class with Pb_Module as
baselcass, extended with channel objects to specify the data area, or to configure the channel as
separate objects below a Pb_Module object. The second alternative is more convenient if there are
one or a few instances. If there are several modules you should consider creating a class for the
module.
Specify the data area
The next step is to specify the dataarea for a module. Input modules read data that are sent to the
process station over the bus, and output modules receives data from the process station. There are
also modules with both input and output data, e.g. frequency converters. The data areas that are sent
and received via the bus has to configured, and this is done with channel objects. The inarea is
specified with ChanDi, ChanAi and ChanIi objects, the outarea with ChanDo, ChanAo and ChanIo
objects. The channelobjects are placed as children to the moduleobject, or, if you choose do make a
specific class for the module, as internal attributes in the module object. In the channel object you
should set Representation, that specifies the format of a parameter, and in som cases also Number
(for Bit representation). In the slave object you might have to set the ByteOrdering (LittleEndian or
BigEndian) and FloatRepresentation (Intel or IEEE).
Digital inputs
Digital inputmodules send the value of the inputs as bits in a word. Each input is specified with a










