Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 14 of 18

Spectrum24 CB 1000 User Guide: Chapter 13 Main Menu Configuration Screens, pages 98 to 106

Pages 98 to 106 of 134, from Spectrum24 CB 1000 User Guide

The original document is the PDF (1.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol CB-1000

Page 98

Main Menu Configuration Screens flow control [flow control] # yes or no (for all but cts) incoming software = no rts = no dtr = no outgoing software = no # yes, no, or rts cts = no dsr = assert # how often to retransmit passthrough I/O (in seconds; 0 = disable) resend interval = 0 # socket that governs passthrough I/O (must use RMP) socket = rmpbind

The CB 1000 supports the following six flow control options: Recognize RTS, Generate CTS, Recognize DTR, Generate DSR, Recognize XON/XOFF, and Generate XON/XOFF. It also supports the original RS-232 specification for flow control where CTS is generated only when RTS is asserted. The incoming flow control options in the CB 1000 specify the method of communication, when to start/stop sending data and how often to resent data. The CB 1000 is a Data Communications Equipment (DCE) device, the three methods of incoming flow control software are XON/XOFF, Request To Send (RTS) and Data Terminal Ready (DTR). These three methods are all signals that the host computer sends when it wants the CB 1000 to stop or start sending data. Software flow control is implemented as two specific characters that are sent on the wire embedded with the data. RTS and DTR are signals that have their own wires, independent of the data wires.

90

Spectrum24 CB 1000 User Guide

Page 99

Main Menu Configuration Screens

The outgoing flow control options specify the data transmission method used between the CB 1000 and the host computer. This transmission instructs the computer to start and stop sending data. The host computer is a Data Terminal Equipment device (DTE) and uses Clear To Send (CTS) and Data Set Ready (DSR) as its flow control signals. Software flow control functions identically transmitting or receiving. CTS and DSR work the same way RTS and DTR. When one device requests the other to stop sending data, it can use any of the flow control options to communicate to the other device. Selection for software flow control is made during the configuration. For both incoming and outgoing flow control, use the words yes or no to enable or disable recognition. CTS has one additional entry, RTS. The UART protocol was originally designed to restrict data flow in one direction from a modem to the host computer. With the CB 1000, flow control handles this protocol in the same fashion. The modem (CB 1000) is allowed to send data to the host computer at any time. The host computer, requests permission from the modem (CB 1000) to send data (RTS). The modem (CB 1000) recognizes this and checks to see if it is ready to accept data. The modem (CB1000) asserts the CTS line. The host computer has permission to send data when ready. Once the host computer finishes sending data, it drops the RTS line and the modem (CB1000) drops the CTS line. Most devices are designed for RTS to enable flow control in the computer's direction. When older equipment is used with the CB 1000 RTS it is used in the manner described above. Set the RTS entry to no since that line does not have the meaning of incoming flow control. Incoming flow control key incoming software rts dtr

Allowed values yes or no. yes or no. yes or no.

Outgoing flow control options outgoing software dsr cts yes or no. yes or no yes, no, or rts.

Spectrum24 CB 1000 User Guide

91

Page 100

Main Menu Configuration Screens

I/O control [i/o control] # passthrough or none rts = none # passthrough or none dtr = none # negate, assert, sleep, or passthrough cts = assert # negate, assert, sleep, or passthrough dsr = assert # how often to retransmit passthrough I/O (in seconds; 0 = disable) resend interval = 0 # socket that governs passthrough I/O (must use RMP)

I/O control defines control over digital inputs and outputs of the CB 1000, separately from the data lines. Digital input and output are shared with the flow control lines (RTS, DTR, CTS, DSR), but they are not flow control. I/O control gives the ability to send digital data from one CB 1000 to another without interpretation by either CB 1000. I/O control can also provide information to the device the CB 1000 is connected to such as the status of low-power mode. I/O control key rts dtr

Allowed values none and passthrough. none and passthrough.

RTS and DTR are output lines. When set to passthrough, the status of these lines is forwarded to the CB 1000 unit specified by the socket option described below. When set to none they do not function as digital inputs. I/O control key cts dsr

Allowed values Allowed values are negate, assert and passthrough. Allowed values are negate, assert and passthrough.

CTS and DSR are output lines. When set to negate or assert, CTS and DSR output a continuous digital value. The value negate outputs a logic 1 or mark which is electrically negative. This is also the state seen on an RS-232 connector when the cable is unplugged. The value assert outputs a logic 0,

92

Spectrum24 CB 1000 User Guide

Page 101

Main Menu Configuration Screens or space which is electrically positive. When set to passthrough, CTS outputs the value that the remote CB 1000 is receiving on its RTS line, and DSR outputs the remote DTR value. The source of these remote signals depends on the remote CB 1000 socket setting in this section. • resend interval –

•

Digital input lines are transmitted whenever they change. In some cases (such as when the remote unit is turned off and on so that it forgets the previous output states), this is insufficient. Setting the resend interval value to a non-zero number causes the input lines to be re-transmitted at a regular interval. The resend interval value is in seconds.

socket –

The socket entry specifies the network connection used to send the RTS and DTR input states to a remote CB 1000. The socket value is the name of a section that describes the network connection to use. The connection must use the RMP protocol. This is typically set to the rmpbind section.

Spectrum24 CB 1000 User Guide

93

Page 102

Main Menu Configuration Screens passthrough [passthrough] socket = rmpbind

Socket is the only entry used for the passthrough protocol. • socket –

The passthrough entry specifies the values necessary to bind a socket, (required information to create a network connection). The default is rmpbind. The connection used in passthrough mode creates a socket using the values in the [rmpbind] section found further down in the file to create the network connection.

passthrough2 [passthrough2] listen = tcpbind1a connect = tcpbind1b

There are two sockets in passthrough2, one for incoming data listen, and one for outgoing data connect. Both of these sockets use the TCP/IP protocol. • listen –

• connect –

94

Similar to the [passthrough] section, the value of the listen entry is the name of another section defining a network connection. The default value tcpbind1a and is found farther down in the configuration file. The connection used by passthrough2 mode creates a socket using the values in the [tcpbind1a] section to create the network connection. The value of this entry points to a network connection definition that initiates the connection instead of listening for it. The default for this setting is tcpbind1b.

Spectrum24 CB 1000 User Guide

Page 103

Main Menu Configuration Screens telnet [telnet] # wait for keystroke or command prompt connect = command prompt # prompts to use in "wait for keystroke" mode (1 = before, 2 = after) wait data 1 = "Press any key to connect to host... " wait data 2 = 0xd 0xa # fixed IP address to connect to (if in auto or wait modes) ip address = 10.10.10.129 # fixed TCP port to connect to (if in auto or wait modes) tcp port = 23 # after disconnect, try again? reopen after shutdown = on

• connect –

The connect entry dictates the prompt displayed on the serial port output. The two choices are: wait for keystroke and command prompt (default). The default command prompt is telnet> much like Telnet software prompt on a UNIX system. Use the open command and the IP address to connect the device to a particular machine. For example: telnet> open 10.10.10.129

The wait for keystroke option enables a configuration that connects to only one machine. The wait for keystroke option requires only a keypress to initiate the connection. • wait data 1 –

The value is specified as a combination of a string and ASCII values. The default value is "Press any key to connect to host..." (The double-quote marks are a part of this value). Add binary data by writing data as hex or decimal, outside of quote marks. For example, the ANSI clear-screen command string can be added to the front of this string like this: 0x1b "[H" 0x1b "[J" "Press any key to connect to host..."

Spectrum24 CB 1000 User Guide

95

Page 104

Main Menu Configuration Screens

• wait data 2 –

• ip address –

•

In wait for keystroke mode, this specifies the IP address of the machine to automatically connect to. 10.10.10.129 is the default.

tcp port –

•

This entry defines the text displayed after the keystroke is received. The format of the data is the same as in wait data 1. The default is 0xd 0xa, which moves the cursor to the next line.

In wait for keystroke mode, the TCP port specifies the TCP port number to connect to automatically.

reopen after shutdown –

After one connection, this value appears and prompts for a connection. wThe default is on.

Network Bindings This section defines the entries describing network binding. Five prewritten bindings are provided as examples.

rmpbind [rmpbind] protocol = rmp # The default address is this unit’s serial number source address = default source address filter = none destination address = dynamic transmit try count = infinite transmit retry interval = 100

This binding can be used for both the passthrough protocol and for the I/O control socket setting. • protocol –

96

This example uses the RMP protocol so the value of this entry is rmp. This section describes the RMP binding options. If using the TCP/IP protocol, see the TCPIP Bindings on page 98.

Spectrum24 CB 1000 User Guide

Page 105

Main Menu Configuration Screens

• source address –

• source address filter –

•

Set this value to only accept data coming from the address specified. For example, source address filter = 1234 only data originating from a CB 1000 with the port address of 1234 is accepted. All other data is ignored if it does not have the source address filter set to a specific address. The default value is none.

destination address –

•

Source addresss is the value the CB 1000 uses to identify its serial port address when sending and receiving serial data from other CB 1000 units. The default value is default which causes the CB 1000 to use its serial number as the address.

This address tells the CB 1000 which port address to send data received from the serial port. It can be the port address of another CB 1000's serial port, or it can be broadcast or dynamic. Broadcast sends the data to all CB 1000 devices. Dynamic sends the data to the CB 1000 it last received data from. Dynamic (default) enables two CB 1000 units to communicate.

transmit try count –

For non-broadcast data, this count specifies the number of remote CB 1000 transmission attempts the CB 1000 makes for each piece of data. Ensure the CB 1000 is in range and powered on to reduce the possibility of transmission failures. When failures occur, data is lost if additional attempts are not made. This count allows the user to specify how many attempts to take at re-transmitting data. The maximum is 65,000 retries. The default is infinite which causes each packet to be retried until successfully transmitted. Select the Transmit Try Count based on the sensitivity of the application to data delay and/or data loss transmit retry interval

–

This setting determines the time period to wait between re-transmission attempts. The value is specified in 1/100ths of a second, 100 (default) equals 1 second. The maximum value is 65000.

Spectrum24 CB 1000 User Guide

97

Page 106

Main Menu Configuration Screens

TCPIP Bindings The bindings (tcpbind1a, tcpbind1b, tcpbind2, and tcpbind3) are provided for TCP/IP. When protocol is set to passthrough, only one binding is used because only one network socket is created (tcpbind2 and tcpbind3 are passthrough binds). When the protocol is set to passthrough2, two complimentary bindings (one connect, tcpbind1b and one listen, tcpbind1a) are used. They are complimentary because a socket is created in each direction. The key/value for each binding section is very similar. [tcpbind1a] protocol = tcp local tcp port = 4000 reopen after shutdown = on #socket connect data = "Please login: " #serial connect data = "Received listener connection." 0xd 0xa #serial disconnect data = "Disconnected from listener." 0xd 0xa #serial fail data = "Accept failed." 0xd 0xa

[tcpbind1b] protocol = tcp ip address = 10.10.10.129 remote tcp port = 4000 reopen after shutdown = on #socket connect data = "Hello!" 0xd 0xa #serial connect data = "Connected to socket." 0xd 0xa #serial disconnect data = "Disconnected from socket." 0xd 0xa #serial fail data = "Connection failed." 0xd 0xa

98

Spectrum24 CB 1000 User Guide