This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
comfilehmi:lamp:index [2023/04/07 13:31] COMFILE Technology [Word Address : Compare] |
comfilehmi:lamp:index [2023/05/08 04:13] (current) COMFILE Technology [bit index] |
||
---|---|---|---|
Line 23: | Line 23: | ||
{{ :comfilehmi:lamp:hmi_lamp4.png?nolink |}} | {{ :comfilehmi:lamp:hmi_lamp4.png?nolink |}} | ||
+ | |||
+ | ==== bit index ==== | ||
+ | |||
+ | In the bit index, MSB is a large value and LSB is 0. For example 16 bit valus's bit index is | ||
+ | |||
+ | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
+ | | MSB | |||||||||||||| LSB | | ||
===== Expressions ===== | ===== Expressions ===== | ||
Line 30: | Line 37: | ||
{{ :comfilehmi:lamp:lampsusik.png?nolink |}} | {{ :comfilehmi:lamp:lampsusik.png?nolink |}} | ||
- | The following video illustrates a lamp being turned on or off by modifying a single variable. | ||
- | |||
- | {{ :comfilehmi:lamp:lamponoff.mp4?850x453 |}} | ||
- | |||
- | [[comfilehmi:index#widgets| Back to ComfileHMI]] | ||
===== Blinking ===== | ===== Blinking ===== | ||
Line 41: | Line 43: | ||
{{ :comfilehmi:lamp:blink.png }} | {{ :comfilehmi:lamp:blink.png }} | ||
+ | |||
+ | ===== Demo Video ===== | ||
+ | |||
+ | {{ :comfilehmi:lamp:buttonlampvideo4.mp4?1000x600 |}} | ||
+ | |||
+ | [[comfilehmi:index#widgets| Back to ComfileHMI]] |