SCH Schedule Function Block
|
The Schedule (SCH) function block adds a facility to implement a weekly schedule with a single MBus_ioFlash programming block for MBus_io12_LCD and MBus_io14_DIN devices. The start and stop times are all remotely accessible to a Modbus master controller.
The definition editor for the SCH block allows initial start and stop times to be set independently for each day of the week. Start and stop times are expressed as the number of minutes since midnight, for example 8:30 am is expressed as 510, (i.e. 8*60+30). As with other blocks, the Modbus register number specified at the top is the Modbus register that will correspond to the block's state. All of the block's start and stop times will automatically be assigned the 14 subsequent Modbus register numbers. The start and stop times can be read or written via Modbus Read/Write commands referencing these register numbers. Start and stop times will be saved in non-volatile memory so that the values set remain even after a power cycle.
External front-end devices can use Modbus Read/Write Holding
Registers (03/06) commands to access the start and stop times of the SCH blocks.
Parameter | Description |
Name | Function block name, see common parameters |
Modbus Reg no. | The Modbus register that correspond to the block's state. All of the block's start and stop times will automatically be assigned the 14 subsequent Modbus register numbers. |
Schedule Start Time |
Initial start time, independently settable for each day of the week, expressed as the number of minutes since midnight. |
Schedule End Time |
Initial stop time, independently settable for each day of the week, expressed as the number of minutes since midnight. |
Schedule Start/End MB |
Modbus register numbers to access Start/End Time, automatically assigned as the 14 subsequent values of block's Modbus Reg No. |