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

The text of a manual · part 40 of 47

Bulletin 2803 VIM Vision Input Module User Manual: B - Configuration Blocks

Pages 345 to 352 of 404, from Bulletin 2803 VIM Vision Input Module User Manual

The original document is the PDF (26 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 Allen-Bradley 2803-VIM2

Page 345

B

Appendix

Configuration

CONFIGURATION

Blocks

BLOCK 1 OF 4

(Block Length of 30 Words) WORD

BIT

(16 Bits)

(Decimal)

VALUES

FUNCTION

0

Source of Trigger

0 = Host, 1 = Swingarm

1 2

Strobe

0 = Disabled,

1 = Enabled

Setup Trigger

O= Standalone

1 = Runtime

3-4 5-7

Master

0 = PLC, 1 = Standalone,

8-9

Freeze

10 11-12

Runtime mode RS-485 Protocol

0 = Standard, 1 = Learn O= Disable, 1 = DFl, Z=ASCll

13-15

RS-485

0 = 001100, o-7

Probe X-Axis

Position

Column Value of 0 to 248

8- 15

Probe Y-Axis

Position

Row Value of 16 to 240 o-7 8

Probe Compensation

Reference

Probe Compensation

Mode

0 = Immed. Brightness

Expansion

1 = Next Field Brightness Zero

Light

Use

Host

Reserved for Future

Expansion

2 = RS-485

Zero 0 = Go, 1 = Freeze on reject, 2 = Halt on

Status reject, 3 = Halt on next inspection

Baud Rate for Future

Level

1 = 2400,2

= 4800,3

Value of 0 to 255

9-15

Reserved o-7

Probe Lo Acceptance Range Limit

Value of 0 to 255

8-15

Probe Hi Acceptance Range Limit

Value of 0 to 255

Comp., Comp.

= 9600

Page 346 read from a scan by OCR; it may hold reading errors

Appendix Configuration Blocks

B

B-2

CONFIGURATION BLOCK 1 OF 4 (Block Length of 30 Words)

WORD BIT FUNCTION VALUES (16 Bits) | (Decimal)

5 0-7 Window 1 Base X-Axis Position Column Value of 0 to 254 8-15 Window 1 Base Y-Axis Position Row Value of 11 to 252 6 0-15 Window Lo Acceptance Range Limit Value of 0 to 62,464 7 0-15 Window Hi Acceptance Range Limit Value of 0 to 62,464 8 0-3* Window Shape 0 = Rectangle, 1to4 = Triangles,

S = Circle, 6= Doughnut 7 = Through The Lens

4 Window Enable Flag 0 = Disabled, 1 = Enabled 5 X/Y Anchored/ Float Value Flag 0 = X/Y Anchored, 1 =X/Y Floating 6 Count White/Black Pixels Select 0 = Black, 1 = White ? Brightness Float Status 0 = Anchored, 1 = Floating 8-15 Binary Threshold Value Value of Oto 255 9 Meaning of Word 9 Varies Depending on

Window Shape (See Word 8 Bits 0-3)*

Rectangular Window (Bottom Rt. Cnr.)

0-7 Window Corner X-Axis Position Column Value of 0 to 254

8-15 Window Corner Y-Axis Position Row Value of 11 to 252 Triangular Window

0-7 X-Axis Position of Horizontal Leg Column Value of 0 to 254

8-15 Y-Axis Position of Vertical Leg Row Value of 11 to 252 Circular Window

0-7 Radius of Circle Value of Oto 127

8-15 Reserved for Future Expansion

Doughnut Window

0-7 Radius of Outer Circle Value of 5to 127 8-15 Radius of Inner Circle Value of 1 to 123 Through the Lens Window 0-15 Reserved for Future Expansion 10 0-15 Window area in Square Pixels Value of 0 to 62,464 11-16 Window 2 Data -- Same as Words 5-10 17-22 Window 3 Data -- Same as Words 5-10 23-28 Window 4 Data -- Same as Words 5-10 29 0-15 Configuration Revision Level

30 0-15 Reserved for Future Expansion Zero

Page 347

Appendix

Configuration

Blocks

B

B-3

CONFIGURATION

BLOCK 2 OF 4

(Block Length of 62 Words) WORD

BIT

(16 Bits)

(Decimal)

1

2

3

4

VALUES

FUNCTION o-7

X Gauge - X-Axis

Start of Line

Column Value of 0 to 254

8-15

Y Gauge - Y-Axis

Start of Line

Row Value of 11 to 252 o-7

Lo Accept. Range Limit

- Upper Function

Value of 0 to 255

8-15

Hi Accept. Range Limit

- Upper Function

Value of 0 to 255

- Lower

Function

Value of 0 to 255

Function

Value of 0 to 255 o-7

Lo Accept. Range Limit

8-15

Hi Accept. Range Limit-Lower o-1

Selected Threshold for Application

Number

0 = Threshold

1,

1 = Threshold

2 of Line Gauge

2 = Threshold

3,

3 = Threshold

4

X/Y Float Status

0 = Anchored,

4.

Line Status

2 = X,Y Sequence, 3 = Y,XSequence 0 = Disabled, 1 = Enabled

5,

Line Direction

6 7

White/Black

8-‘I 1

Line Function

2-3

Flag

0 = Horizontal,

Flag Count Selection

Reserved for Future

1 = Floating

Expansion

Code

0 = Black,

1 = Vertical

1 = White

Zero Value of 0 to 8 0 = Left Edge &Width 1 = Right

Edge &Width

2 = Center&Width

5 = Right of Largest of Largest

3 = Left Edge &Width 4 = Center &Width of Largest Blob of Leftmost of Leftmost

Edge &Width

Blob

Blob Blob

Blob of Rightmost

Blob 6 = Center &Width 7 = Count White 8 = Count Number of Edges

5

12-13 14-15

Line Filter

Code o-7 8-l 5

Line End Point

Reserved for Future

Floating

0 = No Filter, Expansion

Location

Reference

Zero Ordinate of Rightmost of Blobs & Number

1 = Filter

1,

2 = Filter

Config.

11-15

Configuration

16-20

Data For Y Gauge

2

Zero Value of 0 to 254 Value of 0 to 254 (Zero for Line Gauges 1 to221

6-10

Blob

& Black Pixels

Same Assignments as Words l-5

Data For Line Gauge 1

Same Assignments as Words l-5

Configuration

Data For Line Gauge 2

Same Assignments as Words l-5

21-25

Configuration

Data For Line Gauge 3

Same Assignments as Words l-5

26-30

Configuration

Data For Line Gauge 4

Same Assignments as Words l-5

31-35

Configuration

Data For Line Gauge 5

Same Assignments as Words l-5

36-40

Configuration

Data For Line Gauge 6

Same Assignments as Words l-5

41-45

Configuration

Data For Line Gauge 7

Same Assignments as Words l-5

46-50

Configuration

Data For Line Gauge 8

Same Assignments as Words l-5

Page 348

Appendix

Configuration

Blocks

B

B-4

CONFIGURATION

BLOCK 2 OF 4

(Block Length of 62 Words) VALUES

FUNCTION

Configuration

Data For Line Gauge 9

Same Assignments as Words l-5

Configuration

Data For Line Gauge 10

Same Assignments as Words

1-5

Configuration

Revision

Reserved for Future

Level

Expansion

Zero

Page 349

Configuration

Appendix

Blocks

6

CONFIGURATION (Block

Length

BLOCK 3 OF 4 of 63 Words) VALUES

FUNCTION

WORD (16 Bits)

BIT (Decimal)

1 o-7 8--S

Line Gauge 11 - X-AxisStart of Line Line Gauge 11 - Y-Axis Start of Line

Column Value of 0 to 254 Row Value of 11 to 252

2 o-7 8-’ 5

Lo Accept. Range Limit - Upper Function Hi Accept. Range Limit - Upper Function

Value of 0 to 255 Value of 0 to 255

3 o-7 8-l 5

Lo Accept. Range Limit - Lower Function Hi Accept. Range Limit - Lower Function

Value of 0 to 255 Value of 0 to 255

4 o-1 2-3 4 5 6 7 8-l 1

Selected Threshold Number for Application of Line Gauge X/Y Float Status Line Status Flag Line Direction Flag White/Black Count Selection Reserved for Future Expansion Line Function Code

12-13 14-15

Line Filter Code Reserved for Future Expansion

0 = Threshold 1, 1 = Threshold 2 2 = Threshold 3, 3 = Threshold 4 0 = Disabled, 1 = Enabled 0 = Disabled, 1 = Enabled 0 = Horizontal, 1 = Vertical 0 = Black, 1 = White Zero Value of 0 to 8 0 = Left Edge &Width of Largest Blob 1 = Right Edge &Width of Largest Blob 2 = Center &Width of Largest Blob 3 = Left Edge &Width of Leftmost Blob 4 = Center &Width of Leftmost Blob 5 = Right Edge &Width of Rightmost Blob 6 = Center &Width of Rightmost Blob 7 = Count White & Black Pixels 8 = Count Number of Blobs & Number of Edges 1 = Filter 1, 2 = Filter2 0 = No Filter, o-‘7 8-15

Line End Point Location Reserved for Future Expansion

Value of 0 to 254 Zero

6-10

Configuration

Data For Line Gauge 12

Same Assignments as Words l-5

11-15

Configuration

Data For Line Gauge 13

Same Assignments as Words 1-5

16-20

Configuration

Data For Line Gauge 14

Same Assignments as Words l-5

21-25

Configuration

Data For Line Gauge 15

Same Assignments as Words 1-5

26-30

Configuration

Data For Line Gauge 16

Same Assignments as Words l-5

31-35

Configuration

Data For Line Gauge 17

Same Assignments as Words 1-5

36-40

Configuration

Data For Line Gauge 18

Same Assignments as Words l-5

41-45

Configuration

Data For Line Gauge 19

Same Assignments as Words l-5

46-50

Configuration

Data For Line Gauge 20

Same Assignments as Words l-5

51-55

Configuration

Data For Line Gauge 21

Same Assignments as Words l-5

5

Page 350

Appendix

B

B-6

Configuration

CONFIGURATION

Blocks

BLOCK 3 OF 4

(Block Length of 63 Words) BIT (Decimal)

VALUES

FUNCTION

Same Assignments as Words l-5

Configuration

Data For Line Gauge 22

O-l5

Configuration

Revision Level o-‘I 5

Reserved for Future Expansion

Zero

0-I 5

Reserved for Future Expansion

Zero

Page 351

Configuration

Appendix

Blocks

B

CONFIGURATION

B-7

BLOCK 4 OF 4

(Block Length of 64 Words) WORD (16 Bits)

BIT (Decimal) Configuration

1-5 1

VALUES

FUNCTION

Data For Math Tool 1 O= Disabled, 1 = Enabled 0 =AND, 1 = OR, 2 = Minimum, 3 = Maximum, 4 = Add, 5 = Subtract, 6 = Multiply, 7 = Divide Zero

0 l-4

Math Tool Enable Operation

5- I 5

Reserved for Future Expansion o-2

First operand type (Note: Refer to Chapter 12 for operand type restrictions)

3-7

First operand number(Note: Refer to Chapter 12 for operand number restrictions)

8-‘IO 11-15

Second operand type Second operand number

0 = Not used, 1 = Window, 2 = Gage Upper, 3 = Gage Lower 4 = Math tool, 5 = Constant Value of O-31 Window: 0 = All, l-4 0 = All, l-22 Gage : Math tool: 1-12 Constant: O-29 = l-30 30=50 31= 100 See first operand type See first operand number

3 o-2 3-7 8-‘IO 11-15

Third operand type Third operand number Fourth operand type Fourth operand number

See first operand See first operand See first operand See first operand

4 o-‘I 5

Low Accept Range Limit

Value of 0 to 65534

5 o-‘I 5

High Accept Range Limit

Value of 0 to 65534

6-10

Configuration

Data For Math Tool 2

Same as Math Tool 1, Words l-5

1 l-15

Configuration

Data For Math Tool 3

Same as Math Tool 1, Words l-5

16-20

Configuration

Data For Math Tool 4

Same as Math Tool 1, Words l-5

21-25

Configuration

Data For Math Tool 5

Same as Math Tool 1, Words l-5

26-30

Configuration

Data For Math Tool 6

Same as Math Tool 1, Words l-5

31-35

Configuration

Data For Math Tool 7

Same as Math Tool 1, Words 1-5

36-40

Configuration

Data For Math Tool 8

Same as Math Tool 1, Words l-5

41-45

Configuration

Data For Math Tool 9

Same as Math Tool 1, Words l-5

46-50

Configuration

Data For Math Tool 10

Same as Math Tool 1, Words l-5

51-55

Configuration

Data For Math Tool 11

Same as Math Tool 1, Words l-5

56-60

Configuration

Data For Math Tool 12

Same as Math Tool 1, Words l-5

2 type number type number

Page 352

Appendix B-8

B

Configuration

Blocks

CONFIGURATION BLOCK 4 OF 4 (Block Length of 64 Words) VALUES

FUNCTION

Configuration

Revision

Level

Reserved for Future

Expansion

Zero

Reserved for Future

Expansion

Zero

Reserved for Future

Expansion

Zero