Omron NT-series Programmable Terminal V022-E3-1 Instrukcja Użytkownika Strona 234

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 318
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 233
Bit
Parameter

Section 6-3
Notifying that a Touch Switch Has Been Pressed
When “On” is set for “Bit In” when setting the screen attribute with the support tool,
the “touch switch pressed” status is sent to the Host in the bit information.
If “Off” is set for Bit In”, the address corresponding to the touch switch issent to the
Host in a 3-digit hexadecimal value when the touch switch is pressed.
The commands used for this report are described below.
Touch Switch Bit Output (from NT600S to Host)
Format
1B
[ESC]
4A
J
s0
1
s0
2
s1
2
s2
1
s2
2
s3
1
s1
1
s4
1
s4
2
s5
1
0D
[CR]
s3
2
s5
2
s6
1
s6
2
s7
1
s7
2
s0,
s7:
Status of the touch switch (2-digit hexadecimal value for each switch)
The relationship between the touch switch number and an expression of
s0 to s7 in bits is given in the following table.
sx
1
sx
2
7 6 5 4 3 2 1 0
s0 07 06 05 04 03 02 01 00
s1 15 14 13 12 11 10 09 08
s2 23 22 21 20 19 18 17 16
s3 31 30 29 28 27 26 25 24
s4 39 38 37 36 35 34 33 32
s5 47 46 45 44 43 42 41 40
s6 55 54 53 52 51 50 49 48
s7 63 62 61 60 59 58 57 56
sx1: Higher 4 bits of sx (x: 0 to 7)
sx2: Lower 4 bits of sx
BitON: Thetouchswitchison.
BitOFF: Thetouchswitchisoff.
Example
Touch switches at addresses 0, 3, 21, and 27 are ON
s0
1
s0
2
s1
1
s1
2
s2
1
s2
2
s3
1
s3
2
s7
1
s7
2
=0900200800000000
Description
If the touch switch status is changed while the screen for which the “Bit Input,
Touch Switch” attribute is set is displayed, the status of the corresponding bit is
reported to the Host.
This report is made each time a touch switch is turned ON or OFF.
Przeglądanie stron 233
1 2 ... 229 230 231 232 233 234 235 236 237 238 239 ... 317 318

Komentarze do niniejszej Instrukcji

Brak uwag