Hello
@Andresm
It helps if we know where abouts in Spain you are as aart mentions above.
I'm in Catalonia, between Barcelona and Girona.
Before you make any decisions about how to keep your chickens I would find out what kind of predators you have in your area. If for example you have foxes that hunt in daylight hours then fully free ranging isn't a good idea. If like me you have hawks then where you free range and the available cover is important.
For now I would just open the coop hatch door and let them decide for themselves when to come out. I would be tempted to leave food at the bottom of the ramp to the coop.
The bad news is the chicken wire you have around the run and it's support structure is not going to deter many predators. They will dig under it or for dogs, just knock it over.