Data Communication Protocol Host Computer to FAS-A

Similar documents
3DM-GX1 Data Communications Protocol

Gyro Enhanced Inclinometer

Version Action Author Date

RFID MODULE Mifare Read/Write Module SL025B User Manual Version 1.1 Jun 2010 StrongLink

1. Implemented CM11 protocol

COMMUNICATION MODBUS PROTOCOL

The power to engage. RS-232 PROTOCOL for CTOUCH. RS 232 protocol for CTOUCH Laser Nova - Sky V4.01. CTOUCHimPD1099V180725

JMY505G User's Manual

Logosol Joystick Node LS-731

C1098 JPEG Module User Manual

LORD MANUAL. Wireless Sensor Networks LXRS Data Communications Protocol

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm )

RS485 MODBUS Module 16I-M

Sender Receiver Sender

COMMUNICATION MODBUS PROTOCOL

MF1-RW-TTL-PCB Mhz Mifare ISO14443A reader/writer module with TTL interface CONTENT 1. MAIN FEATURES...,, PINNING INFORMATION...

Conto D2 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

RS485 MODBUS Module 8I8O

OEM API Specification

Sample F4T 32-bit Modbus RTU Packet

Digidim RS232 AV Interface

[DP19] DN-500CD. Serial Command Protocol Guide

Interface design document MODBUS Protocol. Ab s t r a c t Description of the MODBUS implementation for the Modbus I/O board

RS485 MODBUS Module 8AO

RFID MODULE Mifare Reader / Writer SL032 User Manual Version 3.1 July 03, 2017 StrongLink

8051 Serial Port. EE4380 Fall02 Class 10. Pari vallal Kannan. Center for Integrated Circuits and Systems University of Texas at Dallas

MCS-51 Serial Port A T 8 9 C 5 2 1

JMY504M User's Manual

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

CE4DMID01 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

Wireless Sensor Networks. Data Communications Protocol

OEM-MICODE (MIFARE ICODE)

Controller Area Network Global Positioning System Receiver and Real Time Clock. Copyright EVTV LLC EVTV CAN-GPS 3.01

Protocol VIT5. Communications RS485. Version 1.0. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.

B Interface description 12.01/

Micro RWD MF-IC (Mifare/ICODE/ISO14443B) Reader (low power version with auxiliary outputs)

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

JUMO di 308. Digital Indicator. B Interface Description Modbus 12.07/

DN120 DeviceNet Gateway User Manual

USB-SD MP3 Module Manual

EMS_ _Measure_MonoPh_R_2P_ModbusTable_LG_EN_v1.01.xlsx

IF96017 MODBUS COMMUNICATION PROTOCOL

COMMUNICATION MODBUS PROTOCOL MF96001 / 021 NEMO 96HD

JMY607H User's Manual

LinkSprite JPEG Color Camera Serial UART Interface. User Manual

Application Note BDLxxxx RS232 SERIAL INTERFACE COMMUNICATION PROTOCOL (SICP V1.82)

Device: MOD This document Version: 1.0. Matches module version: v3 [29 June 2016] Date: 23 October 2017

EEPROM Emulation with the ez80f91 MCU. Discussion

Fig.12.5 Serial Data Line during Serial Communication

RFID MODULE Mifare Reader / Writer SL031 User Manual Version 3.0 Jan 2018 StrongLink

The power to engage. RS-232 PROTOCOL for CTOUCH. RS 232 protocol for CTOUCH Laser Air + V3.12. CTOUCHimPD914V170913

Desktop Reader and Wall Reader Adaptor USER MANUAL DOCUMENT REVISIONS

PIC-I/O Multifunction I/O Controller

SRF08 Ultra sonic range finder Technical Specification

TPMC Channel Isolated Serial Interface RS232. Version 1.0. User Manual. Issue August 2017

CoE3DJ4 Digital Systems Design. Chapter 5: Serial Port Operation

RS-232 Control of the Advantage DRI

Planar Simplicity Series

SDM-8AO. Expansion Module 8 analog outputs. Manufactured for

RS485 MODBUS Module 8I8RO

BMV Text Protocol. Table of contents

MODBUS RTU (Adjustable)

Russound Dual Tuners (ST2, ST2-XM, ST2-XM2, and ST2S)

Micro RWD MF (Mifare) Low Power Version (with auxiliary data outputs)

How to set-up and read MOBBUS

Conto D1 MODBUS COMMUNICATION PROTOCOL

Interface Card, Interface Box, Datalogger & Interface. Bedienungsanleitung. Kommunikationsprotokoll. Operating Instructions. Communications protocol

R. E. SMITH, 4311 TYLERSVILLE ROAD, HAMILTON, OHIO CAS24 Code Activated Switch (PRELIMINARY INFORMATION, MARCH 3, 2001)

No attempt is made to verify any data value being written. It is the responsibility of the programmer to ensure valid data are written.

Communications Manual MC 5010 MC 5005 MC 5004 MCS RS232 / WE CREATE MOTION

RFT(Robotous Force/Torque Sensor) Series

JUMO Quantrol LC100/LC200/LC300

RS 485 Mini Modbus 1AO

Sample F4T 32-bit Modbus RTU Packet

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

Chapter 11: Input/Output Organisation. Lesson 05: Asynchronous RS232C Serial Port data transfer

Micro RWD H2 Protocol

MW100 CAN Bus Module Configuration Tool (MX118-CAN-M30/S1) User s Manual

PRE32 RS232 protocol v1.21 Tomas Andersson

AB300-Series Automated Filter Wheels

TPMC Channel Isolated Serial Interface RS422/RS485. Version 1.0. User Manual. Issue July 2009

Generic RS232 protocol

v1.10 Closer to Real, User s Manual RX-28 Dynamixel ROBOTIS CO.,LTD.

15693-RW-TTL-PCB1 CONTENT 1. MAIN FEATURES PINNING INFORMATION BAUD RATE SETTING COMMUNICATION PROTOCOL...5

MPU-32 AND FPU-32 TIA-485 NETWORK

RS 232 protocol for CTOUCH Runner, CTOUCH Leddura, CTOUCH Leddura xt,

M1 Computers and Data

QSFP Breakout. Data Sheet. Datasheet QSFP Breakout. 1 Overview. Table of Contents. 2 Features

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

MDL100 protocol-1.doc 6/12/08

AN434: CP2110/4 Interface Specification

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

SPACEMOUSE SYNTHESIS OF JOYSTICK AND TRACKBALL. Technical DATA: Electrical DATA

T7 Modbus Communication User Guide

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

JMY501H User's Manual

TI NITP Driver Programmable Serial Interface Card

Meteosat Second Generation Interface Control Document Station Key Unit

Transcription:

Data Communication Protocol Host Computer to FAS-A Overview This section codifies the communication protocol between an FAS-A and a host computer. Utilizing these protocols the host computer can 1) acquire angles and bits data from the FAS-A and 2) read and write to its on-board memory. Armed with these protocols, FAS-A users can write their own applications in any number of programming environments. Physical Cabling Review the Hardware section of this manual to confirm the RS-232 connection between the FAS-A and the host computer. RS-232 Host Signals Definition Signal Name Direction Function TxD Transmit Data Host to FAS-A Asynchronous Serial Data from Host RxD Receive Data FAS-A to Host Asynchronous Serial Data to Host GND Signal Ground N/A Signal Ground Reference RS-232 Host Computer Settings Baud: 9600 Parity: N(one) Data Bits: 8 Stop Bits: 1 Protocol Notes Commands are generated by the host computer and responses are generated by the FAS-A. All commands and all responses have a fixed number of bytes. The FAS-A will not generate unsolicited data. The programmer should be aware that communication delays (albeit a few milliseconds) must be considered at the application level. Care should be taken to allow sufficient delay between the issuance of successive host computer commands so that commands do not run together and therefore become interpreted by the FAS-A as one command. Likewise, if a host computer command which returns an FAS-A response is issued, care must be taken to retrieve the actual response from the communications buffer without truncation or concatenation of preceding or following responses. MSB = Most Significant Byte; LSB = Least Significant Byte An FAS-A Memory Location Map is available upon request. 17

Command Table Base Command 0x69 0x6A 0x6B 0x6C 0x6F 0x62 et al 0x65 et al Definition Send Accelerometer and Two Angles Send Two Angles Send One Angle Send Accelerometer Send Accelerometer and One Angle Read Internal Non-Volatile Memory Write Internal Non-Volatile Memory Send Accelerometer and Two Angles command To request current bits and angles (+/-70 degree mode) from the FAS-A 0x69 8 data bytes defined as follows: Ax bits MSB Ax bits LSB Ay bits MSB Ay bits LSB Y angle MSB Y angle LSB To convert Ax or Ay bits to an integer, use this formula: Bits = (MSB * 256 + LSB) To convert X or Y angles to an integer, use this formula: Angle = (MSB * 256 + LSB) / 10430 * (180/Pi) 18

Send Two Angles command To request current angles (+/-70 degree mode) from the FAS-A 0x6A 4 data bytes defined as follows: Y angle MSB Y angle LSB To convert X or Y angles to an integer, use this formula: Angle = (MSB * 256 + LSB) / 10430 * (180/Pi) Send One Angle command To request current angle (360 degree mode) from the FAS-A 0x6B 2 data bytes defined as follows: To convert X angle to an integer, use this formula: Angle = (MSB * 256 + LSB) / 5215 * (180/Pi) 19

Send Accelerometer command To request current bits from the FAS-A 0x6C 4 data bytes defined as follows: Ax bits MSB Ax bits LSB Ay bits MSB Ay bits LSB To convert Ax or Ay bits to an integer, use this formula: Bits = (MSB * 256 + LSB) Send Accelerometer and One Angle command To request current bits and angle (360 degree mode) from the FAS-A 0x6F 6 data bytes defined as follows: Ax bits MSB Ax bits LSB Ay bits MSB Ay bits LSB To convert Ax or Ay bits to an integer, use this formula: Bits = (MSB * 256 + LSB) To convert X angle to an integer, use this formula: Angle = (MSB * 256 + LSB) / 5215 * (180/Pi) 20

Read Internal Non-Volatile Memory command To read the value in an EEPROM location of the FAS-A Delay: Memory Location: Response: 0x62 + Delay + Memory Location 100 millisecond interval between the sending of the 0x62 and the Memory Location 1 byte integer between 2 and 254 representing an EEPROM location (see FAS-A Memory Location Map for details) 3 data bytes defined as follows: Value MSB Value LSB Memory Location To convert Value MSB and LSB to an integer, use this formula: Value = (MSB * 256 + LSB) 21

Write Internal Non-Volatile Memory command To write a value to an EEPROM location of the FAS-A Delay: Memory Location: 0x65 + Delay + 0x71 + Memory Location + Value MSB + Value LSB + 0xAA 100 millisecond interval between the sending of the 0x65 and the 0x71 1 byte integer between 2 and 254 representing an EEPROM location (see FAS-A Memory Location Map for details) Value MSB: Value \ 255 Value LSB: Value And 255 Response: 2 data bytes defined as follows: Value MSB Value LSB To convert Value MSB and LSB to an integer, use this formula: Value = (MSB * 256) + LSB 22