The S2H/S2HP instructions convert integer variables to seconds in time variables. Specify the integer variable in S1 that you want to convert, and specify time variable for the conversion output in D1. You can specify only an integer variable for input in S1 and a time variable for output in D1. Time variables cannot be configured in arrays. 1800 seconds will be converted to 0:30. 50400 seconds will be converted to 14:00.