Your cable choice depends on the distance and data rate. I installed lots of shielded twisted pair audio cable (like Belden 9451) for runs of a couple of hundred feet or so For controlling equipment. If you’re going a long way, like 500 feet at a moderate to high rate, look for better cable. At six feet you , could probably use zip cord if you could fit it into the connector.
If you’re having trouble with a short cable make sure you are using the right connector pins.