Download Print this page

Embedos EDGE User's Manual And Installation

Can-j1939 data logger & modbus - tcp gateway

Advertisement

Quick Links

Manual – J1939 Datalogger & Modbus TCP Gateway
User Manual and Installation
EDGE
CAN-J1939 Data Logger & Modbus - TCP Gateway
January 2022
Version 1.0.0
1
Embedos Engineering LLP

Advertisement

loading
Need help?

Need help?

Do you have a question about the EDGE and is the answer not in the manual?

Questions and answers

Summary of Contents for Embedos EDGE

  • Page 1 Manual – J1939 Datalogger & Modbus TCP Gateway User Manual and Installation EDGE CAN-J1939 Data Logger & Modbus - TCP Gateway January 2022 Version 1.0.0 Embedos Engineering LLP...
  • Page 2 Manual – J1939 Datalogger & Modbus TCP Gateway DISCLAIMER Copyright © 2022 by Embedos Engineering LLP All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.
  • Page 3 Manual – J1939 Datalogger & Modbus TCP Gateway Document Revisions Date Version Number Document Changes 24-01-2022 .0.0 Initial draft Embedos Engineering LLP...
  • Page 4: Table Of Contents

    1.1 Purpose of Document 2. Connection Diagram ........................6 3. Instructions ........................... 6 3.1. Powering up EDGE device ..................... 6 3.2. Initial connections over Ethernet Port................... 6 3.3. J1939 Data-Logger application setup................... 9 3.4. J1939 to Modbus-TCP Gateway Setup ................14 4.
  • Page 5: Preface

    Manual – J1939 Datalogger & Modbus TCP Gateway 1. PREFACE 1.1 Purpose of Document The document covers Installation and usage of Embedos EDGE J1939 Datalogger device and J1939 to Modbus-TCP Gateway device. Embedos Engineering LLP...
  • Page 6: Connection Diagram

    EDGE devices come set with a fixed IP 192.168.20.1. This IP domain can be used to connect to the EDGE device. b. Connect an Ethernet patch cord, one end of the cord to the Ethernet port of the EDGE and the other to the port on your computer.
  • Page 7 On the next window that opens up, double click on 'Internet Protocol Version 4 (TCP/IPv4)' On the next window that opens up, check the 'Use the following IP address' radio button. Enter the IP address as 192.168.20.2 and Subnet mask as 255.255.255.0 Embedos Engineering LLP...
  • Page 8 Manual – J1939 Datalogger & Modbus TCP Gateway Click 'OK' to save settings. e. Open windows command prompt 'cmd' and type "ping 192.168.20.1" A reply will confirm that the PC and EDGE are now on the same local network. Embedos Engineering LLP...
  • Page 9: J1939 Data-Logger Application Setup

    Manual – J1939 Datalogger & Modbus TCP Gateway 3.3. J1939 Data Logger application setup 1) In the browser of the PC connected to the EDGE (ex: Google Chrome ), type address 192.168.20.1:1880/ui Note: Here 192.168.20.1 is the Static IP address of the EDGE Datalogger and 1880 is the port number on which the application is running.
  • Page 10 (See end of this document to know -> How to find RAW CAN dump traces and view Source address) As visible in the image above, the Source Address of the ECU is entered as "80" in HEX and can be saved by clicking on Save Button. Embedos Engineering LLP...
  • Page 11 Dashboard".Restarting the system might take some time (30sec to 45sec). Text "Connection lost" is an expected behavior Click on start logging and Restart the dashboard Note: a) Once required Logging is done, "Stop Logging" button can be pressed. Embedos Engineering LLP...
  • Page 12 Logs older than a month get automatically deleted. 6) Viewing the Logs can be done in Notepad or on Microsoft Excel. The saved logs are in .csv format. Hence they can be easily opened in MS Excel. Embedos Engineering LLP...
  • Page 13 Manual – J1939 Datalogger & Modbus TCP Gateway As seen above, logs of 13 Parameters is saved inside the csv file and can be viewed on MS-Excel 3.4. J1939 to Modbus-TCP Gateway device setup 1) Connection Diagram for Modbus TCP Gateway: Embedos Engineering LLP...
  • Page 14: J1939 To Modbus-Tcp Gateway Setup

    Manual – J1939 Datalogger & Modbus TCP Gateway Note: 1) EDGE device can be physically connected via Ethernet cable to any PC or PLC on its RJ45 Connector port for Modbus-TCP communication. 2) Modbus TCP communication is carried out by EDGE device on IP address: 192.168.20.1 and Port number : 11502 Follow steps 1) to 4) from the previous section 3.3 to setup the configuration for Modbus TCP...
  • Page 15 After downloading the app, unzip the setup into a new folder. c. Search in Windows for qModMaster.exe and launch the application or directly go to installation folder to launch the same .exe application. 3) qModMaster Configuration settings: a) Following window opens when the application is launched. Embedos Engineering LLP...
  • Page 16 Manual – J1939 Datalogger & Modbus TCP Gateway b) Select Modbus Mode : TCP c) Select Modbus Mode : TCP and enter the IP address and TCP Port as shown below: Embedos Engineering LLP...
  • Page 17 Manual – J1939 Datalogger & Modbus TCP Gateway d) Select Function code as "Read Holding Registers (0x03)" e) Perform following steps as shown below in the figure: Embedos Engineering LLP...
  • Page 18 Clicking on Connect button should cause the sign to change as shown below. Also the indication of successful TCP connection can be seen with TCP IP Address as 192.168.20.1:11502 Note: 1) Above steps will only be successful when EDGE Gateway device is powered up properly with Embedos Engineering LLP...
  • Page 19 Manual – J1939 Datalogger & Modbus TCP Gateway proper Ethernet setup between the device and the PC having ModScan/ qModMaster Software. 2) Blinking Ethernet LEDs will indicate the communication between PC and the EDGE Modbus Gateway 3) The Modbus Source address can be configured by the user from J1939 dashboard but the purpose of Gateway is to only broadcast the 13 J1939 decoded parameters to following registers.
  • Page 20 Manual – J1939 Datalogger & Modbus TCP Gateway Note: The 13 Parameters in the above image are a result of Simulation performed on CAN-J1939 Bus and don't represent any real-time Engine data. Embedos Engineering LLP...