Device name not found error for AsHW Library

Hello all,

I am facing an issue at customer where I am getting an error “28850 - Invalid Device” for serial port I want to use in PLC.

Below is the image which shows the Physical configuration, I am communicating variables on serial port RS232. I have added variour device names like ‘IF1’, ‘SU1.IF1’, ‘SL0.IF1’, ‘SL0.SS1.IF1’, ‘SL0.SS0.HW’ but for all of these I am getting the similar error for getting node data.

PLC: X20CP0410
Serial: IF1

So, I wanted to know that how getNodeData function block for AsHW works, and what other configurations I need to look for and how the device name should be given for the same.

Serial parameters like BD, Parity etc is configured Ok.

Hope for the response soon.

‘IF1’ is correct, but this normally used with other libraries like DVFrame or DRV_mbus.

What are you trying to realize with the AsHW library ?

To get information about plugged and configured modules, the AsIODiag library can be used.

“getNode” function block will not work on serial interfaces as this interfaces do not have a node switch

Yes Noted. I have asked customer to bypass this for serial port and using IF1 for DRV_mbus. Thank you for the solution.

Yes, Thank you for the solution.

You are very welcome !