Support Portal

Integrate a DT35 with a SIG200 into a Siemens PLC

The article shows how to integrate a DT35 with a SIG200 into a Siemens PLC.
Related Products
DT35-B15551 DISTANCE SENSOR
SIG200-0A0412200 SENSOR INTEGR.GATE

Table of Contents

Dear all,

If you would like to see the correct distance value of the DT35 in your PLC you have to use the data type of the variable (USINT) in your PLC, otherwise you will get a negative value in higher distance.

The configuration of the DT35 and SIG200 are as default.

The programming of the PLC looks like this:
I used the 2 Byte IN and 0 Byte OUT module of the SIG200 in the hardware config.




The Byte input address in my example is 198 and 199 as can be seen in the screen shot.

I made a variable in the data block with the type UInt. It has to be the datatype UInt and not Int, otherwise you will get a negative value.




In the program, I moved the hardware input IW198 into the "distance_DT35" variable and I got the correct value.




Hope that helps.

Keywords:
siemens plc, integrate, distance value, data type of variable, configuration, byte input, byte output