Class RemnodeSerial
Version 1.0
Modified 23-JAN-2018 17:01:41.00
 Configures communication to a remote system using a serial line.

See also



RtBody attributes pwr_sClass_RemnodeSerial
String80 Description   Optional description.
Int32 Prio   Process priority for the transport process. For future use.
String32 DevName   Device name for the serial port, ex /dev/ttyS0.
Dynamic change is not possible.
UInt32 Speed   Baud rate for the serial port, ex 9600.
Dynamic change is not possible.
Enum Parity   Type of parity for the serial port.
Dynamic change is not possible.
Enum StopBits   Number of stop bits for the serial port.
Dynamic change is not possible.
Enum DataBits   Number of data bits for the serial port.
Dynamic change is not possible.
Array of Int16 TermChar   List of termination characters for incoming data in ASCII value. A value of -1 indicates end of list.
If all entrys are set to -1, no termination character is used at all.
Dynamic change is possible.
Float32 ReadTimeout   Timeout time in seconds used when reading a message from the serial port.
Dynamic change is possible.
Boolean LinkUp   Attribute that indicates connection with the remote node.
The link is considered down when we reach the link supervision timeout
time without receiving any valid message.
The link is considered up again when receiving a valid message.
Float32 LinkTimeout   Time in seconds before the link is considered down.
Dynamic change is possible
Boolean Disable   When set, this attribute tells the remote handler not to start
or restart the process that handles this remote node. If the transport process
is running while the attribute is set it will terminate.
Dynamic change is possible.
UInt32 RestartCount   This attribute shows how many times the remote handler has restarted the
transport process that handles this remnode.
Dynamic change is possible and can be used in order to earn more restarts.
UInt32 RestartLimit   The restart limit tells the remote handler how many times the transport process
that handle this remnode can be restarted.
Dynamic change is possible and can be used in order to earn more restarts.
Time RestartTime   The restart time is set by the transport process at startup and therefore
shows the latest (re)starttime.
Float32 ScanTime   Scantime in seconds for outgoing RemTrans objects.
Dynamic change is possible.
UInt32 ErrCount   Error counter.
String8 Id   Type of remnode. Used in the RemoteConfig classgraph.
Array of Objid RemTransObjects   Contains the objid for the RemTrans objects for this remnode.
The objid's are inserted by the remote process.


Template Object
Prio 15
DevName /dev/ttyS0
Speed 9600
StopBits 1
DataBits 8
TermChar[0] -1
TermChar[1] -1
TermChar[2] -1
TermChar[3] -1
TermChar[4] -1
TermChar[5] -1
TermChar[6] -1
TermChar[7] -1
ReadTimeout 5.000000e-01
LinkTimeout 1.000000e+01
RestartLimit 100
ScanTime 1.000000e-01
Id Serial


Attributes detail


Description Attribute
Klass Attribute
Typ String80
Flags
Kropp RtBody
Optional description.

Prio Attribute
Klass Attribute
Typ Int32
Flags
Kropp RtBody
 Process priority for the transport process. For future use.

DevName Attribute
Klass Attribute
Typ String32
Flags
Kropp RtBody
 Device name for the serial port, ex /dev/ttyS0.
 Dynamic change is not possible.

Speed Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
 Baud rate for the serial port, ex 9600.
 Dynamic change is not possible.

Parity Attribute
Klass Attribute
Typ Enum
Flags
Kropp RtBody
 Type of parity for the serial port.
 Dynamic change is not possible.

StopBits Attribute
Klass Attribute
Typ Enum
Flags
Kropp RtBody
 Number of stop bits for the serial port.
 Dynamic change is not possible.

DataBits Attribute
Klass Attribute
Typ Enum
Flags
Kropp RtBody
 Number of data bits for the serial port.
 Dynamic change is not possible.

TermChar Attribute
Klass Attribute
Typ Array of Int16
Flags Array
Elements 8
Kropp RtBody
 List of termination characters for incoming data in ASCII value. A value of -1 indicates end of list.
 If all entrys are set to -1, no termination character is used at all.
 Dynamic change is possible.

ReadTimeout Attribute
Klass Attribute
Typ Float32
Flags
Kropp RtBody
 Timeout time in seconds used when reading a message from the serial port.
 Dynamic change is possible.

LinkUp Attribute
Klass Attribute
Typ Boolean
Flags State|Noedit|Invisible
Kropp RtBody
 Attribute that indicates connection with the remote node.
 The link is considered down when we reach the link supervision timeout
 time without receiving any valid message.
 The link is considered up again when receiving a valid message.

LinkTimeout Attribute
Klass Attribute
Typ Float32
Flags
Kropp RtBody
 Time in seconds before the link is considered down.
 Dynamic change is possible

Disable Attribute
Klass Attribute
Typ Boolean
Flags
Kropp RtBody
 When set, this attribute tells the remote handler not to start
 or restart the process that handles this remote node. If the transport process
 is running while the attribute is set it will terminate.
 Dynamic change is possible.

RestartCount Attribute
Klass Attribute
Typ UInt32
Flags State|Noedit|Invisible
Kropp RtBody
 This attribute shows how many times the remote handler has restarted the
 transport process that handles this remnode.
 Dynamic change is possible and can be used in order to earn more restarts.

RestartLimit Attribute
Klass Attribute
Typ UInt32
Flags
Kropp RtBody
 The restart limit tells the remote handler how many times the transport process
 that handle this remnode can be restarted.
 Dynamic change is possible and can be used in order to earn more restarts.

RestartTime Attribute
Klass Attribute
Typ Time
Flags State|Noedit|Invisible
Kropp RtBody
 The restart time is set by the transport process at startup and therefore
 shows the latest (re)starttime.

ScanTime Attribute
Klass Attribute
Typ Float32
Flags
Kropp RtBody
 Scantime in seconds for outgoing RemTrans objects.
 Dynamic change is possible.

ErrCount Attribute
Klass Attribute
Typ UInt32
Flags State|Noedit|Invisible
Kropp RtBody
 Error counter.

Id Attribute
Klass Attribute
Typ String8
Flags Invisible
Kropp RtBody
 Type of remnode. Used in the RemoteConfig classgraph.

RemTransObjects Attribute
Klass Attribute
Typ Array of Objid
Flags Array|State|Invisible
Elements 25
Kropp RtBody
 Contains the objid for the RemTrans objects for this remnode.
 The objid's are inserted by the remote process.