XBee S6B- How to configure only one xbee RX IPv4 (frame type=B0) to set DIO2 high over local network via php

Hi, I have php server running and i am able to communicate over local network but when ı send command to set DIO2 pin to HIGH using AT commands on transparent or API 2 mode the command is only regognised as string rather than setting the value. actually I am not sure whether I have configured my Xbee correctly with XCTU or if I am sending correct command over the network. I have spend over 2 weeks and I am still in the dark. Please i need help as soon as possible
Thank you
Kind Regards

Are you sending your data as Hex or ASCII data? Have you looked at the sample code within the XBee WIFI Development kit?