Routing Mode (RM) setting


(see setting description format info here)

Function:Defines whether incoming and/or outgoing data connections are allowed
Set (S) command format:SRMx, where x: 0 (server), 1 (server/client), 2 (client)
Get (G) command format:GRM
Init (I) command effect:Initialized unconditionally, through network command, serial command, or quick initialization
Post-initialization value:0 (server)
Change takes effect:After reboot
Overriding parameter:Routing Mode (RM) parameter
Relevance conditions:---
First introduced:Earlier than "baseline" V3.14/V3.51
See also:Ethernet port and network communications, Error mode


Routing Mode defines whether the DS will accept incoming connections (passive opens) and/or establish outgoing connections (perform active opens):

0 (server) Only incoming connections are accepted, the DS never attempts to establish an outgoing connection to the network host. There is no restriction on which network host can connect to the DS- connection from any IP-address will be accepted as long as the remote host is connecting to the correct Port Number (PN) using current Transport Protocol (TP) [setting/ parameter].
1 (server/client)Both incoming and outgoing connections are allowed*. Outgoing connections are established with current Destination IP-address (DI) [setting/ parameter/ instruction] and current Destination Port (DP) [setting/ parameter/ instruction]. Exactly when the DS attempts to establish an outgoing connection is defined by the Connection Mode (CM) setting.
2 (client)Only outgoing connections are allowed, the DS rejects all incoming connections. This is a newly implemented routing mode.

Current Routing Mode of the DS is changed to 0 (server) if the DS enters the  error mode (the value of the Routing Mode setting itself remains intact).

* Since the DS only allows for a single data connection at any given time this should be understood as "whichever comes first".