Command Reference
12.6.21 Set/Define Ports Datasend
⎧
⎫
SET
PORTS PortList
⎨
⎬
⎩
⎭
DEFINE
Changes the amount of time the SCS will allow serial characters to accumulate before sending them to the
host. Several different triggers can be used to notify the SCS when to send the accumulated data. You can
specify a "timeout" condition of either the time since the last character was received (the Timeout Idle
parameter) or the time since the current "character burst" was started (the Timeout Frame parameters). The
timer resolution on the SCS is approximately 20 milliseconds. Any timeout values lower than 30
milliseconds will be approximated as well as possible.
Another option is to set a one- or two-character trigger, specified through the Character parameter, that will
cause the SCS to transmit the data. You can also specify whether the trigger characters will be sent to the
host as part of the serial data or whether they should be discarded through the Save parameter.
Packets created by the serial handling rules will be queued to the ethernet driver as a single operation, but
there is no guarantee that they will be received at the host in a single network read. If the serial input buffer
is filled, the accumulated data will be queued to the ethernet driver regardless of the serial handling rules.
The serial input buffer size is 1024 bytes.
Restrictions
Parameters
In the absence of a PortList or the All parameter, the configuration will affect the
Note:
current port only.
⎧
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎨
DATASEND
CHARACTER
⎪
ALL
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎩
Requires privileged user status.
PortList/All
Specifies a particular port or group of ports, or all ports. Port numbers should
be separated with commas (for lists) or dashes (for ranges).
Timeout
Sets the trigger that allows serial data to be accumulated until a "timeout"
condition has been detected.
Idle
Defines the timeout as a period of time since the last character was received.
num
Sets the timeout in milliseconds.
⎧
IDLE num
⎪
⎨
TIMEOUT
FRAME num
⎪
⎩
NONE
⎧
⎫
x
⎪
⎪
⎨
⎬
ANY
⎪
⎪
ANY
⎩
⎭
NONE
⎧
⎫
1
⎪
⎪
⎨
⎬
SAVE
2
⎪
⎪
⎩
⎭
NONE
12-66
Port Commands
⎫
⎫
⎪
⎪
⎪
⎬
⎪
⎪
⎪
⎭
⎪
⎪
⎪
⎪
⎬
y
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎭
Need help?
Do you have a question about the SCS and is the answer not in the manual?
Questions and answers