Are you speaking about UR robot ?
If you are thinking to make relative programming using this plane.
The best is probably to manually create some feature points and then edit them in your program. Relative programming can be made from points.
I may be wrong but I don t think you can create plan from script command on UR robot.
I would like to create a plane with the coordinates i recieve from an external device. Is there any method to set the plane using those coordinates. Thank you!