Skip to content
Snippets Groups Projects
motorSim.cmd 461 B
Newer Older
mooney's avatar
mooney committed
# The is the ASYN example for communication to 4 simulated motors
# "#!" marks lines that can be uncommented.

dbLoadTemplate("motorSim.substitutions")

# Create simulated motors: ( start card , start axis , low limit, high limit, home posn, # cards, # axes to setup)
mooney's avatar
mooney committed
motorSimCreate( 0, 0, -32000, 32000, 0, 1, 8 )
mooney's avatar
mooney committed
# Setup the Asyn layer (portname, low-level driver drvet name, card, number of axes on card)
mooney's avatar
mooney committed
drvAsynMotorConfigure("motorSim1", "motorSim", 0, 8)