Error codes

Value (hex)

Value (dec)

Value (enum)

Description

0x0000

0

eMBUS_no_error

No error is present at the block. The block is currently not querying a counter.

0x0001

1

eMBUS_busy

The block is querying a meter.

0x0003

3

eMBUS_Disabled

The block is deselected.

0x0004

4

eMBUS_FBKL6781_Disabled

The function block FB_MBUSKL6781() is deselected.

0x0065

101

eMBUSERROR_CIField_wrong_72hex_expected

The 7th byte in the response telegram contains the CI field. In this byte the hexadecimal number 72 is expected. It stands for variable data structure, low byte is sent first. Only this data structure is supported.

0x0066

102

eMBUSERROR_no_data_received

No data was received.

0x0067

103

eMBUSERROR_error_checksum

The response telegram includes a checksum (sum of all bytes from byte 5). The received checksum does not match the calculated checksum. This happens if the protocol was not received cleanly (e.g. in the event of interference on the cable or if the cable is too long).

0x0068

104

eMBUSERROR_error_in_head_data

The first 4 bytes are not included in the checksum. These 4 bytes are monitored separately.

0x0069

105

eMBUSERROR_usiAddress_over_250

Addresses higher than 250 are not permitted. The input usiAddress of the meter block was assigned a value higher than 250 (exception: Address 254. This address can be used if only one meter is connected).

0x006A

106

eMBUSERROR_send_error

Error message for error during sending.

0x006C

108

eMBUSERROR_received_address_wrong

Received address does not match the sent address.

0x006D

109

eMBUSERROR_cMBUS_MaxCom_below_1

Reserve.

0x006E

110

eMBUSERROR_iComId_over_cMBUS_MaxCom

Reserve.

0x006F

111

eMBUSERROR_manufacturer_sign_wrong

The response telegram includes a manufacturer code. This code is allocated to the counter blocks. This message appears if the received manufacturer code does not match the block used.

0x0070

112

eMBUSERROR_baudrate_wrong

Input eBaudrate of the block was assigned invalid values. Only E_MBUS_Baudrate are allowed.

0x0071

113

eMBUSERROR_ReceiveBufferFull

The receive buffer of the serial interface is full. This may happen with long telegrams and/or long cycle times. The PLC is unable to read the data quick enough from the receive buffer, resulting in data loss. The situation may be resolved by reducing the cycle time.

0x0072

114

eMBUSERROR_E5hex_no_received

No single character E5 hexadecimal was received after initialization of the meter.

0x0073

115

eMBUSERROR_no_stop_character

No end character in the data array.

0x0074

116

eMBUSERROR_length_wrong

Number of received characters <> the length field.

0x0075

117

eMBUSERROR_wrong_terminal

Incorrect terminal connected

0x0076

118

eMBUSERROR_Terminal_is_not_initialized

The terminal is not initialized. This message usually means that there is no connection to the terminal. Terminal linked to the variables in the System Manager? Terminal plugged in incorrectly? Everything corrected, everything translated and re-read into the System Manager?

0x0077

119

eMBUSERROR_stSecAdr_udiIdNumber_wrong

The input variable stSecAdr.udiIdNumber is not assigned.

0x0078

120

eMBUSERROR_missing_parts_telegram

Not all telegram values were received.

0x0079

121

eMBUSERROR_no_stop_character_received

No stop characters were received (16hex).

0x007A

122

eMBUSERROR_too_many_characters

Too many characters were received.

0x007B

123

eMBUSERROR_TimeOut_FB_KL6781

Timeout FB_KL6781.

0x007C

124

eMBUSERROR_TimeOut_MeterFB

Meter block timeout.

0x00C9

201

eMBUSERROR_COM_PARAMETERCHANGED

Input parameters have changed during reception.

0x00CA

202

eMBUSERROR_COM_TXBUFFOVERRUN

String > transfer buffer.

0x00D2

210

eMBUSERROR_COM_STRINGOVERRUN

End of the string.

0x00D3

211

eMBUSERROR_COM_ZEROCHARINVALID

String may not contain any zero characters.

0x00DC

220

eMBUSERROR_COM_INVALIDPOINTER

Invalid data pointer, e.g. zero.

0x00DD

221

eMBUSERROR_COM_INVALIDRXPOINTER

Invalid data pointer for ReceiveData.

0x00DE

222

eMBUSERROR_COM_INVALIDRXLENGTH

Invalid length for ReceiveData e.g. zero.

0x00DF

223

eMBUSERROR_COM_DATASIZEOVERRUN

End of the data block.

0x1001

4097

eMBUSERROR_COM_INVALIDBAUDRATE

Invalid baud rate.

0x1002

4098

eMBUSERROR_COM_INVALIDNUMDATABITS

Invalid data bits.

0x1003

4099

eMBUSERROR_COM_INVALIDNUMSTOPBITS

Invalid stop bits.

0x1004

4100

eMBUSERROR_COM_INVALIDPARITY

Invalid parity.

0x1005

4101

eMBUSERROR_COM_INVALIDHANDSHAKE

Invalid handshake.

0x1006

4102

eMBUSERROR_COM_INVALIDNUMREGISTERS

Invalid num register.

0x1007

4103

eMBUSERROR_COM_INVALIDREGISTER

Invalid register.

0x1008

4109

eMBUSERROR_COM_TIMEOUT

COM timeout.