In order to program industrial robots, you need to have a solid understanding of coding and robotics. Take these Standford students in the Artificial Intelligence Laboratory for instance. They have managed to teach robots how to play dominoes or the xylophone.
These robots sense where they are in space and detect objects around them. The xylophone player records and mimics what humans play. More info is available here.