6/6/2023 11:30 PM | |
Joined: 9/2/2022 Last visit: 6/26/2024 Posts: 18 Rating: (0) |
There are two HW IDs for a port. Anyone knows what is the difference and which one should be used when a FB needs the port HW ID?
------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 06/07/2023 09:21:17New subject after splitting |
|
6/7/2023 3:27 PM | |
Joined: 9/2/2022 Last visit: 6/26/2024 Posts: 18 Rating: (0) |
Thank you for the answer. I wonder where the number of ports and port numbers are defined? |
6/8/2023 5:45 AM | ||
Joined: 10/7/2005 Last visit: 7/15/2024 Posts: 3009 Rating: (1053) |
Below is the answer straight from the TIA Portal inbuilt help (and I hopefully understood your question correctly)
Definition System constants are global constants, unique throughout the CPU, that are required and automatically created by the system. System constants can, for example, be used to address and identify hardware objects. Rules System constants are assigned automatically when components are inserted in the device or network view, and entered in the default tag table ("System constants" tab). A system constant is created for each module, but also for each submodule. An integrated counter, for example, therefore receives a system constant as well. System constants consist of a symbolic name and a numeric HW identifier and cannot be changed. Names of system constants The names of the systemconstantsare structured hierarchically. They consist of a maximum of four hierarchical levels, each of which is separated by a tilde "~". Based on the name, you can therefore recognize the "path" to the relevant hardware module. Example A system constant with the name " |
|
Cheers |
||
6/11/2023 4:44 PM | |
Joined: 9/21/2012 Last visit: 7/15/2024 Posts: 4012 Rating: (453) |
You can't define the number of ports, it comes automatically from the hardware. |
Follow us on