beautypg.com

Set iochannel ioextension – Perle Systems 5500208-41 User Manual

Page 88

background image

Set IOChannel

88

IOLAN DS1/TS2 CLI Reference Guide, Version 4.1

Set IOChannel IOExtension

Description Configures the I/O extension options that allow you to connect the Digital Input

channel or input serial signal pin (when the line is configured for signal-io) to Digital

Output/Relay channels or output serial signal pins (when the line is configured for
signal-io) on the same IOLAN, remote IOLAN(s), and/or TCP/IP applications running

on local hosts.

User Level Admin
Syntax

set iochannel <channel> ioextension enabled on|off

[keepalive on|off]

set iochannel <channel> ioextension connection-method

client-initiated [tcp-port <tcp_port>] [multihost on|off]

set iochannel <channel> ioextension connection-method

server-initiated <host_name> [tcp-port <tcp_port>]
[multihost all|backup <config_backup_host> <host_port>|none]

set iochannel <channel> ioextension connection-method

local-connection [<input_channel>]

Options

<channel>

Specify the Digital/Relay channel or serial signal pin that you are configuring the I/O

extension for. The channel can be d1, d2, d3, d4, r1, r2, depending on the model. The
serial signal pins are dsr, dcd, or cts for input and dtr or rts for output.

enabled

When enabled, the digital input channel or DSR/DCD/CTS input serial signal pins can

be connected to:

z

A Digital output or relay (if the I/O model supports relay) channel on the same
IOLAN

z

Output Serial Signal Pins (DTR/RTS)

z

A Digital output channel on another IOLAN(s) or output serial signal pins
(DTR/RTS) on another IOLAN(s)

z

A TCP/IP application(s) running on a host on the network

When enabled, the digital output/relay channel or DTR/RTS output serial signal pins
can be associated with a digital input channel or input serial signal pins.
Default: Disabled

keepalive

Enables a per-connection TCP keepalive feature. After the configured number of
seconds, the connection will send a gratuitous ACK to the network peer, thus either

ensuring the connection stays active OR causing a dropped connection condition to be

recognized.
This parameter needs to be used in conjunction with server parameter,

monitor-connection-every. The interval determines how long the IOLAN will wait

during inactivity before "testing" the connection. It should be noted that if a network
connection is accidentally dropped, it can take as long as the specified interval before

anyone can reconnect to the serial port.