8/30/2022 12:14 PM | |
Joined: 3/11/2019 Last visit: 7/9/2024 Posts: 1511 Rating:
|
Hi, as shown in your screenshot, you have configured "Local~PROFINET_IO-System" and this is correct. "Local~PROFINET_IO-System" is from type "HW_IOSYSTEM" and can be found in -> PLC tags -> standard tag table -> sytem constants". Furthermore: As shown in screenshot, for "MODE" value "0" is used. According to the manual, Mode "0" is not a supported value. You can test the function with a supported mode like "2: IO devices/DP slaves are faulty". Is this working? DeviceStates: Read module status information in an IO system-> Parameter LADDR -> Parameter MODE regards sancruz |
Feedback appreciated, please rate |
|
This contribution was helpful to
2 thankful Users |
8/30/2022 12:27 PM | |
Posts: 34 Rating:
|
Hmm. Can't seem to find any other Hw_IoSystem than Local~Profinet_IO-System at all. |
8/30/2022 2:10 PM | |
Joined: 3/11/2019 Last visit: 7/9/2024 Posts: 1511 Rating:
|
Hi,
I think there is a general misunderstanding. DeviceStates always adresses the complete IO-system/interface, not a specific single/particular io device. And therefore you can only adress an Hw_IoSystem. With this instruction you will receive the states for all devices connected to this system. There are no other Hw_IoSystem as long as there are no additional interfaces like CP/CM. A single io-device does not have an own io-system, therefore there is no system constant for that. If you want the diagnostics/states of a single device, you can use Get_Diag DeviceStates: Read module status information in an IO system"Description regards sancruz |
Feedback appreciated, please rate |
|
This contribution was helpful to
1 thankful Users |
Follow us on