Creation tableau codesys array

Hello I would like to create an array in an ST language subroutine, which I am not familiar with. A priori you have to use the ARRAY function. This would be a 2 column table of 24 rows. The 1st column would record times, the second an INT or WORD value. The collection would be triggered from a top (BOOL) from a subroutine. Thank you for your help…!