Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016
Page 287
Vision Sensor Manual
5.7.3.1 Assembly request
Request key
Position 0 (Byte 0 and 1) are the request key. Every change in the request key indicates to the sensor that
there are new data inside the assembly request available. Changing the request key triggers a command
like trigger, job change…
Command configuration
The command configuration starts on position 2 and has a size of 2 bytes (byte 2 and 3).
It is possible with selected code, to choose between: Trigger, Change job and Set reference string.
-
Trigger:
To make a trigger (to take a new picture), the code is: 0x01
-
Change job:
to send the command to change a job, the code is: 0x02
Commands which need further arguments like “change job” need to get the arguments on the correct
byte positions : the job number is an integer value to be placed on “pnValueInt” (byte 264), the length of
this information is 1 byte long, following Parameter “unNumint” (byte 6) has to be set to “1”.
Examples
Trigger
Request structure
Key
ID
Storage
unKey
unId
Byte position
0
2
Request pattern
Count
0x01
Change Job
Request structure
Key
ID
NumInt
Job number
Storage
unKey
unId
NumInt
ValueInt[0]
Byte position
0
2
6
264
Request pattern
Count
0x02
0x01
Job no.
Set reference string permanent
Request
structure
Key
ID
Length of
string
NumInt
Ref.
String
Detector
number
Parameter
number
Parameter
type
Storage
unKey
unId
NumChar
NumInt
Char
Int[0]
Int[1]
Int[2]
Byte position 0
2
4
6
8
264
268
272
Request
pattern
Count
0x05 0x01
0x03
0x43
0x01
0x65
0x0A
Explanation
Example 1
character
Constant
value
Example
string f.
“C”
Example for
detector 1
Command set
ref. string
Example
param. type
Содержание SBSC-EN
Страница 1: ......
Страница 161: ...Vision Sensor SBSI SBSC EN 8062650 1607b 13 09 2016 Page 161 Vision Sensor Manual Dot print Handwritten Industrial MICR ...
Страница 162: ...Page 162 Vision Sensor SBSI SBSC EN 8062650 1607b 13 09 2016 Vision Sensor Manual OCRA OCRB Pharma ...
Страница 306: ...Page 306 Vision Sensor SBSI SBSC EN 8062650 1607b 13 09 2016 Vision Sensor Manual Fig 319 Rescue 2 ...