Omron V022-E3-1 Touch Switch Bit Output from NT600S to Host, Section, Format, Example

Models: V022-E3-1

1 318
Download 318 pages 5.12 Kb
Page 234
Image 234
Notifying that a Touch Switch Has Been Pressed

￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿

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 is sent 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

[ESC]

1B

s41

J

s01

s02

s11

s12

s21

s22

s31

s32

4A

s42

s51

s52

s61

s62

s71

s72

[CR]

0D

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.

Bit

 

 

sx1

 

 

 

sx2

 

Parameter

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

Bit ON: The touch switch is on.

Bit OFF: The touch switch is off.

Example

Touch switches at addresses 0, 3, 21, and 27 are ON

 

s01s02s11s12s21s22s31s32s71s72=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.

￿￿￿

Page 234
Image 234
Omron V022-E3-1 Touch Switch Bit Output from NT600S to Host, Section, Notifying that a Touch Switch Has Been Pressed