![Tews Technologies TIP815-SW-12 Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/tews-technologies/tip815-sw-12/tip815-sw-12_manual_1093614013.webp)
12
The parameter
network_timeout
specifies the Response, Idle and Recon
Times of the ARCNET controller. All nodes should be configured with the
same timeout value for proper network operation.
Valid values are:
for (TIP815- -10/- -20)
value
Response (
µ
s) Idle Time (
µ
s) Reconfig Time (ms)
0
1130
1237
1680
1
563
624
1680
2
285
316
1680
3
78
86
840
for (TIP815- -11/- -21)
value
Response (
µ
s) Idle Time (
µ
s) Reconfig Time (ms)
0
596.8
656
840
1
298.4
328
840
2
74.4
82
840
3
37.35
41
420
The last parameter
speed
determines the network speed by setting the
clock prescaler to one of four possible values:
value
network speed
0
2.5 Mbps
1
1.25 Mbps
2
625 Kbps
3
325.5 Kbps
0xFF
5 Mbps (only TIP815- -11/- -21)
After successful execution of SS_ONLINE the ARCNET controller is
connected to the network and messages can be received and
transmitted over the network.
SS_OFFLINE
- -
Shutdown the node hardware and remove the node from the network. No
arguments are required for this call. To enter the network again use the
t815_cntrl command SS_ONLINE.
SS_DIAG
- -
Get number of node reconfigurations. The number of node
reconfigurations reflects the quality of the network. If the number grows
up soon there is something wrong on the network.
The number of reconfiguration is copied to an integer variable, referenced
by a pointer passed to the driver in the function- -dependent argument
arg
.
The internal reconfiguration counter will be reset after reading.
SS_MAP
- -
Build a map of nodes contained on the network.
A pointer to a buffer is passed to the driver in the function- -dependent
argument
arg.
Bits in the buffer are set (present) or reset (not present)
depending on if a node is present. The buffer must be 32 bytes ( 256 bits )
in length. The first byte in the array presents nodes 0 through 7, the
second byte presents 8 through 15, and so on. The least significant bit of
the byte presents the smallest node number.
SS_FLUSH
- -
This I/O control function flushes the read ring buffer. No arguments are
required for this call.