-
Created by Unknown User (alexd), last modified on Sep 06, 2013
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 8
Next »
Records from xip.template
The below records are in addition to the normal ims motor records
- $(MOTOR):SE
- Reads Se from Mcode
- Pulse picking mode select
- $(MOTOR):SET_SE
- Writes Se to Mcode, values 0 to 100 are allowed
- Pulse picking mode select
- $(MOTOR):MCODE:INIT
- Sends a hard reset to the Mcode
- Sets Se to 99
- Executes program 1
- $(MOTOR):RESET_PG
- Soft reset of Mcode software
- Executes program 1
- $(MOTOR):RUN_MODE<num>
- Runs specified pulse picking mode
- Sets Se to <num>
- Turns output 4 on
- $(MOTOR):UPDATE_ALL
- Updates all Mcode parameters for the pulse picker
- $(MOTOR):UPDATE_STATUS
- Updates specific mcode parameters
- They include MV, P, C1, C2, I1, I2
- $(MOTOR):S_OPEN
- Moves shutter to open position
- Sets Se to 4
- Reads Se from Mcode
- Reads Ad from Mcode
- $(MOTOR):S_CLOSE
- Moves shutter to close position
- Sets Se to 5
- Reads Se from Mcode
- Reads Ad from Mcode
- $(MOTOR):ULV
- Upper Limit Violation in raw motor counts
- On I/O Intr, looks for "ULV=<counts>" sting
- Waiting for interruption from Mcode if upper limit is violated
- Process UD, #########TODO: Find what UD is
- $(MOTOR):LLV
- Lower Limit Violation in raw motor counts
- On I/O Intr, looks for "LLV=<counts>" sting
- Waiting for inturption from Mcode if lower limit is violated
- Process UD, #########TODO: Find what LD is
- $(MOTOR):S_POS_CLOSE
- Last reported close position
- On I/O Intr, looks for "CLOSE=<counts>" string
- $(MOTOR):S_POS_OPEN
- Last reported open position
- On I/O Intr, looks for "OPEN=<counts>" string
- $(MOTOR):PLUS_DEGREES
- Conversion of N1 from motor counts to degrees
- ##########TODO: find what N1 is
- $(MOTOR):MINUS_DEGREES
- Conversion of N2 from motor counts to degrees
- ###########TODO: Find what N2 is
- $(MOTOR):PLUS_DEGREE_CNTS
- Conversion of N3 from encoder counts to degrees
- ###################TODO: find what N3 is
- $(MOTOR):MINUS_DEGREES_CNTS
- Conversion of N4 from encoder counts to degrees
- ###############TODO: find what N4 is
- $(MOTOR):DEADBAND_DEGREES