test5
command: set readInterval=300000
command: set execInterval=0
# reportLength=60sec/sendingInterval(sec)*number_of_twe*60min=60/30*8*60=960
command: set reportLength=1000
# command: set reportLength=20
command: set sendInterval=600000
command: program serial1
program: '
program: ' motion frequency in a interval
program: '
program: 'twe list
program: dim twes
program: twes(0)="0x8100bc31"
program: twes(1)="0x81007853"
program: twes(2)="0x8100f5cd"
program: twes(3)="0x8100ed35"
program: twes(4)="0x8102dcb7"
program: twes(5)="0x8102dcac"
program: twes(6)="0x8100f5cb"
program: twes(7)="0x8102dca8"
program: '
program: 'command parts
program: cmd1="serial send \"set a32=": cmd2=" sendif DI1 sendAccumulation 30000.\"."
program: for i=0 to 7
program: ex("pi4j", cmd1+twes(i)+cmd2)
program: delay(500)
program: next i
command: end serial1
#command: clear sendBuffer
command: run serial1
command: set pageName="pir-h-<hour>"