Benutzer-Werkzeuge

Webseiten-Werkzeuge


iec-104_en

IEC-104

The IEC-104 Driver allows it to transfer any data over the implemented IEC-104 protocol.

The name of this driver is: iec104
The routing address of the first driver is 900
The data point file name for the first driver is: iec1041.txt
The driver configuration file name for the first driver is: iec1041.cfg

For the IEC-104 driver as well as all other gateway drivers the data point definitions are as follows:

Type Description
M Integer value (binary data points, counters) which can/shall only be read by the gateway
S Integer value which can be either read or written by the gateway. (to M-BUS writing is not possible)
X Floating point value (with decimal place) which can/shall only be read by the gateway
Y Floating point value (with decimal place) which can be either read or written by the gateway. (to M-BUS writing is not possible)
A String, is used e.g. with BACnet Trends and ESPA4.4.4 data points

The IEC-104 addresses are defined as follows:
<data point-type> <remote/local-unit-number>[.<object-number>.[<BACnet-instance number>.<weekday-index>.<entry-index>]]

data point-type: failure, reset, object, scact, sctime, scvalue
remote/local-unit-number: 1 - 32766
object-number: 1 - 16777215
BACnet-instance number: 0 - 4194303
weekday-index: 0 - 6 (0=sunday, 6=saturday)
entry-index: 0 - 9

data point-type: "failure"

[M failure 12]
name = Ausfall Station 12
query = pe

data point-type: "reset"

[S reset 12]
name = initiate restart of station 12
query = pe
nomval = 0
writecache = 1

data point-type: "object"

[S object 12.1]
name = offline-/online setting of RAS sensor 2.0
format = C_SC_NA_1
query = pe

Supported formats for data point-type „object“:

Messages

Name Typ Descrition
M_SP_NA_11single event
M_DP_NA_13double event 4)
M_ST_NA_15state switching event
M_ME_NA_19measured value, normalized value 2)
M_ME_NB_111measured value, scaled value 2)
M_ME_NC_113measured value, floating point number with single precision 3)
M_SP_TB_130single event with timestamp CP56Time2a
M_DP_TB_131double event with timestamp CP56Time2a 4)
M_ST_TB_132state switching event with timestamp CP56Time2a
M_ME_TD_134measured value, normalized value with timestamp CP56Time2a 2)
M_ME_TE_135measured value, scaled value with timestamp CP56Time2a 2)
M_ME_TF_136measured value, floating point number with single precision with timestamp CP56Time2a 3)
M_IT_NA_115counter values
M_IT_TB_137counter values with timestamp CP56Time2a

Commands

Name1) Typ Description
C_SC_NA_145single command
C_DC_NA_146double command 5)
C_RC_NA_147state switch command
C_SE_NA_148setpoint command, normalized value 2)
C_SE_NB_149setpoint command, scaled value 2)
C_SE_NC_150setpoint command, floating point number with single precision 3)
C_SC_TA_158single command with timestamp CP56Time2a
C_DC_TA_159double command with timestamp CP56Time2a 5)
C_RC_TA_160state switching command with timestamp CP56Time2a
C_SE_TA_161setpiont command, normalized value with timestamp CP56Time2a 2)
C_SE_TB_162setpiont command, scaled value with timestamp CP56Time2a 2)
C_SE_TC_163setpiont command, floating point number with single precision and timestamp CP56Time2a 3)
C_TD_NA_1145transparent data transmission(ABB D560)

Control/Communication/Special functions

Name1) Typ Description
M_EI_NA_170end of initialization 6)
C_IC_NA_1100general query6)
C_RD_NA_1102single query 6)
C_CS_NA_1103clock-synchronisation 6)
C_RP_NA_1105process-reset 6)
C_TS_NA_1107test command with timestamp CP56Time2a
C_TD_NA_1145transparent data command (ABB)
M_TD_NA_1146transparent data report(ABB)

Notes

1) Name that is entered in the gateway as „ format = “
2) require the specification of factor (F:xxx) and given if offset (O:xxx)
3) factor and offset can be specified optionally
4) possible values: 0=Transient, 1=Off, 2=On, 3=Unkown
5) possible values: 0=Off, 1=On, 2=Transient, 3=Unknown
6) not configurable, needed/used for internal communication only

Format: Description
M_SP_NA_1single event
M_SP_TB_1single event with timestamp
M_DP_NA_1double event
M_ST_NA_1state switching event
M_ME_NA_1measured value, normalized value
M_ME_NB_1measured value, scaled value
M_ME_NC_1measured value, floating point number with single precision
M_ME_TD_1measured value, normalized value with timestamp
C_SC_NA_1single command
C_DC_NA_1double command
C_RC_NA_1state switch command
C_SE_NA_1setpoint command, normalized value
C_SE_NB_1setpoint command, scaled value
C_SE_NC_1setpoint command, floating point number with single precision

data point-type: "scact"

[S scact 12.100.1.0.0]
name = activation schedule 1, sunday, 1. entry
query = pe
nomval = 1
writecache = 1

[S scact 12.100.1.0.1]
name = activation schedule 1, sunday, 2. entry
query = pe
nomval = 1
writecache = 1

data point-type: "sctime"

[Y sctime 12.100.1.0.0]
name = time schedule 1, sunday, 1. entry
query = pe
nomval = 1
writecache = 1

[Y sctime 12.100.1.0.1]
name = time schedule 1, sunday, 2. entry
query = pe
nomval = 1
writecache = 1

data point-type: "scvalue"

[Y scvalue 12.100.1.0.0]
name = value schedule 1, sunday, 1. entry
format = boolean # unsigned or real
query = pe
nomval = 1
writecache = 1

[Y scvalue 12.100.1.0.1]
name = value schedule 1, sunday, 2. entry
format = boolean # unsigned or real
query = pe
nomval = 1
writecache = 1

Start options for the driver in section [IEC104]:

Name: Type Range
SelectSupportedint1 enabled
0 disabled
2 optional
3 optional
OperationTimeoutint1-3600
AliveCheckint0-60000
FilterUpdateint0-1
UpdateWriteint0-1
PendingEventsint1-100000
SchedulePollDelayint1-6000
ScheduleRdWrDelayint1-6000
ExpectBACnetAPDUint0-1
AcceptInvalidint0-1


Name: Type Range
HostName<no>stringa.b.c.d
ServerRoleint0-1
T0Timeoutint1-255
T1Timeoutint1-255
T2Timeoutint1-255
T3Timeoutint0-172800
KWindowint1-32767
WWindowint1-32767
RemoteUnitsstring1-32766
LocalUnitsstring1-32766


Example iec1041.cfg-file:

[IEC104]
SelectSupported = 0
OperationTimeout = 10
AliveCheck = 60
FilterUpdate = 1
PendingEvents = 5000
SchedulePollDelay = 30
ScheduleRdWrDelay = 2
ExpectBACnetAPDU = 1
AcceptInvalid = 0

[LINK1]
HostName0 = 127.0.0.1
ServerRole = 0
T0Timeout = 30
T1Timeout = 15
T2Timeout = 10
T3Timeout = 20
KWindow = 12
WWindow = 8
RemoteUnits =
LocalUnits = 12,13,14,15

Imprint/Impressum Disclaimer DSGVO/Privacy Policy

iec-104_en.txt · Zuletzt geändert: 20.12.2021 17:14 von oni

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki