EasyManua.ls Logo

MC Technologies MC100 - Modbus Slave CLI and Mapping

MC Technologies MC100
72 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MC100
Mobile programmable gateway
MC Technologies GmbH, Kabelkamp 2, 30179 Hannover, Germany
Tel: +49511 67 69 99-0, Fax: +49511 67 69 99-150, Website & Shop: www.mc-technologies.net, Email: info@mc-technologies.net
66
Modbus Slave Command line Tool
Install:
Using MC100 as Slave device:
Usage: mcmodbus-slave [OPTIONS]
Options:
-h,--help Print this help message and exit
-c,--config-file TEXT Json config for the address mappings. Default: ./mappings.json
-d,--device-file TEXT Serial device for modbus RTU
-p,--port UINT Port for modbus TCP.
-b,--baud-rate UINT Baud rate for the serial device. Default: 115200
-v,--verbose Activate debug input
Using ModBus RTU
Command: mcmodbus-slave -d <Serial-port-Device-file> -b <baud-rate> -c <Json Config>
For Example (RS485):
root@MC100:~# mcmodbus-slave -d /dev/ttymxc4 -b 115200
Using ModBus TCP
Command: mcmodbus-slave -p <port> -b <baud-rate> -c <Json Config>
For Example:
root@MC100:~# mcmodbus-slave -p 502
MC100 default Json mapping.
MC100 ModBus addressing map:
Example: The address of Digital Input 4 on MC100 GPIO is: 1204
XXXX
First Digit:
1: Digital Input
2: Digital Output
3: Current Input
4: Current Output
5: Voltage Input
6: RTD
7: PWM
9: exe Command
Second Digit:
0: MC100 Gateway
1: SensT2 expansion board
2: GPIO expansion board
3: SensorBox expansion
board
Last 2 Digits:
00-01: MC100 Gateway Inputs
00-01: MC100 Gateway Outputs
01-08: Digital Inputs
01-08: Digital Outputs
03-04: Current Inputs
01-02: Current Outputs (Sens)
01-02: Voltage Inputs
{00,01}, .... , {06,07}, ….: RTD (2 registers
each).
00: PWM Prescalar
01-02: PWM Pulse
03: AC Input Relais (SensorBox)
00: Current Output (SensorBox)

Table of Contents

Related product manuals