@Franky welcome to the community. A couple of thoughts come to mind as these are issues we've had in the past.
First, are you using discrete output bit or a byte register for the output? If you're using a register are you setting it to the correct byte for the output you want to turn on?
In either case is the address for the bit or the byte correct. I've never used the Siemens system but I know some units use the same addressing for inputs and outputs and some use diffferent ranges. We used a system a few years ago where discrete inputs were between 0 and 511 and discrete output addresses were 512-1023. Until we figured that out it wouldn't work. It was the same with the register values as well.
Hallo Community
we have a problem with the modbus communication. We send a Signal e.g. Door open from a Siemens LOGO to the UR. This way is running.
But if we send an output Signal like open the door we can´t recive it on the LOGO. The robot is config as a client. We have test a lot of things but we can´t find the wright way. Maybe someone here can help me.
Greetings from Germany