Steve Goeller - 2022-04-21

Hi, This is a great project.

A question on SetAttributeSingle. I've got a Phoenix Contact Buss Coupler (2897758) with 2 Power Modules(2700965) attached to it. I can read data from either of the 2 power modules but so far I've only been able to write to the 1st module. This is what I used to write to the 1st module:

eeipClient.SetAttributeSingle(105, 1, 9, New Byte() {&H80, &H0}) ' set Index
eeipClient.SetAttributeSingle(105, 1, 10, New Byte() {SubIndex}) ' set sub-index
eeipClient.SetAttributeSingle(105, 1, 11, New Byte() {&H2, Byte_1, Byte_2}) ' send data - #of bytes then data

This is what I use to write to the 2nd power modules. When my program runs this code it writes to the 1st module only.

eeipClient.SetAttributeSingle(105, 2, 9, New Byte() {&H80, &H0}) ' set Index
eeipClient.SetAttributeSingle(105, 2, 10, New Byte() {SubIndex}) ' set sub-index
eeipClient.SetAttributeSingle(105, 2, 11, New Byte() {&H2, Byte_1, Byte_2}) ' send data - #of bytes then data

Thank you for any help ,
Steve Goeller