neuron icon indicating copy to clipboard operation
neuron copied to clipboard

How to fetch data in PLC address like %MW110.0 through ModbusTcp?

Open leo-leonardo opened this issue 1 year ago • 1 comments

Issue Template

In my plc code demo, I have some variables: image

How can I get data when I only have these address? I tried image and image but failed.

How can I transform the %MW address to integer address like 48960?

leo-leonardo avatar Aug 29 '24 07:08 leo-leonardo

What type of PLC is being used? Different models may have different rules for mapping PLC address to Modbus address.

fengzeroz avatar Aug 30 '24 03:08 fengzeroz

What type of PLC is being used? Different models may have different rules for mapping PLC address to Modbus address.

I am using Schneider Modicon TM172PBG18R PLC. Can I use this mapping rule to get Modbus address in other PLCs?

leo-leonardo avatar Sep 04 '24 06:09 leo-leonardo

What type of PLC is being used? Different models may have different rules for mapping PLC address to Modbus address.

I am using Schneider Modicon TM172PBG18R PLC. Can I use this mapping rule to get Modbus address in other PLCs?

Probably not. You should configure the tag address according to the documentation for this plc.

fengzeroz avatar Sep 05 '24 02:09 fengzeroz

What type of PLC is being used? Different models may have different rules for mapping PLC address to Modbus address.

I am using Schneider Modicon TM172PBG18R PLC. Can I use this mapping rule to get Modbus address in other PLCs?

Probably not. You should configure the tag address according to the documentation for this plc.

leo-leonardo avatar Sep 05 '24 03:09 leo-leonardo