................... 21 NSTALLATION OF TO A MOTOR VEHICLE NODE-RED WEB INTERFACE ........................22 Enable the Node-Red installed in MC100: ..................22 Install extra modules: ........................22 Add a node ............................22 Add a debug node ........................... 23 Wire the nodes ..........................23 Deploy .............................
Page 3
PT100 / PT1000 Inputs ........................40 AC Out Relais ........................... 40 AC IN Relais ............................. 41 ..............................42 12 SETTING UP WIFI ............................ 43 MC100 in Access Point mode ......................43 MC100 as Wifi Client ........................45 13 OPENVPN .............................. 46 ........................... 46 LIENT ONFIGURATION ..........................
Page 4
MC100 Mobile programmable gateway CI ......................56 ETTING MCWMBUS TOOL USING Enable the mcwmbus installed in MC100: ..................56 Setting WmBus ..........................56 ....................57 NSTALLING OMMAND LINE TOOL MCWMBUS ..........................57 ASIC FUNCTIONALITY ........................... 57 UTPUT FORMATS hex ..............................57 json ..............................
• The maximum input voltage and the maximum input current must not be exceeded. 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...
Separate the packaging components made of cardboard and paper as well as plastic and recycle them using the appropriate collection systems. 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...
Please contact our support department (support@mc-technologies.net) for a list of open source software used in this product. Alternatively, a list of the open source software used can be found in the MC100 web interface under System -> Software -> Installed. 4 Device variants This manual describes different variants of the MC100 terminal/gateway.
• 4G LTE MC100 WMBUS Gateway 5 Contents The package includes the accessories listed below. Please check that all accessories listed are included in your box. If a part is missing or damaged, please contact MC Technologies directly. • MC 100 Terminal / Gateway •...
Page 10
Mobile programmable gateway LED 4: Long-time Off: Searching for connection. Long-time ON: Connected. Flashing quickly: Packet Data transfer. 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...
MC100 Mobile programmable gateway 7 Ports and display The following figures show a maximum equipped version of the MC100. Depending on the variant, your MC100 may not have all connections, display or control elements. Port Description Power supply GPIO I/O-Interfaces...
Page 12
4 – 20mA LS 2 analog inputs 4 to 20mA Loop Current 1-Wire 1 one-wire or single-wire bus input 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...
Page 13
Output relay 1 220v Output relay AC power supply 85 to 264 V AC supply power 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...
Power supply The MC100 is operated with a supply voltage of 10 - 30V DC. Please connect an external DC power supply with an output voltage of 10 - 30V DC to the power supply socket "POW" (e.g.
Navigate to the menu item "Network" and "Diagnostics". Click on the "IPV4 PING" button under "Network Utilities". The selected server on the Internet should answer with PING times. 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...
1. Login to Luci web interface using your device IP address (default: 192.168.2.1) 2. On the main page, scroll down to MC info Tab Under Modem Revision, you can read the firmware version of your MC100 Model Chip. MC Technologies GmbH, Kabelkamp 2, 30179 Hannover, Germany...
(e.g. www.mc-technologies.net). Access via SSH To access the Linux system of the MC100, you must connect to the same IP address (default: 192.168.2.1) as the web interface with an SSH client. Most Linux distributions already have an SSH client installed.
2. Change the line "option ipaddr" in the interface "lan" to the corresponding address. 3. If the MC100 is to go online via a router, the line option gateway 'aaa.bbb.ccc.ddd' can be added (with the IP address of the router).
Page 20
5. Login in to LuCi using the new IP address within the given 90 seconds to save the new settings. 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...
There are variants of the MC100 (general purpose) which do not contain the E1 type approval marking. The installation of the MC100 in a motor vehicle itself, its additional devices such as cables and antennas as well as the connection to the vehicle electronics must be carried out by a qualified vehicle workshop or a specialist workshop.
Select the node you want to add from the nodes list (i.e. Inject node, allow injecting messages into a flow). Drag it into the workspace. 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...
Deploy Now click on the Deploy button to deploy the flow to the server. 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...
Digital Inputs 1. Add the inject node. 2. Add the digital inputs node. 3. Double click on MC100 GPIO digital input node to open the settings menu and choose a Digital input. 4. Add Debug node (change name if wanted).
4. Double click on the nodes to change their Properties as wanted. 5. In a new tab open http://localhost:1880/ui (e.i. http://192.168.2.1:1880/ui) 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...
11 Control and readout of analog and digital IO's and LEDs via command line interface The digital and analog inputs and outputs of the MC100 products can be controlled or read out by commands via command line interface using SSH access or from programming tools.
DC voltage must be between 8 and 30V. Port Description POW - Power supply, negative connection POW + Power supply, positive connection 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...
Reading Input I1 Command: cat /sys/class/gpio/mc100:in1/value Response: 1# or. 0# Digital Outputs The MC100 Gateway has two digital outputs. The outputs are solid state relays and switch against IGND. Function: Switching the digital outputs O1 and O2 Port Parameter Read...
The input current at 10V is approx. 2 mA Note: The applied DC voltage must not exceed 10V. 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...
Converting to mA Formula: Current in mA = Value / 200 Example: Value = 2000 corresponds to 10mA 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...
It is possible both to supply the sensor with power and to measure the current it draws over the same two wires. The sensor will be powered from the MC100 SensT2. A voltage is applied to the terminals +A3 or +A4 for this purpose. Connect the sensor to +A3 and A3 or +A4 and -A4.
It is possible both to supply the sensor with power and to measure the current it draws over the same two wires. The sensor will be powered from the MC100 SensorBox. A voltage is applied to the terminals + and – of 4-20 mA ISO for this purpose. Connect the sensor to + and –...
AC Out Relais NC COM NO Port Description Normally Close to COM Switch Normally Open to COM 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...
Green, Configurable. Default: Blinking: Booting ON: Device is ready to be used. MC100 has three LEDs that can be configured: info, status and warn. To configure the LEDS: 1. Login to MC100 web interface. 2. Click on System -> LED Configuration.
This section is only for MC100 devices that support wireless connection (Wifi). MC100 in Access Point mode MC100 can be used as an access point for other devices to wirelessly connect to it. To set MC100 in Access point mode: 1.
Page 44
8. If needed, configure further settings according to your needs. Other default settings ordinarily correct for general usage. 9. Click on SAVE, then SAVE&APPLY 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...
MC100 Mobile programmable gateway MC100 as Wifi Client MC100 can be used as a Wifi client and connect to access point in its range. To set MC100 in Clinet mode: 1. In LuCI, click on Network then on Wireless. 2. Under Wireless Overview, click on SCAN.
• Server certificate (server.crt) and server key (server.key) • Client certificate (client.crt) and client key (client.key) Client Configuration 1. After logging to MC100 Luci interface using the IP address (default 192.168.2.1), click on „OpenVPN“ under „VPN“ tab. 2. Click on „EDIT“ at „sample_client“ tab.
Page 47
5. Click on „SAVE & APPLY“ and then „BACK TO OVERVIEW“. Enable the configured instance, then click on „SAVE AND APPLY“, then „START“. 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...
MC100 Mobile programmable gateway Server Configuration 1. After logging to MC100 Luci interface using the IP address (default 192.168.2.1), click on “OpenVPN” under “VPN” tab. 2. Click on “EDIT” at “sample_server” tab. 3. Click on “Switch to advanced configuration”. Edit the settings as the one in the server.conf file you have.
Page 49
5. Click on “SAVE & APPLY” and then “BACK TO OVERVIEW”. Enable the configured instance, and then click on “SAVE AND APPLY”, then “START”. 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...
Masquerading: Allows one or more devices in a zones network without assigned IP addresses to communicate with the Internet. 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...
Page 52
Restrict to address family option defines to what IP families the zone belongs to IPv4, IPv6 or both. Restrict masquerading to given source/destination subnets defines one or more 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...
Internal port: Redirect matched incoming traffic to the given port on the internal host. The user can add, edit or delete port forwarding rules. 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...
The user can add, edit or delete source NAT rules. For every rule can be defined these options: 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...
The commands are executed after each firewall restart, right after the default ruleset has been loaded. 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...
MC100 Mobile programmable gateway 16 WMBus General information The MC100 Terminal/Gateway can be extended with an extension board for Wireless M- Bus packages. Setting mcwmbus tool using LuCI Enable the mcwmbus installed in MC100: Click on "System" in the left menu and then on "Startup". Search for Initscript: “mcwmbus”...
Json interprets the message and gives as much information as possible. It also contains the raw message as a hexadecimal string. 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...
Or it can be used in combination with the integrated modem, to send messages to a server running in the cloud to have real time data available on your workstation. 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...
To view live information in Node-RED, we can create a flow that has a rest-server and displays the information using the dashboard plugin for node-red. The output might look like this: 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...
Page 61
"33fa8aec.51c216","type":"comment","z":"2d7d91ec.eb8846","name":"README","info":"# WMBus message filter and display\n\nThis Flow is here to demonstrate how to work with WM-Bus messages received by the MC100.\n\nA command line tool will receive and parse the messages and post them to an url, which gets provided by node red. \n\nThis way every message can be parsed by node red.\n\nOn the command line call\n\n```\nmcwmbus -U json -u http://localhost:1880/wmbus\n```\n\nto start receiving messages.\n\nWe tent to provide an init script, that starts the command on boot, as well as node-red.\nIf this is not...
It will be helpful if you run the command that produced the error with “-vvvvvv” to turn on the maximal debug information. 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...
17 MODBUS Modbus messaging protocol is used to establish client-server (master-slave) communication between devices. MC100 can be used either as a master device (server) or slave device (client). MODBUS for Node-RED node-red-modbus is factory installed on MC100. Do not try to install the node-red-contrib-modbus package from within Node- RED.
Page 64
11. Make sure, that the Serial Type is RTU-BUFFERED and not RTU. 12. Deploy. By clicking on Debug, messages fetched from the device should be seen. 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...
MC100 Mobile programmable gateway Modbus Master Command line Tool MC100 can be used as master device to read/write data command for up to 247 slave devices. Installation To install the modbus command line tool you have to install the ‘mcmodbus.ipk’ from the MC-Technologies update server.
MC100 Mobile programmable gateway The address of RTD 2 on MC100 SensT2 is: {6104,6105} Json Configuration file Example: "type": "file", "address": 4000, "num_addresses": "register": true, "output": true, "filename": " /sys/sensor_carrier_board/adcoutputs/adcoutput/value", "factor": 1000, "isfloat": true, "MinValue": 4000, "MaxValue": 20000 Modbus data is most often read and written as "registers" which are 16-bit pieces of data.
The MC100 terminal/gateway can be used with an additional module to receive M-Bus packets from various sensors (heat cost allocators, electricity meters ...). Setting up the MBUS module The internal module for M-Bus is connected to a serial interface of the MC100. Communication specifications Technological feature...
You can reach the owhttpd web interface with the same IP address as the standard web interface and the specification of the port (e.g. 3001). Example with default address: http://192.168.2.1:3001 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...
All customized setting will be reset to factory. Make sure you are directly connected to the MC100. To reset the MC100: • Locate the Reset button on the back of your MC100 device. • Use the pointed end of a paperclip or similar object to press and hold the Reset button.
It is not permitted to open the product for repair work or modifications. 22 Disposal Return of the old equipment In accordance with WEEE regulations, the return and recycling of old MC Technologies equipment for our customers is regulated as follows: Please send your old devices carriage paid to the following address:...
Need help?
Do you have a question about the MC100 and is the answer not in the manual?
Questions and answers