test5

objectPage http://www.yama-lab.org/r-1/index.php?pir-twelite-ex1 or http://www.yama-lab2.org/r-1/index.php?pir-twelite-ex1
device yamaRasPiDp9_1 or yamaRasPiDp9_2 start after no write for 10 min.
command: set readInterval=300000
command: set execInterval=0
command: set reportLength=3000
command: program serial1
program: '
program: ' get changed DI2 ID
program: '
program: 'twe list
program: dim twes
program: twes[0]="0x8100bc31"
program: twes[1]="0x81007853"
program: '
program: 'command parts
program: cmd1="serial send \"set a32=": cmd2=" sendif DI1 sendAccumulation 20000.\"."
program: for i=0 to 1
program:   ex("pi4j", cmd1+twes[i]+cmd2)
program:   delay(100)
program: next i
command: end serial1
#command: clear sendBuffer
command: run serial1
result:

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS