Instruction Manual PSE2xxDN
16
b) UCMM connection
Because the PSE2xxDN is UCMM capable, the only way to communicate with the
device is through a UCMM-compliant connection.
The PSE2xxDN only supports the 8/8 body format, which means that the UCMM
request parameters are fixed as follows:
Source MAC ID = address of the master
Service code = 0x4B
Requested message body format = 0
Group select = 3
Source message ID = 0
The PSE2xxDN will then confirm the connection request, whereby the connection
instance ID is 5 (provided this is the first time the device is establishing a UCMM
connection).
A (random) message must now be sent to the device on a cyclical basis (the standard
expected packet rate is 10 sec.) in order to keep the connection active. Otherwise,
this value must be changed (a value of 0 deactivates the monitoring function).
Explicit messages may be sent to the device from now on, whereby the
corresponding ID can be determined from the following parameters:
Message ID = 0
Source MAC ID = address of the master
Message group = 3
Deactivating timeout monitoring for the UCMM connection, for instance, requires the
following explicit message:
Message ID = 0
Destination MAC ID = slave address
Service code = 0x10
Class ID = 5
Instance ID = 5
Attribute ID = 9 (expected packet rate)
Value = 0x0000 (16 bit)
c) Explicit connection
Explicit messages can be used to read and write the attributes from a).
Identifier:
Message ID = 0
Source MAC ID = address of the master
Message group = 3
Content:
Destination MAC ID = slave address
Service code = 0x10 (write); 0x0E (read)
Class ID = 100
Instance ID = 1
Attribute ID according to list a)
Value (if written)