The ports/pins configuration for axis has no effect with the KFlop.
You need to configure what step/dir pins are used in your initialisation file, with the OutputChan0 value. The possible values can be found at
Step and Direction Setup
So using your X with pins 19/20, which are step/dir generator 2 (I'm sure you already know, but the KFlop connector page lists the numbering -
KFLOP Connectors), for the X output channel, which I see is channel 0 (set via the DefineCoordSystem6() setting), you need ch0->OutputChan0=2 for OpenCollector mode, or ch0->OutputChan0=10 for LVTTL mode.
This is probably one of the most confusing bits of setting up a KFlop for first time users. Each axis channel (ie. ch0), can use any output channel, and then that axis channel can be configured to any physical axis (I.e. X,Y,Z,A,B,C,U,V,W).