Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 21 of 25

MHI-2000 Technical Reference Manual: APPENDIX E Parameters, pages 161 to 170

Pages 161 to 170 of 207, from MHI-2000 Technical Reference Manual

The original document is the PDF (2.6 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 MHI2000

Page 161

501 - 560 Inputs/Outputs Parameters

503 504

INZONE TRIGGER OUTZONE TRIGGER INZONE TRIGGER, OUTZONE TRIGGER Valid Values

0 or 1

Default Value

1

Description

The default inputs for the inzone and outzone Presence functions are input 1 and input 2, respectively. You can change the polarity of the signal’s inzone and outzone using these parameters. Table E–15 lists the INZONE/OUTZONE TRIGGER valid values and their descriptions. TABLE E–15. INZONE/OUTZONE TRIGGER Valid Values and Descriptions

Description

0

Input must be active, or true.

1

Input must be inactive, or false.

The device digital inputs are active, or true, when they are pulled low. They are usually connected to normally open relays or open collector photoeyes, which effectively close a switch to ground when the photoeye is blocked. Entering a zero for that input may use the inverse polarity.

Rev A, January 2002

MHI-2000 Technical Reference Manual

E-41

E Parameters

Value

Page 162

Appendix

505 506

E

Parameters

ZONE ERROR CHAR 1 ZONE ERROR CHAR 2 ZONE ERROR CHARACTER 1 and 2 Valid Values

Decimal 000 - 255

Default Value

ZONE ERROR CHAR 1, Decimal 042 ( * ) ZONE ERROR CHAR 2, Decimal 063 ( ? )

Description

The device allows the designation of two ASCII characters as zone error characters. Both characters are appended to the end-of-barcode or NO READ data to alert the host or controller that zone synchronization errors are occurring. There are two zone errors that may occur: •

The inzone Presence detection device may signal a second time before the outzone device has signaled once. In this case, the error characters will be appended in the order of the two parameters (defaults: *?).

•

The outzone device may signal prior to an inzone signal. In this case, the characters will be appended in reverse order (?*).

This scheme indicates which error condition was detected.

Example Assuming that the ZONE ERROR CHARACTER ONE and TWO parameters are left at their default values (decimal 042 and 063, respectively), an inzone error will be reported as: ...<DATA>...*? and an outzone error will be reported as: ...<DATA>. .?* Note: Zone errors have a different meaning when you are using gap tracking with a tachometer, since there may be multiple packages in the scan zone at the same time. The zone error characters described above will not be sent in this situation. There are some zone error situations that can be recognized when using gap tracking. A message of ****** (six asterisks) is sent as an indicator that a box was tracked through the zone, but did not arrive at the outzone within the parameter 703 BOX TOLERANCE value of distance traveled as determined by the tachometer count. In other words, the box was early or late at the outzone photoeye. This could happen if an inzone signal occurred but an outzone signal did not because, for example, a box did not travel all the way through the zone. This error message does not get sent by default. To enable it, set parameter 505 to 255, with gap tracking enabled.

E-42

MHI-2000 Technical Reference Manual

Rev A, January 2002

Page 163

501 - 560 Inputs/Outputs Parameters

510 511 512

INZONE DEBOUNCE (Input 1) OUTZONE DEBOUNCE (Input 2) INPUTS DEBOUNCE (Inputs 3 - 8) INZONE DEBOUNCE, OUTZONE DEBOUNCE, INPUTS DEBOUNCE Valid Values

0 - 255

Default Value

020 (milliseconds) (parameters 510, 512) 000 (milliseconds) (parameter 511) These parameters are the debounce times for their respective inputs. Debouncing allows you to eliminate multiple edges from a noisy input source that may take some time to settle to its final value. Separate times are allowed to cover situations where some inputs might need to have the minimum response time and others need longer debouncing (push buttons and lever-type divert verify switches, for instance).

E

000 = no debounce time, respond immediately to any input change Debounce times help the device deal with the problem of detecting multiple transitions of contact closure inputs, or photoeyes that do not give a logic low level of less than 0.7 V. A larger debounce time helps filter out this noise, but will not always solve the problem. We recommend using only the photoeyes that SICK Auto Ident, Inc. provides, or using solid state input modules instead of relays. This problem can also occur at the tachometer input. Use the tachometer/encoder provided by SICK Auto Ident, Inc., or make sure that the signal swings below 0.7 V and above 2.5 V.

Rev A, January 2002

MHI-2000 Technical Reference Manual

E-43

Parameters

Description

Page 164

Appendix

E

520-524

Parameters

INPUT (4-8) TRIGGER

INPUT X TRIGGER Valid Values

0 or 1

Default Value

1

Description

You can change the polarity of the signals input 4 through input 8 using these parameters. Table E–16 lists the valid values and their descriptions. TABLE E–16. INPUT 4-8 TRIGGER Valid Values and Descriptions

Value

Description

0

Input must be active, or true.

1

Input must be inactive, or false.

The device digital inputs are active, or true, when they are pulled low. They are usually connected to normally open relays or open collector photoeyes, which effectively close a switch to ground when the photoeye is blocked. Entering a zero for that input may use the inverse polarity.

E-44

MHI-2000 Technical Reference Manual

Rev A, January 2002

Page 165

501 - 560 Inputs/Outputs Parameters

553-560

RELAY X HOLD TIME

RELAY TIMES Valid Values

0 - 9999 milliseconds

Default Value

0000 (Relay Disabled)

Description

This parameter specifies the length of time (in milliseconds) for which the seven device solid-state circuits, and the relays driven by them, will remain energized after they have been energized. For mechanical relays to operate, a hold time of at least 12 milliseconds is necessary. A RELAY HOLD TIME value of not less than 15 milliseconds is recommended. Setting the parameter to 0000 will disable an output. Even if an output activation signal is generated, the corresponding output will not activate because it is being told to remain unenergized.

A user C program can use the operating system’s relay hold feature by turning on an output that has a non-zero relay hold time. The OS will automatically turn it off at the end of the hold time. Setting the hold time to either 0 or 9999 will stop the OS from automatically turning it on or off. If a relay hold time is set to 9999, the output will stay in the last driven state until the next decision point changes it.

Rev A, January 2002

MHI-2000 Technical Reference Manual

E-45

E Parameters

Conversely, if a RELAY HOLD TIME value is set to 9999, the corresponding output (and relay) will remain energized until the next output activation decision is made.

Page 166

Appendix

E

Parameters

600 - 639 User Program Parameters 600

USER STACK SIZE STACK SIZE IN KILOBYTES

E-46

Valid Values

2 - 32

Default Value

02 (2 KB)

Description

This parameter sets the stack size available to the user program. Refer to the SH3 C Programmer’s Platform User’s Manual for more detailed information.

MHI-2000 Technical Reference Manual

Rev A, January 2002

Page 167

600 - 639 User Program Parameters

601

FILE SYSTEM SIZE FILE SYSTEM SIZE IN KILOBYTES Valid Values

0 - 2560

Default Value

0032 Kb (set to 0000 to disable file system)

Description

This parameter sets the RAM size available to the user program for C file system operations. The largest size is determined by the amount of RAM in the device. Refer to SICK Auto Ident, Inc. SH3 C Programmer’s Platform documentation for complete information.

Parameters

E

Rev A, January 2002

MHI-2000 Technical Reference Manual

E-47

Page 168

Appendix

602

E

Parameters

PROGRAM CONTROL PROGRAM CONTROL Valid Values

0-4

Default Value

0

Description

This parameter allows skipping the waiting for download… time, and automatically restores the program from Flash on reboot. Table E–17 lists the PROGRAM CONTROL valid values and their descriptions. TABLE E–17. PROGRAM CONTROL Valid Values and Descriptions

E-48

Value

Description

0

Normal operation.

1

Causes the device to wait for a download from the host. If the user program exists in FLASH after a ten second delay, run the user program.

2

Causes the device to load and run the user program from flash.

3

TBD (do not use)

4

TBD (do not use)

MHI-2000 Technical Reference Manual

Rev A, January 2002

Page 169

600 - 639 User Program Parameters

610-625

USER VARIABLE x

USER VARIABLE x Valid Values

0 - 65535

Default Value

00000

Description

User definable parameters can be read and written by the user C program and accessed through the OS Setup menu. These parameters save you from writing a setup menu, and provide locations that are secure from power-down to power-up. These parameters are accessed from the User Variable library C program routine. These parameters are used to save up to 16 integer values in non-volatile RAM that can be used as a simple method to save values from power-up to power-up. Since these locations are not cleared when a program is downloaded, they may be used to communicate between different programs as well.

Refer to SICK Auto Ident, Inc. SH3 C Programmer’s Platform for additional information.

Rev A, January 2002

MHI-2000 Technical Reference Manual

E-49

E Parameters

Note: Using files is a logical way to save values from power-up to power-up or between programs. Another method is to declare a block of uninitialized static variables and use the fact that these variables are non-volatile and not zeroed by the loader when the program starts up. These variables cannot be shared by different programs, however, since their locations are not (in general) known. In this case, these 16 locations are accessed using USER VARIABLE x.

Page 170

Appendix

E

630-639

Parameters

USER STRING x

USER STRING x

E-50

Valid Values

ASCII string up to 20 characters

Default Value

None

Description

User definable parameters can be read and written by the user C program and accessed through the OS Setup menu. These parameters are saved and restored from power-down to power-up.

MHI-2000 Technical Reference Manual

Rev A, January 2002