Write PR through PROFINET IO

  • Hello guys, good night!

    I have a LR-200iD with PROFINET IO communication with a S7-1200. I wonder if there is any way to write a value directly into a PR using the PLC. I have been using Group IO to exchange data but this process seems very limited because I need to work around negative numbers and real numbers, so I wonder if there is any simpler and easier way to write a position.


    Thanks a lot guys!

  • It seems that nobody knows...And I don't either.

    The only help I can give you is to tell you how I did it. (not to a plc but to another robot)


    I use a 15 bit group IO plus a separate input for negative numbers.

    Ofcourse you can use 16 bit signed integers, but I use the fact that it is negative also for other porposes, and this makes life much easier.

    This gives you a range of 0 to 32767 positive and negative.

    I use three additional IO for handshaking.

    One -hello I need a position- line

    And two -I am ready, are you ?- lines


    A little more precision is welcome but you don't need real numbers.

    In the sending robot (for you the plc) for X, Y and Z, multiply the number by 10 and send it, and divide by 10 in the receiving robot.

    For W, P and R I multiply by 100 for even more precision.


    This gives me the range that I need and a better precision than the repeatability of the robot.


    If you find a better way, please let me know.

Advertising from our partners