Hi All,
INFO: KRC 4 with ProfiNet, Kss 8.3, TIA 14
We are trying to exchange analog signals between controller and the PLC via TIA portal. We use the PLC's device description (generated using TIA) in the VW Profinet. Digital IO connections are working perfectly fine but we are a bit confused about the conversion of analog signals.
We created both one Byte and two Byte transfer areas in the PLC(TIA profinet) and mapped them to the analog input and outputs of the robot controller (one Byte for SINT two Bytes for INT). When we monitor the static analog outputs from the controller (defined using inline code) in TIA portal it doesn't show the actual values. some example values we get are as below:
ANOUT [X] (SINT: 1 Byte) = 1 --> TIA Variable (SINT:1Byte)= -1
ANOUT [X] (SINT: 1 Byte) = -1 --> TIA Variable (SINT:1Byte)= 1
ANOUT [X] (SINT: 1 Byte) = 0.001 --> TIA Variable (SINT:1Byte)= 32
ANOUT [X] (SINT: 1 Byte) = 0.18 --> TIA Variable (SINT:1Byte)= 10
ANOUT [Y] (INT: 2 Bytes) = 1 --> TIA Variable (INT: 2 Byte)= -129
ANOUT [Y] (INT: 2 Bytes) = 0.32 --> TIA Variable (INT: 2 Byte)= -2776
When we send the same values from the PLC to the controller conversion is completely different from above.
Could someone explain how this conversion is done, because we are using same data types on both the ends but still getting unknown (for us) values.
How do we get the actual values from the Robot to the PLC and vice versa?
Thanks