Auto Page MA-200 Manual de Instruções Página 46

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 56
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 45
colorCONTROL C4
45
Example 4: DATA FRAME with ORDER NUMBER = 4:
ORDER NUMBER (second word = 4): READ one selectable row (vector) from RAM of the sensor!
The same frame as example 2 must be sent to the sensor except of the order word that must be 4.
The values for the parameters must be sent as Dummies.
The complete DATA FRAME which is responded by the sensor is 18 words.
DATA FRAME PC Æ Sensor (18 WORDS)
DATA FRAME Sensor Æ PC (18 WORDS)
CALCMODE = X/Y INT respectively s/i M CALCMODE = X/Y/NT respectively s/i/M
0x00AA SYNC-WORD 0x00AA SYNC-WORD
4 ORDER-WORD
0 ROW-No. (0…30)
1200 X respectively s
1500 Y respectively i
200 CTO respectively siTO
2000 INT respectively M
200 ITO respectively MTO
0 GROUP (COLOR Group)
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
4 ORDER-WORD
0 ROW-No. (0…30)
1200 X respectively s
1500 Y respectively i
2000 INT respectively M
200 TOL
0 DUMMY
0 GROUP (COLOR Group)
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
1 DUMMY
Example 5: DATA FRAME with ORDER NUMBER = 5:
ORDER NUMBER (second word = 5): READ DATA.
Parameters must be sent for a constant parameter frame as dummies.
At order word 5 they do not affect the RAM or EEPROM.
DATA FRAME PC Æ Sensor (18 WORDS) DATA FRAME Sensor Æ PC (18 WORDS)
0x00AA 0x0055 SYNC.-WORD
5 ORDER-WORD
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
0 DUMMY
5
R
G
B
X
Y
INT
C-No.
RAW R
RAW G
RAW B
TEMP
GRP
TRIGGER
delta C
DUMMY
DUMMY
Vista de página 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 55 56

Comentários a estes Manuais

Sem comentários