Every PLC connection point or channel is usually assigned a symbolic address. In EPLAN, these can be manually entered, automatically generated, or read from an assignment list.
In the Properties <...> dialog there are three properties for the symbolic address of PLC connection points:
- Symbolic address: The manually entered symbolic address
- Symbolic address (automatic): Displays the manual symbolic address (if it exists), otherwise the determined symbolic address
- Symbolic address (determined): The symbolic address determined through the target tracking.
If a manual symbolic address exists, this is adopted in the automatic symbolic address. Symbolic addresses imported from an assignment list are also overwritten by manual entries.
Automatic assignment of symbolic addresses
In the PLC-specific settings you specify whether symbolic addresses are to be assigned automatically. To this purpose the Generate symbolic addresses automatically using check box has to be activated in the Format of symbolic address tab.
During automatic assignment, the so-called target tracking looks for the sensor (input) or actuator (output) connected to a PLC connection point and transfers the DT into the Symbolic address (determined) property.
If you use a project structure with identifier blocks, then you can replace the prefixes when formatting or suppress the display of particular identifier blocks (e.g., "Higher-level function" or "Mounting location"). It is also possible to include the connection point designation in the symbolic address.
EPLAN recognizes a sensor or actuator from the "Signal type" entry in the connection point logic of the respective function. Information from the connection point logic is also used to decide at which connection point the search for a sensor / actuator is to be continued. If no sensor / actuator is found, then the DT of the last connected function found before the search was abandoned is entered.
There are four possible reasons why a connection point found during the target search may not be the desired one:
- The search begins at an input (i.e., looking for a sensor) and ends at an actuator connection point.
- The search begins at an output (i.e., looking for an actuator) and ends at a sensor connection point.
- The search ends at an undefined connection point.
- The search ends at a source connection point.
In the first case, EPLAN finds (e.g.) an actuator where the potential is not continued because the actuator is a consumer.
In the second case (e.g.) a sensor is found that is a change-over contact or a three conductor initiator. The search must now proceed in two directions. For this reason, in addition to the Type of signal property with the "Sensor" or "Actuator" settings, the connection point logic also contains the Target tracking (PLC) to property, defining which connection point should be used for continuing the search.
If the subsequent search direction is not defined, then the component where the search can no longer continue becomes the target.
Notes:
- The symbolic address can only be correctly determined when the connections are up to date. If necessary, recreate the connections.
- At some PLC control systems special characters are not allowed in the symbolic address. So that the DT can also be used as an automatically entered symbolic address in this case, you can replace the preceding sign used in the DT by a different character in the PLC-specific settings (in the Format of symbolic address tab).
Further symbolic address settings
Using the Use address if search for symbolic address is unsuccessful setting in the project settings (Options > Settings > Projects > "Project name" > Devices > PLC), you define that, instead of the DT, the address is copied into the symbolic address when no sensor or actuator is found.
If the property Without sensor / actuator search for symbolic address is activated on an I/O connection point, the program behaves as if no sensor or actuator will be found. In this case, the address will be used as long as it has been stored in the project settings.
Import from assignment list
When importing an assignment list, the symbolic addresses contained in the list are assigned to the PLC connection points of the selected CPU – depending on the settings.
When exporting an assignment list, the symbolic addresses and the connected target can be output separately.
See also