TSN_to_secs Tcl Built-In Command

NAME

TSN_to_secs - Translate from Tcl SECS Notation

SYNOPSIS

dmh::TSN_to_secs TSN


DESCRIPTION

This command translates a TSN (Tcl SECS Notation) representation of a SECS-II message into a list of integer codes that represent its binary byte sequence. The TSN_to_secs command can be used to verify the proper syntax of a TSN (Tcl SECS Notation) representation. The command will return an error condition and a diagnostic message for invalid SECS-II input. The integer codes are output in hexadecimal 0x notation.

This command is used internally by the hsms and secsport commands.

Examples:

% TSN_to_secs L
0x01 0x00

% TSN_to_secs {L {A "Lam 20"}} 0x01 0x01 0x41 0x06 0x4c 0x61 0x6d 0x20 0x32 0x30

% TSN_to_secs {I2 33 "" 44} SECS-II cannot have a blank item in an array; item 2 of 3

SECS is an acronym for Semiconductor Equipment Communication Standard.

SEE ALSO

Tcl TSN hsms secs_to_TSN secsport

AUTHOR

Ed Hume, Hume Integration Software, Austin, TX

KEYWORDS

SECS TSN SEMI HSMS