Preset single register, Data formats – Basler Electric BE1-11 Modbus Protocol User Manual

Page 14

Advertising
background image

8

9424200774 Rev B

Response

The response message echoes the starting address and the number of registers. There is no response
message when the query is a broadcast (device address = 0).

Device Address
Function Code =

10 (hex)

Starting Address Hi
Starting Address Lo
No. of Registers Hi
No. of Registers Lo
CRC Hi Error Check
CRC Lo Error Check

Preset Single Register

A Preset Single Register query message requests a single register to be written. If the query is a
broadcast (device address = 0), no response message is returned.

Note: Only data types INT16, INT8, UINT16, UINT8, and String (not longer than 2 bytes), can be preset
by this function.

Query

Data will cease to be written if any of the following exceptions occur.

Queries to write to Read Only registers result in an error response with Exception Code of “Illegal
Data Address”.

A query to write a disallowed value (out of range) to a register results in an error response with
Exception Code of “Illegal Data Value”.

Device Address
Function Code =

06 (hex)

Address Hi
Address Lo
Data Hi
Data Lo
CRC Hi error check
CRC Lo error check

Response

The response message echoes the Query message after the register has been altered.

Data Formats

BE1-11 Protection Systems support the following data types:

Data types mapped to 2 registers

Unsigned Integer 32 (Uint32)

Signed Integer 32 (Int32)

Floating Point (Float)

IP Address (IP Address)

Strings maximum 4 characters long (String)

Data types mapped to 1 register

Unsigned Integer 16 (Uint16) (If this type is mapped to section Binary Points, then 1 register
contains up to 16 bit-mapped variables as listed in the Register Table chapter under Binary
Points.)

Signed Integer 16 (Int16)

Unsigned Integer 8 (Uint8)

General Information

BE1-11

Advertising