How to implement S120 master-slave control scheme