The text of a manual · part 20 of 25
Bulletin 5370 CVIM Configurable Vision Input Module Communications Manual: B - Discrete IIO Results Bits (Host Input & Output Bits), pages 155 to 163
Pages 155 to 163 of 202, from Bulletin 5370 CVIM Configurable Vision Input Module Communications Manual
The original document is the PDF (723 KB). 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 5370-CVIM
Page 155
Appendix B Discrete Bit Results
Discrete Bit Outputs (cont’d)
Note: When using the backplane, don’t write directly to word 2. Write to word 1023. The CVIM will copy the data from word 1023 to word 2. Note: When communicating with a device through the Pyramid Integrator backplane, CVIM module results are posted in shared memory immediately after processing. When communicating with a device through the other ports, results are only available at the end of the inspection program. Table B.3 Discrete Bit Outputs
Word #
PI Backplane
Bit #
RS–232 and Remote I/O
D E C I M A L
O C T A L
PI
PLC
Definition
2
0
0–7
0–7
Not Used
2
0
8
10
Lock Request
Usage
Notes
0 = No Change 1 = Lock
Do not set bits 8 and 9 at the same time. If you set both bits, the CVIM will be unlocked. You must reset this bit to 0, then back to 1 to repeat a lock request.
2
0
9
11
Unlock Request
0 = No Change 1 = Unlock
You must reset this bit to 0, then back to 1 to repeat an unlock request.
2
0
10
12
Host Trigger Toolset 1
0 = No Trigger 1 = Trigger
You must reset this bit to 0, then back to 1 to repeat a trigger request.
2
0
11
13
Host Trigger Toolset 2
0 = No Trigger 1 = Trigger
You must reset this bit to 0, then back to 1 to repeat a trigger request.
2
0
12
14
Light Pen Request
0 = No Request 1 = Request
Bit 12 commands are specified in: Output words 1 and 6 (Remote I/O) Output words 3 and 8 (Backplane) You must reset bit to 0, then back to 1 to repeat a light pen request.
B–10
Page 156
Appendix B Discrete Bit Results
Table B.3 Discrete Bit Outputs Word #
PI Backplane
2
Bit #
RS–232 and Remote I/O
0
D E C I M A L
O C T A L
PI
PLC
13
15
Definition
Usage
I/O Request
0 = No Request 1 = Request
Notes
Bit 13 commands are specified in: Output words 2, 4, and 5 (Remote I/O) Output words 4, 6, and 7 (Backplane) You must reset bit to 0, then back to 1 to repeat an I/O request.
2
0
14
16
Configuration Move
0 = No Request 1 = Request
Bit 14 commands are specified in: Output word 2 (Remote I/O) Output word 4 (Backplane) You must reset bit to 0, then back to 1 to repeat a configuration move request.
2
0
15
17
Not Used
B–11
Page 157
Appendix B Discrete Bit Results
Discrete Bit Outputs (cont’d) Table B.3 Discrete Bit Outputs Word#
PI Backplane
3
Bit#
RS–232 and Remote I/O
1
D E C I M A L
O C T A L
PI
PLC
0–7
0–7
Definition
Usage
Runtime Display Control
00000000 = No Change 00000001 = Display Image Only 00000010 = Display Failed Tool 00000100 = Display All Tools 00001000 = Display I/O Page 00010000 = Display Results Page 00100000 = Display Statistics 1 Page 01000000 = Display Statistic 2 Page
B–12
Notes
Page 158
Appendix B Discrete Bit Results
Table B.3 Discrete Bit Outputs Word#
PI Backplane
3
Bit#
RS–232 and Remote I/O
1
D E C I M A L
O C T A L
PI
PLC
8 – 15
10 – 17
Definition
Usage
Freeze on Reject Control
00000000 = No Change
Notes
00000001 = Go On Reject 00000010 = Freeze First Reject 00000100 = Freeze All Rejects 00001000 = Freeze Next Image 00010000 = Halt On Reject 4
2
N/A
0–3
Toolset Flag Select
Not Applicable to Backplane
0000 = Not Valid
Bits 0 – 3 control which set of toolset results are assigned to discrete input words 1 through 7.
0001 = Toolset 1 0010 = Toolset 2
4
2
4–5
4–5
Discrete I/O Control
00 = No Change
Bits 4 through 7 refer to the local I/O module (Catalog Number 1771–JMB).
01 = Disable Outputs 10 = Enable Outputs 4
2
6–7
6–7
Forced I/O Control
00 = No Change 01 = Disable Forces 10 = Enable Forces
Bits 6 and 7 act upon the bitmap you set up in words: 4 and 5 (Remote I/O) 6 and 7 (Backplane)
B–13
Page 159
Appendix B Discrete Bit Results
Discrete Bit Outputs (cont’d) Table B.3 Discrete Bit Outputs Word#
PI Backplane
4
Bit#
RS–232 and Remote I/O
2
D E C I M A L
O C T A L
PI
PLC
8 – 11
10 – 13
Definition
Usage
Configuration Move Control
0000 = No Request
Notes
0001 = EEPROM to RAM 0010 = RAM to EEPROM 0100 = RAM Card to RAM 1000 = RAM to RAM Card 4
2
12 – 15
14 – 17
RAM Card Index
0000 = RAM Card Configuration 1 1111 = RAM Card Configuration 16
B–14
Bits 12 through 15 are numeric fields which specify RAM card locations 1 through 16.
Page 160
Appendix B Discrete Bit Results
Table B.3 Discrete Bit Outputs Word #
PI Backplane
5
Bit #
RS–232 and Remote I/O
3
D E C I M A L
O C T A L
PI
PLC
N/A
0–2
Definition
Usage
Block Transfer Type
000 = Invalid Request
Reference only. Not used for Backplane.
001 = Results Block 010 = Configuration Block 100 = Template Block 101 = Statistics Block – See Notes
Notes
This word only applies to Remote I/O interface. To send programmable block transfer to the CVIM, set bits 0, 1, and 2 to equal 111 and then send a block transfer write. No other bits (last block, toolset, or block number) need to be sent. After sending a configuration block or template block to the CVIM, you should check the condition of the configuration fault bit (Word 0, Discrete Bit Inputs) To send programmable statistics , set bits 0, 1, and 2 to equal 101 and then send a block transfer write to the CVIM. No other bits (last block , toolset, or block number) need to be sent.
111 = Programmable Block Transfer – See Notes 5
3
N/A
3
Last Block Flag
Reference only. Not used for Backplane. 5
Reference only. Not used for Backplane.
Bit 3 only applies to block transfer writes.
1 = Last Block 3
N/A
4–7
Toolset Request
0000 = No Toolset 0001 = Toolset 1 0010 = Toolset 2
Bits 4 through 7 only apply to results block.
3
N/A
10 – 17
Block Transfer Block Number
0 = Invalid Number See Notes
Results block numbers may be from 1 to 4. Configuration block numbers may be from 1 to 136. Template block numbers may be from 1 to 255 (variable).
Reference only. Not used for Backplane. 5
0 = Not Last Block
B–15
Page 161
Appendix B Discrete Bit Results
Discrete Bit Outputs (cont’d) Table B.3 Discrete Bit Outputs Word#
PI Backplane
B–16
Bit#
RS–232 and Remote I/O
D E C I M A L
O C T A L
PI
PLC
Definition
Usage
Notes
6
4
0
0
Local I/O Output 1 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
1
1
Local I/O Output 2 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
2
2
Local I/O Output 3 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
3
3
Local I/O Output 4 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
4
4
Local I/O Output 5 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
5
5
Local I/O Output 6 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
6
6
Local I/O Output 7 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
7
7
Local I/O Output 8 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
8
10
Local I/O Output 9 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
9
11
Local I/O Output 10 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
10
12
Local I/O Output 11 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
11
13
Local I/O Output 12 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
12
14
Local I/O Output 13 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
13
15
Local I/O Output 14 Force ON
0 = No Force 1 = Force On
Refers to Catalog Number 1771–JMB Local I/O Board.
6
4
14 – 15
16 – 17
Not Used
Page 162
Appendix B Discrete Bit Results
Table B.3 Discrete Bit Outputs Word#
PI Backplane
Bit#
RS–232 and Remote I/O
D E C I M A L
O C T A L
PI
PLC
Definition
Usage
Notes
7
5
0
0
Local I/O Output 1 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
1
1
Local I/O Output 2 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
2
2
Local I/O Output 3 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
3
3
Local I/O Output 4 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
4
4
Local I/O Output 5 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
5
5
Local I/O Output 6 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
6
6
Local I/O Output 7 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
7
7
Local I/O Output 8 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
8
10
Local I/O Output 9 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
9
11
Local I/O Output 10 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
10
12
Local I/O Output 11 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
11
13
Local I/O Output 12 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
12
14
Local I/O Output 13 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
13
15
Local I/O Output 14 Force OFF
0 = No Force 1 = Force Off
Refers to Catalog Number 1771–JMB Local I/O Board.
7
5
14 – 15
16 – 17
Not Used
B–17
Page 163
Appendix B Discrete Bit Results
Discrete Bit Outputs (cont’d) Table B.3 Discrete Bit Outputs Word#
PI Backplane
B–18
Bit#
RS–232 and Remote I/O
D E C I M A L
O C T A L
PI
PLC
Definition
Usage
Notes
8
6
0–1
0–1
Toolset Display Control
8
6
2
2
Not Used
8
6
3
3
Resume Control
0 = No Change 1 = Resume
Use in conjunction with light pen request: Word 0 bit 12 (Remote) Word 2 bit 12 (Backplane)
8
6
4–5
4–5
Page Control
00 = No Change 01 = Page Up 10 = Page Down
Use in conjunction with light pen request: Word 0 bit 12 (Remote) Word 2 bit 12 (Backplane)
8
6
6
6
Reset Statistics
0 = No Change 1 = Reset
Use in conjunction with light pen request: Word 0 bit 12 (Remote) Word 2 bit 12 (Backplane)
8
6
7
7
Reset Counters
0 = No Change 1 = Reset
Use in conjunction with light pen request: Word 0 bit 12 (Remote) Word 2 bit 12 (Backplane)
8
6
8 – 15
10 – 17
Not Used
00 = No Change 01 = Display Toolset 1 10 = Display Toolset 2