Howto communicate with Siemens G120C via Profinet?
Hi,
I am trying to connect a AXC F 2152 to a Siemens G120C drive via profinet. But I don't get
any further than importing the GSDML-file and include the drive into the current PLCnext project.
I added a Standard telegram 1 to the drive configuration, but can't connect any variables to it.
"Select Process Data Item here" shows a bunch of other stuff related to this drive, but not any
data inside the telegram itself.
Is this not possible yet or am I just missing something? Could not find information about how to
do this anywhere.
Link to PLCnext project and GSDML-files
Including a screenshot of where I would like it to be more stuff to choose from
Comments
Hi Tom,
I've had a peek into your project and the GSDML file.
The Variable "go_wG120C_STW1" has the datatype bool, but the processdata of the module "PZD-2/2" have only unsigned16 (word).
So, when you change the datatype to word it should work right away...
You can access the single bits than in your program sheet by using the "." operator --> G120_StatusWord_In.x .
cu
Frank
BTW: I've moved this post to the PLCnext Engineer section.
Hi Frank,
Haha... it was so simple mistake it became hard to figure out
The "real" problem for me was that I had the type-column hidden in PLCnext Engineer. One little click and it
became obvious.
(It thought it was a bit strange that I could not select variable type, but figured it might be some kind of dynamic
typing magic built in to the procedure.)
Thanks for the quick help!