Luminescence Sensors. Operating Instruction

Similar documents
Optical laser distance sensors. Dimensioned drawing

LASER. Analog Laser Displacement Transducer. LAM Series. Key-Features: Content:

QL50 Luminescence Sensor

Optical laser distance sensors. Dimensioned drawing

KNX manual High-performance switch actuators RM 4 H FIX1 RM 8 H FIX2

Optical laser distance sensors. Dimensioned drawing

QL55 Series Luminescence Sensor

Photoelectric switches WLL 170(T), fibre-optic cables LL 3: flexible solutions with fibre-optic cable systems

Leuze electronic. 3 Series. Product description

Laser light scanner with background suppression. Dimensioned drawing

Select datum Page backward in. parameter list

Cost efficient design Operates in full sunlight Low power consumption Wide field of view Small footprint Simple serial connectivity Long Range

Protocol and instruction set for remote control via the infrared interface. Table of Contents

WLL 170 Photoelectric switches with fibre-optic cable, red light, manual sensitivity adjustment -- DC. Dimensional drawing R1.6 2-R

MLV12 Series Dura-Vue TM Sensors

Confirm entry value Set display to value from Actual value and input display Select datum P79 (P80!) (7-segment LED,

INCLINOMETER RS232 SWITCH

Cost efficient design Operates in full sunlight Low power consumption Wide field of view Small footprint Simple serial connectivity Long Range

DB 12 B. Double Sheet Testing Unit. Phone: Fax: Web: -

laser sensors through-beam sensor switching output / analog output high precision repeatability

Laser contrast scanner. Dimensioned drawing

SKD-600D Laser Distance Sensor

BASIC-Tiger Application Note No. 059 Rev Motor control with H bridges. Gunther Zielosko. 1. Introduction

DB 112 B. Double Sheet Testing Unit TECHNICAL DESCRIPTION. en / We reserve the right to. make technical changes

LASER. Analog Laser Displacement Transducer. LAM Series. Key-Features: Content:

Wireless Communication Modem HG 761

Original operating instructions Fail-safe inductive sensor GG507S / / 2013

745 Transformer Protection System Communications Guide

Photoelectric sensors and proximity sensors

MLV40 Series Miniature Sensors

ITP14. Universal process indicator. User guide

Distance sensors. System description. Distance measurement using triangulation

V 18 Laser No frills performance: long ranges, high speeds with precision

Parameter Value Unit Notes

Distance Sensors BOD 26K.... with optional Master-Slave-Mode

C Mono Camera Module with UART Interface. User Manual

Features. Description. General Specifications. VS Series Inclinometer : Dual Axis, RS232 and Analogue Output

High power radio transmission module MR03 type

M18 DC Photoelectric Switches FA

2F. No.25, Industry E. 9 th Rd., Science-Based Industrial Park, Hsinchu, Taiwan Application Note of OGM220, AN001 V1.8

Online data sheet VT12T-2P410 V12-2 CYLINDRICAL PHOTOELECTRIC SENSORS

Operating Instructions

V 12-2 Miniature photoelectric switches: innovations in M12 housings

User Manual Laser distance sensor. series OWLE. Welotec GmbH Zum Hagenbach Laer Manual_OWLE _EN 1/20

Select datum Page backward in parameter list

7.2 DV1311.L08 and DV1311.L12

User manual. Inclinometer with Analog-RS232-Interface IK360

Power Torque Meter 1. Basic technical specifications

INPROX sensors. displacement MLS compact ccd-laser distance sensor

suppression, insensitive to optical interference, sensor E photoelectric switch, areas Zone 2 (gas) and Zone 22 (non-conductive dust).

Compact Sensors - S8 Series. Compact size and high performance for the most challenging detection applications

Compact Sensors - S8 Series. Compact size and high performance for the most challenging detection applications

Operating instructions Contrast sensor O5K / / 2016

CD4 Series with linear image sensor and electronic shutter provides accurate measurement.

ITP16. Temperature indicator. User guide

GEMÜ 1242 Electrical position indicator

Arduino Arduino RF Shield. Zulu 2km Radio Link.

Tri-Linear Series: BMT-2098C-A User Manual

SPECTRO Series SPECTRO-3-FIO-UV-SL. Design. SPECTRO-3 Series True Color Sensors. Product name: Accessories: (p. 8-11)

METEOROLOGICAL INSTRUMENTS

Exercise 3: Serial Interface (RS232)

TFmini Infrared Module Specification

STX Stair lighting controller.

Making Industries Smarter

Retro-Reflex Sensors. Application examples:

DS500/DT500 Laser sensor measures distances to 30 m on black material in proximity mode

SIMPLY PRECISE PRELIMINARY. Preliminary product overview - LAK encoder. LAK 1 Absolute linear encoder with signal control

PHOTOELECTRIC SENSORS. Online data sheet

Photoelectric Series 28 Rectangular

HURRICANE Radio Modem. FULL DUPLEX Radio MODEM

MADEinUSA OPERATOR S MANUAL. RS232 Interface Rev. A

SUPPLY NETWORK ANALYZER CVM-96 SERIES

EE 314 Spring 2003 Microprocessor Systems

USER MANUAL SATEL i-link I/O-converter Version 1.6

luxcontrol lighting control system basicdim basicdim ILD 16DPI 69f Compact control module with ambient light sensor and motion sensor

DS 500/DT 500 Laser sensor measures distances to 18 m on black material in proximity mode

I-7088, I-7088D, M-7088 and M-7088D User Manual

SMARTALPHA RF TRANSCEIVER

SPECTRO Series SPECTRO-3-UV-SL. Design. SPECTRO-3 Series True Color Sensors. Product name:

SOLAR-360 : 360 Inclinometer, RS232 or RS485 Output

Operating instructions Diffuse reflection sensor with background suppression. OJ51xx laser / / 2010

ST600 TRANSMITTER OPERATING INSTRUCTIONS

ivu Plus Quick Start Guide P/N rev. A -- 10/8/2010

VersaPoint I/O Module

LH Series Sensor Configurator Software User Manual rev. D 1/11/2012

Online data sheet WSE9LC-3P2436A00 W9L-3

INSTRUCTION MANUAL. IBRit - rf1 - usb PC - Station for wireless Data transmission. M e s s t e c h n i k. Messtechnik GmbH & Co.

SIMATIC Ident RFID systems SIMATIC RF310R special version Scanmode Compact Operating Instructions

VersaPoint I/O Module

10 to 30 VDC (10% max. permissable ripple peak-to-peak)

Digital electronic module 4DO DC24V/2A HF (6ES7132-4BD30-0AB0) SIMATIC

Compact Sensors - S8 Series. Compact size and high performance for the most challenging detection applications

INSTALLATION MANUAL FOR RADIO CONTROL SESAM 6099 TRANSMITTER

Laser diffuse reflection light scanner with background suppression. Dimensioned drawing

Ultrasonic sensors. Reliable on almost all surfaces. UT 20 from Page 548. UT 12 from Page 564. UT/UM 18 from Page 568

Original operating instructions Fail-safe inductive sensor GM504S / / 2010

Back to. Communication Products Group. Technical Notes. Local/Remote Control, 9300 Series

IP 251 Universal Signal Converter SSI parallel RS232 parallel SSI RS232

Contrast Sensors. SICK The pioneer in contrast sensors for more than 60 years

The "FISH" Quad Hand Sensor

Transcription:

A1P05 A1P16 A2P05 A2P16 Luminescence Sensors Operating Instruction SAP-No. 80204 Stand: 05.07.2012

2 Index 1. Proper Use 3 2. Safety Precautions 3 3. LED Warning 3 4. EC Declaration of Conformity 3 5. Technical Data 4 5.1. Connection Diagram 5 5.2. Housing Dimensions 5 5.3. Control Panel 5 5.4. Complementary Products 6 6. Installation Instructions 6 7. Commissioning 7 7.1. General Device Information 7 7.2. Factory Default Settings 7 8. Function description 7 8.1. Switching the Output Stage to and from PNP, NPN and Push-Pull 7 8.2. Setting the Switching Threshold with the Teach-In Function 8 8.3. Checking for Correct Function 11 8.4. Readjusting the Switching Threshold with the Key Potentiometer 11 8.5. Delay Times: On-Delay and Off-Delay 11 8.6. Trigger Function at Pin 5 12 8.7. Returning All Sensor Settings to their Default Values 12 8.8. Continuous Read-Out of Intensity Values via the Interface 13 9. Interface 13 10. Maintenance Instructions 20 11. Proper Disposal 20

3 1. Proper Use This wenglor product has to be used according to the following functional principle: Luminescence Sensors emit UV light with a wavelength of 380 nm. If the emitted light strikes a luminescent object, it reflects light within a visible wavelength range of 420 750 nm in accordance with the utilized luminescent substance. This fluorescent effect is exploited by the Luminescence Sensor in order to detect markings which are invisible to the human eye during daylight hours. 2. Safety Precautions This operating instruction is part of the product and must be kept during its entire service life. Read this operating instruction carefully before using the product. Installation, start-up and maintenance of this product should only be carried out by trained personal. Tampering with or modifying the product is not permissible. Protect the product against contamination during start-up. These products are not suited for safety applications. 3. LED Warning Observe all applicable standards and safety precautions. Caution UV radiation from this product. UV RADIATION FROM THIS PRODUCT RISK GROUP 2 PRODUCT EN62471: 2008 4. EC Declaration of Conformity The products are developed, constructed and manufactured according to the directive 2004/108/EC. The following international standards and specifications apply: EN 60947-5-2:2007 Low-voltage switchgear and controlgear Part 5-2: Control circuit devices and switching elements Proximity switches Other applicable standards for use must be taken into consideration as well. RoHS

4 5. Technical Data Order-No. A1P05 A1P16 A2P05 A2P16 Working Range 30 50 mm 16 20 mm 30 50 mm 16 20 mm Working Distance 40 mm 18 mm 40 mm 18 mm Receiver Filter GG 420 GG 420 OG 570 OG 570 Receiving Range 420 750 nm 420 750 nm 570 750 nm 570 750 nm Switching Hysteresis < 1 % < 1 % < 1 % < 1 % Light Source UV-Light UV-Light UV-Light UV-Light Wave Length 380 nm 380 nm 380 nm 380 nm Service Life (Tu = +25 C) 100000 h 100000 h 100000 h 100000 h Risk Group (EN 62471) 2 2 2 2 max. Ambient Light 10000 Lux 10000 Lux 10000 Lux 10000 Lux Light Spot Diameter 5 mm 3 mm 5 mm 3 mm Power Supply 10 30 V DC 10 30 V DC 10 30 V DC 10 30 V DC Power Consumption < 50 ma < 50 ma < 50 ma < 50 ma Switching Frequency 2500 Hz 2500 Hz 2500 Hz 2500 Hz Switching Frequency 200 µs 200 µs 200 µs 200 µs ON-/OFF-Delay 0 10 ms 0 10 ms 0 10 ms 0 10 ms Time Delay 0 100 ms 0 100 ms 0 100 ms 0 100 ms Temperature Drift < 1 % < 1 % < 1 % < 1% Temperature Range 25 60 C 25 60 C 25 60 C 25 60 C Switching Outputs 2 2 2 2 Switching Output Voltage Drop 1,5 V 1,5 V 1,5 V 1,5V Switching Output / Switching Current 200 ma 200 ma 200 ma 200 ma Short Circuit Protection yes yes yes yes Reverse Polarity Protection yes yes yes yes Lockable yes yes yes yes Teach Mode ZT, DT, TP ZT, DT, TP ZT, DT, TP ZT, DT, TP Interface RS-232 RS-232 RS-232 RS-232 Baud Rate 38400 Bd 38400 Bd 38400 Bd 38400 Bd Digital Inputs 2 2 2 2 Adjustment Teach-In Teach-In Teach-In Teach-In Housing Plastic Plastic Plastic Plastic Protection Mode IP67 IP67 IP67 IP67 Connection M12 1, 8-pin M12 1, 8-pin M12 1, 8-pin M12 1, 8-pin Protection Class III III III III ZT: Two-Point Teach-In DT: Dynamic Teach-In TP: Key Potentiometer

5 5.1. Connection Diagram 736 + 10 to 30 V supply power A Switching output (normally open) Ā Switching output (normally closed) RxD/W Interface input lead W: Trigger input TxD Interface output lead T External Teach-In input Minus S Shield 5.2. Housing Dimensions 1 = Transmitter Diode 2 = Receiver Diode 5.3. Control Panel A ON-Delay OFF-Delay Trigger RS-232 TEACH DUAL TEACH DYN POTI RUN Ý = Minus key (with LED) = Output switching status display = Plus key (with LED) = On-delay = Off-delay = Trigger mode operation = Interface operation = Two-Point Teach-In = Dynamic Teach-In = Potentiometer function = Run function = Rotary selector switch

6 5.4. Complementary Products Suiting Connection Technology No. 380 Suiting Mounting Technology No. 80 S01 Interface Cable S232W3 6. Installation Instructions During use of the Sensors, applicable electrical and mechanical regulations, standards and safety precautions must be adhered to. The Sensor must be protected against mechanical influences. These Sensors are not suitable for safety applications! The Sensor must be securely mounted during operation. A1P16 A2P16 A1P05 A2P05 18 mm 90 40 mm 90

7 7. Commissioning 7.1. General Device Information The wenglor AxP luminescence Sensor is available in two different versions as regarding the receiver filter. The A1Pxx is equipped with a type GG420 receiver filter which allows blue to pass, and the A2Pxx with a type OG570 receiver filter which allows yellow-green to pass. The AxP16 series has a working distance of 18 mm, and the AxP05 series has a working distance of 40 mm. Applications: Sensor Receiver Filtering Applications Working Distance A1P05 420 nm Blue luminescing surfaces 40 mm A2P05 570 nm Yellow-green luminescing surfaces 40 mm A1P16 420 nm Blue luminescing surfaces 18 mm A2P16 570 nm Yellow-green luminescing surfaces 18 mm Table 1 7.2. Factory Default Settings Function On-delay Off-delay Output stage Teach-In mode for external Teach-In Automatic intensity read-out via RS-232 Factory Default Setting off off PNP Two-Point off Table 4 8. Function description 8.1. Switching the Output Stage to and from PNP, NPN and Push-Pull wenglor AxP luminescence Sensors are equipped with programmable output stages. Either PNP, NPN or Push-Pull can be selected. All outputs are reconfigured when the output stage is switched. Activating the Output Stage Setup Mode Set the rotary selector switch Ý to Poti Press and hold the plus and minus keys è The LEDs at the plus and minus keys lights up è The LEDs at the plus and minus keys go out after 1 second è The switching status indicator blinks Release both keys, namely and è The currently selected output stage operating mode is displayed (see Table 1 ) è Depending upon the Sensor s current switching status, the switching status indicator blinks rhythmically after approximately 2 seconds (output switched), or lights up continuously with brief interruptions (output not switched).

8 Output Stage Selection Indicator Output stage LED at minus key LED at plus key NPN on off PNP off on Push-Pull on on Table 2 Checking the Momentary Setting Activate the output stage setup mode (see Activating the Output Stage Setup Mode on page 7) è The momentary setting is indicated by the LEDs at the keys in accordance with table 1 Activating the PNP Mode Press the plus key Release the plus key è The LED at the plus key lights up è The LED at the minus key is off è The PNP mode is activated Activating the NPN Mode Press the minus key Release the minus key è The LED at the plus key is off è The LED at the minus key lights up è The NPN mode is activated Activating the Push-Pull Mode Simultaneously press the plus and minus keys Simultaneously release the plus and minus keys è The LED at the plus key lights up è The LED at the minus key lights up è The Push-Pull mode is activated Exiting the Setup Mode Set the rotary selector switch Ý to RUN 8.2. Setting the Switching Threshold with the Teach-In Function With the help of integrated Teach-In technology, the Sensor automatically calculates appropriate settings based upon currently acquired values and saves them to memory after the corresponding key has been activated, or after an external control signal has been received. Two-Point Teach-In The marking to be recognized is first taught into the Sensor in two steps, and the background is taught in subsequently. The Sensor then automatically calculates the ideal switching threshold based upon these two values. The brightness relationship of the two intensities is irrelevant as far as switching characteristics are concerned. Sensor output A is activated when the Sensor recognizes the intensity value which was taught in first. Sensor output A is deactivated when the Sensor recognizes the intensity value which was taught in second.

9 Teach in the first intensity value: Set the rotary selector switch Ý to TEACH DUAL Align the Sensor spot to the marking Press and hold the plus key è The LED at the plus key lights up è The LED at the plus key goes out after 1 second and the output switching status indicator A blinks The LED at the plus key lights up è The LED at the minus key blinks è The intensity value of the marking is saved to buffer memory Teach in the second intensity value: Align the Sensor spot to the background Briefly press the minus key and then release è The switching threshold is calculated and saved to memory è The LED at the minus key stops blinking Check for correct function If the difference between the two acquired intensity values is too small, the output switching status indicator A blinks rapidly for approximately 3 seconds, and switching thresholds are not updated. Dynamic Teach-In All intensity values from the background and the marking are continuously acquired with this function. The ideal switching threshold is calculated based upon these values. This function is intended for applications where the objects to be scanned move continuously at a constant speed, and cannot be brought to a standstill within the production process. Example 1: Example 2: Recognition of luminescent adhesive strips on unprinted packaging material, which is fed in a continuous fashion: when Teach-In operation is initialized, the spot must be aligned to the background. Recognition of luminescent markings on rapidly rotating parts: dynamic Teach-In operation can be initialized regardless of spot alignment. Initialise recording mode operation: Set the rotary selector switch Ý to TEACH DYN Press and hold the plus key è The LED at the plus key lights up è The LED at the plus key goes out after 1 second and the output switching status indicator A blinks Release the plus key è The LED at the minus key blinks: recording mode operation is active è Intensity values are continuously recorded Exit recording mode operation: Briefly press the minus key and then release è Recording is stopped è The switching threshold is calculated and saved to memory Check for correct function If the difference between the two acquired intensity values is too small, the output switching status indicator A blinks rapidly for approximately 3 seconds, and switching thresholds are not updated.

10 External Teach-In If the control panel is inaccessible, the Sensor can be configured via the external Teach-In input (pin 1). The last Teach-In mode selected at the control panel is always active (i.e. Two-Point or dynamic Teach-In). External Two-Point Teach-In Teach in the first intensity value: Teach in the second intensity value: Set the rotary selector switch Ý to RUN Align the Sensor spot to the background Apply a voltage of 10 to 30 V to external Apply a voltage of 10 to 30 V to external Teach-In input T (pin 1) for at least 0.3 s Teach-In input T (pin 1) for at least 0.3 s Disconnect voltage from Teach-In input T (pin 1) Disconnect voltage from Teach-In input T (pin 1) è The LED at the minus key blinks è The switching threshold is calculated è The intensity value of the marking is and saved to memory saved to buffer memory è The LED at the minus key stops blinking Check for correct function If the difference between the two acquired intensity values is too small, the output switching status indicator A blinks rapidly for approximately 3 seconds, and switching thresholds are not updated. External Dynamic Teach-In Objects to be scanned move at a constant speed. If no continuous alternating back and forth between the marking and the background occurs during recording, the spot must be aligned to the background when the Teach-In mode is first initialised. Initialise recording mode operation: Set the rotary selector switch Ý to RUN Apply a voltage of 10 to 30 V to external Teach-In input T (pin 1) for at least 0.3 s Disconnect voltage from Teach-In input T (pin 1) è The LED at the minus key blinks: recording mode operation is active è Intensity values are continuously recorded Exit recording mode operation: Apply a voltage of 10 to 30 V to external Teach-In input T (pin 1) for at least 0.3 s Disconnect voltage from Teach-In input T (pin 1) è Recording is stopped è The switching threshold is calculated and saved to memory Check for correct function If the difference between the two acquired intensity values is too small, the output switching status indicator A blinks rapidly for approximately 3 seconds, and switching thresholds are not updated.

11 8.3. Checking for Correct Function Move the object to be scanned è Sensor output A is activated when the Sensor s spot is aligned to the marking è Sensor output A is deactivated when the spot is aligned to the background If necessary, the switching threshold can be readjusted with the potentiometer function 8.4. Readjusting the Switching Threshold with the Key Potentiometer The switching threshold can be manually readjusted with the help of a key potentiometer. The LEDs at the plus and minus keys function as a light scale, and indicate the intensity range within which the configured switching threshold lies. Aligning the Switching Threshold More Closely to the Marking Set the rotary selector switch Ý to POTI Briefly press the plus key and then release è The switching threshold is shifted one step closer to the marking, or è Press and hold the plus key è The switching threshold is continuously shifted closer to the marking è If the LED at the plus key blinks, the limit stop has been reached in the positive direction Check for correct function Aligning the Switching Threshold More Closely to the Background Set the rotary selector switch Ý to POTI Briefly press the minus key and then release è The switching threshold is shifted one step closer to the background, or è Press and hold the minus key è The switching threshold is continuously shifted closer to the background è If the LED at the minus key blinks, the limit stop has been reached in the negative direction Check for correct function 8.5. Delay Times: On-Delay and Off-Delay Object Time Color Agreement yes no Time on off Delay Time on off Delay Time Adjusting On-Delay Set the rotary selector switch Ý to On-Delay è Current On-Delay is displayed (see Table 1 on page 7) Briefly press the plus key è On-delay is increased Briefly press the minus key è On-delay is decreased Set the rotary selector switch Ý to RUN

12 Adjusting Off-Delay Set the rotary selector switch Ý to Off-Delay è Current Off-Delay is displayed (see Table 1 on page 7) Briefly press the plus key è Off-delay is increased Briefly press the minus key è Off-delay is decreased Set the rotary selector switch Ý to RUN Indication of Delay Time Settings Delay LED at minus key LED at plus key 0 ms* 1 blink, pause, 1 blink Off 1 ms 2 blinks, pause, 2 blinks Off 2 ms 3 blinks, pause, 3 blinks Off 5 ms 4 blinks, pause, 4 blinks Off 10 ms Off 1 blink, pause, 1 blink 20 ms Off 2 blinks, pause, 2 blinks 50 ms Off 3 blinks, pause, 3 blinks 100 ms Off 4 blinks, pause, 4 blinks *Default setting Table 3 8.6. Trigger Function at Pin 5 Set the rotary selector switch Ý to trigger Apply the trigger signal (PNP) to input W (pin 5) è Triggering is executed by a positive signal edge è The Sensor performs a one-time measurement è The outputs are updated once only Disconnect the signal from the trigger input 8.7. Returning All Sensor Settings to their Default Values Sensor settings can be returned to their original factory default values (see Table 4 on page 7) Set the rotary selector switch Ý to RS-232 Simultaneously press the plus and minus keys è The LEDs at both keys start blinking è The LEDs stop blinking after approximately 5 seconds Release both keys The Sensor has been returned to its factory default settings

13 8.8. Continuous Read-Out of Intensity Values via the Interface The Sensor can be configured such that it continuously reads out current intensity values via the interface every 15 ms. Determine whether or not continuous read-out of intensity values is activated. Set the rotary selector switch Ý to RS-232 Switching status indicator Does not blink Blinks Continuous intensity value read-out Deactivated Activated Table 5 Activating Continuous Read-Out of Intensity Values Set the rotary selector switch Ý to RS-232 Press and hold the plus key The LED at the plus key lights up è The LED at the plus key goes out after 1 second and the switching status indicator blinks Release the plus key The switching status indicator continues to blink Continuous read-out of intensity values is now activated Deactivating Continuous Read-Out of Intensity Values Set the rotary selector switch Ý to RS-232 Press and hold the minus key The LED at the minus key lights up è The LED at the minus key goes out after 1 second and the switching status indicator blinks Release the minus key The switching status indicator goes out Continuous read-out of intensity values is now deactivated 9. Interface The Sensor is equipped with an RS-232 interface for communication with a device such as a PC or a controller. The interface utilises a software handshake procedure (see protocol specification below). All Sensor settings can be selected digitally with a PC, and all values generated by the Sensor can be read out at a PC. Interface Configuration Baud rate: 38,400 baud, 8 data bits, no parity, 1 stop bit

14 Connecting the Sensor to a PC, a Controller etc. with the wenglor -S232W3 Plug Adapter Plug connectors included with the wenglor S232W3 plug adapter: 8-pin M12 plug connector for connecting the power supply and the outputs 8-pin M12 socket connector for direct Sensor connection 9-pin M12 sub-miniature socket connector for direct connection to the RS-232 interface at the PC, or the utilized controller Installing the wenglor S232W3 plug adapter: Switch off the power supply Set the rotary selector switch Ý to RS-232 Disconnect the 8-conductor connector cable (S80-xx) from the Sensor Connect the S232W3 plug adapter directly to the Sensor Connect the 8-conductor connector cable (S80-xx) to the plug adapter Connect the 9-pin sub-miniature socket connector to the serial interface at the PC Switch the power supply on Sensor S232W2 Power Supply Outputs RS232 PC or Controller Connecting the Sensor to a PC or a Controller Protocol for Communications via the RS-232 Interface Control Characters Character ASCII HEX Function / 47 2Fh Start character. 46 2Eh Stop bit NAK 21 15h Negative acknowledge BCC 2 Byte qq Checksum Table 6

15 Frame Layout for Data Transmission Transmitting Partner Characters (ASCII) Receiving Partner Frame Segment Start character / (ASCII 47) => Connect Frame header Length information 2 Byte => Connect Frame header Command bytes 2 Byte => Frame header 1 st data byte 2 Byte => Data information User data 2 nd data byte 2 Byte => User data.... => Data information User data n th data byte.. => Data information User data BCC 2 Byte => Frame end Stop bit. (ASCII 46) => Disconnect Frame end Table 7 Connect (frame header): In order to establish a connection with the communications partner, the Sensor transmits the start bit: / (ASCII 47), followed by length information and a command byte for the data bytes. Transmitting Data (user data): After establishing a connection, user data are transmitted. Disconnect (frame end): If the NAK character is transmitted during data transfer, the wenglor Sensor disconnects and establishes a new connection. After all data have been transmitted, the wenglor Sensor transmits the checksum BCC and finally the stop bit:. (ASCII 46). Data Format: The data format for length information, user data and the checksum is always hexadecimal. The following range of ASCII characters may occur: 0 (ASCII 48) 9 (ASCII 57) A (ASCII 65) F (ASCII 70) Example: Data to be transmitted: decimal 123 Decimal Hexadecimal 123d = 7Bh = > Transmitted character string 7 (ASCII 55) B (ASCII 66)

16 Calculating the Checksum BCC The checksum is generated from an EXOR frame operation. Calculation begins with the start bit and ends with the last character of the user data. Example: Transmitted Frame Start character Length Command Data BBC Stop bit / 02 0D 00 59. 2FH 30H 32H 30H 44H 30H 30H 35H 39H 2EH Data ranged utilized for calculation of the checksum Table 8 Start / 2FH = 0010 1111 0 30H = 0011 0000 XOR = 0001 1111 2 32H = 0011 0010 XOR = 0010 1101 0 30H = 0011 0000 XOR = 0001 1101 D 44H = 0100 0100 XOR = 0101 1001 0 30H = 0011 0000 XOR = 0111 1001 0 30H = 0011 0000 Transmitting Frame= /020D0059. (Example) Transmitting Frame Length=10 (in this example); Checksum = 0; n = 1; As long as: n < (Transmitting Frame Lenght - 3) Checksum = Checksum EXOR Transmitting Frame character (n) n = n + 1 End BCC XOR = 0101 1001 è BCC = 59H Setting Sensor Functions with Commands Commands Overview: Function Teach-In Adjust on and Off-Delay Read out intensity value Set up output stages Read out Sensor configuration Change Sensor configuration Query Sensor status Execute Sensor reset Query Sensor version Command T A D O g G W R V Table 9

17 Teach-In: Function Send Frame to the Sensor Response Frame from the Sensor Two-Point object /020T0049. /030MTa0qq. Two-Point background /020T0148. /030MTa1qq. Dynamic start /020T024B. /030MTa2qq. Dynamic stop /020T034A. /030MTa3qq. Potentiometer Function -1 /020T044D.. /030MTa4qq. Potentiometer Function +1 /020T054C. /030MTa5qq. Potentiometer Function -16 /020T064F. /030MTa6qq. Potentiometer Function +16 /020T074E. /030MTa7qq. a: Potentiometer limit stop = 1, otherwise 0 qq: Checksum Table 10 Adjust On and Off-Delay: Function Send Frame to the Sensor Response Frame from the Sensor Adjust On-Delay /040A01bbqq. /030MA0111. Adjust Off-Delay /040A00bbqq. /030MA0010. bb: Delay value from 0 to 7 qq: Checksum Table 11 Read Out Intensity Value: Function Send Frame to the Sensor Response Frame from the Sensor Query single value /020D0059. /0E0Dggggoooouuuuaaqq. Activate continuous read-out /020D0158. /030MD0114. /040Kggggqq.* Deactivate continuous read-out /020D025B. /030MD0217. gggg: Intensity value Length: 4 bytes oooo: Upper threshold Length: 4 bytes uuuu: Lower threshold Length: 4 bytes aa: Status of switching outputs Bit 0: output A, bit 1: output Ā *: Every 15 ms continuously qq: Checksum Table 12

18 Change Sensor Output Stage Setting: The Sensor s output stage setting can be changed with this command. Function Send Frame to the Sensor Response Frame from the Sensor PNP outputs /020O0153. /030MO011F. NPN outputs /020O0250. /030MO021C. Push-Pull outputs /020O0351. /030MO031D. Table 13 Read Out Sensor Configuration: The entire Sensor configuration can be read out with this command. Function Send Frame to the Sensor Response Frame from the Sensor Read out configuration /000g78. /0E0gaaaabbbbccddeeffqq. Table 14 aaaa: bbbb: cc: dd: ee: ff: qq Upper threshold Lower threshold Teach-In mode for external Teach-In 02: Dynamic Teach-In 03: Two-Point Teach-In Selected Off-Delay 00-07: 0-1-2-5-10-20-50-100 ms Selected On-Delay 00-07: 0-1-2-5-10-20-50-100 ms Output stage programming 01: PNP 02: NPN 03: Push-Pull : Checksum

19 Change Sensor Configuration: The entire Sensor configuration can be changed with this command. Function Send Frame to the Sensor Response Frame from the Sensor Change configuration /100Gaaaabbbbccddeeffqq. /030MG0016. Table 15 aaaa: bbbb: cc: dd: ee: ff: qq: Upper threshold Lower threshold Teach-In mode for external Teach-In 02: Dynamic Teach-In 03: Two-Point Teach-In Selected Off-Delay) 00-07: 0-1-2-5-10-20-50-100 ms Selected On-Delay 00-07: 0-1-2-5-10-20-50-100 ms Output stage programming 01: PNP 02: NPN 03: Push-Pull Checksum Query Sensor Status: Function Send Frame to the Sensor Response Frame from the Sensor Query status /000W48. /0A0W000000ddeeqq. Table 16 dd: ee: qq: Off-delay value On-delay value Checksum Execute Sensor Reset: Function Send Frame to the Sensor Response Frame from the Sensor Execute reset /000R4D. a: Software version bb: Sensor group (luminescence Sensor: OC) cc: Sensor type (A1P05: 01, A1P16: 02, A2P05: 03, A2P16: 04) qq: Checksum /070V8a:bbccqq. /050ROK0007C. /030MR4D73. Table 17

20 Query Sensor Version: Function Send Frame to the Sensor Response Frame from the Sensor Query Sensor version /000V49. /070V8a:bbccqq. a: Software version bb: Sensor group (luminescence Sensor: OC) cc: Sensor type (A1P05: 01, A1P16: 02; A2P05: 03, A2P16: 04) qq: Checksum Table 18 Error Messages: Function Send Frame to the Sensor Response Frame from the Sensor Error frame Faulty data /030Xabbqq. Table 19 If the Sensor receives faulty data, for example an incorrect checksum or an unknown command, it responds with an error message. a: Last valid command bb: Last valid command set qq: Checksum 10. Maintenance Instructions This wenglor Sensor is maintenance-free. It is advisable to clean the lens and the display, and to check the plug connections at regular intervals. Do not clean with solvents or cleansers which could damage the device. 11. Proper Disposal wenglor sensoric gmbh does not accept the return of unusable or irreparable products. Respectively valid national waste disposal regulations apply to product disposal.

21