PLC connection points can be manually, subsequently, or automatically addressed.
- With manual addressing you assign the PLC address to each individual connection point. To do so enter the address in the Address field of the PLC connection point tab of the property dialog.
- With subsequent addressing, you assign new addresses to multiple already addressed PLC connection points in a single step. Select the menu items Project data > PLC > Address to this purpose.
- With automatic addressing, PLC connection points are automatically assigned a new address when they are inserted into a schematic or overview page.
If you are using different PLC controllers in a project, each CPU should be assigned a scheme for the PLC-specific settings. In such a scheme the formats for the PLC addresses are defined in relation to the PLC type. In the case of subsequent or automatic addressing, the settings from the respective scheme as assigned to the CPU are taken into account.
If no scheme for the PLC-specific settings has been assigned to a CPU, the scheme from the project settings is used. When automatically addressing different CPUs without assigned scheme, incorrectly formatted addresses may be suggested.
If you insert PLC connection points by means of symbol or macro selection or copy PLC connection points, the scheme from the project settings is also used for automatic addressing.
If you work in multi-user operation, we recommend disabling automatic addressing of PLC addresses.
Note:
If the entered start address and the address format do not agree during subsequent addressing, a message is displayed. In this case, you must adjust the start address and / or the address format.
PLC Connection Points with Fixed Addresses
If you use PLC connection points with fixed addresses in your project, these should normally not be modified during subsequent addressing or during the insertion of macros. With the property Do not include in addressing you can specify at a PLC connection point that it is to be excluded from addressing and thus always retain its original address.
During addressing such PLC connection points are also not displayed in the result preview.
Ensure that the property is set at every used representation type of the PLC connection point so that the representation types behave the same during addressing.
PLC cards with different address ranges
You can specify two separate start addresses for the inputs and outputs for PLC cards that have both inputs and outputs. To this purpose the properties Start address of PLC card and Start address 2 of PLC card are available in the PLC box tab of the property dialog. These properties can be used when addressing with configuration value.
Tip:
The check runs 004106 and 004107 are available to check whether addresses are located outside the address range of the PLC card or whether address ranges of multiple PLC cards overlap. If you want to use these check runs, the properties PLC device: Data length (inputs) and / or PLC device: Data length (outputs) must also be filled in addition to the start addresses. The address range is determined from the start address and the data length. The data length indicates the number of bits up to the next free address on the next PLC card.
See also
Automatically Assigning Addresses to PLC Connection Points