250
7.2.2TheschemeofxLogic
Requiredcomponents:
l K1 opencontactor
l K2 closecontactor
l S1(breakcontact) closelimitswitch
l S2(breakcontact) openlimitswitch
l B1(makecontact) outdoorinfraredactiondetector
l B2(makecontact) infraredactiondetectorinside
xLogicfunctionblockcircuitprogram:
Motiondetector
Duringbusinesshours,ifsomeoneentersstore,thedetectorB1willtriggerelectricmotortoopenthe
door,viceversa.
Atclosingtime,thedetectorB2makeelectromotorkeeprunningforanhourtomakemoretimefor