Data block. Mitsubishi Electric Vision Sensor Basic Course
Reklamë
Reklamë
Data block
The following shows the details of six data blocks defined to control a vision sensor.
• Control bit block
Bit 7
Set Offline
Bit 6
Reserved
Bit 5 Bit 4
Execute
Command
Bit 3
Inspection
Results Ack
Bit 2
Buffer Results
Enable
Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 15
Reserved
Bit 23
Reserved
Bit 31
Soft Event 7
Bit 22
Bit 30
Soft Event 6
Bit 21
Bit 29
Soft Event 5
Bit 20
Bit 28
Soft Event 4
Bit 19
Clear Exposure
Complete
Bit 27
Soft Event 3
Bit 18
Clear Error
Bit 26
Soft Event 2
Bit 1
Trigger
Bit 9
Bit 17
Initiate String
Command
Bit 25
Soft Event 1
Bit 0
Trigger Enable
Bit 8
Bit 16
Set User Data
Bit 24
Soft Event 0
• Status bit block
Bit 7
Online
Bit 15
Error
Bit 23
Reserved
Bit 6
Offline Reason
Bit 5
Bit 14 Bit 13
Command Failed Command
Completed
Bit 22 Bit 21
Bit 4
Bit 12
Command
Executing
Bit 20
Job Pass
Bit 3
Missed Ack
Bit 11
Results Valid
Bit 19
Exposure
Complete
Bit 2
Reserved
Bit 10
Results Buffer
Overrun
Bit 18
String Command
Error
Bit 1
Trigger Ack
Bit 9
Inspection
Completed
Bit 17
String Command
Ack
Bit 0
Trigger Ready
Bit 8
System Busy
Bit 16
Set User Data
Ack
Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Bit 26 Bit 25 Bit 24
Soft Event Ack 7 Soft Event Ack 6 Soft Event Ack 5 Soft Event Ack 4 Soft Event Ack 3 Soft Event Ack 2 Soft Event Ack 1 Soft Event Ack 0
• Input word block
Word 0
Command
• Output word block
Word 0
Current Job ID
Word 1
Error Code
• String command word block
Word 0
String Command Length
• String command result word block
Word 0
Result Code
Word 1
Reserved
Word 2
Acquisition ID
Word 3
Inspection ID
Word 1..
String Command
Word 1
String Command Result Length
Word 2..
User Data
Word 4 Word 5..
Inspection Result Code Inspection Results
Word 2..
String Command Result
5
5 TRAINING 2 COMMUNICATIONS BETWEEN A PROGRAMMABLE CONTROLLER AND VISION SENSOR
5.1 Basic Operations for an SLMP Scanner Connection
97
Shkarko
Reklamë