Purpose of this manual
The purpose of this manual is to provide the instructions to quickly and easily install and operate the cLAN-MQ
The installation of the cLAN may implies the installation an MQTT broker
Telemetry and control solutions with cLAN
The cLAN-MQ has multiple uses. These are the most common uses that will guide you to read this manual.
- Ethernet RTU/Datalogger to MQTT broker
- Physical inputs/outputs
- Modbus inputs/outputs (embedded Modbus master)
- Serial port data (using script programming)
- Local input/output control (using script programming)
- Publish current values (reports) and timestamped values (historics) using MQTT
- Receive commands/order from the MQTT broker using subscription
- RTU/Controller accessible by Modbus TCP and RTU/ASCII
- Physical inputs/outputs
- Serial port data (using script programming)
- Modbus protocol to read input/outputs remotely
- RTU/Controller with SNMP agent (V1)
- Physical inputs/outputs
- Modbus inputs/outputs (embedded Modbus master)
- Remote Access to serial port
- Remote serial port via MQTT broker
- Programmable protocol converter
- Serial port data (using script programming)
- Direct connection to SCADA using its Modbus TCP/RTU slave
Ethernet RTU/Datalogger to MQTT broker
There are hundreds of types of sensors that can be contacted directly to the cLAN-MQ inputs to measure different types of variables. Depending on the cLAN-MQ model, sensors could be used to deliver signals in 0-10V, 4-20mA or pulses, or simply connect different devices to their inputs/outputs. The cLAN-MQ can also be configured as Modbus master and queries can be made to different slaves to expand its inputs/outputs.
The cLAN works as a datalogger, creating records with timestamp with the value of the built-in or external I/Os and publish them to the broker
The cLAN can also be used to do a local control over its inputs/outputs using the script programming feature.
Nota: Exemys does not provide the MQTT broker
For this type of solution the following procedure must be followed:
- Have an MQTT broker available
- Install the cLAN.
- Install the configuration software (“GRD Config”), this application will allow us to configure all cLAN parameters locally or remotely.
- Establish a connection between the cLAN-MQ and the broker
- Configure the inputs/outputs in the cLAN according to their use:
- Physical inputs/outputs
- External Modbus inputs/outputs.
- Configure the cLAN-MQ serial port.
- Configure the “Embedded Modbus master" and the queries we want it to make.
- Configure the topics and formats to publish an enable reports and historicals to publish
RTU/Controller with SNMP agent (V1)
The cLAN can work as a SNMP agent. This allows the user to get the valor of the digital an analog channel from a SMNP manager.
It can send SNMP traps also. They can be triggered by a change on a digital input or if an analog input goes over a high/low value.
For this type of solution the following procedure must be followed:
- Install the cLAN.
- Install the configuration software (“GRD Config”) V9.1+, this application will allow us to configure all cLAN parameters locally or remotely.
- Configure the inputs/outputs in the cLAN according to their utilization:
- Physical inputs/outputs
- External Modbus inputs/outputs.
- Configure the cLAN serial port.
- Configure the “Embedded Modbus master" and the queries we want it to make.
- Enable traps in case your SNMP manager can handle them
- Configure SNMP communities
Remote serial port
This procedure will allow you to send and receive data to and from the serial port (RS232/RS485) using publish and subscribe.
For this type of solution the following procedure must be followed:
- Install the cLAN.
- Install the configuration software (“GRD Config”) V9.1+, this application will allow us to configure all cLAN parameters locally or remotely.
- Establish a connection between the cLAN-MQ and the broker
- Configure the serial port in Remote mode
- Configure the serial ports publish and subscribe topics
Programmable protocol converter
Using script programming is possible to use the cLAN as a protocol converter. It can be programmes to parse new protocols over it's serial port. The acquired data can be read using Modbus RTU/ASCII on the other serial port, por Modbus TCP on its Ethernet interface. Some typicall aplications are using the cLAN to get Modbus data from
scales, water quality analyzers, oil quality analyzers, card readers, weather stations, etc.
2020-11-20