The text of a manual · part 4 of 8
Operating Instructions: OTS400 Omni Tracking System, pages 31 to 40
Pages 31 to 40 of 74
The original document is the PDF (2.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Sick OTC400-000
Page 31
Operating Instructions
Electrical installation
Chapter 5
OTS400
Fig.: 5-7: Circuit diagram of the relay output
Note: Even high-quality relays suffer from wear and tear on the contacts. For this reason, we recommend the relay output be used only for functions that require many switching cycles (e.g. good read). Typical service life of a relay at maximum load (220 V AC/ 8 A): 100,000 switching cycles Typical mechanical service life (without load): 30,000,000 switching cycles 5.5.5
Wiring the host interface
Important: If the host interface is wired incorrectly, electronic components in the OTC400 may be damaged. ¾
Wire the host interface correctly
¾
Check the wiring carefully before switching on the OTC400
1. Connect the host interface of the OTC400 to the host using shielded cables, in accordance with EMC guidelines 2. Note the maximum cable lengths, as defined in Section 5.4.1 Requirements of the host interface 3. Apply the shield to one side (recommendation) When using the OTS400, apply the shield directly over the conduit thread (housing entry). In the default setting, the bar code scanner communicates via the RS 422/485 interface version with the following values: Parameter
Value
Data transmission rate
9,600 bd
Data bit
8
Parity
None
Stop bit
1
Log
SICK (start characters: STX, stop characters: ETX, handshake: none, timeout: 50 ms)
Table 5-13: Defaults of the communication parameters of the host interface
8008869/RA61/2007-07-30
© SICK AG · Auto Ident · Germany · All rights reserved
5-9
Page 32
Chapter 5
Electrical installation
Operating Instructions OTS400 Omni Tracking System
Terminating the RS 422 interface: The plug-in jumpers (see Fig. 5-3) are used to terminate the host interface: ¾
To activate the RS 422 version, set both plug-in jumpers to OFF.
¾
To activate the RS 485 version, set both plug-in jumpers to ON.
Activating the RS-232 version: The RS 232 interface is activated on the "Host interface" tab of the CLV Setup program. Only the terminal description for the RS 422 version is displayed under host on the terminal strip. The following assignment must be made to connect the RS 232 interface: RS 232
RS 422
TxD
T-
RxD
R-
Table 5-14: Assignment of the RS 232 signals on the RS 422 interface
Downloading to the OTC400: 1. In the toolbar, click the "Page to bar code scanner" button. CLV Setup downloads the parameter set to the OTC400. The "Download Parameters" dialog box with the storage options appears. 2. Click the desired storage options. The dialog box closes automatically. The OTC400 now operates the host interface in the RS 232 version. 5.5.6
Wiring the auxiliary interface
The auxiliary interface is the auxiliary data interface with which the user operates and configures the OTC400 with the "CLV Setup" PC software. Unlike the host interface, it has a fixed data format and data transmission rate. The PC must be connected either to the connector strip of the auxiliary interface directly (see Fig. 5-1) or to the terminal interface (see Fig. 5-1, 9-pin D Sub connector) via the RS 232 connection cable no. 2 014 054. The communication parameters for the PC port should be set as follows: Parameter
Value
Data transmission rate
9,600 bd
Data bit
8
Parity
None
Stop bit
1
Table 5-15: Communication parameters for the auxiliary interface
In the default setting, the auxiliary interface outputs the reading result in "Reading diagnosis" mode. The operating mode can be changed on the "Auxiliary interface" tab in the CLV Setup program. Other available operating modes are described in Section 7.3.
5-10
© SICK AG · Auto Ident · Germany · All rights reserved
8008869/RA61/2007-07-30
Page 33
Operating Instructions
Electrical installation
Chapter 5
OTS400
5.5.7
Wiring the CAN interface
The procedure for connecting the cable to CAN-H and CAN-L is described in Section 5.5.1 Connecting the bar code scanners. The CAN interface must also be terminated. Terminating the CAN interface: ¾
The plug-in jumper (see Fig. 5-3) is used to terminate the CAN interface.
¾
To operate the OTS400/ OTC400 with one branch line (see Fig. 5-2), set the plug-in jumper to ON.
¾
To operate the OTS400/ OTC400 with two branch lines, set the plug-in jumper to OFF.
The 9-pin D Sub connector of the CAN interface (Fig. 5-1) is used to monitor the CAN bus and is only required for internal analyses at SICK.
8008869/RA61/2007-07-30
© SICK AG · Auto Ident · Germany · All rights reserved
5-11
Page 34
Chapter 5
Electrical installation
Operating Instructions OTS400 Omni Tracking System
Notes:
5-12
© SICK AG · Auto Ident · Germany · All rights reserved
8008869/RA61/2007-07-30
Page 35
Operating Instructions
Setup
Chapter 6
OTS400
6
Setup
6.1 Quick start with the factory defaults Unlike the individual bar code scanner, the OPS does not support the Quick Start procedure, as the position of each individual bar code scanner must be parameterized exactly. See Chapter 8 Parameterization. The parameters should be defined using the CLV Setup program.
6.2 Defaults Table 6-1 shows an overview of the factory defaults for the OTC400, e.g. when it is switched on for the first time. The tried-and-tested default parameters enable the OTC400 to be used in a wide range of applications with only minor changes. The device-specific default values are stored permanently in the OTC400, the bar code scanner in question, and in the CLV Setup program and can be activated at any time. Parameter
Default
Active code types
Code 39, Code 128, 2/5 Interleaved
Code length
Free (2/5 Interleaved: interval, 4 ... 50 characters)
Multiple reads
3
Min./max. number of codes
1
OTS trigger mode
Active, if TRIG 1 high, end of reading pulse by reading pulse source
Distribution of focus position info
Once per reading pulse
Increment input
INC 1
Switching outputs
Output 1: "Device ready"; Output 2: "Good read"; Output 3: "No read"; Output 4: "Data pulse", Relay output: "Device ready"
Host interface
RS 422/485
Protocol
NAK; start character: STX, stop character: ETX
Transmission rate
9,600 bd
Data format
8 data bits, no parity, 1 stop bit
Output format
Header: blank, separator: blank, terminator: blank; error string: NOREAD + separator
Output point
Reading result: end of reading interval, separator: after code
Test string
Inactive
Auxiliary interface
Reading diagnosis
Table 6-1: Default parameter values of the OTC400
8008869/RA61/2007-07-30
© SICK AG · Auto Ident · Germany · All rights reserved
6-1
Page 36
Chapter 6
Setup
Operating Instructions OTS400 Omni Tracking System
To display and print out the entire default settings, proceed as follows in the CLV Setup program: 1. Saves any changes you made to the current parameter set in a new configuration file "Name.scl" using the menu option "File/Save As". 2. Click the defaults icon ("red factory building") in the toolbar. The default settings are loaded and displayed on the tabs. 3. Click the printer icon. The Print dialog box appears. 4. Edit and confirm the dialog box. CLV Setup prints out the default settings.
6-2
© SICK AG · Auto Ident · Germany · All rights reserved
8008869/RA61/2007-07-30
Page 37
Operating Instructions
Operation
Chapter 7
OTS400
7
Operation
7.1 Overview The OTS400/ OTC400 and the CLV490 bar code scanners connected in the OPS feature the following operating modes/functions: Standard operating mode: •
Reading mode
Startup: •
Percentage evaluation1)
•
Adjustment mode and visualization of the reading angle limits2)
•
Background teach-in2)
Parameterization: •
Parameter mode (configuration)
Monitoring/troubleshooting: •
View and edit operating data
•
Reading diagnosis
•
Monitor host interface
•
Auxiliary input
•
Self-test
•
Standard OTS400 statistics (single read)
•
Extended OTS400 statistics (single read)
•
Summarized OTS400 statistics (single read)
•
Standard OTS400 statistics (single read) with overall statistics after 100 reading pulses
•
Summarized OTS400 statistics after 100 reading pulses
•
I/O monitor in the increment pulse
•
Monitor scanner - reading results
1) These functions are only available for CLV490 bar code scanners and not for the OTS400/OTC400 itself. 2) These functions are only available for CLV490 bar code scanners and not for the OTS400/OTC400 itself. These can be found in the CLV Setup program in the menu "Tools" under "Device Functions". To call up these functions, choose the "Parameters in the OTS network" option from the OTC400 device selection and enter the ID of the bar code scanner.
8008869/RA61/2007-07-30
© SICK AG · Auto Ident · Germany · All rights reserved
7-1
Page 38
Chapter 7
Operation
Operating Instructions OTS400 Omni Tracking System
7.2 Preparations for operation 1. Connect the PC to the auxiliary interface on the OTS400/ OTC400. 2. Switch on the operating voltage for the OTS400/ OTC400 and connected bar code scanners. 3. Start Windows and CLV Setup configuration software on your PC. 4. Click the "Terminal" icon in the toolbar. The Terminal Emulator window appears. The bar code scanner is now in Reading mode.
7.3 Operating modes/functions 7.3.1
Reading mode (standard operating mode)
The OTS400/ OTC400 switches to this mode automatically after it has been started and the self-test has been completed successfully. In the default setting, the OTS400/ OTC400 works with the "TRIGGER 1" switching input (set to "high") as a trigger source for generating the reading pulse. The OTS400/ OTC400 outputs the reading result at the end of the reading field on both the host and auxiliary interface. An external incremental encoder is required. In the default setting, "INC 1" with a length of 10 mm is active. If the incremental encoder does not output any signals to the OTS400/ OTC400, e.g. because the conveyor belt is switched off, the end of the reading field is not reached and no reading result is output. A PC is only required to access the reading result directly. Displaying the reading result: 1. Connect the incremental encoder and trigger source to the OPS 2. Switch on the the conveyor belt. 3. Place an object with a sample bar code in front of the OPS (position object on the conveyor belt and let it pass through the OPS). 4. Once the object is no longer recognized by the trigger source and the parameterized end of the reading field has been reached, the OTS400/ OTC400 outputs the reading result in the Terminal Emulator. The terminal interface is then in "Reading diagnosis" mode (default). Reading result on the auxiliary interface: The reading result on the auxiliary interface comprises the data contents of the bar code(s) and the reading diagnosis data. The function of the reading diagnosis data is explained in the CLV490 Operating Instructions, in Chapter 7 Operation. Reading result on the host interface: In the default setting, the OTS400/ OTC400 sends only the data contents of the bar code(s) as a simple data string on the host interface, without reading diagnosis data. The header, separator, and terminator are empty (blank). You can define the structure of the data output string on the host interface from the "Data string" tab in the CLV Setup program. The header, separator, and terminator can comprise up to 10 elements, consisting of constants and/or reading diagnosis data.
7-2
© SICK AG · Auto Ident · Germany · All rights reserved
8008869/RA61/2007-07-30
Page 39
Operating Instructions
Operation
Chapter 7
OTS400
1. Click "Header" in the drop-down list. The "Edit parameters: TFH" dialog box appears. 2. Choose the desired constants or placeholders for reading diagnosis data. The selected elements appear in the line at the top of the dialog box. 3. Confirm the dialog box with "OK". 4. Repeat this procedure for the separator and terminator. Download to the OTS400/ OTC400: 1. Click the "page to bar code scanner" icon in the toolbar CLV Setup downloads the parameter set to the OTS400/ OTC400. The "Download Parameters" dialog box appears with the storage options. 2. Click the desired storage option. The dialog box closes automatically. The OTS400/ OTC400 now works with the new settings. Defining an alternative reading pulse in the Terminal Emulator: For test purposes, the OTS400/OTC400 can also be triggered directly from the Terminal Emulator window without an external reading pulse sensor. This option can also be used if the conveyor belt controller provides a PLC signal for the reading interval. 1. Close the Terminal Emulator. 2. Choose the "Device Configuration" tab. 3. Click the "Edit Reading Trigger" button. The "Edit Reading Trigger" dialog box appears. 4. Choose the "Serial Interface" option field. 5. Confirm the dialog box with "OK". This function requires the incremental signal. The OTS400/ OTC400 outputs the reading result in the main window of the Terminal Emulator. Download to the OTS400/ OTC400: 1. Click the "page to bar code scanner" icon in the toolbar CLV Setup downloads the parameter set to the OTS400/ OTC400. The "Download Parameters" dialog box appears with the storage options. 2. Click the desired storage option. The dialog box closes automatically. The OTS400/ OTC400 now works with the new settings. Triggering the SW trigger: 1. Click the "Terminal" icon. The Terminal Emulator screen appears. The OTS400/ OTC400 is in Reading mode. 2. Click the "Start SW Trigger" button. 3. Place the bar code in front of any bar code scanner. 4. Click the "Stop SW Trigger" button. This function requires the incremental signal. The OTS400/ OTC400 outputs the reading result in the main window of the Terminal Emulator.
8008869/RA61/2007-07-30
© SICK AG · Auto Ident · Germany · All rights reserved
7-3
Page 40
Chapter 7
Operation
Operating Instructions OTS400 Omni Tracking System
As a prerequisite, the OTS400/ OTC400 must be able to assign the read bar code uniquely to one object, i.e. the bar code is located on the object detected by the trigger source of the reading pulse generator. 7.3.2
Percentage evaluation
This operating mode is available for each individual bar code scanner in the OPS and is only accessible via the auxiliary interface. It can be used to assess the reading quality for bar codes that are placed statically in the reading field of the OPS or of individual bar code scanners in the OPS (conveyor belt stationary). The bar code scanner evaluates the good read rate statistically for 100 scans in free-running mode and outputs the reading results every 2 seconds. These results can be displayed using the CLV Setup program. 1. Click the "Terminal" icon. The Terminal Emulator window appears. The OTS400/ OTC400 is in Reading mode. 2. Click the "Percentage Evaluation" option. The OTS400/ OTC400 is in Percentage Evaluation mode. 3. Place bar code statically in front of any bar code scanner and monitor the Terminal Emulator. The OTS400/ OTC400 outputs every result. Depending on the reading quality, the "Read result" LED either lights up or blinks. See also Section 3.3.1 Functions of the LEDs. The output format of the read result is identical to that in Reading mode. 7.3.3
Setting parameters (configuration)
The parameterization process adapts the OTS400/ OTC400 and the connected bar code scanners manually to the application-specific conditions. The most efficient method is the online method using the tabs and download function of the CLV Setup program. In this mode, the OTS400/ OTC400 does not output any reading results. The procedure is described in Chapter 8 Configuration. Setting parameters with the Terminal Emulator: The Terminal Emulator can also be used to parameterize the OTS400/ OTC400 and connected bar code scanners directly by entering command strings. This enables special devices to be adjusted and new OTS400/OTC400 parameters to be configured that do not exist in the current version of CLV Setup. The changes made here are not registered in the program until they have been uploaded from the OTS400/ OTC400 to the PC (provided that they are recognized as parameters) and should be treated with care. The command language accesses the command interpreter of the device directly. Configuring the OTS400/ OTC400 or bar code scanner with command strings: 1. Click the "Terminal" icon in the toolbar. The Terminal Emulator window appears. The OTS400/ OTC400 is in Reading mode. 2. Click the "Parameterise" option field. CLV Setup issues a command that switches the OTS400/ OTC400 to Parameter mode (all commands begin with "3"). 3. Enter the desired command in the command line and send it to the OTS400/OTC400 by pressing the Return key. The OTS400/ OTC400 responds to a command with the correct syntax by issuing an echo. Example: The entry "3?HS" instructs the OTS400/ OTC400 to output the communication parameters of the host interface. 4. To return to Reading mode, click the "Reading mode" option.
7-4
© SICK AG · Auto Ident · Germany · All rights reserved
8008869/RA61/2007-07-30