The secs_to_TSN translates a list of integer codes representing the binary sequence of a SECS-II message into Tcl SECS Notation (TSN). This command is used internally by the hsms and the secsport commands. The TSN output normally contains array size counts. To suppress this, the -nosize option is indicated.
This command performs the inverse function of the TSN_to_secs command. These commands can be used by the application developer to verify proper construction and parsing of SECS-II messages.