AMX NETLINX STUDIO V2.4 Instruction Manual page 137

Table of Contents

Advertisement

9.
CALL 'SEND ASCII TO DEBUG' (dvDEBUG,STR1[],STR2[],nLine,nMode)
This call is similar to '
the destination device for the string. It could be the local master, a virtual device on the local
system (see TN435), an IP device, serial device, etc....
10.
CALL 'SEND ASCII TO MASTER' (STR1[],STR2[])
SEND_STRING 0
mode 1(default) and mode 3 prepend 13 characters to the string, each line fills the typical 80
character line (67 + 183 = 80).
11.
CALL 'SEND DECIMAL TO DEBUG' (dvDEBUG,STR1[],STR2[],nLine,nMode)
dvDEBUG
on the local system (see TN435), an IP device, serial device, etc....
NetLinx Studio (v2.4 or higher)
is a header sent with each line - this is a good place to use
STR1
is data. Data bytes < $20 (ASCII control codes) and > $7E (~) are formatted as hex
STR2
and separated by commas.
As of v2.01, a space (
) is no longer added between
$20
is the line length. This may need to be changed if a terminal with a line length
nLine
other than the typical 80 characters is being used. If not, just leave it as 0 for the defaults.
If
is 2,
defaults to 80, else
nMode
nLine
the tic time.
is the mode, if "
nMode
MSG ON 2
the defaults.
SEND ASCII TO MASTER
is a header sent with each line - this is a good place to use
STR1
is data. Data bytes < $20 (ASCII control codes) and $7F (DEL) are formatted as
STR2
hex and separated by commas.
As of v2.01, a space (
) is no longer added between
$20
is the line length. This may need to be changed if a terminal with a line length
nLine
other than the typical 80 characters is being used. If not, just leave it as 0 for the defaults.
If
is 2,
defaults to 80, else
nMode
nLine
the tic time.
is the mode, if "
nMode
MSG ON 2
the defaults.
's are formatted into 67 character lines. Since the tic time sent with
is a header sent with each line - this is a good place to use
STR1
is data. Data bytes < $20 (ASCII control codes) and $7F (DEL) are formatted as
STR2
hex and separated by commas.
As of v2.01, a space (
) is no longer added between
$20
is the destination device for the string. It could be the local master, a virtual device
is a header sent with each line - this is a good place to use
STR1
is data. All data bytes are formatted as 3 digit decimal and separated by commas.
STR2
As of v2.01, a space (
) is no longer added between STR1 and STR2.
$20
STR1
defaults to 67 to allow 13 characters for
nLine
" mode is being used to set it to 2; otherwise, use 0 for
' but with a little more flexibility:
STR1
defaults to 67 to allow 13 characters for
nLine
" mode is being used to set it to 2; otherwise, use 0 for
STR1
Working With Online Devices
.
DEV_TO_STRING
and
.
STR2
is
dvDEBUG
.
DEV_TO_STRING
and
.
STR2
MSG ON
.
DEV_TO_STRING
and
.
STR2
.
DEV_TO_STRING
125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents