Keyence Visual KV Series Manual de usuario Pagina 296

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 444
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 295
7.6 Display Interface Mode Programming
KV-300 Series Only
KV-300
KV-10/80
Chapter 7 KV-L2 Serial Interface Module
1-272
7
This example command indicates station number 1, header code WD (update data
memory), data memory start number as 1000 or 03E8 in Hex, data to write as 6500
or 1964 in Hex.
Example program
5 I = 0:FCS=0
10 INPUT "ENTER TEXT TO TRANSMIT";A$
15 I = I +1
20 FCS = FCS XOR (ASC(MID$(A$,I,1)))
30 IF I < LEN(A$) THEN 15
40 PRINT "FCS=";HEX$(FCS);"H"
This program automatically calculates the FCS value when you enter the text to the
PC with the keyboard and shows the result in display.
Note 1: Commands and responses begin with the station no. and header code and
end with the FCS and terminator.
Note 2: Up to 131 characters can be sent during a single transmission. To send a
command which has more than 131 characters, divide it into several segments and
send each of them sequentially.
Refer to "7.6.2 Command and Response Format" on the next page.
KVHKA Chap 07_5to10.p65 08.3.11, 11:18 AM272
Vista de pagina 295
1 2 ... 291 292 293 294 295 296 297 298 299 300 301 ... 443 444

Comentarios a estos manuales

Sin comentarios