Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016
Page 297
Vision Sensor Manual
0
2
unKey
U16
request key, eg. a request counter
2
2
unId
U16
request ID, eg. for requests "trigger", "change
job"
4
2
unNumChar
U16
no. of valid char parameters
6
2
unNumInt
U16
no. of valid int parameters
8
256
pcValueChar[RQST_
NUM_CHAR]
I8
char parameters for request, member may
only hold one string
264
80
16 int parameters for
request
I16
int parameters for request
The request key:
The position 0 (Byte 0) with a size of 2 bytes, corresponds to the request key. It valid the modification of
parameters sent. For that, you need to increment the request key bytes with a value of your choice to
release a command.
Example:
I want to make a trigger on the Vision Sensor. The default code of the request key is 0x0 0x0. After
Trigger configuration (description follows), I increment the request key to engage the trigger. The
request key code is now: 0x0 0x2.
Position 0:
Byte 1
Byte 0
Always 0
0000 0010
Command configuration:
The request key has a size of 2 bytes (at position 0 and 1), the command configuration will start on
position 2 and has a size of 2 bytes. It is possible to choose a command called
Request ID
between:
Trigger, Change job, statistics reset, auto shutter, permanent or temporary teach.
Position 2:
Byte 3
Byte 2
Always 0
0000 0001
Change job: to send the the change job command, the code is: 0x0 0x2 in position 2. You have to set the
LSB of position 6 to "1". (Standard version: job 1 or job 2; Advanced versions: 255 jobs available). For that,
write the job number 4 bytes to position / byte 264 .
Summary of Contents for SBSC-EN
Page 1: ......