Table of Contents

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for Sensopart Visor

  • Page 2 – even in part – nor may illustrations, drawings, or the layout be copied without prior written permission from SensoPart Industriesensorik GmbH. We accept no responsibility for printing errors or mistakes which occurred in drafting these document.
  • Page 3: Table Of Contents

    2.3 Network connection, procedure / Troubleshooting - Network connection 2.4 Used Ethernet - Ports 2.5 Access to VISOR® through network 2.6 Access to VISOR® through the Internet / World Wide Web 2.7 VISOR® electrical connection on the network 3 VISOR® configuration 4 Ethernet TCP/IP, port 2005 / 2006 4.1 Example: Data output from VISOR®...
  • Page 4: Table Of Contents

    ® VISOR Communications manual 10 EtherNet/IP 10.1 Rockwell CompactLogixTM configuration example 10.2 Rockwell Studio 5000 configuration example 10.2.1 Create new project 10.2.2 Select EDS file 10.2.3 Load the project onto the PLC 10.2.4 Mapping of output data 10.3 PLC example programs 11 Appendix 11.1 Telegram, Data Output tab...
  • Page 5: Information On This Document

    ® VISOR Communications manual 1 Information on this document 1.1 What the symbols mean Warnings CAUTION / WARNING / DANGER This symbol is used to indicate a potentially hazardous situation that, if not avoided, could result in death or serious injury.
  • Page 6: Additional Documents

    Download area of the SensoPart website. ® VISOR User manual ® VISOR Communication manual ® VISOR Operating manual Furthermore, these documentsis part of the VISOR® software installation and can be found in the sub directory "\Documentation\" and the Windows Start,Menu. Page 6 EN 06814859 - 1/24/2019-00...
  • Page 7: Network Connection

    / gateway ® SensoFind/Active sensors will show a list with all the VISOR vision sensors that are found on the same network segment on the PC on which SensoFind is running. To update the list, press the "Find"...
  • Page 8: Network Connection, Procedure / Troubleshooting - Direct Connection

    Communications manual 2.2 Network connection, procedure / Troubleshooting - Direct connection ® Establishing a direct Ethernet connection between the VISOR vision sensor and the PC Fig. 1: Direct connection sensor / PC, procedure / troubleshooting Page 8 EN 06814859 - 1/24/2019-00...
  • Page 9: Network Connection, Procedure / Troubleshooting - Network Connection

    Communications manual 2.3 Network connection, procedure / Troubleshooting - Network connection ® Establishing an Ethernet connection between the VISOR vision sensor and the PC through a network. Fig. 2: Connection via network sensor / PC, proceeding / troubleshooting 06814859 - 1/24/2019-00...
  • Page 10: Used Ethernet - Ports

    This is only the case if these ports were previously explicitly blocked in the company network or by a firewall installed on the PC. ® The following ports are used for communications between the VISOR Software (PC) and the ®...
  • Page 11 ® VISOR Communications manual ® 2.5 Access to VISOR through network Exemplary values for IP, etc. ® Access to VISOR 1 from PC 1 if on the same subnet Via SensoFind (/find) ® Access to VISOR 2 from PC 1 if on a different subnet Only if: Gateway is set correctly in Sensor 2 (here to 192.168.30.1) - and...
  • Page 12: Access To Visor® Through The Internet / World Wide Web

    ® VISOR Communications manual ® Fig. 3: Access to VISOR through network, same or other subnet ® 2.6 Access to VISOR through the Internet / World Wide Web Exemplary values for IP, etc. Access from PC 1 (company network 1), through the Word Wide Web, to company network 2 to ®...
  • Page 13: Visor® Electrical Connection On The Network

    On router 2, open the ports that the sensor will be using (please refer to section: Used Ethernet - Ports). ® Fig. 4: Access to VISOR through the Internet / World Wide Web ® 2.7 VISOR electrical connection on the network ®...
  • Page 14 ® VISOR Communications manual ® Fig. 5: VISOR electrical connection on the network Page 14 EN 06814859 - 1/24/2019-00...
  • Page 15: Visor® Configuration

    3 VISOR configuration In order to configure the vision sensor, follow the steps below. Settings in SensoFind ® Start the VISOR  software . SensoFind are opened. Click on the "Find" button. The vision sensor will be listed in the "Active sensors"...
  • Page 16 ® VISOR Communications manual Open SensoConfig by selecting the sensor you want and then clicking on the "Configure" button. Confirm the following dialog box with "OK" to stop SensoFind and start the configuration in SensoConfig. Page 16 EN 06814859 - 1/24/2019-00...
  • Page 17 ® VISOR Communications manual Select an interface in SensoConfig Use the "Output" setup step to open the "Interfaces" tab. Enable the interface by enabling the corresponding checkbox in the "Enabled" column. In the "Setting 3" column, select the format for the data output.
  • Page 18 ® VISOR Communications manual Click on the "Start sensor" setup step. The data will be transferred to the vision sensor and the vision sensor will be started. Page 18 EN 06814859 - 1/24/2019-00...
  • Page 19: Ethernet Tcp/Ip, Port 2005 / 2006

    (active) to the sensor, and then receives the data. Handling, settings ® 4.1 Example: Data output from VISOR to PC / PLC Step 1: After the job with all necessary detectors, if alignment, etc. is set, the Ethernet interface for data output is activated here and, if necessary, parameterized.
  • Page 20 Ethernet. Fig. 8: Data output, Ethernet Tool / 1 ® You will need to enter the IP address of the VISOR and the correct port in order to receive data. ® The IP address of the VISOR can be found in SensoFind.
  • Page 21 Therefore, the following settings are made in Hercules: Module IP = 192.168.60.199, Port = 2005. All other settings remain in the default values. Clicking on the "Connect" button will establish ® a connection to the VISOR , and the connection will be shown in green letters in the main window.
  • Page 22 Communications manual Fig. 10: Data output, Ethernet Tool / 2 Step 5: ® You will now need to start the VISOR from the PC application with "Start sensor" (later during ® operation, the VISOR will run normally after being turned on and will transmit data if configured).
  • Page 23 ® VISOR Communications manual Fig. 11: Data output, Ethernet, Start sensor 06814859 - 1/24/2019-00 Page 23 EN...
  • Page 24: Example: Commands (Requests) From Pc / Plc To Visor

    Trailer "010" Overall result of Detector 1 (here, a "P" for positive, since test condition: brightness fulfilled) Trailer "xxx" ® 4.2 Example: Commands (requests) from PC / PLC to VISOR ® With acknowledge / data output from VISOR Step 1 For better clarity, the triggered operation is switched to here for Example 2.
  • Page 25 2006 to the VISOR by clicking on the corresponding "Send" button. This ® command is shown in the main window in red letters when being sent. The VISOR responds to 06814859 - 1/24/2019-00 Page 25 EN...
  • Page 26: Example: Job Change From Pc / Plc To Visor

    "ASCII" for better traceability of the examples. In this example, at least two jobs must be saved on the VISOR®. Use the function “Duplicate” to create a job on the basis of an existing job. For easy testing of the job change, adapt the following parameter.
  • Page 27 ® VISOR Communications manual Fig. 16: Data output, Ethernet, Job switch Job 1 Fig. 17: Data output, Ethernet, Job switch, Job 2 Step 2 06814859 - 1/24/2019-00 Page 27 EN...
  • Page 28 In the right window (Port 2006), the command TRG (Trigger, see "Send" below, first line) was ® issued. This is displayed in the main window in red letters with "TRG". The VISOR responds immediately with the "TRGP" acknowledge (repetition of "TRG" command and "P" for positive, in black letters in the right pane) ®...
  • Page 29: Example Beckhoff Cx 1020

    (repetition of "TRG" command and "P" for positive) ® In the left pane (Port2005), after the job has changed to Job 1, the VISOR sends the corresponding result string, which is defined in Data output in Job 1 with "010xxx"! 4.4 Example Beckhoff CX 1020...
  • Page 30: Service / Visualization

    VISOR Communications manual 5 Service / Visualization ® There is a service port (Ethernet TCP/IP port 1998) available for the VISOR vision sensor. This port will be available regardless of how you configure the various steps. 5.1 Backup creation The following telegrams can be used for automatic backups and restores Read job set (ASCII) ®...
  • Page 31: Visor® Telegrams For Profinet And Ethernet/Ip

    ® VISOR Communications manual ® 6 VISOR telegrams for PROFINET and EtherNet/IP ® 6.1 Module 1: "Control" (from controller to VISOR Name in controller "CTRL (3 bytes)" Timing diagrams for VISOR® communication (Page 36) Page 31 EN 06814859 - 1/24/2019-00...
  • Page 32 ® VISOR Communications manual ® 6.2 Module 2: "Status" (from VISOR to controller) Name in PLC "STAT (6 bytes)" 06814859 - 1/24/2019-00 Page 32 EN...
  • Page 33 ® VISOR Communications manual Page 33 EN 06814859 - 1/24/2019-00...
  • Page 34: Module 4: "Request" (From Controller To Visor®)

    Name in PLC "DATA (2 + 8 / 16 / … bytes)" ® 6.4 Module 4: "Request" (from controller to VISOR Name in PLC "REQU (4 + 8 / 16 / … bytes)" 06814859 - 1/24/2019-00 Page 34 EN...
  • Page 35: Module 5: "Response" (From Controller To Visor®)

    ® VISOR Communications manual ® 6.5 Module 5: "Response" (from controller to VISOR Name in PLC "RESP (4 + 8 / 16 / … bytes)" 6.6 Start / end criteria for each telegram Acceptance confirmation Telegram Start condition Execution ("Status" module) ("Control"...
  • Page 36 ® VISOR Communications manual ® 7 Timing diagrams for VISOR communication Case: Trigger ok Fig. 21: Timing Trigger ok Case: Trigger not possible (not ready) Fig. 22: Timing Trigger not ready 06814859 - 1/24/2019-00 Page 36 EN...
  • Page 37 ® VISOR Communications manual Case: Job change ok Fig. 23: Timing Job change ok Case: Job change delayed Fig. 24: Timing Job change delayed Page 37 EN 06814859 - 1/24/2019-00...
  • Page 38 ® VISOR Communications manual Case: Job change not possible (e.g. wrong job number) Fig. 25: Timing Job change not possible Case: Switch to run ok Fig. 26: Timing Switch to run ok 06814859 - 1/24/2019-00 Page 38 EN...
  • Page 39 ® VISOR Communications manual Case: Switch to run not possible Fig. 27: Switch to run not possible Page 39 EN 06814859 - 1/24/2019-00...
  • Page 40 ® VISOR Communications manual 06814859 - 1/24/2019-00 Page 40 EN...
  • Page 41 ® VISOR Communications manual Page 41 EN 06814859 - 1/24/2019-00...
  • Page 42: Request Sequences

    The complete execution of an action cannot be reliably determined based on a low/high transition at READY, since it is possible for there to be long cycle times ® between the PLC and VISOR (e.g., 32 ms) that result in READY never having a low state.
  • Page 43 ® VISOR Communications manual Trigger Request Sequence Page 43 EN 06814859 - 1/24/2019-00...
  • Page 44 ® VISOR Communications manual Change job request sequence 06814859 - 1/24/2019-00 Page 44 EN...
  • Page 45 ® VISOR Communications manual Switch to Run sequence Page 45 EN 06814859 - 1/24/2019-00...
  • Page 46 ® VISOR Communications manual 06814859 - 1/24/2019-00 Page 46 EN...
  • Page 47 ® VISOR Communications manual Sequence for requests via request/response module Telegrams: Availability and supported interfaces (Page 85) Error codes (Page 88) Error Reset (depicted in the use case "Job change not possible") Reset with "Reset Error Bit" Page 47 EN...
  • Page 48 ® VISOR Communications manual Error bits are overwritten by new error bits. 06814859 - 1/24/2019-00 Page 48 EN...
  • Page 49: Profinet

    VISOR GSD file must be installed. This is done at: Options/Install ® general station description file. The GSD file can be found in the installation path for the VISOR ® in: ...\SensoPart\VISOR Vision-Sensor\Tools\PROFINET and is also available for download at www.sensopart.com.
  • Page 50: Adding The Visor® To The Project

    ® VISOR Communications manual Fig. 29: Selecting and installing the GSD file ® 9.1.3 Adding the VISOR to the project ® The VISOR modules are added in the hardware catalog: Other field devices/PROFINET IO/Sensors/ SensoPart Industriesensorik GmbH. Page 50 EN...
  • Page 51 ® Connecting the VISOR to the PLC ® You can now drag a VISOR module from the catalog and drop it in the Network View. The ® VISOR is connected to the PLC via PROFINET (Network View tab).
  • Page 52: Module 3: "Data" (From Visor® To Controller)

    As an option, the module DATA (Data module) can be added with a certain use size. In this example: 2 bytes + 16 bytes of payload (1 byte: Image ID, 1 byte: Result data overrun (see Module 3: "Data" (from VISOR® to controller) (Page 34)), + 16 bytes of data). If the data are longer than the defined range, these are truncated (in this case: Result data overrun = 1);...
  • Page 53 ® VISOR Communications manual Fig. 32: Enter I/O data 06814859 - 1/24/2019-00 Page 53 EN...
  • Page 54 TIA project, the ® PLC will configure the IP address instead. In this case, the original configuration in the VISOR will be overwritten with 0.0.0.0. This means that the IP address is set correctly but the IP configuration is deleted (this is important for a restart, possibly without a connected PLC).
  • Page 55 SensoFind; the corresponding settings can be found in the PLC/TIA interface Set the name in the TIA portal ® There are two ways to configure the name for the VISOR from the TIA Portal. Generate name automatically ® The PROFINET name for the VISOR can be generated automatically in the PLC.
  • Page 56: Writing A Name To Visor

    If the VISOR vision sensor’s name is configured using the TIA Portal, it must be written to the ® sensor with the "PROFINET device name" tool (as described in section VISOR ® The PROFINET name in the project and in the VISOR must match.
  • Page 57: Load The Project Onto The Plc

    ) and apply the name with "Assign name." ® Fig. 36: Writing a name to VISOR 9.1.5 Load the project onto the PLC To finish the configuration and save changes of the project: 1. translate and 2. transfer / write to the PLC Fig.
  • Page 58 ® VISOR Communications manual Fig. 38: Table of variables Step 2) Creating a tag table in the PLC Fig. 39: Device overview Step 3) Creating the configuration in SensoFind and saving the configured log as a CSV file. Fig. 40: Output format saved as CSV file...
  • Page 59 For a description of the format of the PROFINET Data module, please refer to Module 3: "Data" (from VISOR® to controller) (Page 34) Step 5) The result is the following assignment between the input data of the PLC Fig. 42: Input data PLC ...
  • Page 60: Plc Example Programs

    The following PLC example programs show some basic functions. ® PLC example 1: Trigger when VISOR ready ® Fig. 44: Trigger when VISOR ready (without error handling) ® PLC example 2: Send Job number to VISOR Page 60 EN 06814859 - 1/24/2019-00...
  • Page 61 Fig. 45: Send job number ® PLC example 2.1: Job change when VISOR ready ® Fig. 46: Job change when VISOR ready (without error handling) ® PLC example 3: Switch to Run when VISOR in configuration mode 06814859 - 1/24/2019-00 Page 61 EN...
  • Page 62 VISOR Communications manual ® Fig. 47: Switch to Run when VISOR in configuration mode (without error handling) PLC example 4: Data transfer, data block on PLC, creating tags Variable "Data Array" (type: Array of Byte) Length (34 bytes) = User data (32) + 2 bytes (header) (Module "Data"...
  • Page 63 ® VISOR Communications manual ® Fig. 50: Settings for sample telegram in VISOR 06814859 - 1/24/2019-00 Page 63 EN...
  • Page 64: Ethernet/Ip

    10.1 Rockwell CompactLogix configuration example ® Following is a description of the PLC settings required for data transfers between the VISOR vision sensor and the PLC via EtherNet/IP (using Rockwell CompactLogix as an example). 10.2 Rockwell Studio 5000 configuration example This description shows all PLC screenshots in English;...
  • Page 65 ® VISOR Communications manual Select the right PLC type and assign a name. Fig. 52: EtherNet/IP Select the PLC type. You can apply the default settings. Click on "Finish" to create the project. Fig. 53: EtherNet/IP Apply the default settings.
  • Page 66: Select Eds File

    VISOR Communications manual 10.2.2 Select EDS file ® In order to be able to use the EtherNet/IP functions of the VISOR vision sensor, the latest ® version of the corresponding VISOR EDS file must be installed. The EDS file can be installed in: Tools/EDS Hardware Installation Tool.
  • Page 67 ® VISOR Communications manual Confirm information with Next. Fig. 55: Confirming information Select "Register an EDS File(s)" in the options. Fig. 56: Register an EDS File(s) Page 67 EN 06814859 - 1/24/2019-00...
  • Page 68 Select "Register a single file" and specify the path to the EDS file. ® ® The EDS file can be found in the installation path for the VISOR in: ...\SensoPart\VISOR Vision-Sensor\Tools\EtherNet/IP and is also available for download at www.sensopart.com. NOTE: ®...
  • Page 69 ® VISOR Communications manual Confirm the EDS file test. Fig. 58: EDS file test If necessary, select an icon or continue with the default icon. Fig. 59: Icon Page 69 EN 06814859 - 1/24/2019-00...
  • Page 70 ® VISOR Communications manual Confirm the installation. Fig. 60: Confirming the installation Click on Finish to successfully complete the installation. Fig. 61: Finishing the installation 06814859 - 1/24/2019-00 Page 70 EN...
  • Page 71 ® VISOR Communications manual 10.2.3 Load the project onto the PLC Go online with the project. To do this, click on Communications/Go Online. NOTE: Before this, the project path must be configured correctly. Page 71 EN 06814859 - 1/24/2019-00...
  • Page 72 ® VISOR Communications manual Right-click on the network connection you want to create a new module. Fig. 62: Creating a new module 06814859 - 1/24/2019-00 Page 72 EN...
  • Page 73 Other field devices/PROFINET IO/Sensors/ SensoPart Industriesensorik GmbH. ® Configure the device name and IP address for the VISOR The device name will be used as a variable name for the data later on. The IP address can be ®...
  • Page 74 Communications manual You can select the modules and module sizes you want with "Change ..." Additional information: VISOR® telegrams for PROFINET and EtherNet/IP (Page 31) In Connection, configure the refresh rate time(RPI) you want. Fig. 64: Set the refresh rate.
  • Page 75 ® VISOR Communications manual Fig. 65: Download Check all information and confirm with Download. Page 75 EN 06814859 - 1/24/2019-00...
  • Page 76 ® VISOR Communications manual Fig. 66: Information After a successful download, the sensor will have the "Running" status. 06814859 - 1/24/2019-00 Page 76 EN...
  • Page 77: Mapping Of Output Data

    The input data is mapped as follows. (selection of module CNTL + STAT + data (2+69)) Vision-Sensor-Dev …. I1.Data[0] – …. I1.Data [5] Status module (Module 2: "Status" (from VISOR® to controller) (Page 32)) e.g..I1.Data [3] = Job number ….
  • Page 78 ® VISOR Communications manual Fig. 68: Output data Conversion of binary values All detector-specific payloads with decimal places will be transmitted as integers multiplied by 1000, and accordingly must be divided by 1000 after the data is received. The values are transferred in the format "Big-endian".
  • Page 79 (without error handling) ® PLC example 2: Job change when VISOR ready ® Fig. 70: Job change when VISOR ready (without error handling) ® PLC example 3: Switch to Run when VISOR in configuration mode Page 79 EN 06814859 - 1/24/2019-00...
  • Page 80 ® VISOR Communications manual ® Fig. 71: Switch to Run when VISOR in configuration mode (without error handling) 06814859 - 1/24/2019-00 Page 80 EN...
  • Page 81: Appendix

    The job is run again after restarting. Job change by job name (ASCII / binary) ® The "Job change by job name" telegram will trigger a job change on the VISOR vision Page 81 EN 06814859 - 1/24/2019-00...
  • Page 82 With the telegram "Read ROI", the position of the selected detector can be read. Read job list (ASCII / Binary) ® The "Read job list" telegram can be used to output a list of all available jobs on the VISOR vision sensor. 06814859 - 1/24/2019-00 Page 82 EN...
  • Page 83 ® VISOR Communications manual Read detector list (ASCII / Binary) With the telegram "Read detector list", a list of all detectors in the current job will be displayed. Teach detector (ASCII / Binary) The "Teach detector" telegram will result in the specified detector being re-taught (available only for Pattern matching and Contour comparison).
  • Page 84 VISOR Visualization Get image (ASCII / Binary) ® The "Get image" telegram can be used to get the image from the VISOR vision sensor. ® VISOR Service (available only on port 1998 and in ASCII format) Update visualization results (ASCII) With the telegram "Update visualization results", the visualization results, e.g.
  • Page 85: Telegrams: Availability And Supported Interfaces

    ® VISOR Communications manual 11.1.2 Telegrams: Availability and supported interfaces Page 85 EN 06814859 - 1/24/2019-00...
  • Page 86 ® VISOR Communications manual 06814859 - 1/24/2019-00 Page 86 EN...
  • Page 87 ® VISOR Communications manual Overview telegrams (Page 81) Page 87 EN 06814859 - 1/24/2019-00...
  • Page 88: Error Codes

    ® VISOR Communications manual 11.1.3 Error codes Error code Description Successful Error Invalid parameter data Invalid telegram Input parameters with invalid size or invalid value File does not exist Recorder off Matching image of requested type not found Invalid file name or length...
  • Page 89 ® VISOR Communications manual Error code Description Focus lock time error Multiple files error Page 89 EN 06814859 - 1/24/2019-00...
  • Page 90: Serial Communication Ascii

    ® VISOR Communications manual 11.1.4 Serial communication ASCII Reset statistic (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Reset statistics (ASCII) request string to sensor Byte no. Content Meaning Reset Statistics Example: Reset statistics (ASCII) response string from sensor Byte no.
  • Page 91 ® VISOR Communications manual (Page 85) End of telegram: Max. 4 bytes (optional) Page 91 EN 06814859 - 1/24/2019-00...
  • Page 92 ® VISOR Communications manual Trigger (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Trigger (ASCII) request string to sensor Byte no. Content Meaning Trigger (simple trigger, in- port) Example: Trigger (ASCII) response string from sensor Byte no.
  • Page 93 ® VISOR Communications manual Extended trigger (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Extended trigger (ASCII) request string to sensor Byte no. Content Meaning Extended trigger, (trigger with index, for correlation of trigger to corresponding...
  • Page 94 ® VISOR Communications manual Example: TRX06MyPartR00000000 Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing: Telegrams: Availability and Supported interfaces: supported interfaces (Page End of telegram: Max. 4 bytes (optional)
  • Page 95 ® VISOR Communications manual Job change (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Job change (ASCII) request string to sensor Byte no. Content Meaning Change Job 4 - 6 Job number Example: CJB005 Job change (ASCII) response string from sensor Byte no.
  • Page 96 ® VISOR Communications manual Status of Ready signal during processing: Telegrams: Availability and Supported interfaces: supported interfaces (Page End of telegram: Max. 4 bytes (optional) NOTE: If an error occurs during the job change, it is possible to change to Job 1.
  • Page 97 ® VISOR Communications manual Job change permanent (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Job change, permanent (ASCII) request string to sensor Byte no. Content Meaning Change Job Permanent 4 - 6 Job number Example:...
  • Page 98 ® VISOR Communications manual processing: Telegrams: Availability and supported interfaces Supported interfaces: (Page 85) End of telegram: Max. 4 bytes (optional) NOTE: If an error occurs during the job change, it is possible to change to Job 1. 06814859 - 1/24/2019-00...
  • Page 99 ® VISOR Communications manual Job change by job name (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Job change by job name (ASCII) request string to sensor Byte no. Content Meaning Change Job by Name Request version...
  • Page 100 ® VISOR Communications manual Accepted when Ready is low: Status of Ready signal during processing: Telegrams: Availability and supported interfaces Supported interfaces: (Page 85) End of telegram: Max. 4 bytes (optional) 06814859 - 1/24/2019-00 Page 100 EN...
  • Page 101 ® VISOR Communications manual Auto operating distance (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Auto operating distance (ASCII) request string to sensor Byte no. Content Meaning Auto Focus Request version 0: Temporary 1: Permanent Step size 1 -5...
  • Page 102 ® VISOR Communications manual Auto operating distance (ASCII) response string from sensor Byte no. Content Meaning Auto Focus P successful (Pass) F Fail 5 - 7 Error codes (Page 88) 8 - 10 Number of operating distances NOTE: The following byte sequence is repeated for each operating distance.
  • Page 103 ® VISOR Communications manual Set operating distance (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set operating distance (ASCII) request string to sensor Byte no. Content Meaning operating distance Request version 0: Temporary 1: Permanent Movement...
  • Page 104 ® VISOR Communications manual 8 - 15 Current operating distance Example: SFCP00000000050 Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal during No change processing: Telegrams: Availability and supported interfaces...
  • Page 105 ® VISOR Communications manual Read operating distance (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read operating distance (ASCII) request string to sensor Byte no. Content Meaning Get Focus Request version Unit 0 - 1/1000 millimeters...
  • Page 106 ® VISOR Communications manual Status of Ready signal during No change processing: Telegrams: Availability and supported interfaces Supported interfaces: (Page 85) End of telegram: Max. 4 bytes (optional) 06814859 - 1/24/2019-00 Page 106 EN...
  • Page 107 ® VISOR Communications manual Auto shutter speed (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Auto shutter speed (ASCII) request string to sensor Byte no. Content Meaning Auto shutter Request version Example: ASH1 Auto shutter speed (ASCII) response string from sensor Byte no.
  • Page 108 ® VISOR Communications manual processing: Telegrams: Availability and supported interfaces Supported interfaces: (Page 85) End of telegram: Max. 4 bytes (optional) 06814859 - 1/24/2019-00 Page 108 EN...
  • Page 109 ® VISOR Communications manual Set shutter speed (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set shutter speed (ASCII) request string to sensor Byte no. Content Meaning Set Shutter Speed Permanent Temporary Permanent change affect all parameters, including those that were previously only changed temporarily.
  • Page 110 ® VISOR Communications manual Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing: Supported interfaces: Telegrams: Availability and supported interfaces (Page 85) End of telegram: Max. 4 bytes (optional) 06814859 - 1/24/2019-00 Page 110 EN...
  • Page 111 ® VISOR Communications manual Read shutter speed (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read shutter speed value (ASCII) request string to sensor Byte no. Content Meaning Get Shutter Speed (from active job) Example: Read shutter speed value (ASCII) response string from sensor Byte no.
  • Page 112 ® VISOR Communications manual interfaces (Page 85) End of telegram: Max. 4 bytes (optional) 06814859 - 1/24/2019-00 Page 112 EN...
  • Page 113 ® VISOR Communications manual Set gain (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set gain (ASCII) request string to sensor Byte no. Content Meaning Set Gain 0: Temporary 1: Permanent Permanent change affect all parameters, including those that were previously only changed temporarily.
  • Page 114 ® VISOR Communications manual low: Status of Ready signal No change during processing: Supported interfaces: Telegrams: Availability and supported interfaces (Page 85) End of telegram: Max. 4 bytes (optional) 06814859 - 1/24/2019-00 Page 114 EN...
  • Page 115 ® VISOR Communications manual Read gain value (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read gain value (ASCII) request string to sensor Byte no. Content Meaning Get Gain Example: Read gain value (ASCII) response string from sensor Byte no.
  • Page 116 ® VISOR Communications manual Set parameter (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set parameter (ASCII) request string to sensor Byte no. Content Meaning Set Parameter P Permanent T Temporary Permanent change affect all parameters, including those that were previously only changed temporarily.
  • Page 117 ® VISOR Communications manual SI08 - Signed Integer 08 UI08 - Unsigned Integer 08 SI16 - Signed Integer 16 UI16 - Unsigned Integer 16 SI32 - Signed Integer 32 UI32 - Unsigned Integer 32 SI40 - Signed Integer 40 UI40 - Unsigned Integer 40...
  • Page 118 ® VISOR Communications manual Detector Function Command ResultOffsetAngle Threshold Min Threshold Max Alignment Contour comparison ResultOffsetPos_X ResultOffsetPos_Y ResultOffsetAngle Transition probe 1 Transition probe 2 Transition probe 3 Alignment Edge detection Score min probe 1 Score min probe 2 Score min probe 3...
  • Page 119 ® VISOR Communications manual Detector Function Command ColorMaxChannel3 ColorInvertChannel3 ColorMinChannel1 ColorMaxChannel1 ColorInvertChannel1 ColorMinChannel2 Color area ColorMaxChannel2 ColorInvertChannel2 ColorMinChannel3 ColorMaxChannel3 ColorInvertChannel3 GrayAbsoluteMin BLOB GrayAbsoluteMax GrayAbsoluteInvert Page 119 EN 06814859 - 1/24/2019-00...
  • Page 120 ® VISOR Communications manual Read parameter values (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read parameter (ASCII) request string to sensor Byte no. Content Meaning Get Parameter Value Detector number 4 - 6 e.g. 001...
  • Page 121 ® VISOR Communications manual SI08 - Signed Integer 08 UI08 - Unsigned Integer 08 SI16 - Signed Integer 16 UI16 - Unsigned Integer 16 SI32 - Signed Integer 32 UI32 - Unsigned Integer 32 SI40 - Signed Integer 40 UI40 - Unsigned Integer 40...
  • Page 122 ® VISOR Communications manual Detector Function Command Threshold Min Threshold Max Alignment Pattern matching ResultOffsetPos_X ResultOffsetPos_Y ResultOffsetAngle Threshold Min Threshold Max Alignment Contour comparison ResultOffsetPos_X ResultOffsetPos_Y ResultOffsetAngle Transition probe 1 Transition probe 2 Transition probe 3 Alignment Contour comparison Score min probe 1...
  • Page 123 ® VISOR Communications manual Detector Function Command ColorMinChannel2 ColorMaxChannel2 ColorInvertChannel2 ColorMinChannel3 ColorMaxChannel3 ColorInvertChannel3 ColorMinChannel1 ColorMaxChannel1 ColorInvertChannel1 ColorMinChannel2 Color area ColorMaxChannel2 ColorInvertChannel2 ColorMinChannel3 ColorMaxChannel3 ColorInvertChannel3 GrayAbsoluteMin BLOB GrayAbsoluteMax GrayAbsoluteInvert Page 123 EN 06814859 - 1/24/2019-00...
  • Page 124 ® VISOR Communications manual Set ROI (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set ROI (ASCII) request string to sensor Byte no. Content Meaning Set ROI P = Permanent T = Temporary Permanent change affect all parameters, including those that were previously only changed temporarily.
  • Page 125 ® VISOR Communications manual Half height / Y-radius (value in pixels * 43 - 50 1000), e.g. 40 pixels = 00040000 Angle (not at circle / ellipse) (in ° * 1000), 51 - 58 e.g. 180° = 00180000 SRP0000005500100020016000000120000000800000004000000180000 Length 55, detector= 1, yellow search range, rectangle, center X= 160, center Y=...
  • Page 126 ® VISOR Communications manual Read ROI (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read ROI (ASCII) request string to sensor Byte no. Content Meaning Get ROI Detector no. 4 - 6 e.g. 001 ROI Index...
  • Page 127 ® VISOR Communications manual = 01 for red teach range = 02 for position control ROI shape 01= Circle 18 - 19 02= Rectangle 03= Ellipse 04= Free shape 20 - 27 Center X (value in pixels * 1000) 28 - 35...
  • Page 128 ® VISOR Communications manual Read job list (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read job list (ASCII) request string to sensor Byte no. Content Meaning Get Job List Example: Read job list (ASCII) response string from sensor Byte no.
  • Page 129 ® VISOR Communications manual for job n can be specified. From this position, the description for job n n + 4 ... m follows in the specified length. Number of subsequent bytes. This can be m + 1 ... m used to specify a unique name for the author of job n.
  • Page 130 ® VISOR Communications manual Read detector list (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read detector list (ASCII) request string to sensor Byte no. Content Meaning Get Detector List Example: Read detector list (ASCII) response string from sensor Byte no.
  • Page 131 ® VISOR Communications manual 007 - Brightness 010 - Wafer 011 - OCR 013 - Data code 014 - Barcode 017 - Busbar 018 - Color value 019 - Color area 020 - Color list 021 - Caliper 022 - BLOB...
  • Page 132 ® VISOR Communications manual Teach detector (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Teach detector (ASCII) request string to sensor Byte no. Content Meaning Teach detector 0 = Alignment 4 - 6 >= 1 Detectors...
  • Page 133 ® VISOR Communications manual Accepted when Ready is low: Status of Ready signal during processing: Supported interfaces: Telegrams: Availability and supported interfaces (Page 85) End of telegram: Max. 4 bytes (optional) Page 133 EN 06814859 - 1/24/2019-00...
  • Page 134 ® VISOR Communications manual Set trigger delay (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set trigger delay V1 (ASCII) request string to sensor Byte no. Content Meaning Set Trigger Delay Request version 0: Temporary 1: Permanent...
  • Page 135 ® VISOR Communications manual Accepted when Ready is low: Status of Ready signal during No change processing: Supported Telegrams: Availability and supported interfaces interfaces: (Page 85) End of telegram: Max. 4 bytes (optional) Page 135 EN 06814859 - 1/24/2019-00...
  • Page 136 ® VISOR Communications manual Read trigger delay (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read trigger delay V1 (ASCII) request string to sensor Byte no. Content Meaning Get Trigger Delay Request version Example: GTD1 Read trigger delay V1 (ASCII) response string from sensor Byte no.
  • Page 137 ® VISOR Communications manual Supported Telegrams: Availability and supported interfaces interfaces: (Page 85) End of telegram: Max. 4 bytes (optional) Page 137 EN 06814859 - 1/24/2019-00...
  • Page 138 ® VISOR Communications manual Save job permanently (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Save job permanently (ASCII) request string to sensor Byte no. Content Meaning Store Job Permanently Example: Save job permanently (ASCII) response string from sensor Byte no.
  • Page 139 ® VISOR Communications manual Calibration: Initialize point list (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Initialize point list (ASCII) request string to sensor Byte no. Content Meaning Calibration: Clear Data Example: Initialize point list (ASCII) response string from sensor Byte no.
  • Page 140 ® VISOR Communications manual Calibration: Add world point (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Add world point (ASCII) request string to sensor Byte no. Content Meaning Calibration: Add World Point Request version 1: Fiducials only Calibration plate (Robotics)
  • Page 141 ® VISOR Communications manual 13 - 20 Image point X 21 - 28 Image point Y CAWP000000010028800000566000 (Reference point 1; Image X = 288; Image Example: Y = 566) Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low:...
  • Page 142 ® VISOR Communications manual Calibration: Point list (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration with point list (ASCII) request string to sensor Byte no. Content Meaning Calibration: Calibrate by Point List 0: Temporary 1: Permanent...
  • Page 143 ® VISOR Communications manual Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing: No change Telegrams: Availability and supported Supported interfaces: interfaces (Page 85) End of telegram: Max. 4 bytes (optional) Page 143 EN...
  • Page 144 ® VISOR Communications manual Calibration: Validate point list (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Validate point list (ASCII) request string to sensor Byte no. Content Meaning Calibration: Validate by Point List Example: Calibration: Validate point list (ASCII) response string from sensor Byte no.
  • Page 145 ® VISOR Communications manual Accepted when Ready is low: Status of Ready signal during processing: No change Telegrams: Availability and supported Supported interfaces: interfaces (Page 85) End of telegram: Max. 4 bytes (optional) Page 145 EN 06814859 - 1/24/2019-00...
  • Page 146 ® VISOR Communications manual Calibration: Calibrate plate (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Calibrate plate (ASCII) request string to sensor Byte no. Content Meaning Calibration: Calibrate by Plate Request version 0: Temporary 1: Permanent...
  • Page 147 ® VISOR Communications manual Calibration: Calibrate by Plate P successful (Pass) F Fail 5 - 7 Error codes (Page 88) 8 - 12 Current number of detected calibration points Deviation calibration, RMSE (root mean square 13 - 20 error) 21 - 28...
  • Page 148 ® VISOR Communications manual Accepted when Ready is low: Status of Ready signal during processing: No change Telegrams: Availability and supported interfaces Supported interfaces: (Page 85) End of telegram: Max. 4 bytes (optional) 06814859 - 1/24/2019-00 Page 148 EN...
  • Page 149 ® VISOR Communications manual Calibration: Set fiducial (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Set fiducial (ASCII) request string to sensor Byte no. Content Meaning Calibration: Set Fiducial Request version 0: Temporary 1: Permanent...
  • Page 150 ® VISOR Communications manual 64 - 71 Deviation fiducials, max. 72 - 79 Deviation fiducials, min. CSFP 000 00001001 00002002 00003003 00004004 00005005 00006006 Example: 00001001 0000202 00003003 Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low:...
  • Page 151 ® VISOR Communications manual Calibration: Copy calibration (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Copy calibration (ASCII) request string to sensor Byte no. Content Meaning Calibration: Copy Calibration Request version Constant Destination 6 - 8 0 : Copy to all jobs >0: Copy to specified job...
  • Page 152 ® VISOR Communications manual Example: CCCP000000 Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing: No change Supported Telegrams: Availability and supported interfaces interfaces: (Page 85) End of telegram: Max.
  • Page 153 ® VISOR Communications manual Calibration: Set parameter (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Set parameter (ASCII) request string to sensor Byte no. Content Meaning Calibration: Set Parameter Request version 0: Temporary 1: Permanent...
  • Page 154 ® VISOR Communications manual Accepted when Ready is low: Status of Ready signal during No change processing: Telegrams: Availability and supported interfaces (Page Supported interfaces: End of telegram: Max. 4 bytes (optional) Parameter Parameter Parameter value Length Format Status name...
  • Page 155 ® VISOR Communications manual Calibration: Read parameter (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Read parameter (ASCII) request string to sensor Byte no. Content Meaning Calibration: Get Parameter Request version 5 - 7 Parameter number (Page 156)
  • Page 156 ® VISOR Communications manual Accepted when Ready is low: Status of Ready signal during No change processing: Telegrams: Availability and supported interfaces (Page Supported interfaces: End of telegram: Max. 4 bytes (optional) Parameter Parameter name Value Length Format number Signed...
  • Page 157 ® VISOR Communications manual Parameter Parameter name Value Length Format number unit * 1000) 1: Y axis offset (in user unit * 1000) 2: Z axis offset (in user unit * 1000) 3: X rotation (in per value integer degrees * 1000)
  • Page 158 ® VISOR Communications manual Parameter Parameter name Value Length Format number in each case: Fiducial 1 0: X value (in user unit * Fiducial 2 8 bytes Signed 1000) 1: Y value (in user unit * per value integer Fiducial 3...
  • Page 159 ® VISOR Communications manual Get image (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Get image (ASCII) request string to sensor Byte no. Content Meaning Get Image 0 - Last image 1 - Last poor image...
  • Page 160 ® VISOR Communications manual 0 - Failed image Number of rows 8 - 11 e.g. 0480 / 0200 Number of columns 12 - 15 e.g. 0640 / 0320 16 - 19 End of message string 20 ... n Binary image data (rows * columns) Example: GIMP0004800640...
  • Page 161 ® VISOR Communications manual Update visualization data (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Update visualization data (ASCII) request string to sensor Byte no. Content Meaning Update Visualization Results Request version Image: 0 - No image is being created 1 - Gray value image / RGB image is being created...
  • Page 162 ® VISOR Communications manual Update Visualization Results P successful (Pass) F Fail 5 - 7 Error codes (Page 88) Data available: 0: New data available when ready.txt is written 1: No new data available. Directory number 9 - 11 000: visu000...
  • Page 163 ® VISOR Communications manual Name Value Description brightness gray caliper blob data code barcode number Integer Position in detector list Name of the detector defined in the name String configuration search Type of overlay element. The different teach purpose position_control types have different colors.
  • Page 164 ® VISOR Communications manual Detector search teach position_control result Grayscale Caliper BLOB 1000 Data code Barcode 06814859 - 1/24/2019-00 Page 164 EN...
  • Page 165 ® VISOR Communications manual Read sensor identity (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read sensor identity (ASCII) request string to sensor Byte no. Content Meaning Read sensor identity Request version Example: GSI1 Read sensor identity (ASCII) response string from sensor Byte no.
  • Page 166 ® VISOR Communications manual Telegrams: Availability and supported interfaces (Page Supported interfaces: End of telegram: Max. 4 bytes (optional) 06814859 - 1/24/2019-00 Page 166 EN...
  • Page 167 ® VISOR Communications manual Update firmware (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Update firmware (ASCII) request string to sensor Byte no. Content Meaning Update Firmware Request version Example: UFW1 Update firmware (ASCII) response string from sensor Byte no.
  • Page 168 The name must correspond to the typical name allocation (e.g. as after the download from the SensoPart homepage). The end is reached as soon as the camera signals ready (pin 4 GN) again. Alternatively, the telegram "GSI1" can be used to check whether a valid response is being sent.
  • Page 169 ® VISOR Communications manual Read job set (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Import job set (ASCII) request string to sensor Byte no. Content Meaning Read job set Request version Length of subsequent file name. Maximum length 250 5 - 7 characters.
  • Page 170 Max. 4 bytes (optional) ® The job set with the specified name will be searched for in the /tmp/ directory on the VISOR vision sensor. If the file exists, this job set is activated. The file is then removed. 06814859 - 1/24/2019-00...
  • Page 171 ® VISOR Communications manual Get job set (ASCII) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Back up job set (ASCII) request string to sensor Byte no. Content Meaning Get job set Request version Length of subsequent file name. Maximum length 250 5 - 7 characters.
  • Page 172 ® VISOR Communications manual low: Supported interfaces: Telegrams: Availability and supported interfaces (Page 85) End of telegram: Max. 4 bytes (optional) The read job set file is now available for download in the /tmp/ directory under the specified name. 06814859 - 1/24/2019-00...
  • Page 173 ® VISOR Communications manual Data output in ASCII Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Output data (ASCII), dynamically put together based on the user settings in the software: SensoConfig/Output/Data output. Basic string construction: <START> (((<OPTIONAL FIELDS> <SEPARATOR> <PAYLOAD>))) <CHKSUM> <TRAILER>...
  • Page 174 ® VISOR Communications manual <OPTIONAL FIELDS> Length Parameter Available Description Data type ASCII [Byte] incl. the characters for the place) = 12 telegram length itself. ASCII: PPF = Trigger; PFP = Free run Represents Status byte the trigger All types Binary: mode.
  • Page 175 ® VISOR Communications manual <OPTIONAL FIELDS> Length Parameter Available Description Data type ASCII [Byte] Binary: Bytes 1 and 2: Number of active Outputs Bytes 3 – n: Outputs, bit-coded ASCII: Starting from byte 1 Number of active outputs (logic gate result assigned); 1 byte...
  • Page 176 ® VISOR Communications manual <OPTIONAL FIELDS> Length Parameter Available Description Data type ASCII [Byte] execution time time for the last evaluation. Returns the Active job job for the last 1 ... 3 Unsigned Int u8 All types evaluation. <PAYLOAD> Overview of detector-specific payload values...
  • Page 177 ® VISOR Communications manual ASCII Data Available Value Description length type [bytes] Indicates that the maximum cycle time has Timeout Boolean GENERAL been exceeded. Indicates the number of image acquisition Recording repetitions for the last evaluation Only in 1 ... 3 GENERAL combination with repeat mode.
  • Page 178 ® VISOR Communications manual Position ASCII Data Available Value Description length type [bytes] X coordinate for the found position, Signed Pos. X 1 ... 11 integer 1/1000 [user unit] Y coordinate for the found position, Signed Pos. Y 1 ... 11...
  • Page 179 ® VISOR Communications manual ASCII Data Available Value Description length type [bytes] value range: -45° to 45° Orientation of object width (long axis) [°], Angle Signed value range: -90° to 90° 1 ... 7 (180) integer 0° = East, counterclockwise Orientation of object width (long axis) [°],...
  • Page 180 ® VISOR Communications manual ASCII Value Description Data type Available for length [bytes] Height of geometric element [user unit], Height 1 ... 11 Signed integer Height ≥ 0, height ≤ width Width of geometric element [user unit] Width 1 ... 11 Signed integer Width ≥...
  • Page 181 ® VISOR Communications manual Identification ASCII Data Available Value Description length type [bytes] Length of read code String Signed 1 ... 3 length integer [bytes] Contents of read code. Depending on the code, the string length may vary. If a fixed string length is desired, the String 0 ...
  • Page 182 ® VISOR Communications manual Identification - quality ASCII Data Available Value Description length type [bytes] Evaluation of printing quality according to international standard ISO/IEC 15416. The overall quality indicates Quality - the final rating. overall [x]. Quality - Evaluation of printing quality according to international individual standard ISO/IEC 15416.
  • Page 183 ® VISOR Communications manual ASCII Data Available Value Description length type [bytes] Red, green, blue Hue, saturation, lightness Luminance, a, b Distance of the current color versus the Signed Color distance 0 – 7 taught-in color integer Counting / number...
  • Page 184 ® VISOR Communications manual ASCII Data Available Value Description length type [bytes] Used to check whether the number of Number of Signed objects found falls within a specific range. 1 ... 5 valid objects integer [Good/Bad or units] (only Number of parallel search stripes into which...
  • Page 185 ® VISOR Communications manual ASCII Data Available Value Description length type [bytes] Outputs the scaling range, 1/1000. Within (only the scaling range, scaled-up or scaled- Contour Scaling 3 ... 4 down objects will be detected. comparison) Value range of 0.5 to 2...
  • Page 186 ® VISOR Communications manual ASCII Data Available Value Description length type [bytes] 1/1000 [pixels] BLOB compactness (circle =1; other > 1). The more the shape of the BLOB deviates Signed Compactness from a circle, the greater the compactness integer value will be.
  • Page 187 ® VISOR Communications manual ASCII Data Available Value Description length type [bytes] BLOB contour and the contour of the geometric element (deviation outside the fitted circle). [user unit] Returns the mean of the absolute "inside" Deviation, and "outside" deviation values between the...
  • Page 188 ® VISOR Communications manual <TRAILER> Length Parameter Available Description ASCII Data type [Byte] User-defined, up to a max. of 8 Unsigned Int Trailer 0 ... 8 All types characters 06814859 - 1/24/2019-00 Page 188 EN...
  • Page 189: Serial Communication Binary

    ® VISOR Communications manual 11.1.5 Serial communication BINARY Reset statistic (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Reset statistics (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int...
  • Page 190 ® VISOR Communications manual Trigger (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Trigger (binary) request string to sensor Byte Data type Content Meaning Unsigned 1 - 4 0x05 Telegram length Unsigned Trigger, (simple trigger without index, via...
  • Page 191 ® VISOR Communications manual Extended trigger (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Extended trigger (binary), request string to sensor Byte Data type Content Meaning Unsigned 1 - 4 0xXX Telegram length Unsigned Extended trigger command, trigger with index, for assigning...
  • Page 192 ® VISOR Communications manual 2 ... Unsigned 0xXX Length of result data Unsigned 6 ... 0xXX Result data Char Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing:...
  • Page 193 ® VISOR Communications manual Job change (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Job change (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x06 Telegram length Unsigned Char...
  • Page 194 ® VISOR Communications manual Job change permanent (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Job change, permanent (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x06 Telegram length...
  • Page 195 ® VISOR Communications manual Job change by job name (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Job change by job name (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4...
  • Page 196 ® VISOR Communications manual Telegrams: Availability and supported interfaces Supported interfaces: (Page 85) 06814859 - 1/24/2019-00 Page 196 EN...
  • Page 197 ® VISOR Communications manual Auto operating distance (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Auto operating distance (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x08 Telegram length...
  • Page 198 ® VISOR Communications manual 0xXX Far distance Auto operating distance (binary) response string from sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0xXX Telegram length Unsigned 0x32 Auto Focus Char Unsigned 6 - 7 0xXX Error codes (Page 88)
  • Page 199 ® VISOR Communications manual Set operating distance (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set operating distance (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x0D Telegram length...
  • Page 200 ® VISOR Communications manual Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing: No change Telegrams: Availability and supported interfaces Supported interfaces: (Page 85) 06814859 - 1/24/2019-00 Page 200 EN...
  • Page 201 ® VISOR Communications manual Read operating distance (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read operating distance (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x7 Telegram length...
  • Page 202 ® VISOR Communications manual Auto shutter speed (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Auto shutter speed (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x06 Telegram length...
  • Page 203 ® VISOR Communications manual Set shutter speed (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set shutter speed (binary) request string to sensor Byte Data type Content Meaning Unsigned 1 - 4 0x09 Telegram length Set shutter speed temporarily...
  • Page 204 ® VISOR Communications manual Supported interfaces: Telegrams: Availability and supported interfaces (Page 85) 06814859 - 1/24/2019-00 Page 204 EN...
  • Page 205 ® VISOR Communications manual Read shutter speed (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read shutter speed (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x05 Telegram length...
  • Page 206 ® VISOR Communications manual Set gain value (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set gain (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x0A Telegram length...
  • Page 207 ® VISOR Communications manual Read gain value (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read gain value (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x05 Telegram length...
  • Page 208 ® VISOR Communications manual Set parameter (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set parameter (binary) request string to sensor Byte no. Data type Content Meaning Unsigned Telegram length = 9 bytes + length of reference...
  • Page 209 ® VISOR Communications manual Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing: Supported interfaces: Telegrams: Availability and supported interfaces (Page 85) *1) Byte No. 7: Command: Set reference string...
  • Page 210 ® VISOR Communications manual Length of the following Detector Function Command data Threshold Max ResultOffsetPos_X ResultOffsetPos_Y ResultOffsetAngle Threshold Min Threshold Max Grayscale GrayMin GrayMax GrayInvert Threshold Min Contrast Threshold Max Barcode Reference String Data code Reference String Reference String ColorMinChannel1...
  • Page 211 ® VISOR Communications manual Read parameter (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read parameter (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x07 Telegram length Unsigned Char...
  • Page 212 ® VISOR Communications manual *1) Byte No. 7: Command: Read reference string / value Length of the following Detector Function Command data Threshold Min Threshold Max Alignment Pattern matching ResultOffsetPos_X ResultOffsetPos_Y ResultOffsetAngle Threshold Min Threshold Max Alignment Contour ResultOffsetPos_X comparison...
  • Page 213 ® VISOR Communications manual Length of the following Detector Function Command data Threshold Min Contrast Threshold Max Barcode Reference String Data code Reference String Reference String ColorMinChannel1 ColorMaxChannel1 ColorInvertChannel1 ColorMinChannel2 Color value ColorMaxChannel2 ColorInvertChannel2 ColorMinChannel3 ColorMaxChannel3 ColorInvertChannel3 ColorMinChannel1 ColorMaxChannel1 ColorInvertChannel1...
  • Page 214 ® VISOR Communications manual Set ROI (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set ROI (binary) request string to sensor Byte Data type Content Meaning Telegram length Unsigned 1 - 4 0x18 0x18 for circle...
  • Page 215 ® VISOR Communications manual Only for ellipse / rectangle: 25 - Unsigned 0xXX ROI parameter: Half width / radius Y (value in pixels * 1000) 29 - Unsigned 0xXX ROI parameter: Angle in ° (value in ° * 1000) Set ROI (binary) response string from sensor...
  • Page 216 ® VISOR Communications manual Read ROI (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read ROI (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x07 Telegram length Unsigned...
  • Page 217 ® VISOR Communications manual 02= Rectangle 03= Ellipse 04= Free shape 15 - 18 Unsigned Int 0xXX ROI parameter: Center X (value in pixels * 1000) 19 - 22 Unsigned Int 0xXX ROI parameter: Center Y (value in pixels * 1000)
  • Page 218 ® VISOR Communications manual Read job list (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read job list (binary) request string to sensor Byte no. Data type Content Meaning Unsigned 1 - 4 0x05 Telegram length...
  • Page 219 ® VISOR Communications manual Char can be specified. From this position, the description for Job 1 follows in n + 4 ... m Char 0xXX the specified length. m + 1 ... Unsigned Number of subsequent bytes. This can be used to...
  • Page 220 ® VISOR Communications manual Read detector list (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read detector list (binary) request string to sensor Byte no. Data type Content Meaning Unsigned 1 - 4 0x05 Telegram length...
  • Page 221 ® VISOR Communications manual 007 - Brightness 010 - Wafer 011 - OCR 013 - Data code 014 - Barcode 017 - Busbar 018 - Color value 019 - Color area 020 - Color list 021 - Caliper 022 - BLOB...
  • Page 222 ® VISOR Communications manual Teach detector (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Teach detector (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x08 Telegram length Unsigned Char...
  • Page 223 ® VISOR Communications manual Set trigger delay (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Set trigger delay (binary) request string to sensor Byte no.. Data type Content Meaning 1 - 4 Unsigned Int Telegram length...
  • Page 224 ® VISOR Communications manual Get trigger delay (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Read trigger delay (binary) request string to sensor Byte no.. Data type Content Meaning 1 - 4 Unsigned Int Telegram length...
  • Page 225 ® VISOR Communications manual Save job permanently (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Save job permanently (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int Telegram length...
  • Page 226 ® VISOR Communications manual Calibration: Initialize point list (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Initialize point list (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x05...
  • Page 227 ® VISOR Communications manual Calibration: Add world point (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Add world point (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int...
  • Page 228 ® VISOR Communications manual 14 - 17 Unsigned Int 0xXX Image point Y Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing: No change Telegrams: Availability and Supported interfaces:...
  • Page 229 ® VISOR Communications manual Calibration: Point list (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Point list (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x06 Telegram length...
  • Page 230 ® VISOR Communications manual Status of Ready signal during processing: No change Telegrams: Availability and supported Supported interfaces: interfaces (Page 85) 06814859 - 1/24/2019-00 Page 230 EN...
  • Page 231 ® VISOR Communications manual Calibration: Validate point list (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Validate point list (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int...
  • Page 232 ® VISOR Communications manual supported interfaces (Page 85) 06814859 - 1/24/2019-00 Page 232 EN...
  • Page 233 ® VISOR Communications manual Calibration: Calibration plate (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Calibration plate (binary) request string to sensor Byte no. Data type Content Meaning Unsigned 1 - 4 0x09 Telegram length...
  • Page 234 ® VISOR Communications manual Char Unsigned 6 - 7 0xXX Error codes (Page 88) Short Unsigned Current number of detected calibration 8 - 9 0xXX Short points Unsigned Deviation calibration, RMSE (root mean 10 - 13 0xXX square error) Unsigned...
  • Page 235 ® VISOR Communications manual Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal No change during processing: Supported interfaces: Telegrams: Availability and supported interfaces (Page 85) Page 235 EN 06814859 - 1/24/2019-00...
  • Page 236 ® VISOR Communications manual Calibration: Set fiducial (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Set fiducial (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x08 Telegram length...
  • Page 237 ® VISOR Communications manual 38 - 41 Unsigned Int 0xXX Deviation fiducials, min. Additional information: Accepted in run mode: Accepted in config mode: Accepted when Ready is low: Status of Ready signal during processing: No change Telegrams: Availability and Supported interfaces:...
  • Page 238 ® VISOR Communications manual Calibration: Copy calibration (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Copy calibration (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x09 Telegram length...
  • Page 239 ® VISOR Communications manual Accepted when Ready is low: Status of Ready signal during processing: No change Telegrams: Availability and supported Supported interfaces: interfaces (Page 85) Page 239 EN 06814859 - 1/24/2019-00...
  • Page 240 ® VISOR Communications manual Calibration: Set parameter (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Set parameter (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x07 Telegram length...
  • Page 241 ® VISOR Communications manual Status of Ready signal during processing: No change Telegrams: Availability and Supported interfaces: supported interfaces (Page 85) Parameter Parameter Parameter Length Format Status name number value 0: mm 1: cm Unit (user 2: m 1 Byte...
  • Page 242 ® VISOR Communications manual Calibration: Read parameter (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Calibration: Read parameter (binary) request string to sensor Byte no. Data type Content Meaning 1 - 4 Unsigned Int 0x07 Telegram length...
  • Page 243 ® VISOR Communications manual Status of Ready signal during processing: No change Telegrams: Availability and Supported interfaces: supported interfaces (Page 85) Parameter Parameter name Parameter value Length Format number Signed 0: Invalid Status calibration 1 Byte 1: Valid integer 0: None...
  • Page 244 ® VISOR Communications manual Parameter Parameter name Parameter value Length Format number 3: X rotation (in degrees * 1000) 4: Y rotation (in degrees * 1000) 5: X rotation (in degrees * 1000) 0: X axis offset (in user unit * 1000)
  • Page 245 ® VISOR Communications manual Page 245 EN 06814859 - 1/24/2019-00...
  • Page 246 ® VISOR Communications manual Get image (BINARY) Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Get image (binary) request string to sensor Byte Data type Content Meaning Unsigned 1 - 4 0x06 Telegram length Unsigned 0x03 Get image...
  • Page 247 ® VISOR Communications manual Short e.g. 01 E0 = 480 Number of columns Unsigned 12 - 13 0xXX Short e.g. 02 80 = 640 Unsigned 14 ... n 0xXX Binary image data (rows * columns) Char Additional information: Accepted in run mode:...
  • Page 248 ® VISOR Communications manual Data output in BINARY Telegrams: Availability and supported interfaces (Page 85) Overview telegrams (Page 81) Output data (BINARY), dynamically put together based on the user settings in the software: SensoConfig/Output/Data output. Basic string construction: <START> (((<OPTIONAL FIELDS> <PAYLOAD>))) <CHKSUM> <TRAILER>...
  • Page 249 ® VISOR Communications manual <OPTIONAL FIELDS> Length Parameter Available Description Binary Data type [Byte] the characters for the telegram length itself. ASCII: PPF = Trigger; PFP = Free run Represents Status byte the trigger All types Binary: mode. 0X06 0x00 = Trigger mode...
  • Page 250 ® VISOR Communications manual <OPTIONAL FIELDS> Length Parameter Available Description Binary Data type [Byte] Bytes 1 and 2: Number of active Outputs Bytes 3 – n: Outputs, bit-coded ASCII: Starting from byte 1 Number of active outputs (logic gate result assigned); 1 byte...
  • Page 251 ® VISOR Communications manual <PAYLOAD> Overview of detector-specific payload values General Length Data Available Value Description Binary type [Byte] "All Signed evaluations" Total number of checks GENERAL integer counter Pass parts Signed Number of checks with "OK" result GENERAL counter...
  • Page 252 ® VISOR Communications manual Length Available Value Description Binary Data type [Byte] Signed Score All detectors integer Overall Boolean detector result Boolean All detectors result Execution Execution time of individual detector in Signed All detectors time [msec]. integer Position Length...
  • Page 253 ® VISOR Communications manual Length Data Available Value Description Binary type [Byte] Y position delta between the taught object and Delta pos. Signed the found object, integer 1/1000 [user unit] Orientation of found object, Signed Angle integer 1/1000 [°] Orientation of bounding box for found code [°],...
  • Page 254 ® VISOR Communications manual Measurement Length Value Description Binary Data type Available for [Byte] Height of geometric element [user unit], Height Signed integer Height ≥ 0, height ≤ width Width of geometric element [user unit] Width Signed integer Width ≥ 0, width ≥ height...
  • Page 255 ® VISOR Communications manual Identification Length Data Available Value Description Binary type [Byte] Length of read code String Signed length integer [bytes] Contents of read code. Depending on the code, the string length may vary. If a fixed string length is desired, the...
  • Page 256 ® VISOR Communications manual Identification - quality Length Data Available Value Description Binary type [Byte] Evaluation of printing quality according to Quality - international standard ISO/IEC 15416. The overall overall quality indicates the final rating Evaluation of printing quality according to Quality - international standard ISO/IEC 15416.
  • Page 257 ® VISOR Communications manual Length Data Available Value Description Binary type [Byte] lightness Luminance, a, b Distance of the current color versus the Signed Color distance taught-in color integer Counting / number Length Data Available Value Description Binary type [Byte]...
  • Page 258 ® VISOR Communications manual Length Data Available Value Description Binary type [Byte] [units] Used to check whether the number of (only Number of search stripes found falls within a specific Signed Edge valid search range. integer detection) stripes [Good/Bad or units]...
  • Page 259 ® VISOR Communications manual Length Data Available Value Description Binary type [Byte] Output of the security values of the individual characters. The reliability value specifies how reliably the reader was able to interpret a character. Value range of 0 to 100 [%]...
  • Page 260 ® VISOR Communications manual Length Data Available Value Description Binary type [Byte] Gray scale Average gray scale value of all the pixels Signed value, that belong to the BLOB. integer average Min. signal threshold Max. signal threshold Inverted signal threshold...
  • Page 261 ® VISOR Communications manual Length Data Available Value Description Binary type [Byte] Signed Result index List index integer Search stripe distance <CHKSUM> Length Parameter Data Available Description Binary type [Byte] XOR check sum of all bytes in the telegram. Is...
  • Page 262 ® VISOR Communications manual In SensoConfig/SensoView "Score" = 35 is displayed. For example, via Ethernet, the following four bytes are received: 000,000,139,115 Formula for recalculating: (HiWordByte*256 + HiLowByte) *65536 + HiByte*256 + LoByte = Value Because big-endian (from the sensor) is sent, the following applies: 000 = HiWordByte, 000 = HiLowByte, 139 = HiByte, 115 = LoByte (0*256 + 0) * 65536 + (139 * 256) + 115 = 35699 / 1000 = 35.699 (= real score value)

Table of Contents