Giter VIP home page Giter VIP logo

bk_8500's Introduction

BK_8500

BK Precision 8500 interface library

Command Packet

Byte0 Byte1 Byte2 Byte3-24 Byte25
0xAA Address Command Data CRC

If a CMD packet responds without a 0x12 status, usually when data is being returned, the command ID should be in the Byte3 positions.

Status Packet

Byte0 Byte1 Byte2 Byte3 Byte4-24 Byte25
0xAA Address 0x12 Status Reserved CRC

''' Python self.resp_status_dict = { 0x90: "ERROR: Invalid checksum", 0xA0: "ERROR: Invalid value", 0xB0: "ERROR: Unable to execute", 0xC0: "ERROR: invalid command", 0x80: True, } '''

Op state

Bit Meaning 0 Calculate the new demarcation coefficient 1 Waiting for a trigger signal 2 Remote control state (1 means enabled) 3 Output state (1 means ON) 4 Local key state (0 means not enabled, 1 means enabled) 5 Remote sensing mode (1 means enabled) 6 LOAD ON timer is enabled 7 Reserved

Demand state

Bit Meaning 0 Reversed voltage is at instrument's terminals (1 means yes) 1 Over voltage (1 means yes) 2 Over current (1 means yes) 3 Over power (1 means yes) 4 Over temperature (1 means yes) 5 Not connect remote terminal 6 Constant current 7 Constant voltage 8 Constant power 9 Constant resistance

SCPI

Symbol Response Formats Boolean value, can be 1 or “ON”, 0 or “OFF” Integer value, can be zero, positive or negative integer number Flexible numerical value, can be zero, positive or negative float point numeric value String value, characters enclosed in single or double qNueowtelisne, hex code 0x0Ah Return, hex code 0x0Dh

bk_8500's People

Contributors

travisjoe avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.