# SIEMENS\_PAC\_2200

## `SIEMENS_PAC_2200` (FB)

`FUNCTION_BLOCK` SIEMENS\_PAC\_2200

### Representation

<figure><img src="/files/9a88b1ddb6b7ce6ecd60e5bedb7a675c36e6f39c" alt=""><figcaption></figcaption></figure>

InOut:

| Scope       | Name                | Type               | Initial     | Comment                                                                                                                                           |
| ----------- | ------------------- | ------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`             | TRUE        | Enable / disable communication (TRUE = enable)                                                                                                    |
| Input       | `byUnitId`          | `BYTE`             | 0           | Device address                                                                                                                                    |
| Input       | `xUpdateActual`     | `BOOL`             | FALSE       | <p>Update of actual values (on every rising edge<br>)</p>                                                                                         |
| Input       | `xResError`         | `BOOL`             | FALSE       | <p>Reinitialization of the outputs <code>eErrorCodeCom</code> in the<br>fault-free state (on each rising edge)</p>                                |
| Input       | `xSendSysCommand`   | `BOOL`             | FALSE       | Activation of the transmission of the system commands (on each rising edge) (Prerequisite: valid address and valid value)                         |
| Inout       | `ModbusClient`      | `ModbusClientBase` |             | Client of the device                                                                                                                              |
| Output      | `rU1N`              | `REAL`             |             | Phase-to-neutral voltage L1 - N in V                                                                                                              |
| Output      | `rU2N`              | `REAL`             |             | Phase-to-neutral voltage L2 - N in V                                                                                                              |
| Output      | `rU3N`              | `REAL`             |             | Phase-to-neutral voltage L3 - N in V                                                                                                              |
| Output      | `rU12`              | `REAL`             |             | Line voltage L1 - L2 in V                                                                                                                         |
| Output      | `rU23`              | `REAL`             |             | Line voltage L2 - L3 in V                                                                                                                         |
| Output      | `rU31`              | `REAL`             |             | Line voltage L3 - L1 in V                                                                                                                         |
| Output      | `rIL1`              | `REAL`             |             | Line current L1 in A                                                                                                                              |
| Output      | `rIL2`              | `REAL`             |             | Line current L2 in A                                                                                                                              |
| Output      | `rIL3`              | `REAL`             |             | Line current L3 in A                                                                                                                              |
| Output      | `rPowerFactorL1`    | `REAL`             |             | Power factor L1                                                                                                                                   |
| Output      | `rPowerFactorL2`    | `REAL`             |             | Power factor L2                                                                                                                                   |
| Output      | `rPowerFactorL3`    | `REAL`             |             | Power factor L3                                                                                                                                   |
| Output      | `rActivePowerL1`    | `REAL`             |             | Active power L1 in W                                                                                                                              |
| Output      | `rActivePowerL2`    | `REAL`             |             | Active power L2 in W                                                                                                                              |
| Output      | `rActivePowerL3`    | `REAL`             |             | Active power L3 in W                                                                                                                              |
| Output      | `rApparentPowerL1`  | `REAL`             |             | Apparent power L1 in VA                                                                                                                           |
| Output      | `rApparentPowerL2`  | `REAL`             |             | Apparent power L2 in VA                                                                                                                           |
| Output      | `rApparentPowerL3`  | `REAL`             |             | Apparent power L3 in VA                                                                                                                           |
| Output      | `rReactivePowerL1`  | `REAL`             |             | Reactive power L1 in var                                                                                                                          |
| Output      | `rReactivePowerL2`  | `REAL`             |             | Reactive power L2 in var                                                                                                                          |
| Output      | `rReactivePowerL3`  | `REAL`             |             | Reactive power L3 in var                                                                                                                          |
| Output      | `rFrequency`        | `REAL`             |             | Frequency in Hz                                                                                                                                   |
| Output      | `rActiveTariff`     | `REAL`             |             | Active tariff                                                                                                                                     |
| Output      | `rActEneImpTotal1`  | `REAL`             |             | Imported active energy - total - tariff 1 in kWh                                                                                                  |
| Output      | `rActEneImpTotal2`  | `REAL`             |             | Imported active energy - total - tariff 2 in kWh                                                                                                  |
| Output      | `rActEneExpTotal1`  | `REAL`             |             | Exported active energy - total - tariff 1 in kWh                                                                                                  |
| Output      | `rActEneExpTotal2`  | `REAL`             |             | Exported active energy - total - tariff 2 in kWh                                                                                                  |
| Output      | `rReaEneImpTotal1`  | `REAL`             |             | Imported reactive energy - total - tariff 1 in kVarh                                                                                              |
| Output      | `rReaEneImpTotal2`  | `REAL`             |             | Imported reactive energy - total - tariff 2 in kVarh                                                                                              |
| Output      | `rReaEneExpTotal1`  | `REAL`             |             | Exported reactive energy - total - tariff 1 in kVarh                                                                                              |
| Output      | `rReaEneExpTotal2`  | `REAL`             |             | Exported reactive energy - total - tariff 2 in kVarh                                                                                              |
| Output      | `rAppEneTotal1`     | `REAL`             |             | Apparent energy - total - tariff 1 in kVAh                                                                                                        |
| Output      | `rAppEneTotal2`     | `REAL`             |             | Apparent energy - total - tariff 2 in kVAh                                                                                                        |
| Output      | `xOverCurrent`      | `BOOL`             |             | Fault - overcurrent (TRUE = fault)                                                                                                                |
| Output      | `xOverVoltage`      | `BOOL`             |             | Fault - overvoltage (TRUE = fault)                                                                                                                |
| Output      | `sOrderNumber`      | `STRING`           |             | Order number of the meter (20 ASCII characters)                                                                                                   |
| Output      | `sSerialNum`        | `STRING`           |             | Serial number of the meter (16 ASCII characters)                                                                                                  |
| Output      | `xAlarm`            | `BOOL`             | FALSE       | Collective fault (TRUE = fault)                                                                                                                   |
| Output      | `xAlarmCom`         | `BOOL`             | FALSE       | Collective fault - communication (TRUE = fault)                                                                                                   |
| Output      | `eErrorCodeCom`     | ModbusErrorCode    |             | Error code - communication (0 = no error)                                                                                                         |
| Output      | `xBusy`             | `BOOL`             |             | Communication indicator (TRUE = communication)                                                                                                    |
| Input Const | `wSysRegVal`        | `WORD`             | 0           | Value of the register for the system command                                                                                                      |
| Input Const | `wSysRegAdr`        | `WORD`             | 60006       | Address of the register for the system command                                                                                                    |
| Input Const | `xEnAlarmDevice`    | `BOOL`             | FALSE       | <p>Enable / disable output <code>xAlarmDevice</code> or<br><code>stErrorCodeDev</code> (FALSE = disabling the evaluation of the alarm states)</p> |
| Input Const | `diAdrOffset`       | `DINT`             | 0           | <p>Offset for calculating the Modbus addresses (from the Modbus<br>registers) (permitted range: -1, 0, +1)</p>                                    |
| Input Const | `tTimeUpdateActual` | `TIME`             | TIME#10s0ms | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p>                                         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.powerio.com/hub/codesys-hvac/en/hvac-modbus-library/functionblocks/siemens/siemens_pac_2200.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
