Jonathan358
Member
Hey guys,
Run into another program. This stuff don't get easy when you start from only knowing the basic of programing to the mid advance stuff.
Here it is. I got an anybus x gateway ethercat to Profinet I/o slave connected to s7-1515-2 via Ethernet cable. The problem I have run into is this. The input from Ethercat is output to the anybus xgateway seems to be in hex. So the byte I'm dealing with is byte 2. You will see from my picture it is showing an 01. Now this byte 2 is from the anybus to a photoeye from the Ethercat. When the photoeye is false is shows 01, but when it's true it shows 03. I'm trying to use this as an input use this to trigger an output to my s7-1515-2.
I have been trying to figure out how are you supposed to say 01 is off and 03 is on or vice versa. I was writing it in LAD, but I have a feeling you all might be telling me it needs to write in scl which I haven't really messed with much at all. I'm using TIA V15.1
Run into another program. This stuff don't get easy when you start from only knowing the basic of programing to the mid advance stuff.
Here it is. I got an anybus x gateway ethercat to Profinet I/o slave connected to s7-1515-2 via Ethernet cable. The problem I have run into is this. The input from Ethercat is output to the anybus xgateway seems to be in hex. So the byte I'm dealing with is byte 2. You will see from my picture it is showing an 01. Now this byte 2 is from the anybus to a photoeye from the Ethercat. When the photoeye is false is shows 01, but when it's true it shows 03. I'm trying to use this as an input use this to trigger an output to my s7-1515-2.
I have been trying to figure out how are you supposed to say 01 is off and 03 is on or vice versa. I was writing it in LAD, but I have a feeling you all might be telling me it needs to write in scl which I haven't really messed with much at all. I'm using TIA V15.1