Experimental Physics and
| |||||||||||||||
|
Hi, Recently I try to use Streamdevice to control a motor device. The form of the command is hex as follow: command Hex-ASCII &
nbsp; vertical init 05 30 30 46 46 57 57 30 44 30 30 30 32 30 31 30 37 44 30 angle 05 30 30 46 46 57 57 30 44 30 30 30 30 30 31 30 37 44 30 &nbs
p; (last four numbers stand for rotation angle: 07D0) start 05 30 30 46 46 57 57 30 4D 30 30 30 32 30 31 30 30 30 31 stop  
; 05 30 30 46 46 57 57 30 4D 30 30 30 32 30 31 30 30 30 30 read 05 30 30 46 46 57 52 30 44 38 33 34 30 30 31 When record type is "aao" or "aai", I send an array angle command(e.g. 05 30 30 46 46 57 57 30 44 30 30 30 30 30 31 30 37 44 30) and I received the reply value correctly on NewNetAssistant. The reply value is "-00FF" as follow: But, when I test it on streamdevice, there are some errors: 1. Format convert is not ok: 2. The reply values are none: 3. When assigning values on PV values, it get only the former 13 values rather than all(in fact, I need assign 19 values to the PV values and it loss the last 6 values), as shown on the up picture. When record type is "ao" or "ai", no format convert errors occured, but the PV value only accept the first 1 value and return 0: My fx3uplc.db fx3uplc.proto fx3uplc.cmd are as follow: I'm figuring out which type should I choose such that the reply values are correct. I'm so anxious. Thanks very much and best wishes! Jiaosai Li, IMPCAS
| ||||||||||||||
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |