Automatic addresses for PLC components
E3.series can automatically generate PLC I/O addresses. For this to happen, however, the PLC Start address attribute (.PLCADDR), must be assigned to the pin of one of the PLC component I/O elements and the format of the PLC Start address attribute itself must be defined.
To add the PLC Start address attribute:
-
Open the PLC component in Database Editor mode
-
Right-click on any symbol of the component and select Component Properties from the displayed dialog
-
Select the Pins tab
-
Select the first I/O element
-
Open the symbol to display the pin
-
Add the attribute PLC Start address by selecting it from the drop-down list in the Name column at the bottom of the Component Properties dialog
-
Click OK
Note
The PLC Start Address has to be assigned to the pin of the first I/O element and not to the component itself.
In the case where different I/O types belong to a PLC (e.g. Inputs and Outputs), a different start address has to be assigned to the first I/O element of each type.
In Project mode, when a PLC is added to a drawing, E3.series will automatically generate addresses for all I/O's. These addresses are assigned to the PLC Physical Address attribute of each of the I/O pins.
-
Format of the PLC Start Address attribute (.PLCADDR):
DI|#2d1-64/1|.|#1x0-F/1|
|
| | |
| | | |
| | | +------ Count part (hexadecimal from 0 through F with increment /1)
| | |
| | +------------- Fixed text.
| |
| +---------------------- Count part (decimal from 1 through 64 with increment /1)
|
+------------------------------ Fixed text DI -
Structure of the counting part:
|#<z><a><sss>-<eee>/<o>|
| Start and end of the count part. # The count part is identified by # in the first position. <z> Defines the number of digits for the number.
The number is entered right-aligned, with leading zeros.<a> Defines the type of counting:
-
D = decimal
-
B = binary
-
O = octal
-
X = hexadecimal
<sss> Defines the start number. - Separator between the start and end numbers. <eee> Defines the end number. /<o> The increment to be used for the counting. It is identified by a slash ( / ). -