Shop Floor Automations recommends a DB25 RS232 mini tester with every hardware order. We terminate our RS232 cabling with RJ45 connectors and have different adapters to tailor to each installation. Depending on your machine, you may require different pinouts on the adapters.
To test the correct pin-out in the cabling:
If you have any variation of this, your machine will not communicate properly.