Setting the Outputs to the Desired Colors Outputs 1, 2, 3 • Set the rotary selector switch Ý to Teach A1, Teach A2, Teach A3 • Press and hold the plus key è The LED at the plus key li
Trang 1FP11
Farbsensor
Color Sensor
Trang 2Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
Trang 3as colors of surfaces in reflex mode operation The various color Sensors are differentiated by configuration and type of utilized white light source
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 has only to 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 Device Features
3.1 Device Types
Application: Colored surfaces Application: Transparent objects
Trang 4Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
3.2 Connection Diagram
+ 10 to 30 V supply powerA1/ 1 Switching output A1A2/ 2 Switching output A2A3/ 3 Switching output A3RxD/W RxD: Interface Input Cable
W: Trigger-InputTxD/T TxD: Interface Output Cable
• EN 50 081 Electromagnetic compatibility, generic standard for interference emission
Part 1 Residential, business and commercial areas Part 2 Industrial applications
• EN 50 082 Electromagnetic compatibility, generic standard for interference immunity
Part 1 Residential, business and commercial areas
• EN 60 947-5-2 Low-voltage switchgear, control switches/proximity switches
Other applicable standards for use must be taken into consideration as well
50 V
156
Trang 5FT: Window Teach-In
Trang 6Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
3.6 Complimentary Products (see catalog)
wenglor offers Connection Technology providing field wiring means
Suiting Mounting Technology No
= Minus key (with LED)
= Plus key (with LED)
A1 = Switching status display for output 1
A2 = Switching status display for output 2
A3 = Switching status display for output 3
ON Delay = On Delay OFF Delay = Off Delay Trigger = Trigger mode
RS-232 = Interface operating mode
TEACH A3 = Teach output 3 TEACH A2 = Teach output 2 TEACH A1 = Teach output 1 RUN = Run-function
Ý = Rotary selector switch
3.8 Mounting Instructions
All applicable electrical and mechanical regulations, standards, normative documents and safety rules must be observed during operation of the Sensors Sensors must be protected against mechanical influences.These Sensors are not suitable for use in safety applications!
The distance between the optic and the surface of the object must be 35 mm
The Sensor must be fixed during the measurements
Trang 8Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
4 Adjustment
4.1 Setting the Outputs to the Desired Colors
Outputs 1, 2, 3
• Set the rotary selector switch Ý to Teach A1, Teach A2, Teach A3
• 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 display for output 1, output 2, output 3 starts blinking
• Release the plus key
è Color is taught in to output A1, A2, A3
• Set the rotary selector switch Ý to RUN
• Check for correct function
Checking for Correct Function
• If the Sensor is unable to correctly differentiate amongst the selected colors in the actual application, window width must be reduced
• If additional colors need to be recognized at an output to which a color has already been taught in, these can be subsequently taught in to the output
• If the output demonstrates unreliable switching due to erratic measuring conditions, window width must
be increased
Setting Color at Output 1 via External Input Pin 4
Use of the external Teach-Input (Pin 4):
If you use the external Teach-Input (Pin 4) you have to connect a 1 kOhm/1 W-resistor between Pin 4 (external Teach-Input) and Pin 3 (GND)
Do not connect this resistor if you use the serial interface of the Sensor!
This function can only be used for output A1
• Set the rotary selector switch Ý to RUN
• Apply 10…30 V to external Teach-In input T (Pin 4) for a period of 0,3 seconds
• Disconnect voltage from the Teach-In input
è Color is taught in to output A1
• Check for correct function
Subsequent Color Teach-In
This function allows for subsequent Teach-In of further colors in addition to an already taught in color to any given output
Example:
A specific color needs to be recognized However, an additional color or a permissible color deviation needs
to be recognized as well The initial color is taught in to the desired output All other additional colors which also need to be recognized are subsequently taught in to the same output The entire spectrum which lies between the taught in colors is recognized
Trang 9Subsequent Output Teach-In
• Direct the Sensor’s spot at the color to be taught in subsequently
• Set the rotary selector switch Ý to the desired output (Teach A1, Teach A2, Teach A3)
• 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
è The switching status display for the corresponding output A1, A2, A3 blinks slowly
• Release the minus key
è The additional color is taught in to the corresponding output
• Set the rotary selector switch Ý to RUN
• Check for correct function
Setting Window Width
When the color value is taught in, a color recognition window width is established at the same time Window width can be set to one of 7 different values individually for each output Small window width: The wenglor®FPxx color Sensor recognizes extremely fine color differences Large window width: The wenglor® FPxx color Sensor only differentiates amongst color families The window width default is 3, which represents a medium value
Checking the Current Window Width Setting
• Set the rotary selector switch Ý to the desired output (Teach A1, Teach A2, Teach A3)
• 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
è The switching status display for the corresponding output A1, A2, A3 blinks slowly
è The switching status display for the corresponding output A1, A2, A3 starts blinking rapidly after
approximately 3 seconds
• Release the minus key
è Observe the display which indicates the current window width setting and refer to table 1
• Check window width
• Set the rotary selector switch Ý to RUN
Trang 10Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
Window Width Setting Displays
0 (extremely fine color difference are
3 (default setting) 4× blinks, pause, 4× blinks off
6 (differentiates amongst color
Table 1
Adjusting Window Width
• Set the rotary selector switch Ý to the desired output (Teach A1, Teach A2, Teach A3)
• 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
è The switching status display for the corresponding output A1, A2, A3 blinks slowly
è The switching status display for the corresponding output A1, A2, A3 starts blinking rapidly after
approximately 3 seconds
• Release the minus key
è The setup mode is now activated
è Observe the display which indicates the current window width setting and refer to table 1
• Briefly press the minus key
è The window width for output A1, A2, A3 becomes smaller
• Check for correct function
• Briefly press the plus key
è The window width for output A1, A2, A3 becomes larger
• Set the rotary selector switch Ý to RUN
è The new setting is saved to memory
• Check for correct function
Trang 11Exiting the Setup Mode
• Set the rotary selector switch Ý to RUN
è The new setting is saved to memory
or
• 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 display for the ing output A1, A2, A3 starts blinking
correspond-• Release the minus key
è The new setting is saved to memory
or …
• Do not activate any keys for a period of 60 seconds
è The setup mode is exited without saving any changed settings to memory
Delay
Object
Adjusting On-Delay
• Set the rotary selector switch Ý to on-delay
è Observe the display which indicates the current on-delay setting and refer to table 2
• 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
• Check for correct function
Trang 12Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
Delay Time Setting Displays
4.2.2 Activating/Deactivating Outputs
Deactivating and Activating Output 2 and Output 3
Outputs 2 and 3 of the wenglor® FPxx color Sensor can be deactivated
Switching frequency for the remaining outputs can be increased in this way
Output 1 cannot be deactivated! After deactivation/activation of one or several outputs, the other active outputs have to be teached-in anew.
Checking Output 2 for Activation/Deactivation
• Set the rotary selector switch Ý to Teach A2
è The switching status display for output 2 does not blink
è Output 2 is activated
è The switching status display for output 2 blinks rapidly
è Output 2 is deactivated
Trang 13Deactivating Output 2
• Set the rotary selector switch Ý to Teach A2
• 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
è The switching status display for output 2 blinks slowly
è The switching status display for output 2 starts blinking rapidly after approx 10 sec.
• Release the plus key
è Output 2 is deactivated
è The switching status display for output 2 blinks rapidly
• Set the rotary selector switch Ý to RUN
Activating Output 2
• Set the rotary selector switch Ý to Teach A2
è The switching status display for output 2 blinks rapidly
• 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
è The switching status display for output 2 blinks slowly
• Release the plus key
è Output 2 is activated
• Set the rotary selector switch Ý to RUN
Checking Output 3 for Activation/Deactivation
• Set the rotary selector switch Ý to Teach A3
è The switching status display for output 3 does not blink
è Output 3 is activated
è The switching status display for output 3 blinks rapidly
è Output 3 is deactivated
Deactivating Output 3
• Set the rotary selector switch Ý to Teach A3
• Press and hold the plus key
è The LED at the plus key lights up
Trang 14Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
Activating Output 3
• Set the rotary selector switch Ý to Teach A3
è The switching status display for output 3 blinks rapidly
• 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
è The switching status display for output 3 blinks slowly
• Release the plus key
è Output 3 is activated
• Set the rotary selector switch Ý to RUN
4.2.3 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 with a positive signal edge
è The Sensor performs a one-time measurement
è The outputs are updated once only
• Disconnect the signal from the trigger input
4.3 Interface and Software-Tools
Interface
The wenglor® FPxx color Sensor is equipped with an RS-232 interface for communication with a device such as
a PC or a controller The interface utilizes 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 In this way, red, green and blue content of the color to be recognized can be read out digitally as well
Software-Tools
The following software tools are available from the wenglor® website:
• lnstall_FP_Demo.exe for the control of all interface functions
• DLL for direct integration into user-specific applications
Download address: www.wenglor.com
Interface Configuration
38.400 baud, 8 data bits, no parity, 1 stop bit
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 subminiature socket connector for direct connection to the RS-232 interface at the PC, or the utilized controller
Trang 15Connecting the Sensor to a PC, a Controller etc with the wenglor ® S232W3 Plug Adapter
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 subminiature socket connector at the PC to the serial interface
• Switch the power supply on
RS-232
Protocol for Communications via the RS-232 Interface
Frame Layout for Data Transmission
length information 2 bytes => establish connection frame header
Trang 16Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
Trang 17Adjust Window Width:
Adjust On- and Off-Delay:
Read Out RGB Color Values:
rrrr: 10 bit red color information Length: 4 Byte
gggg: 10 bit green color information Length: 4 Byte
bbbb: 10 bit blue color information Length: 4 Byte
aa: Status of switching outputs bit 0: output 0, bit 1: output 1, bit 2: output 2
Read Out Thresholds:
RSUAGSOAGSOEGSUEGSUABSOABSOEBSUEBSUAAAVVRSOARSOERSUERSUAGSOAGSOEGSUEGSUABSOABSOEBSUEBSUAAAVVRSOARSOE
Trang 18Sensors for your success www.wenglor.com Sensors for your success www.wenglor.com
RSOA: Upper threshold off, red Length: 4 Byte
RSOE: Upper threshold on, red Length: 4 Byte
RSUE: Lower threshold on, red Length: 4 Byte
RSUA: Lower threshold off, red Length: 4 Byte
GSOA: Upper threshold off, green Length: 4 Byte
GSOE: Upper threshold on, green Length: 4 Byte
GSUE: Lower threshold on, green Length: 4 Byte
GSUA: Lower threshold off, green Length: 4 Byte
BSOA: Upper threshold off, blue Length: 4 Byte
BSOE: Upper threshold on, blue Length: 4 Byte
BSUE: Lower threshold on, blue Length: 4 Byte
BSUA: Lower threshold off, blue Length: 4 Byte
Query Sensor Status:
aa: Window width, output 1
bb: Window width, output 2
cc: Window width, output 3
dd: Off-delay value
ee: On-delay value
Execute Sensor Reset:
a: Software version
bb: Sensor group (Color Sensor: 07)
cc: Sensor type (FP04: 01, FP11: 02)
qq: Checksum (FP04: 7BH, FP11: 78H)
Trang 19Deactivat/Activate Output:
Query Sensor Version:
a: Software version
bb: Sensor group (Color Sensor: 07)
cc: Sensor type (FP04: 01, FP11: 02)
qq: Checksum (FP04: 7BH, FP11: 78H)
Transfer error message:
On receipt of incorrect data, e.g wrong checksum or unknown command, the Sensor sends back an error message
a: last valid command
bb: last valid addition
qq: Checksum
5 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