batch-example-2/ft-view-screens/displays/new-devices-sdcfg.md

5.2 KiB

new-devices-sdcfg

display

xml

reference objects

switch

group

cfg.switch

parameters

name description value
#12 text simulation mode
#10 tag dd\s#1\sf
#11 desc dd\s#1\desc
#13 security security\config
#14 value on 1
#15 value off 0
#16 on label force
#17 off label none

switch1

group

cfg.switch

parameters

name description value
#12 text input force
#10 tag dd\s#1\si
#11 desc dd\s#1\desc
#13 security security\config
#14 value on 1
#15 value off 0
#16 on label on
#17 off label off

switch2

group

cfg.switch

parameters

name description value
#12 text alarm disable
#10 tag dd\s#1\sd
#11 desc dd\s#1\desc
#13 security security\config
#14 value on 1
#15 value off 0
#16 on label disabled
#17 off label enabled

animated

StringDisplay8

stringDisplay

xml

connections

name expression
Value if (dd\s#1\pd = 0) then "Alarm enabled from program logic" else "Alarm disabled from program logic"

StringDisplay3

stringDisplay

xml

connections

name expression
Value {dd\s#1\desc}

StringDisplay25

stringDisplay

xml

animations

type expression
animateColor (dd\s#1\sf = 0) and (dd\s#1\si = 0)

connections

name expression
Value if (dd\s#1\sf = 0) then "No Simulation" else "Forced Input"

Button15

button

xml

command

  • release
    • abort