Cosmetic changes to the simulated fermi chopper controller.
This commit is contained in:
@@ -85,32 +85,32 @@ class Fermi_Prot(LineReceiver):
|
|||||||
dir = RVAL['dir'][uid]
|
dir = RVAL['dir'][uid]
|
||||||
sys_stat = _AVC_ON|_OK
|
sys_stat = _AVC_ON|_OK
|
||||||
self.RegInfo = {
|
self.RegInfo = {
|
||||||
10: ['U16', 'System Status Information'],
|
10: ['U16', 'System Status Information (R)'],
|
||||||
12: ['U16', 'Interlock Status Information'],
|
12: ['U16', 'Interlock Status Information (R)'],
|
||||||
14: ['U16', 'Rotational Speed'],
|
14: ['U16', 'Rotational Speed (R)'],
|
||||||
16: ['F32', 'Encoder Angle (MB350PC/R ONLY)'],
|
16: ['F32', 'Encoder Angle (MB350PC/R ONLY) (R)'],
|
||||||
18: ['U32', 'Phase Veto Count'],
|
18: ['U32', 'Phase Veto Count (R)'],
|
||||||
20: ['U32', 'Read and Clear Phase Veto Count'],
|
20: ['U32', 'Read and Clear Phase Veto Count (R)'],
|
||||||
22: ['U32', 'Read and Clear Phase Veto Count' ],
|
22: ['U32', 'Read and Clear Phase Veto Count (R)' ],
|
||||||
24: ['F32', 'Read PHASE ACCURACY'],
|
24: ['F32', 'Read PHASE ACCURACY (R)'],
|
||||||
26: ['F32', 'Read PHASE REPEATABILITY'],
|
26: ['F32', 'Read PHASE REPEATABILITY (R)'],
|
||||||
28: ['F32', 'Read PHASE OK'],
|
28: ['F32', 'Read PHASE OK (R)'],
|
||||||
30: ['U32', 'Set VETO WINDOW 100ns'],
|
30: ['U32', 'Set VETO WINDOW 100ns (RW)'],
|
||||||
32: ['U32', 'Set VETO WINDOW 50ns'],
|
32: ['U32', 'Set VETO WINDOW 50ns (RW)'],
|
||||||
34: ['U32', 'Set MOTOR CONTROL MODE'],
|
34: ['U32', 'Set MOTOR CONTROL MODE (RW)'],
|
||||||
1000: ['U32', 'Set ROTATIONAL SPEED SETPOINT'],
|
1000: ['U32', 'Set ROTATIONAL SPEED SETPOINT (RW)'],
|
||||||
1002: ['F32', 'Set HOMING ANGLE SETPOINT (MB350PC/R ONLY)'],
|
1002: ['F32', 'Set HOMING ANGLE SETPOINT (MB350PC/R ONLY) (RW)'],
|
||||||
1004: ['F32', 'Set MOTOR KP'],
|
1004: ['F32', 'Set MOTOR KP (RW)'],
|
||||||
1006: ['F32', 'Set MOTOR KI'],
|
1006: ['F32', 'Set MOTOR KI (RW)'],
|
||||||
1008: ['F32', 'Set MOTOR KPhase'],
|
1008: ['F32', 'Set MOTOR KPhase (RW)'],
|
||||||
1010: ['F32', 'Set REFERENCE DELAY'],
|
1010: ['F32', 'Set REFERENCE DELAY (RW)'],
|
||||||
1012: ['F32', 'Set REFERENCE PERIOD'],
|
1012: ['F32', 'Set REFERENCE PERIOD (RW)'],
|
||||||
1014: ['U32', 'Set SYNC SOURCE'],
|
1014: ['U32', 'Set SYNC SOURCE (RW)'],
|
||||||
1016: ['U32', 'Set MOTOR DIRECTION']
|
1016: ['U32', 'Set MOTOR DIRECTION (RW)']
|
||||||
}
|
}
|
||||||
self.RegVal[uid] = {
|
self.RegVal[uid] = {
|
||||||
10: sys_stat,
|
10: sys_stat,
|
||||||
12: 0,
|
12: 0x0,
|
||||||
14: 1000,
|
14: 1000,
|
||||||
16: 0,
|
16: 0,
|
||||||
18: 0,
|
18: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user