Megajolt Lite Jr. Controller API Documentation Version 4.x.x

Similar documents
TRAINING GUIDE LEVEL 3 MODBUS WRITE IMPORT COMMAND

EMTRON AUSTRALIA EMTRON ECU OVERVIEW

Memory Module. GS-Dash Formula Steering Wheel 3. GPS Module Lambda Channel Expansion/TC Hub Remote buttons interface

Fixed bug on Digital output priority handling. Fixed bug in volume sensors with gallons unit measure. Memory Module GPS Module

ADR. - Configuration and Functionality USER MANUAL

Table of Contents. Part I USB Communication. Part II User Interface. Part III User Settings (Tab Control) DFS-1000 Dataview. 2 File Menu.

WinTEC3 v3.0.0 Software User s Guide

Optris CT/ CTlaser/ CTvideo communication interface

ModBUS Protocol for SMART 3

OPTRIS CT communication interface

OPTRIS CT/CTL communication interface

2G Actuator Communications Protocol Document Rotary & Linear Actuators

INTRODUCTION. Warning: it is strongly recommended to always verify whether the ECU needs specific software settings to export data.

CNC4PC. M1 Modbus Serial Server Manual Rev. 2

SPI Lasers UK Limited. Serial Command Reference for the PRISM Laser Platform

Vi-PEC V44 and V88 ECU

Infinity V95 August 2014 Update Notes STOP! THIS PRODUCT HAS LEGAL RESTRICTIONS. READ THIS BEFORE INSTALLING/USING!

Model 2703AP Quick Reference Guide

CH1. Figure 1: M3 LOG Advanced

OPERATIONS & MAINTENANCE MANUAL

Configurator Software Manual

QEL - DEDESCO 5935 Ottawa Street Richmond, Ontario, Canada, K0A 2Z0.

Modbus Protocol For FTS/FTM 3x&8x

Version Action Author Date

SMART24Config User s Manual

RaceCapture/Pro 3. Next generation of data, telemetry, and control. Live-streaming to Podium

Electronic SUNSTAR & 传感与控制 Software TEL: FAX: KiBox To Go Measurement and Ev

Table of Contents MOTOROLA SEQUENTIAL MOTOROLA BACKWARD APPENDIX C. PIN CONNECTIONS SERIAL DATA OUT CONNECTOR...

WiMOD LR Base Host Controller Interface

OEM API Specification

RED colour Brightness is good for viewing both indoors and outdoors. Titles and other fixed designs can be added to your specification.

ALS-600-LPF User Manual

AFRecorder 4800R Serial Port Programming Interface Description For Software Version 9.5 (Last Revision )

Modbus on CO 2 Engine and esense

Application Protocol of CAN

KiBox To Go. Electronics & Software. Measurement and Evaluation System for Combustion Analysis on Test Benches and in Vehicles

Application Note. E2 Interface for EE871, EE892 and EE893

PF2100 MODBUS LOGGER CARD SYSTEM SPECIFICATION. v1.0 DRAFT Revised Dec 4, 2014 Last Revised by Alex Messner

DTSX3000 Communications(Modbus) Guide

DCU 305 R2. Communication Manual. Auto-Maskin AS. Page 1 of 25

RaceCapture/Apex. Ruggedized, powerful motorsports telemetry

Micro Motion Model 7950 and Model 7951 Signal Converters

DPScope SE Programming Interface Description

MSK2. May 2012 Frankie Chan (IFAP ATV SMD SAE)

MODBUS Protocol. The ecode Encoders contain both single register (16 bit) and double register (32 bit) values.

The SF02/F is an. easily configurable. laser rangefinder. module that provides. fast and accurate. distance. measurements, ideal

MD3. Microstepping Motor Driver Page 1 of 7. Description. Software. Mechanical Drawing. Features

Component Tests User Manual

PM130 Powermeters Reference Guide Modbus Communications Protocol

INTRODUCTION. Warning: it is strongly recommended to always verify whether the ECU needs specific software settings to export data.

DC3IOB Revision User Guide Updated 3/29/10. Overview

B. Rev. Release Date Description of Change ECR 0A 10/10/2014 Initial Release --- 0B 10/30/2014 Added firmware version to setup menu ---

Revision 1.2. July 24, COM Protocol Manual. for MDC and ADC N 11th St - San Jose CA

Version 2.031, Firmware doesn't contain all listed features and fixes is the proper one

WiMOD LR Base Plus Host Controller Interface

PWR. Power Module Slots

Modbus RTU/TCP Installation and Programming Guide PC3400 Particle Counter

Modbus on tsense. Table of contents:

KOLLMORGEN. SERVOSTAR CD. SERCOS IDN Manual M-SS rev. F. Solutions by D A N A H E R M O T I O N

Stalker Sports Speed Sensor User Manual

COMMUNICATIONS PROTOCOL WAYNE MILLER ASSOCIATES SERIAL/PARALLEL INTERFACE MODEL WMA-039

WiMOD LR Base Host Controller Interface

Vi-PEC V44 and V88 ECU

Ocean Sensor Systems, Inc. Wave Logger III, OSSI A Self Logging, Self Powered Wave Staff With a Self Grounding Coaxial Staff

Component Tests User Manual

BQ & BQ370-01N MODBUS ANALOG INPUT DEVICE USER MANUAL

AUTO FOCUS MODULE CUSTOM CAMERAS FOR MASS PRODUCTION APPLICATIONS USER GUIDE

USER GUIDE. to the CP130. Thermal Printer

ECO History: Date Revision ECO# Description of Change

SBD WARRIOR DATA SHEET

Auxiliary Port, Console Port, and Adapter Pinouts for Cisco 1000, 1600, 2500, 2600, and 3600 Series Routers

HART USER GUIDE FOR GASSONIC OBSERVER-H ULTRASONIC GAS LEAK DETECTOR

GE MDS, LLC. NETio Series. Protocol Communications Supplement. March 2013 Part No A01, Rev. C

The Mobile Combustion Analyzer from Kistler. KiBox T o Go -Präsentation hoe March 09 1

KCD-HP. KCD-HP200x, 300X. [Figures] Top : 1% Sensor probe Bottom left : 10% / 20% Sensor probe Bottom right : Holding bracket(optional) Measurement

USER MANUAL Z-SG / Z-SG-L. Advanced Digital Strain gauge converter. Via Austria, PADOVA ITALY

SF10 SF10. Features: The SF10 laser altimeter is ideal for automated landings and precision hovering.

OPERATING MANUAL AND TECHNICAL REFERENCE

Mate Serial Communications Guide This guide is only relevant to Mate Code Revs. of 3.30 and greater

CANopen. stepim. Reference Manual. Manual Revision: 1.3 Firmware Version:

Modbus Protocol For PMX / PXM3X

ECV ecompass Series. Technical Brief. Rev A. Page 1 of 8. Making Sense out of Motion

INTELLIS. Modbus Direct Network Monitor

ioselect Z-NET Z-SG Bridge Input Isolating I/O Module

HCOMM Reference Manual

High speed laser. altimeter for. accurate mapping. and obstacle. detection. Features: SF30 Accelerated laser rangefinder Product manual

Index. What is FIRESTORM? Find out on the next page. What is Mallory FIRESTORM...3. Features & Benefits...4. Dare to Compare Charts...

Flex Series User Guide

KMD Modbus Interface

M461 Technical Specification 29T TK-03

WinEasyTORK Manual. Version 1.0. Index. 1.0 WinEasyTORK Configuration Real Time Channels Setup Make a Test...

Modbus Protocol For TGP03 / THP03

ADC ACQUISITION MODE...

User Manual. HEDS-8949 & HEDS-8969 Alignment Kit for AEAT-9000 Encoders. 1. Introduction. Overview. Features. Ordering Information

Protocol of SOJI Fuel level sensor FJ-RS232/FJ-RS485 Version 1.0.2

DIGITAL COMPASS SOLUTION

Model 5100/5200 Quick Reference Register Guide

PowerLogic ION6200 Serial Communications Protocol and ION / Modbus Register Map

List of Contents 1. INTRODUCTION DEFINITIONS AND ABBREVIATIONS REFERENCES TECHNICAL DATA GENERAL MODBUS RTU...

External position feedback via DIMETIX FLS-C10 (SSI)

Transcription:

Megajolt Lite Jr. Controller API Documentation Version 4.x.x Copyright 2004-2008 Autosport Labs http://www.autosportlabs.net Revision 1: 10 Jan 2007 Revision 2: 11 Jan 2007 (version 3.2.x) Revision 3: 09 Sept 2008 (Version 4.x) Table of Contents 1Overview...1 1.1Communications...2 Serial Pinout...2 Port Configuration...2 1.2Protocol Description...2 2API Reference...3 2.1Get Version...3 2.2Get State...3 2.3Get Ignition Configuration...5 2.4Update Ignition Configuration...6 2.5Update Ignition Cell...9 2.6Write Ignition Configuration to Flash...9 2.7Get Load Calibration...9 2.8Update Load Calibration...10 2.9Read Load ADC...10 2.10Get Auxiliary Calibration...11 2.11Update Auxiliary Calibration...11 2.12Get Global Configuration...12 2.13Update Global Configuration...12 3Revision History...14 1 Overview This document specifies the communication protocol used for the MegaJolt Lite Jr. (MJLJ) Ignition Controller.

1.1 Communications Serial Pinout The MJLJ Controller provides a standard RS232 Serial interface via case-mounted RJ11 modular jack. Port Configuration The port configuration commands are described in Table 1. Baud Rate 38400 Data Bits 8 Parity 1.2 Protocol Description Stop bits 1 None Flow Control None Table 1: Serial Port Specifications The MJLJ Ignition Controller employs a simple command-response sequence to perform various operations upon the controller. Commands are coded with a single character and, if applicable, a stream of data which flows to or from the controller. Figure 1 illustrates a command which updates a single cell in the ignition table:

Byte 1 2 3 Data 0x75 (ASCII 'u') 0x11 0x14 Description Command RPM / Load Bin Ignition advance value Figure 1: Example Update Cell Command 2 API Reference 2.1 Get Version The Get Version command returns the current firmware version of the controller. The version indicates both hardware and API versions. Byte Description 1 character 'V' : ASCII 0x56 Table 2: Get Version Command 2.2 Get State Byte Description 1 Major version 2 Minor version 3 Bugfix version Table 3: Get Version Response The Get State command returns the current runtime state of the controller. 1 character 'S' : ASCII 0x53 Table 6: Get State Command 1 Current ignition advance (degrees BTDC) 2 Raw RPM Count, high byte 3 Raw RPM Count, low byte 4 Current RPM / Load Bins High 4 bits: RPM Bin Low 4 bits: Load Bin 5 Current Load Value (KPa or TPS%)

6 Controller State Bit 0: User Output 1 state (set=active; clear=inactive) Bit 1: User Output 2 state (set=active; clear=inactive) Bit 2: User Output 3 state (set=active; clear=inactive) Bit 3: User Output 4 state (set=active; clear=inactive) Bit 4: Rev Limit state (set=active; clear=inactive) Bit 5: Shift Light state (set=active; clear=inactive) Bit 6: Reserved Bit 7: Currently active ignition configuration (set=configuration 1; clear=configuration 2) 7 Auxiliary input value (scaled) 8 Current Advance Correction Bin 9 Current Advance Correction (degrees) signed byte Table 7: Get State Response The raw RPM count represents the number of microseconds elapsed between PIP signals emitted by the EDIS module. The actual RPM can be calculated using the following formula: RPM = 60 * (1/((rpmTicks/1000000)*cylinder)) where: cylinder = 2 for 4 cylinder engines cylinder = 3 for 6 cylinder engines cylinder = 4 for 8 cylinder engines rpmticks = 16 bit value- High Byte:Low Byte

2.3 Get Ignition Configuration The Get Ignition Configuration returns the currently active Ignition Configuration in the controller's RAM memory. 1 character 'C' : ASCII 0x43 Table 8: Get Ignition Configuration Command 1-10 RPM Bin values, from low to high RPM value / 100 11-20 21-120 Load Bin values, from low to high KPa (0 255) or TPS% (0-100) Ignition Map Ignition advance values (0 59 degrees BTDC) organized in a 100 element, 10 x 10 array in Row major order. (Row == Load axis) 121 User Output Types User output types are encoded in a two bit number, with 4 configurations packed into a single byte. Value: 1 = RPM; 2 = Load; 3 = Aux Input Bit 0-1: Output 1 Type Bit 2-3: Output 2 Type Bit 4-5: Output 2 Type Bit 6-7: Output 3 Type 122 User Output Mode Configurations Defines the operational mode for each output. Normal = Output is activated when configured threshold is reached Inverted = Output is de-activated when configured threshold is reached Bit 0: Output 1 Mode (set = Normal; clear = Inverted) Bit 1: Output 2 Mode (set = Normal; clear = Inverted) Bit 2: Output 3 Mode (set = Normal; clear = Inverted) Bit 3: Output 4 Mode (set = Normal; clear = Inverted) Bit 4: Reserved Bit 5: Reserved

Bit 6: Reserved Bit 7: Reserved 123 User Output 1 threshold value Load, KPa : 0 255 Load, TPS%: 0 100 Aux Input (scaled): 0 255 124 User Output 2 threshold value Load, KPa : 0 255 Load, TPS%: 0 100 Aux Input (scaled): 0 255 125 User Output 3 threshold value Load, KPa : 0 255 Load, TPS%: 0 100 Aux Input (scaled): 0 255 126 User Output 4 threshold value Load, KPa : 0 255 Load, TPS%: 0 100 Aux Input (scaled): 0 255 127 Rev Limit threshold value 128 Shift Light threshold value 129-138 139-148 149-150 Advance Correction Bins, from load to high Aux Input scaled input value Advance Correction Values ignition advance (degrees) Auxiliary Input Peak Hold Decay Number of ignition events to hold peak Aux signed byte unsigned short

2.4 Update Ignition Configuration Input value (0-65535) Table 9: Get Ignition Configuration Response The Update Ignition Configuration command loads new ignition configuration values to the controller's RAM. There is no response from the controller upon command completion.. 1 Character 'U': ASCII 0x55 2-11 RPM Bin values, from low to high 12-21 22-121 RPM value / 100 Load Bin values, from low to high KPa (0 255) or TPS% (0-100) Ignition Map Ignition advance values (0 59 degrees BTDC) organized in a 100 element, 10 x 10 array in Row major order. (Row == Load axis) 122 User Output Types User output types are encoded in a two bit number, with 4 configurations packed into a single byte. Value: 1 = RPM; 2 = Load; 3 = Aux Input Bit 0-1: Output 1 Type Bit 2-3: Output 2 Type Bit 4-5: Output 2 Type Bit 6-7: Output 3 Type 123 User Output Mode Configurations Defines the operational mode for each output. Normal = Output is activated when configured threshold is reached Inverted = Output is de-activated when configured threshold is reached

Bit 0: Output 1 Mode (set = Normal; clear = Inverted) Bit 1: Output 2 Mode (set = Normal; clear = Inverted) Bit 2: Output 3 Mode (set = Normal; clear = Inverted) Bit 3: Output 4 Mode (set = Normal; clear = Inverted) Bit 4: Reserved Bit 5: Reserved Bit 6: Reserved Bit 7: Reserved 124 User Output 1 threshold value Load, KPa : 0 255 Load, TPS%: 0 100 Aux Input (scaled): 0 255 125 User Output 2 threshold value Load, KPa : 0 255 Load, TPS%: 0 100 Aux Input (scaled): 0 255 126 User Output 3 threshold value Load, KPa : 0 255 Load, TPS%: 0 100 Aux Input (scaled): 0 255 127 User Output 4 threshold value Load, KPa : 0 255 Load, TPS%: 0 100 Aux Input (scaled): 0 255 128 Rev Limit threshold value

129 Shift Light threshold value 130-139 140-149 150-151 Advance Correction Bins, from load to high Aux Input scaled input value Advance Correction Values Ignition advance (degrees) Auxiliary Input Peak Hold Decay Number of ignition events to hold peak Aux Input value (0-65535) Table 11: Update Ignition Configuration Command signed byte unsigned short

2.5 Update Ignition Cell The Update Ignition Cell command updates a single cell in the ignition table. There is no response from the controller upon command completion. 1 Character 'u' : ASCII 0x75 2 RPM / Load Bin high 4 bits: RPM Bin low 4 bits: Load Bin 3 New ignition advance value (0 59 degrees) Table 12: Update Ignition Cell Command 2.6 Write Ignition Configuration to Flash The Write Ignition Configuration to Flash command copies the ignition configuration values in controller RAM to the non-volatile storage in the controller's flash memory. There is no response from the controller upon command completion. If the switchable ignition configuration option is enabled, the controller will write Ignition Configuration 1 when the Option port on the controller is logical low, or Configuration 2 when the Option port is logical high. If the switchable ignition configuration option is disabled, the controller will default to Configuration 1. 2.7 Get Load Calibration 1 Character 'W' : ASCII 0x57 Table 13: Write Ignition Configuration to Flash The Get Load Calibration command retrieves the calibration data used for the internal MAP sensor or TPS input, depending on controller configuration. 1 Character 'l' : ASCII 0x6C Table 14: Get Load Calibration Command 1-256 Load calibration data.

The raw analog-digital converter from the MAP or TPS sensor value is mapped to the value specified in this table. This mapped, or scaled, value is used to select the appropriate Load bin during ignition advance calculations. Table 15: Get Load Calibration Response 2.8 Update Load Calibration The Update Load Calibration Command writes a new load axis calibration table directly to the controller's flash memory. During command processing, ignition advance calculation and communication with the EDIS module is not active. 1 Character 'L' : ASCII 0x4C 2-257 Load calibration data. The raw analog-digital converter from the MAP or TPS sensor value is mapped to the value specified in this table. This mapped, or scaled, value is used to select the appropriate Load bin. Note, for this segment, a minimum 150ms transmission delay is required every 32 bytes. Table 16: Update Load Calibration command 2.9 Read Load ADC The Read Load ADC command retrieves a raw analog-digital reading 1 Character 'a' : ASCII 0x61 Table 17: Read Load ADC command 1 The raw ADC load axis value.

0 255 value linearly scaled from 0 5v Table 18: Read Load ADC response

2.10 Get Auxiliary Calibration The Get Auxiliary Calibration command retrieves the calibration data used to convert, or scale, the raw value read from the Auxiliary input to a more meaningful value, such as Degrees C or Ratio of air to fuel. 1 Character 'x' : ASCII 0x78 Table 14: Get Auxiliary Calibration Command 1-256 Auxiliary calibration data. The raw analog-digital converter from the Auxiliary Input is mapped to the value specified in this table. This mapped, or scaled, value is used to select the appropriate Advance Correction Bin during ignition advance calculations. Table 15: Get Auxiliary Calibration Response 2.11 Update Auxiliary Calibration The Update Auxiliary Calibration Command writes a new auxiliary calibration table directly to the controller's flash memory. During command processing, ignition advance calculation and communication with the EDIS module is not active. 1 Character 'X' : ASCII 0x58 2-257 Auxiliary calibration data. The raw analog-digital converter from the Auxiliary Input is mapped to the value specified in this table. This mapped, or scaled, value is used to select the appropriate Advance Correction Bin during ignition advance calculations.

2.12 Get Global Configuration Note, for this segment, a minimum 150ms transmission delay is required every 32 bytes. Table 16: Update Auxiliary Calibration command The Get Global Configuration Command retrieves global controller configuration values. These values contain options and configuration data which are not part of the standard ignition configuration. These values are read from non-volatile flash memory. 1 Character 'g' : ASCII 0x67 Table 19: Get Global Configuration command 1 Number of cylinders 4 = 4 cylinder (EDIS-4) 6 = 6 cylinder (EDIS-6) 8 = 8 cylinder (EDIS-8) 2 PIP Noise filter level 0 = no filtering 255 = maximum filtering 3 Cranking Advance Ignition advance, degrees BTDC Valid: 0-59 4 Trigger wheel offset signed byte Valid: -5 to +5 (degrees) 5-64 Reserved for future use Table 20: Get Global Configuration Response

2.13 Update Global Configuration The Update Global Configuration command updates the global controller configuration values. These values contain options and configuration data which are not part of the standard ignition configuration. This command writes the values directly to non-volatile flash memory. During command processing, ignition advance calculation and communication with the EDIS module is not active. Note: a 150ms delay is required every 32 bytes, starting with the beginning of the Global Configuration data section (byte 2) 1 Character 'G': ASCII 0x47 2 Number of cylinders 4 = 4 cylinder (EDIS-4) 6 = 6 cylinder (EDIS-6) 8 = 8 cylinder (EDIS-8) 3 PIP Noise filter level 0 = no filtering 255 = maximum filtering 4 Cranking Advance Valid: 0-59 (degrees BTDC) 5 Trigger wheel offset signed byte Valid: -5 to +5 (degrees) 6-65 Reserved for future use Table 21: Update Global Configuration Command

3 Revision History Revision 1: Initial document version Revision 2: Corrected various grammatical mistakes; added missing description for Get/Update Global Configuration Data commands; clarified various sections. Revision 3: Updates for V4 controller