S:1/13 indicates a Major Error, but S:6 and S:54 give the actual Major Error code. Those are crucial if you are to troubleshoot this system.
By implication, you have an SLC-500 family controller, not an "sls5". Please post the exact and complete part number, which will be of the format 1747-L5xx.
A used controller with no program in it is very likely to fault when placed in a new chassis and turned on. Are you trying to load a new program for a new machine ?