RS485 Index Command List.

Similar documents
RS485 Index Command List.

All real signals have scale factor 10. Integer, Index and Logic has always scale factor 1.

Command line direct mode: This is relevant when a PC application is used to send and receive commands over the network port.

Modbus for SKF IMx and Analyst

Technical data. General specifications. Indicators/operating means

Ocean Sensor Systems, Inc. Wave Staff III, OSSI With 0-5V & RS232 Output and A Self Grounding Coaxial Staff

R5 RIC Quickstart R5 RIC. R5 RIC Quickstart. Saab TransponderTech AB. Appendices. Project designation. Document title. Page 1 (25)

CEDES. Functional description CEDES 7-Segment Double Digit Indicator (CAN) Functional description 7-Segment Double Digit Indicator (CAN)

ZN-PD. Smallest Air Particle Sensor in the Industry for In-line Measurement. Air Particle Sensor. Features

Electrical connection

O P E R A T I O N M A N U A L. RF-Reader. Stand-alone-Reader Leser 2plus with RS-232 interface

Ocean Sensor Systems, Inc. Wave Staff, OSSI F, Water Level Sensor With 0-5V, RS232 & Alarm Outputs, 1 to 20 Meter Staff

16-CH Color Full Duplex Multiplexer Instruction Manual

EZ-LIGHT K50 Modbus Series Multicolor Indicators

Foreword: The purpose of this document is to describe how to install and configure Neets 4 relay box

of of Re:connect M 203 Pioneer Interface Dominating Entertainment. Revox of Switzerland. E 2.03

Sapera LT 8.0 Acquisition Parameters Reference Manual

R1MS-GH3 BEFORE USE... POINTS OF CAUTION INSTRUCTION MANUAL THERMOCOUPLE & DC INPUT MODULE MODEL. (8 points; isolated)

ED3. Digital Encoder Display Page 1 of 13. Description. Mechanical Drawing. Features

Sensopress LCD Special English

BLA 50A-002-S4 Balluff Light Array

LAUREL ELECTRONICS, INC.

3G fiber. TL7070 3G/HD-SDI + DVI(HDMI) Fiber plus Coax Output Video Transmitter. TL Features. Block Diagram TL7070

P42XP10-BK Installation Guide 42 Plasma Monitor Rev 1.2

SPI Serial Communication and Nokia 5110 LCD Screen

IO-Link Data Reference Guide: EZ-ARRAY Series

Re:connect M 203. RS232 Interface Revox. Dominating Entertainment. Revox of Switzerland. E 2.03

Version 1.3. Table of contents

Transponder Reader TR22A01KNX TR22A11KNX. Product Handbook

Table of Contents. Versa TILE & Versa DRIVE D2 Quick Start Manual

Single Axis Position Controller

PRELIMINARY. Orbis CU. Preliminary Data Sheet!

Installation and User Guide 458/CTR8 8-Channel Ballast Controller Module

LED DRIVERS. LQC4D-V1 4 channels. User Manual FEATURES

Luminaire installation box Surface-mounted box Ceiling installation box

RS-232C External Serial Control Specifications

SQTR-2M ADS-B Squitter Generator

TRIMBLE GPS / 10MHz REFERENCE MONITOR DISPLAY V January 2015

NanoCom ADS-B. Datasheet An ADS-B receiver for space applications

KNX Technical Reference Manual Busch-EnergyControl

Manual MON-150W-SDI 15.6 SDI Monitor

LWC Series LWC-80. Design. LWC Series Laser Wire Counters. Product name: Accessories: LWC-80

7 Segment LED CB-035. ElectroSet. Module. Overview The CB-035 device is an, 8-digit 7-segment display. Features. Basic Parameters

High Resolution Multicolor Contrast Scanner. Dimensioned drawing

Dimensions. Model Number. Electrical connection. Features. Pinout Product information. Indicators/operating means. LGS25 Serie.

ZU 252. Incremental Counter Module With Analogue Output and Serial Interface. Operating Instructions. control motion interface

M203 LG. Multiroom Planer V2.00. Introduction. New features from software V2.00

X462UN Installation Guide 46 LCD Display Rev 1.0

RF Solution for LED Display Screen

Label Applicator HERMA 400

Extra long-range RFID (proximity) card reader

WaveMaker III Gartech Enterprises Inc. 12/17/2012

Z-D-IN. RS485 Modbus Module 5 Digital Inputs

ADVANCED ultrasonic sensors with analog output. Dimensioned drawing

MG-XV operating instruction. Measuring of norm signals, 4-8-digit. Panel instrument type MG-BV Construction instrument type MG-AV

L-LAS Series L-LAS-LT-50-SL-... Design. L-LAS Series Laser Line Sensors. Product name:

Configuration Vestas VMP3500

SC-IO-24 Smart Communication IO Module User Manual

CP-255ID Multi-Format to DVI Scaler

SPX-5600 Series. Operations Manual. Suprex Reader Extender - RF Wireless Interface SPX-5600MAN. Page 1 of 20

TV Character Generator

Troubleshooting. 1. Symptom: Status indicator (Red LED) on SSR is constant on. 2. Symptom: Output indicator (Yellow LED) on SSR is flashing.

Component Video Matrix Switcher Series ITEM NO.: YS04MA, YS04MD

NoteMix Player Note Mixer/Shifter/Splitter/Filter with Snapshot Morphing Rack Extension for Propellerhead Reason

Wave XL460 Monitor USER'S MANUAL WA MON October Specifications subject to changes without prior notice.

Model 1476-C SuperQuad HR

LAUREL. Laureate Digital Panel Meter for Load Cell & Microvolt Input ELECTRONICS, INC. Features. Description

Hardware & software Specifications

Panel cutout required: 1.772" x 3.622" (45mm x 92mm) 1.76" (45mm) 2.45" (62mm) 3.20" (81mm) 3.60" (91mm) 0.59" (15mm) Special Features

Owner s guide How to use your new Opalum Furniture Sound System

MINI HIGH SPEED DOME CAMERA. User Manual

THE ASTRO LINE SERIES GEMINI 5200 INSTRUCTION MANUAL

DPM 942-FPSI 4-20mA Loop Meter with Programmable Backlighting

Nuvoton Touch Key Series NT086D Datasheet

ZU 251. Incremental Counter Module With Analogue Output and Serial Interface. Operating Instructions. control motion interface

OWNER S MANUAL Digital Signage LCD Display

L-LAS Series L-LAS-LT-2500-XL. Design. L-LAS Series Laser Line Sensors. Product name: L-LAS-LT-2500-XL

Chapter 23 Dimmer monitoring

Operating Manual. 50mW C-Band EDFA with GPIB and RS232 Interface

Process Transmitter RMA 422

Operating instructions Through-beam sensor. OJ51xx laser / / 2010

AX 345. Process Indicator with Two Analogue Inputs, Calculations and Programmable Analogue Output. Operating Instructions for Model AX 346

FTS84/85 Feature Application Field. Temperature & Humidity / Flow Measuring Specialist. Monitor gas and flow for industrial process

FTS84/85 Feature Application Field. Temperature & Humidity / Flow Measuring Specialist. Monitor gas and flow for industrial process

OLED THE PERFECT HIGH-RESOLUTION DISPLAY

mini Wiring & Installation Instructions V06/05/08

User Manual Entry Line Industrial Fast Ethernet Switch 4x 10/100Base-TX, 1x 100Base-X Fiber Port 4x PoE+ up to 30W

Manual. Simrad IS80 Wind Instrument WI80. English

Standard RS232 RS ma

Introduction Display...1 Mounting...1 Firmware Version...2. ADL Operation... 3

User Manual K.M.E. Dante Module

Electronic Panel Meters DIGEM Preference Program Process control, automation & laboratory uses Class 0.01 to 1 Current, Voltage, Frequency,

ICAC User Manual. ICAC - ( Intelligent Connection for Alignment & Calibration ) Setup Calibration Measurement USO RESTRITO. Version 14.2.

medlab One Channel ECG OEM Module EG 01000

Setup Utility Guide. SF-16M 16-Channel Digital Matrix Amplifier

P50XC10 Installation Guide 50 Plasma Monitor Rev 1.2

Tebis application software

K-BUS Dimmer Module User manual-ver. 1

AVE HOME FAGOR CVBS TO DVB-T ENCODER MODULATOR. Fagor Electr6nica

AT004 A10 Multi-Tester, 120 to 277 VAC Test Transceiver

Transcription:

RS485 Index Command List. PosCon OXH7. en_ba_rs485_poscon_oxh7_commands.docx 1/16 Baumer Electric AG 21.03.2018 14:41/tof V1.1 ANW_81188273 Frauenfeld, Switzerland

Contents 1 Introduction... 3 1.1 UART Interface Settings... 3 2 Command Structure... 3 3 Index Command List... 4 3.1 Application Errors... 4 3.2 Device identification... 4 3.3 Communication features... 5 3.4 User interface features... 5 3.5 Measurement features... 6 3.6 Flex mount... 7 3.7 Output configuration... 8 3.8 Diagsis features... 8 3.9 Configuration storage features... 9 4 Example commands... 13 5 Appendix... 14 5.1 Dependencies... 14 6 History of changes... 15 en_ba_rs485_poscon_oxh7_commands.docx 2/16 Baumer Electric AG

1 Introduction This manual supplements the manual "RS485 Protocol Structure" and is valid for the Baumer PosCon HM sensors. 1.1 UART Interface Settings Index Command Value Baud rate at power up 57600 Databits 8 Startbit 1 Stopbit 1 Parity Even 2 Command Structure An RS485 command is structured as follows. PAYLOAD :01W020;10;41BE\r\n START DEVICE ADDR TYPE INDEX SEPARATOR PAYLOAD ELEMENT SEPARATOR CHECKSUM END The information to be transmitted is called PAYLOAD and has to be sent in a so-called frame so that the command can be recognized and processed. This frame always has the same structure and contains a start, a device address, a PAYLOAD, a checksum and an end. START DEVICE ADDR PAYLOAD CHECKSUM END 1 char 2 char n char 4 char 2 char : 01 99 Index Command List **** \r\n en_ba_rs485_poscon_oxh7_commands.docx 3/16 Baumer Electric AG

3 Index Command List Values marked with * are the Factory settings 3.1 Application Errors 0 ( 0x0 ) R Application error Contains the application error code of the last command. If an application error occurs, it is signalled using the underlying protocol. The error code has to be read immediately after the error is signalled. It will be overwritten by any other command. UINT32 Application error 0 error 1 value t accessible 99 argument out of range 100 distance out of range 101 angle out of range 102 flatness out of range 103 length out of range 3.2 Device identification 1 ( 0x1 ) R Vendor info Vendor information UINT32 Vendor id 1 Baumer Electric AG STRING 65 Vendor name default: Baumer Electric AG 2 ( 0x2 ) R Device info Device information UINT32 Device id UINT32 Product id Material number STRING 65 Sensor type Eg. OXE7.E25T-MB3E.SIMD.A7 en_ba_rs485_poscon_oxh7_commands.docx 4/16 Baumer Electric AG 21.03.2018 14:41/tof V1.1 ANW_81188273 Frauenfeld, Switzerland

STRING 15 Serial number 1234567890AB 3.3 Communication features 5 ( 0x5 ) Bus address Bus address Value range: 1... 99 6 ( 0x6 ) Baudrate Communication baud rate Baudrate 0 38'400 1 * 57'600 2 115'200 3.4 User interface features 10 ( 0xA ) RS485 lock Access lock for RS485. If the lock is activated, the sensor can be controlled using the touch buttons and all RS485 commands will be rejected (except access to this index). If the lock is deactivated, the sensor can be controlled using RS485. In this case, all physical outputs (analog, switching and alarm out) will be deactivated and the LEDS will be set to a fixed state. RS485 lock 0 Lock deactivated 1 * Lock activated 11 ( 0xB ) Output reactivation If enabled, the physical outputs (analog, switching and alarm out) will be re-enabled. Be aware that using physical outputs and RS485 simultaneously may lead to interferences. When RS485 lock is active, the outputs are also activated regardless of this index. Output reactivation 0 * Outputs deactivated 1 Outputs activated 15 ( 0xF ) Display language Display language 0 * English 1 German 2 Italian 3 French 16 ( 0x10 ) Display backlight en_ba_rs485_poscon_oxh7_commands.docx 5/16 Baumer Electric AG

Display backlight 0 * 5 min Display backlight switched off after 5min inactivity. 1 10 min Display backlight switched off after 10min inactivity. 2 20 min Display backlight switched off after 20min inactivity. 3 Always on Display backlight is newer switched off. 17 ( 0x11 ) Touch button lock Touch button lock 0 * Touch buttons t locked 1 Touch buttons locked 3.5 Measurement features 20 ( 0x14 ) Measurement type selection Measurement type selection Measurement type to use for all outputs (Analog output, Digital output, LED s). 13 Height (AVG) 14 Height (MAX) 15 Height (MIN) 16 * Height (MAX-MIN) 21 ( 0x15 ) R Measurement value Measurement value selected by the "Measurement type selection" index. Measurement value Quality Quality of the optical input signal. 0 Valid 1 Low signal 4 No signal 22 ( 0x16 ) R All measurement values Get all available measurement values according to selected measurement type. This index can only be read if precision is set to "standard". Average Max Min Delta Standard deviation Quality 0 Valid 1 Low signal 4 No signal 30 ( 0x1E ) Field of view Lateral measuring field Limit left en_ba_rs485_poscon_oxh7_commands.docx 6/16 Baumer Electric AG

Field of view left limitation. Limit right Field of view right limitation. 31 ( 0x1F ) W Set field of view to MAX command Sets the field of view to its maximum values. Set field of view to MAX command 1 Set field of view to MAX 32 ( 0x20 ) Object type Adjust the exposure time for either dark target objects or bright target objects. Selecting DarkObject will lead to a longer measurement cylce. Object type 0 * Bright object 1 Dark object 33 ( 0x21 ) Precision Adjust the filtering of the measured values. Precision 0 * Standard 1 High 2 Very high 34 ( 0x22 ) Laser off data hold If activated, the measurement will be suspended and the laser is switched off. All outputs will hold the current value. The teach flex mount command and the diagse mode (index 37, 50) are disabled. If deactivated, the measurement will continue. Laser off data hold 0 * Measurement is running 1 Measurement is holding 3.6 Flex mount 35 ( 0x23 ) Flex mount enable See operating instructions for details. Flex mount enable 0 * Disabled 1 Enabled 36 ( 0x24 ) Set flex mount See operating instructions for details. Angle Flex mount rotation angle [deg]. Distance Flex mount offset distance. 37 ( 0x25 ) W Teach flex mount command See operating instructions for details. Reference correction en_ba_rs485_poscon_oxh7_commands.docx 7/16 Baumer Electric AG

3.7 Output configuration 40 ( 0x28 ) Digital output configuration Settings of the digital output pin. Switch point 1 Switch point 2 Digital output type 0 * Point 1 Window Digital output polarity 0 * Active high 1 Active low 41 ( 0x29 ) Analog output configuration The analog output can be set as current or voltage output. Analog output type 0 * Current 1 Voltage Analog output slope Slope of the analog characteristic curve. Can be positive (minimum output at minimum measurement value, fullscale output at maximum measurement value) or negative (vice versa). 0 * Positive 1 Negative 42 ( 0x2A ) Analog output scaling Points within the measuring range where the analog output value reaches its minimum/ full scale value (depends on "Analog output slope" setting). Analog scaling offset point Analog scaling height point 43 ( 0x2B ) W Set analog out scale to MAX command Sets the ananlog output scaling to its maximum values. Set analog out scale to MAX command 1 Set analog out scale to MAX. 3.8 Diagsis features 50 ( 0x32 ) Diagse mode If diagse mode is activated, the diagsis features (live monitor and profile) can be used. During diagse mode, all filters will be disabled and the ouputs (analog and digital) will be set to fixed values. The standard measurement values are t accessible (index 21,22) and the laser can't be switched en_ba_rs485_poscon_oxh7_commands.docx 8/16 Baumer Electric AG

off (index 34). Diagse mode 0 * Deactivated 1 Activated 51 ( 0x33 ) R Live monitor The Live monitor values are based on the learned reference plane (Flex mount feature). Angle [deg] Center hight Left edge rising 3.9 Configuration storage features 200 ( 0xC8 ) W Load configuration command Loads the selected configuration to ram (current configuration). For permanent storage of the loaded values, the "Store configuration command" has to be used. Configuration number 0 Active config 1 Config 1 2 Config 2 3 Config 3 201 ( 0xC9 ) W Store configuration command Permanently stores the current configuration. Configuration number 0 Active config Current configuration will be stored to the active configuration. 1 Config 1 Current configuration will be stored to Config 1. 2 Config 2 Current configuration will be stored to Config 2. 3 Config 3 Current configuration will be stored to Config 3. 202 ( 0xCA ) W Reset to factory settings command All configurations will be reset to factory settings. The sensor will reboot after execution of this command. Reset to factory settings command 0 Reset to factory settings 203 ( 0xCB ) R Configuration 1 Values stored in configuration 1. Measurement type selection Measurement type to use for all outputs (Analog output, Digital output, LED s). 13 Height (AVG) 14 Height (MAX) 15 Height (MIN) 16 * Height (MAX-MIN) Object type 0 * Bright object 1 Dark object Precision 0 * Standard en_ba_rs485_poscon_oxh7_commands.docx 9/16 Baumer Electric AG

1 High 2 Very high Flex mount enable 0 * Disabled 1 Enabled Angle Flex mount rotation angle [deg]. Distance Flex mount offset distance. Limit left Field of view left limitation. Limit right Field of view right limitation. Analog scaling offset point Analog scaling height point Analog output type 0 * Current 1 Voltage Analog output slope Slope of the analog characteristic curve. Can be positive (minimum output at minimum measurement value, fullscale output at maximum measurement value) or negative (vice versa). 0 * Positive 1 Negative Digital output type 0 * Point 1 Window Digital output polarity 0 * Active high 1 Active low Switch point 1 Switch point 2 204 ( 0xCC ) R Configuration 2 Values stored in configuration 2. Measurement type selection Measurement type to use for all outputs (Analog output, Digital output, LED s). 13 Height (AVG) 14 Height (MAX) 15 Height (MIN) 16 * Height (MAX-MIN) Object type 0 * Bright object 1 Dark object Precision 0 * Standard 1 High 2 Very high Flex mount enable 0 * Disabled en_ba_rs485_poscon_oxh7_commands.docx 10/16 Baumer Electric AG

1 Enabled Angle Flex mount rotation angle [deg]. Distance Flex mount offset distance. Limit left Field of view left limitation. Limit right Field of view right limitation. Analog scaling offset point Analog scaling height point Analog output type 0 * Current 1 Voltage Analog output slope Slope of the analog characteristic curve. Can be positive (minimum output at minimum measurement value, fullscale output at maximum measurement value) or negative (vice versa). 0 * Positive 1 Negative Digital output type 0 * Point 1 Window Digital output polarity 0 * Active high 1 Active low Switch point 1 Switch point 2 205 ( 0xCD ) R Configuration 3 Values stored in configuration 3. Measurement type selection Measurement type to use for all outputs (Analog output, Digital output, LED s). 13 Height (AVG) 14 Height (MAX) 15 Height (MIN) 16 * Height (MAX-MIN) Object type 0 * Bright object 1 Dark object Precision 0 * Standard 1 High 2 Very high Flex mount enable 0 * Disabled 1 Enabled Angle Flex mount rotation angle [deg]. Distance en_ba_rs485_poscon_oxh7_commands.docx 11/16 Baumer Electric AG

Flex mount offset distance. Limit left Field of view left limitation. Limit right Field of view right limitation. Analog scaling offset point Analog scaling height point Analog output type 0 * Current 1 Voltage Analog output slope Slope of the analog characteristic curve. Can be positive (minimum output at minimum measurement value, fullscale output at maximum measurement value) or negative (vice versa). 0 * Positive 1 Negative Digital output type 0 * Point 1 Window Digital output polarity 0 * Active high 1 Active low Switch point 1 Switch point 2 206 ( 0xCE ) R Active configuration Values stored in the active configuration (0). Measurement type selection Measurement type to use for all outputs (Analog output, Digital output, LED s). 13 Height (AVG) 14 Height (MAX) 15 Height (MIN) 16 * Height (MAX-MIN) Object type 0 * Bright object 1 Dark object Precision 0 * Standard 1 High 2 Very high Flex mount enable 0 * Disabled 1 Enabled Angle Flex mount rotation angle [deg]. Distance Flex mount offset distance. Limit left Field of view left limitation. Limit right en_ba_rs485_poscon_oxh7_commands.docx 12/16 Baumer Electric AG

Field of view right limitation. Analog scaling offset point Analog scaling height point Analog output type 0 * Current 1 Voltage Analog output slope Slope of the analog characteristic curve. Can be positive (minimum output at minimum measurement value, fullscale output at maximum measurement value) or negative (vice versa). 0 * Positive 1 Negative Digital output type 0 * Point 1 Window Digital output polarity 0 * Active high 1 Active low Switch point 1 Switch point 2 4 Example commands Example commands with standard Device Address (01). Command Description :01W010;0;E9C3\r\n RS485 lock deactivated :01R002;3955\r\n Device Info (Article number, sensor type...) :01R006;F957\r\n Check Baud rate :01W006;2;C1FF\r\n Set Baud rate to 2 = 115'200 :01W011;1;85C3\r\n Reactivate analog and digital sensor outputs :01R021;09F4\r\n Get the measuring value :01R022;F9F4\r\n Requesting all measuring values :01W020;13;B1BE\r\n Set measurement type to HEIGHT (AVG) :01W020;14;81BC\r\n Set measurement type to HEIGHT (MAX) :01W020;15;11BD\r\n Set measurement type to HEIGHT (MIN) :01W020;16;E1BD\r\n Set measurement type to HEIGHT (MAX-MIN) :01W032;0;91BB\r\n Set object type bright :01W032;1;01BA\r\n Set object type dark :01W035;1;75BB\r\n Enable FLEX MOUNT :01W037;0;5DBB\r\n Teach-In FLEX MOUNT to actual reference surface with a correction of 0mm :01W201;0;37FE\r\n Store active configuration permanent to sensor :01W202;0;73FE\r\n Reset to factory settings en_ba_rs485_poscon_oxh7_commands.docx 13/16 Baumer Electric AG

5 Appendix 5.1 Dependencies Because some commands are dependent on one ather, they can be executed only if certain settings were configured in advance. Important: Before RS485 commands can be sent, RS485 must be unlocked via the command :01W010;0;E9C3\r\n (010 RS485 lock). Input configuration Output RS485 lock Diagse mode Laser off data hold Precision Application error Vendor info Device info Bus address Baudrate RS485 lock Output reactivation Display language Display backlight Touch button lock Measurement type selection Measurement value All measurement values Field of view Set field of view to max command Object type Precision Laser off data hold Flex mount enable Set flex mount Teach flex mount command Digital out configuration Analog out type Analog out scale Set analog out scale to max command Diagse mode Live monitor Load configuration command Store configuration command Reset to factory settings command Configuration 1 Configuration 2 Configuration 3 Active Configuration Index description 10 50 34 33 0 1 2 5 6 10 11 15 16 17 20 21 22 30 31 32 33 34 35 36 37 40 41 42 43 50 51 200 201 202 203 204 205 206 Index. locked unlocked off running Standard t Standard hold Standard t Standard on Configuration en_ba_rs485_poscon_oxh7_commands.docx 14/16 Baumer Electric AG 21.03.2018 14:41/tof V1.1 ANW_81188273 Frauenfeld, Switzerland

6 History of changes Date Version Description 24.11.2015 1.0 Document created 10.08.2016 1.01 Renaming FLEX MOUNT thickness in correction 07.06.2017 1.1 Chapter example commands implemented 17.01.2018 1.2 Dependency matrix changed en_ba_rs485_poscon_oxh7_commands.docx 15/16 Baumer Electric AG 21.03.2018 14:41/tof V1.1 ANW_81188273 Frauenfeld, Switzerland

en_ba_rs485_poscon_oxh7_commands.docx 16/16 Baumer Electric AG