There is no problem with the wiring. Keep the rating (24 VDC, 0.1 A) of the terminal PC.