Working With Online Devices
126
NetLinx Studio (v2.4 or higher)
nLine
is the line length. This may need to be changed if a terminal with a line length
other than the typical 80 characters is being used. If not, just leave it as 0 for the defaults.
If
nMode
is 2,
nLine
defaults to 80, else
nLine
defaults to 67 to allow 13 characters for
the tic time.
nMode
is the mode, if "
MSG ON 2
" mode is being used to set it to 2; otherwise, use 0 for
the defaults.
12.
CALL 'SEND DEVICE_INFO TO DEBUG' (dvDEBUG,dvDEV)
dvDEBUG
is the destination device for the strings. It could be the local master, a virtual
device on the local system (see
TN435
), an IP device, serial device, etc.…
dvDEV
is the device from which to get the info.
13.
CALL 'SEND DECIMAL TO DEBUG' (dvDEBUG,STR1[],STR2[],nLine,nMode)
dvDEBUG
is 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.…
STR1
is a header sent with each line - this is a good place to use
DEV_TO_STRING
.
STR2
is data. All data bytes are formatted as 3 digit decimal and separated by commas.
As of v2.01, a space ($20) is no longer added between
STR1
and STR2.
nLine
is the line length. This may need to be changed if a terminal with a line length
other than the typical 80 characters is being used. If not, just leave it as 0 for the defaults.
If
nMode
is 2,
nLine
defaults to 80, else
nLine
defaults to 67 to allow 13 characters for
the tic time.
nMode
is the mode, if "
MSG ON 2
" mode is being used to set it to 2; otherwise, use 0 for
the defaults.
14.
CALL 'SEND INTEGER TO DEBUG' (dvDEBUG,STR1[],STR2[],nLine,nMode)
dvDEBUG
is 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.…
STR1
is a header sent with each line - this is a good place to use
DEV_TO_STRING
.
STR2
is data. Data bytes are not formatted.
As of v2.01, a space (
$20
) is no longer added between
STR1
and
STR2
.
nLine
is the line length. This may need to be changed if a terminal with a line length
other than the typical 80 characters is being used. If not, just leave it as 0 for the defaults.
If
nMode
is 2,
nLine
defaults to 80, else
nLine
defaults to 67 to allow 13 characters for
the tic time.
nMode
is the mode, if "
MSG ON 2
" mode is being used to set it to 2; otherwise, use 0 for
the defaults.
15.
CALL 'SEND ITOHEX TO MASTER' (STR1[],STR2[])
SEND_STRING 0
's are formatted into 67 character lines. Since the tic time sent with
MSG ON
mode 81(default) and mode 3 prepends 13 characters to the string, each line fills the typical 80
character line (67 + 13 = 80).
Содержание NETLINX STUDIO V2.4
Страница 1: ...instruction manual Software NetLinx Studio v2 4 or higher ...
Страница 16: ...NetLinx Studio v2 4 or higher 4 NetLinx Studio v2 4 or higher ...
Страница 32: ...The NetLinx Studio v2 4 Work Area 20 NetLinx Studio v2 4 or higher ...
Страница 44: ...Working With Workspace Files 32 NetLinx Studio v2 4 or higher ...
Страница 88: ...Working With Systems and System Files 76 NetLinx Studio v2 4 or higher ...
Страница 118: ...Programming 106 NetLinx Studio v2 4 or higher ...
Страница 152: ...Working With Online Devices 140 NetLinx Studio v2 4 or higher ...
Страница 199: ...Index 187 NetLinx Studio v2 4 or higher ...