The attachement contains an example of the Merbon project with the SR04P room controller and the SRW01 window contact.
Only the variable that corresponds to the address at which the sensor is set is used in the program. Additional EnOcean addresses can be easily added by copying variables and shifting the offset according to the Modbus table STC65-RS485.