fix SF#1910452: write axis number, not stepgen number, for limit and home switch connections
fix SF#1910452: write axis number, not stepgen number, for limit and home switch connections

ArcEye/machinekit-testing,RunningLight/machinekit,aschiffler/linuxcnc,cdsteinkuehler/MachineKit,bobvanderlinden/machinekit,araisrobo/machinekit,bobvanderlinden/machinekit,EqAfrica/machinekit,cdsteinkuehler/MachineKit,ikcalB/linuxcnc-mirror,aschiffler/linuxcnc,unseenlaser/linuxcnc,araisrobo/machinekit,cnc-club/linuxcnc,ianmcmahon/linuxcnc-mirror,RunningLight/machinekit,bmwiedemann/linuxcnc-mirror,unseenlaser/machinekit,RunningLight/machinekit,ArcEye/MK-Qt5,narogon/linuxcnc,bobvanderlinden/machinekit,araisrobo/machinekit,bmwiedemann/linuxcnc-mirror,ArcEye/machinekit-testing,EqAfrica/machinekit,Cid427/machinekit,RunningLight/machinekit,bobvanderlinden/machinekit,EqAfrica/machinekit,cdsteinkuehler/MachineKit,araisrobo/machinekit,Cid427/machinekit,ArcEye/machinekit-testing,cdsteinkuehler/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,araisrobo/linuxcnc,unseenlaser/linuxcnc,Cid427/machinekit,RunningLight/machinekit,unseenlaser/linuxcnc,yishinli/emc2,ianmcmahon/linuxcnc-mirror,araisrobo/machinekit,unseenlaser/machinekit,RunningLight/machinekit,kinsamanka/machinekit,kinsamanka/machinekit,EqAfrica/machinekit,aschiffler/linuxcnc,unseenlaser/linuxcnc,mhaberler/machinekit,narogon/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,yishinli/emc2,cnc-club/linuxcnc,EqAfrica/machinekit,araisrobo/machinekit,mhaberler/machinekit,EqAfrica/machinekit,cdsteinkuehler/MachineKit,Cid427/machinekit,ArcEye/MK-Qt5,kinsamanka/machinekit,araisrobo/machinekit,strahlex/machinekit,mhaberler/machinekit,yishinli/emc2,kinsamanka/machinekit,bobvanderlinden/machinekit,narogon/linuxcnc,ianmcmahon/linuxcnc-mirror,bobvanderlinden/machinekit,ArcEye/MK-Qt5,ArcEye/machinekit-testing,Cid427/machinekit,Cid427/machinekit,jaguarcat79/ILC-with-LinuxCNC,cnc-club/linuxcnc,araisrobo/linuxcnc,unseenlaser/machinekit,cdsteinkuehler/MachineKit,strahlex/machinekit,ArcEye/machinekit-testing,ArcEye/machinekit-testing,ArcEye/machinekit-testing,RunningLight/machinekit,ArcEye/MK-Qt5,RunningLight/machinekit,aschiffler/linuxcnc,cdsteinkuehler/linuxcnc,cdsteinkuehler/linuxcnc,ikcalB/linuxcnc-mirror,araisrobo/linuxcnc,ArcEye/machinekit-testing,unseenlaser/machinekit,ArcEye/MK-Qt5,unseenlaser/linuxcnc,unseenlaser/machinekit,Cid427/machinekit,mhaberler/machinekit,cnc-club/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,strahlex/machinekit,bobvanderlinden/machinekit,mhaberler/machinekit,ArcEye/MK-Qt5,EqAfrica/machinekit,narogon/linuxcnc,araisrobo/linuxcnc,kinsamanka/machinekit,yishinli/emc2,kinsamanka/machinekit,EqAfrica/machinekit,strahlex/machinekit,kinsamanka/machinekit,Cid427/machinekit,ianmcmahon/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,ikcalB/linuxcnc-mirror,strahlex/machinekit,mhaberler/machinekit,cdsteinkuehler/linuxcnc,kinsamanka/machinekit,bmwiedemann/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,mhaberler/machinekit,mhaberler/machinekit,ianmcmahon/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,cnc-club/linuxcnc,cnc-club/linuxcnc,strahlex/machinekit,araisrobo/linuxcnc,cdsteinkuehler/linuxcnc,unseenlaser/machinekit,jaguarcat79/ILC-with-LinuxCNC,ikcalB/linuxcnc-mirror,cdsteinkuehler/linuxcnc,cnc-club/linuxcnc,araisrobo/machinekit,ArcEye/MK-Qt5,narogon/linuxcnc,cdsteinkuehler/MachineKit,ikcalB/linuxcnc-mirror,araisrobo/machinekit,ikcalB/linuxcnc-mirror,unseenlaser/machinekit,strahlex/machinekit,ikcalB/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,aschiffler/linuxcnc,bmwiedemann/linuxcnc-mirror,unseenlaser/machinekit,ArcEye/MK-Qt5,bobvanderlinden/machinekit