● The last valid entry (by time, ascending) with a valid schedule entry (i.e. valid
time info) defines the value to the end of the day (23:59:59.99).
● Additional void entries (if any) with NULLVal=F, Hour=0x7F and
Minutes=0xFF are applicable until the 16th and last entry at the end of the list.
MODBUS mapping of one daily schedule thus occupies a fixed size of 32registers,
which easily fit in one MODBUS Read Holding register response message or Write
Holding register request message.
● The MODBUS Master can read part of a daily schedule, or even one register
representing Time or OpMod information.
● We recommend, however, reading the entire daily schedule for consistency
reasons as well as the corresponding 32registers in one pass.
● The MODBUS Master CANNOT write parts of a daily schedule, or even only
one register representing a data fragment with Time or OpMod information!
To maintain consistency of daily schedule information, the master must write the
entire daily schedule including void entries at the end of the list and the
corresponding 32registers in one pass.
The MODBUS Master writes the entire daily schedule with 16sorted [Time,Value]
entries (by time in ascending order).
The BAweekly schedule consists of 7daily schedules corresponding to Monday–
Sunday and additional BA-Properties.
Data-Item-Size
is therefore a
fixed256registers
per the weekly schedule.
Register
Address
Mapped BA-Schedule information
x Daily-Schedule Mo
x+32 Daily-Schedule Tu
x+64 Daily-Schedule We
x+96 Daily-Schedule Th
x+128 Daily-Schedule Fr
x+160 Daily-Schedule Sa
x+192 Daily-Schedule Su
x+224
…
x+255
Reserved Registers
Register
Address
x+256
…
x+511
Another Weekly-Schedule
MODBUS structure for Data-Type=WeeklySched16bit
X=Schedule register address
● 7x16 daily schedule entries for Mo – Su are mapped to MODBUS Holding
registers, with 7x32 registers, i.e. 224registers.
● Mapping starts with the first 32registers for the daily schedule Monday.
● The last 32used registers are allocated to map daily schedule Sunday.
● 32spare register addresses are reserved and unused at the upper end of the
data item address space.
Engineering of communicative devices
Modbus slave
6
A6V10733786_en_c 167 | 170