PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Check_box Write values  (Read 1282 times)

PxPlus

  • Administrator
  • Diamond Member
  • *****
  • Posts: 1091
    • View Profile
Check_box Write values
« on: May 31, 2018, 10:29:35 AM »
When issuing a WRITE to a Check_box (or Tristate_box) the value written will be interpreted are as follows:

- If the value is one of the translation table values, it's position in the table defines the state (First=off, Second=on, Third=Other for Tristate)
- If the value is "0", "N" or NULL ("") set off
- If the value is "1" set on
- If the value is "2" set to other state (Tristate only)
- Any other value sets the check box on