Perle Systems 5500208-43 用户手册

下载
页码 89
 55
Packet Forwarding Commands
Packet Forwarding Commands
Set Packet-Forwarding Line
Description The Packet Forwarding feature allows you to control how the data coming from a serial 
device is packetized before forwarding the packet onto the LAN network. This 
command configures packet forwarding options for serial devices attached to the serial 
line. The command is broken up into logical flows that can be configured; if you 
configure both the packet options and the frame definition options, the frame definition 
options will take precedence. If any of the packet options that are configured are met, 
the packet transmission is triggered.
User Level Admin
Syntax
set packet-forwarding line <number>|* mode minimize-latency
set packet-forwarding line <number>|* mode 
optimize-network-throughput
set packet-forwarding line <number>|* mode   
prevent-message-fragmentation delay-between-messages <0-65535>
set packet-forwarding line <number>|*  
mode custom-on-specific-events [enable-end-trigger1 on|off] 
[enable-end-trigger2 on|off] [end-trigger1 <
0x0-FF>] 
[end-trigger2 <
0x0-FF>] [force-transmit-timer <number>]  
[forwarding-rule trigger1|trigger+1|trigger+2|strip-trigger]  
[idle-timer <number>] [packet-size <number>] 
set packet-forwarding line <number>|*  
mode custom-on-frame-definition [enable-eof1 on|off]  
[enable-eof2 on|off] [enable-sof1 on|off] [enable-sof2 on|off] 
[eof1 <
0x0-FF>] [eof2 <0x0-FF>] 
[forwarding-rule trigger|trigger+1|trigger+2|strip-trigger]  
[sof1 <0x0-FF>] [sof2 <0x0-FF>] [start-frame-transmit on|off]
Options
minimize-latency
This option ensures that any data received on the serial port will immediately be 
forwarded to the LAN. Select this option for timing-sensitive applications.
optimize-network-throughput
This option provides optimal network usage while ensuring that the application 
performance is not compromised. Select this option when you want to minimize overall 
packet count, such as when the connection is over a WAN.
prevent-message-fragmentation
This option detects the message, packet, or data blocking characteristics of the serial 
data and preserves it throughout the communication. Select this option for 
message-based applications or serial devices that are sensitive to inter-character delays 
within these messages.
delay-between-messages
The minimum time, in milliseconds, between messages that must pass before the data is 
forwarded by the IOLAN. The range is 0-65535. The default is 250 ms.