cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the pco query in MII transaction?

former_member363958
Discoverer
0 Kudos

Now I am trying to post some data to a sim modbus address with MII transaction.

Pls refer to the following img:

1. PCO setting

2. MII setting

Now my question is how to set the pco query (6th img) in a transaction that can update the tag value?

Hope can put some detail img to guide the setting process.

Thank you expert!

Ivan

Accepted Solutions (0)

Answers (1)

Answers (1)

Kevin_Hunter
Advisor
Advisor
0 Kudos

Hi Ivan,

In PCo you have to enable the MII Server in the Server Tab of your agent instance. Then create the data server in MII (please ensure you tick the "Writable" check box in the bottom right corner of the connection tab) , then in your PCo query you use the Tag Store Query mode.

This assumes you are writing to a modbus address that is a read/write address ( address ranges 10001-19999 and 30001-39999 are read only)

Hope this helps you.

Kevin

former_member363958
Discoverer
0 Kudos

Hi Kevin,

5th img shows that just using the pco store query "TESTPCO" can update the tag value successfully .

But now my question is how to set a pco query in one mii transaction ? Like parameters 、template and so on.

Thanks!

Ivan