Remote-processing BASIC for the CX-10 Modbus Instrukcja Użytkownika Strona 29

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 84
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 28
BASIC PROGRAMMING GUIDE
2-20
EXAMPLE
The following example gets characters as a result of a modbus query command and prints out the data.
rem loop to get all data
rem first data item is ID, second is function type
rem next set is data followed by CRC
210 for n = 1 to x
220 print "# of variants=",regread(4781)," ",
230 print "Variant data=",
240 ph0. regread(4782)," ",
250 print "COM 3 status=",regread(4783)," ",
290 next
Przeglądanie stron 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 83 84

Komentarze do niniejszej Instrukcji

Brak uwag