Author Topic: Getting Started Help - BeginWrite  (Read 1188 times)

x3952

  • Newbie
  • *
  • Posts: 2
    • View Profile
Getting Started Help - BeginWrite
« on: January 31, 2019, 11:24:12 PM »
So I'm just learning about Ethernet/IP and I have a noobie question.

What do I input for the startAddress parameter of the beginwrite method?
The best I've found on the web is that this might be a sequence of bytes that reflect the class, instance, and attribute.
If it helps I'm trying to communicate with a servo drive using the EthernetIPforMicro800 class. I'm writing to the standard assembly class parameter 3.

If I missed some documentation somewhere or someone can just provide an answer I would be very appreciative.
Thanks in advance.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Getting Started Help - BeginWrite
« Reply #1 on: February 01, 2019, 05:53:21 AM »
The BeginRead is only for reading tags from a PLC, not generic Ethernet/IP parameters. This may help with what you want to do:

https://advancedhmi.com/documentation/index.php?title=Reading_the_CIP_Identity_of_any_Ethernet/IP_device

x3952

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Getting Started Help - BeginWrite
« Reply #2 on: February 01, 2019, 11:40:12 AM »
The BeginRead is only for reading tags from a PLC, not generic Ethernet/IP parameters. This may help with what you want to do:

https://advancedhmi.com/documentation/index.php?title=Reading_the_CIP_Identity_of_any_Ethernet/IP_device

Sorry, did you mean the BeginRead or beginwrite?
I actually saw this example and was able to apply it to successfully read the area of interest, but I am at a loss as to how to write to it.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Getting Started Help - BeginWrite
« Reply #3 on: February 01, 2019, 12:02:28 PM »
BeginRead and BegingWrite both only apply to PLC tags. By directly accessing Ethernet/IP (CIP) you are reading/writing attributes not tags. It is a lower lever function.

The AdvancedHMI drivers have very limited low level access because they are designed to be used for reading/writing tags in a PLC.