Linux Support For Es Devices; Configuring The Es Device From Linux; Using Cyclades Serial Client To Communicate With Es Device Ports - Brainboxes ES Series Product Manual

Industrial ethernet to serial
Table of Contents

Advertisement

11.

Linux support for ES devices

It is possible to communicate with the ES range of devices from Linux for both configuration and
communicating with attached devices using standard serial port applications. This is achieved by
using the Cyclades Serial Client application.
NB The Cyclades Serial Client application is open source software, which is not owned or distributed
by Brainboxes. Brainboxes cannot be held responsible for any loss or damage incurred from using
this software.

Configuring the ES device from Linux

To configure the device, you will need to know the device's IP address. You should be able to
get this information from your network administrator. If this is not possible, you can search for
the ES device from a Linux machine using upnp_search.pl. This can be found on the CD in
the directory Product Support/Utilities/Linux Tools and requires Perl to be installed along
with the Net::UPnP Perl module.
Configuration of all the options on the device can be done using the Web page interface. This
can be done from any OS, using any modern browser (e.g Mozilla Firefox, Konqueror, Opera,
etc) See Section Error! Reference source not found..
Note: The Cyclades Serial Client will not be able to track changes in the IP address of an ES
product on the network. It is for this reason that we recommend setting the device to a static
IP address on the ES device when used with Linux.

Using Cyclades Serial Client to communicate with ES device ports

The Cyclades serial client can be downloaded as an rpm, or can be installed from the
standard package repositories of many popular flavours of Linux, including Debian and
Ubuntu.
After installation, the correct details for the Brainboxes ES ports will need to be added to the
/etc/cyclades-devices file. You will require one configuration line for each port, which contains
the following details in a colon separated format;
devname
o
rastype
o
rasname
o
physport
o
type
communications protocol. Set to rfc2217
o
options
o
Example lines for and ES-357 device are given below;
/dev/ttyS8:Brainboxes:192.168.0.223:1:rfc2217:-p 9000 -d 0
/dev/ttyS9:Brainboxes:192.168.0.223:2:rfc2217:-p 9000 -d 0
See man cyclades-devices and also text within /etc/cyclades-devices for more information.
After the ES product port information has been added to the /etc/cyclades-devices file, the
cyclades device server should be started and stopped using the commands (as root);
cyclades-serial-client start
o
cyclades-serial-client stop
o
These should be integrated into your rc.d scripts so that the ES devices are initiated and stopped on
your system startup and halt.
ES Industrial Range
Product Manual V3.3
the device node in /dev, e.g. /dev/ttyS0
this is just set to Brainboxes
the IP address of the ES device on your network
port number on the device
further device specific options –p 9000 –d 0
© Copyright Brainboxes Ltd
Page 50 of 53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Es-511Es-522Es-551Es-571

Table of Contents