TESLA2

٤Ƴ٤Ĥ
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pi@rpi-202605041447:~/python/RCB4Lib_for_Python_V100B/sample $ python3 Rcb4_ex03.py
open comName=/dev/ttyUSB0 bundrate=115200 timOut=1.3
self.com=Serial<id=0xb6687448, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='E', stopbits=1, timeout=1.3, xonxoff=False, rtscts=False, dsrdtr=False)
sendData->[04,fe,06,08,]
readData-->[04,fe,06,08,]
moveRamToComCmdSynchronize( scrAddr=00, scrDataSize=02)
sendData->[0a,00,20,00,00,00,00,00,02,2c,]
readData-->[05,00,1b,83,a3,]
sendData->[04,fe,06,08,]
readData-->[04,fe,06,08,]
checkAcknowledge OK
Version    --> 220
get config moveRamToComCmdSynchronize( scrAddr=00, scrDataSize=02)
sendData->[0a,00,20,00,00,00,00,00,02,2c,]
readData-->[05,00,1b,83,a3,]
831b
get pio moveRamToComCmdSynchronize( scrAddr=3a, scrDataSize=02)
sendData->[0a,00,20,00,00,00,3a,00,02,66,]
readData-->[05,00,00,2c,31,]
0
get all ad data moveRamToComCmdSynchronize( scrAddr=22, scrDataSize=16)
sendData->[0a,00,20,00,00,00,22,00,16,62,]
readData-->[19,00,3a,01,02,00,01,00,01,00,00,00,02,00,22,00,25,00,24,00,23,00,24,00,0c,]
(True, [314, 2, 1, 1, 0, 2, 34, 37, 36, 35, 36])
voltage moveRamToComCmdSynchronize( scrAddr=22, scrDataSize=02)
sendData->[0a,00,20,00,00,00,22,00,02,4e,]
readData-->[05,00,3a,01,40,]
7.5126953125
getSinglePos( id=01, sio=01)
moveDevicetoComCmdSynchronize( icsNum=02, offset=04, dataSize=02)
moveDevicetoComCmd( icsNum=02, offset=04, dataSize=02)
sendData->[0a,00,21,00,00,00,04,02,02,33,]
readData-->[]
False pos=-1
setPos2( id=01, sio=01,position=1d4c 7500)
moveComToDeviceCmdSynchronize( icsNum=02, offset=06,destData)
destData=[4c,1d,00,]
moveComToDeviceCmd( icsNum=02, offset=06,destData)
destData=[4c,1d,00,]
sendData->[0a,00,12,06,02,00,4c,1d,00,8d,]
readData-->[04,00,15,19,]
getSinglePos( id=01, sio=01)
moveDevicetoComCmdSynchronize( icsNum=02, offset=04, dataSize=02)
moveDevicetoComCmd( icsNum=02, offset=04, dataSize=02)
sendData->[0a,00,21,00,00,00,04,02,02,33,]
readData-->[]
False pos=-1
setPos2( id=01, sio=01,position=0fa0 4000)
moveComToDeviceCmdSynchronize( icsNum=02, offset=06,destData)
destData=[a0,0f,00,]
moveComToDeviceCmd( icsNum=02, offset=06,destData)
destData=[a0,0f,00,]
sendData->[0a,00,12,06,02,00,a0,0f,00,d3,]
readData-->[04,00,15,19,]
getSinglePos( id=01, sio=01)
moveDevicetoComCmdSynchronize( icsNum=02, offset=04, dataSize=02)
moveDevicetoComCmd( icsNum=02, offset=04, dataSize=02)
sendData->[0a,00,21,00,00,00,04,02,02,33,]
readData-->[]
False pos=-1
setPos2( id=01, sio=01,position=1d4c 7500)
moveComToDeviceCmdSynchronize( icsNum=02, offset=06,destData)
destData=[4c,1d,00,]
moveComToDeviceCmd( icsNum=02, offset=06,destData)
destData=[4c,1d,00,]
sendData->[0a,00,12,06,02,00,4c,1d,00,8d,]
readData-->[04,00,15,19,]
getSinglePos( id=01, sio=01)
moveDevicetoComCmdSynchronize( icsNum=02, offset=04, dataSize=02)
moveDevicetoComCmd( icsNum=02, offset=04, dataSize=02)
sendData->[0a,00,21,00,00,00,04,02,02,33,]
readData-->[]
False pos=-1
setPos2( id=01, sio=01,position=2af8 11000)
moveComToDeviceCmdSynchronize( icsNum=02, offset=06,destData)
destData=[f8,2a,00,]
moveComToDeviceCmd( icsNum=02, offset=06,destData)
destData=[f8,2a,00,]
sendData->[0a,00,12,06,02,00,f8,2a,00,46,]
readData-->[04,00,15,19,]
getSinglePos( id=01, sio=01)
moveDevicetoComCmdSynchronize( icsNum=02, offset=04, dataSize=02)
moveDevicetoComCmd( icsNum=02, offset=04, dataSize=02)
sendData->[0a,00,21,00,00,00,04,02,02,33,]
readData-->[]
False pos=-1
setPos2( id=01, sio=01,position=1d4c 7500)
moveComToDeviceCmdSynchronize( icsNum=02, offset=06,destData)
destData=[4c,1d,00,]
moveComToDeviceCmd( icsNum=02, offset=06,destData)
destData=[4c,1d,00,]
sendData->[0a,00,12,06,02,00,4c,1d,00,8d,]
readData-->[04,00,15,19,]
getSinglePos( id=01, sio=01)
moveDevicetoComCmdSynchronize( icsNum=02, offset=04, dataSize=02)
moveDevicetoComCmd( icsNum=02, offset=04, dataSize=02)
sendData->[0a,00,21,00,00,00,04,02,02,33,]
readData-->[]
False pos=-1
pi@rpi-202605041447:~/python/RCB4Lib_for_Python_V100B/sample $ date
Tue  5 May 08:05:13 JST 2026
pi@rpi-202605041447:~/python/RCB4Lib_for_Python_V100B/sample $

Counter: 4, today: 2, yesterday: 0

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