Each of the motion detectors report to a different RF Receiver so they have a different house code. There are three motion detectors that each have their own timer and all three have a group timer for the rear of the house. First the events for the motion detectors:
BEGINIF    PLC-Button C            Is         15/On           
->House Code C, Unit Code 15
Then       Text-A                  T1<-T1     Text, C15
Then       Text-A                  Set        <Space>
Then       Text-A                  T1/A<-Stt  PLC-Command C
Then       Text-A                  Set        Log                     
->Log motion detector activity
If         Daylight                Is         True                     
->If it is light outside
Then       Timer, Rear Garage      Set        90          
->Set the motion detector timer
Then       Timer, Rear             Set        90                 
->Set the group timer to control the lights
If         Daylight                Is         False                    
->If it is not light outside
Then       Timer, Rear Garage      Set        180         
->Set the motion detector timer (note the higher setting)
Then       Timer, Rear             Set        180                
->Set the group timer to control the lights
ENDIF
;----------------------------------------------------------------
BEGINIF    PLC-Button D            Is         11/On           
->House Code D, Unit Code 11
Then       Text-A                  T1<-T1     Text, D11
Then       Text-A                  Set        <Space>
Then       Text-A                  T1/A<-Stt  PLC-Command D
Then       Text-A                  Set        Log/Speak               
->Log and speak motion detector activity
If         Daylight                Is         True                     
->If it is light outside
Then       Timer, Deck, up       Set        90             
->Set the motion detector timer
Then       Timer, Rear             Set        90                 
->Set the group timer to control the lights
BEGINIF    Daylight                Is         False               
->If it is not light outside
Then       Timer, Deck, up       Set        180            
->Set the motion detector timer (note the higher setting)
Then       Timer, Rear             Set        180                
->Set the group timer to control the lights
ENDIF
ENDIF
;----------------------------------------------------------------
BEGINIF    PLC-Button H            Is         15/On           
->House Code H, Unit Code 15
Then       Text-A                  T1<-T1     Text, H15
Then       Text-A                  Set        <Space>
Then       Text-A                  T1/A<-Stt  PLC-Command H
Then       Text-A                  Set        Log/Speak               
->Log and speak motion detector activity
If         Daylight                Is         True                     
->If it is light outside
Then       Timer, Deck, Down       Set        90           
->Set the motion detector timer
Then       Timer, Rear             Set        90                 
->Set the group timer to control the lights
BEGINIF    Daylight                Is         False               
->If it is not light outside
Then       Timer, Deck, Down       Set        180          
->Set the motion detector timer (note the higher setting)
Then       Timer, Rear             Set        180                
->Set the group timer to control the lights
ENDIF
ENDIF
Then the timer events. Notice that all these events can reside under one title (effectively one event). This makes it easier to keep track of where the events are if you ever plan to change anything.
; The first motion detector timer to control the state of the
; motion detector item.
;----------------------------------------------------------------
If         Timer, Deck, Up         Is GE      1
Then       Motion, Deck, Up        Set        On
Else       Motion, Deck, Up        Set        Off
;----------------------------------------------------------------
; The second motion detector timer to control the state of the
; motion detector item.
;----------------------------------------------------------------
If         Timer, Deck, Down       Is GE      1
Then       Motion, Deck, Down      Set        On
Else       Motion, Deck, Down      Set        Off
;----------------------------------------------------------------
; The third motion detector timer to control the state of the
; motion detector item.
;----------------------------------------------------------------
If         Timer, Rear Garage      Is GE      1
Then       Motion, Rear Garage     Set        On
Else       Motion, Rear Garage     Set        Off
;----------------------------------------------------------------
; And finally the group timer that controls the lights
;----------------------------------------------------------------
If         Timer, Rear             Is Now     1                  
->When the timer reaches this
Then       Rm, Rear                Set        0                      
->turn off all the lights in the back yard.  The light heirchy
Then       Event-Call              Set        Rm, Rear             
->will explain how this is accomplished with one command.
If         Timer, Rear             Is GT Now  90              
->Anytime the timer is greater than or equal to 90, we
Then       Rm, Rear                Set        1                      
->turn on the lights in the back yard, again with one command.
Then       Event-Call              Set        Rm, Rear