# 6.1.7 Combination switch

**Introduction**

The combination switch supports the collection of multiple functions onto one object. When the object is pressed, multiple functions are arranged in sequence to meet the special requirements of user.

**Description**

**1) Bit operation**

It provides \[Bit copy], \[Set ON], \[Set OFF], \[Momentary] and \[Switch] functions, and it could operate continuous bit addresses according to setting length, and the maximum length is 2048 bits.

**Bit address length:** The length of operated addresses;

**Example:** \[Target bit address] is 00, \[Type] is Set ON, the length is 3, when press the button, the 00\~02 will be ON.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Luq2qrGWRoBQM-khisX%2F-Luq6DvFkff_mLOSqm4c%2F14.png?generation=1575013381146610\&alt=media)

**2) Word operation**

It provides \[Word copy], \[Word set], \[Increase] and \[Decrease] functions, it could operate maximum 2048 word addresses, and the operating length will be changed according to data formats.

If data format is 16-bit signed (unsigned), the operation address is the source address 0\~source address +2048;

If data format is 32-bit signed (unsigned), the operation address is the source address 0\~source address +4096;

**Word addresses length:** The length of operated addresses;

**Example:** \[Target word address] is 40, \[Type] is Set 10, the length is 3, when press the button, the 40\~42 will be 10.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Luq2qrGWRoBQM-khisX%2F-Luq6DvGPtgq0Na0Mqh5%2F15.png?generation=1575013381155735\&alt=media)

**3) Arithmetic**

It provides \[Add], \[Subtract], \[Multiply], \[Divide], \[Mod] and \[Power] functions.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Luq2qrGWRoBQM-khisX%2F-Luq6DvHe1OgBxTHOYsI%2F16.png?generation=1575013381144912\&alt=media)

**4) Screen change**

It provides screen switch function as \[Function Switch], it supports \[Previous], \[Next], \[Return] and \[Change to] operations.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Luq2qrGWRoBQM-khisX%2F-Luq6DvIIeBtwA3FuzNK%2F17.png?generation=1575013381147880\&alt=media)

**5) Operations list**

\[Operations list] displays all operations, HMI will execute operations in order, but \[screen switch] will be listed as the last execution item directly.

**6) Operation button**

**Delete:** Delete selected item function;

**Empty:** Delete all items in operation list;

**Up:** Move the selected item up one row in operation list;

**Down:** Move the selected item down one row in operation list;

**7) Advanced setting**

Control the whole combination switch configuration.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Luq2qrGWRoBQM-khisX%2F-Luq6DvJTWKHYREc84Sy%2F18.png?generation=1575013381169077\&alt=media)

**Bit trigger:** it controls sub-function option of combination switch configuration by trigger address is ON;

**Continuous run:** it executes each sub-function according to \[Cycle time] and \[Run times];

**Cycle time:** Interval between sub-functions execute once with next time;

**Run times:** Configuration function execute times. 0 means unlimited times;

**Break:** Stop executing sub-function when trigger address is ON;
