Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Refer to this section for details of mapping.

Note

CHARON emulated console supports only 80 symbols in one line.

Back to Table of Contents

Console Parameters

CHARON-AXP console line TTA0 (COM2) has the following parameters:

(info) All the values in the following tables are case insensitive

communication

Parametercommunication
Type

Text string

Value
  • "ascii" - for connection to terminals  (default)

  • "binary" - for binary (packet) protocols, which are used mainly for communicating with PLCs

line

Parameterline
TypeIdentifier
Value

This parameter is used to connect a particular serial line mapping interface to the controller.

Example:

set COM2 line=TTA0


Example

set COM2 communication="binary"
 


Back to Table of Contents

...

Notes on "virtual_serial_line" options

 


  1. Use the combination of "port" and "host" parameters as follows to connect a 3rd party terminal emulator or similar program.

    load virtual_serial_line TTA0 host="192.168.1.1" port=10000

    In this example CHARON-AXP connects to port 10000 of a host with TCP/IP address "192.168.1.1" and at the same time it accepts connections on local port 10000.

         

  2. It is possible to specify a port on a remote host (note that CHARON always acts as a server). The syntax is:

    load virtual_serial_line TTA0 host="192.168.1.1:20000" port=10000

    In this example CHARON-AXP accepts connection on local port 10000 and connects to remote port 20000 of a host with TCP/IP address "192.168.1.1"

Note: the examples above are mainly used for inter-CHARON communications. They are used to connect CHARON-AXP to an application that communicates to CHARON-AXP as described below.

 
Div
classpagebreak


Example 2

Two CHARON systems connected to each other:

...