Conflict between LCD and Relay

Are your +24V supply's ground and your +5V supply's ground connected?