PIXYStage fails to setup "Illegal axis (106)"

I’m having issues to setup the PIXYStage in Micromanager.

When I exit the hardware configuration wizard, I get the error message:
Cannot get value of property “Joystick1” [ Error in device: Illegal axis (106) ]
And when I open the Stage control window, the displayed position of the stages is wrong and they won’t move.

More details and what I’ve tried so far:

I have three M112.1DG and one M110.1DG stages, all controlled via C-863 controllers which I want to use as XY and Z stages. They’re connected to the PC via RS232 and a MOXA CP-114EL card for the serial ports.

Control with PI micromove works.

I managed to setup the PIZStage correctly through micromanager, but I continue to fail to setup the XY Stage.

As a sanity check, I have connected both the X stage and Y stage controllers as PIZStage. Here, I’m able to communicate with the stages correctly. Therefore, I’m sure that the stage controllers are correctly setup and the mistake is in the PIXYStage setup, maybe when setting the stage type?

Here’s my config file:

Generated by Configurator on Mon Nov 23 16:31:29 CET 2020

Reset

Property,Core,Initialize,0

Devices

Device,COM13,SerialManager,COM13
Device,COM14,SerialManager,COM14
Device,COM15,SerialManager,COM15
Device,Camera,PVCAM,Camera-1
Device,Filter,DemoCamera,DWheel
Device,StageZ_controller,PI_GCS_2,C-863.11
Device,PIZStage,PI_GCS_2,PIZStage
Device,StageY_controller,PI_GCS_2,C-863.11
Device,StageX_controller,PI_GCS_2,C-863.11
Device,PIXYStage,PI_GCS_2,PIXYStage

Pre-init settings for devices

Property,StageZ_controller,Port,COM13
Property,PIZStage,Alternative Homing Command,REF
Property,PIZStage,Axis,1
Property,PIZStage,Controller Name,StageZ_controller
Property,PIZStage,Invert travel range,0
Property,PIZStage,Limit_um,5000.0000
Property,PIZStage,Stage,
Property,StageY_controller,Port,COM14
Property,StageX_controller,Port,COM15
Property,PIXYStage,Axis X: Alternative Homing Command,
Property,PIXYStage,Axis X: HomingMode,REF
Property,PIXYStage,Axis X: Name,1
Property,PIXYStage,Axis X: Stage,
Property,PIXYStage,Axis Y: Alternative Homing Command,
Property,PIXYStage,Axis Y: HomingMode,REF
Property,PIXYStage,Axis Y: Name,2
Property,PIXYStage,Axis Y: Stage,
Property,PIXYStage,Controller Name,StageX_controller
Property,PIXYStage,Controller Name for Y axis,StageY_controller

Pre-init settings for COM ports

Property,COM13,AnswerTimeout,500.0000
Property,COM13,BaudRate,115200
Property,COM13,DTR,Disable
Property,COM13,DataBits,8
Property,COM13,DelayBetweenCharsMs,0.0000
Property,COM13,Fast USB to Serial,Disable
Property,COM13,Handshaking,Off
Property,COM13,Parity,None
Property,COM13,StopBits,1
Property,COM13,Verbose,1
Property,COM14,AnswerTimeout,500.0000
Property,COM14,BaudRate,115200
Property,COM14,DTR,Disable
Property,COM14,DataBits,8
Property,COM14,DelayBetweenCharsMs,0.0000
Property,COM14,Fast USB to Serial,Disable
Property,COM14,Handshaking,Off
Property,COM14,Parity,None
Property,COM14,StopBits,1
Property,COM14,Verbose,1
Property,COM15,AnswerTimeout,500.0000
Property,COM15,BaudRate,115200
Property,COM15,DTR,Disable
Property,COM15,DataBits,8
Property,COM15,DelayBetweenCharsMs,0.0000
Property,COM15,Fast USB to Serial,Disable
Property,COM15,Handshaking,Off
Property,COM15,Parity,None
Property,COM15,StopBits,1
Property,COM15,Verbose,1

Hub (parent) references

Initialize

Property,Core,Initialize,1

Delays

Focus directions

FocusDirection,PIZStage,0

Roles

Property,Core,Camera,Camera
Property,Core,Focus,PIZStage
Property,Core,AutoShutter,1

Camera-synchronized devices

Labels

Filter

Label,Filter,9,State-9
Label,Filter,8,State-8
Label,Filter,7,State-7
Label,Filter,6,State-6
Label,Filter,5,State-5
Label,Filter,4,State-4
Label,Filter,3,State-3
Label,Filter,2,State-2
Label,Filter,1,State-1
Label,Filter,0,State-0

Configuration presets

Group: Camera

Preset: 11bit_triggered_scanwidth

ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,ExposeOutMode,Any Row
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,ReadoutRate,200MHz 11bit
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,ScanMode,Line Delay
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,TriggerMode,Edge Trigger
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,CCDTemperatureSetPoint,5.0000
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,Exposure,0.0100
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,FanSpeedSetpoint,Medium
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,ScanLineDelay,1
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,ScanLineTime,22400000.0000
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,ScanWidth,1
ConfigGroup,Camera,11bit_triggered_scanwidth,Camera,ScanDirection,Up

Preset: 11bit_freerun

ConfigGroup,Camera,11bit_freerun,Camera,ExposeOutMode,First Row
ConfigGroup,Camera,11bit_freerun,Camera,ReadoutRate,200MHz 11bit
ConfigGroup,Camera,11bit_freerun,Camera,ScanMode,Auto
ConfigGroup,Camera,11bit_freerun,Camera,TriggerMode,Internal Trigger
ConfigGroup,Camera,11bit_freerun,Camera,CCDTemperatureSetPoint,5.0000
ConfigGroup,Camera,11bit_freerun,Camera,Exposure,25.0000
ConfigGroup,Camera,11bit_freerun,Camera,FanSpeedSetpoint,Medium
ConfigGroup,Camera,11bit_freerun,Camera,ScanLineDelay,2584
ConfigGroup,Camera,11bit_freerun,Camera,ScanLineTime,28952000000.0000
ConfigGroup,Camera,11bit_freerun,Camera,ScanWidth,1
ConfigGroup,Camera,11bit_freerun,Camera,ScanDirection,Down

Group: Channel

Preset: Empty

ConfigGroup,Channel,Empty,Filter,State,0

Group: System

Preset: Startup

PixelSize settings

Hello,

(This is my first post in this forum - I’m working for PI and have written great parts of the PI_GCS_2 adapter.)
What names do you use for the axes when connecting them to PIMikroMove?
What names do you use when connecting them as single ZStages?
I guess all three are “1” ?
Then you need to use these also in your XY setup. So “Property,PIXYStage,Axis Y: Name” is probably “1” ?
These names are used internally to communicate with the device.

Steffen

2 Likes

Hello Steffen,

thanks a lot! That solved the issue.
I was a bit confused because I assumed “Axes Name” should be a unique identifier.

I have tried briefly to change the name of the stages in PI micromanager yesterday, but couldn’t find it. I’ll try once more when I’m in the lab later. Do you have any hints?

Best, Wiebke

Hello Wiebke,

which name do you want to change? The name internally used to communicate with the device? I do not think this is visible outside the adapater configuration. This can be done for some PI devices - please see the user manual of your devices.

Or the name displayed in micro-manager? Then maybe someone else can help?

Best, Steffen

Ok, then I’ll just leave it. It ain’t pretty but it works :smiley: