Hey Tom,

I am wondering how to wireup and set limit switches in Kmotion. I have just a typical Normally NO or NC limit switches. Would I wire these to any IO pin? for instance If I wanted to wire these for my first axis to say... IO 29/30. would I hook one wire up to 3.3V on Kflop and have the switch signal this? For instance If I wire it as NC(normally Closed) would I select the box under Configuration>Limit Switch option to "stop when low" because when the switch is engaged it should be Low? And If I wire it NO I would leave this box unchecked? Also underneath that check box it says "Bit No." is this referring to the IO on the kflop? in this case 29/30? Or in C LimitSwitchNegBit=29; <-- is this the IO on the Kflop?

I am also a little confused on how to setup the Estop. Is this done by using the watchdog.c file in the directory? If so do I need to include the bit number into "xxx" for the Estop in this if/else statement?

if (ch0->Enable && ch1->Enable && ch2->Enable)
{
SetBit(xxx); // yes they are, enable the amplifier
}
else
{
ClearBit(xxx); // no at least one is disabled, disable the amplifier
}