You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Connecting to dev network:
- MobaXterm
- Sessions → choose ssh session
- in cmd line:
To get encoder data from Sarah's dev space:
cd /u/cd/sarahvo/Undulator_SXR/Undulator_SXR-git/iocBoot/siocModbus
./st.cmd
- On Another terminal:
- bash → camonitor USEG:B34:ENC1
Running modpoll from Alex's space:
In order to get it to work:
- We had problems with the data, it was reported in increments of 65000 cts
- We ran these in epics to get the data in hex:
asynSetTraceMask "EK9000_0",0,3
asynSetTraceIOMask "EK9000_0",0,4
- To fix the issue:
- The address start is from address 1
- Datatype is 5 which is little endian
- Little endian stores byte as LSB then MSB, so value of 4F52 is stored as 52 4F
- Big endian stores byte as MSB then LSB, so value of 4F52 is stored as 4F 52