Variable mapping

Hello,

I am trying to turn on a gripper for my Delta robot. I am using X20DO6322 Output mdule. I mapped the gripper boolean variable with IO module. I created a global variable for Gripper on and off operation. Now when i try to turn on the gripper in between my robot motion program, i am getting parse error Unknown identifier and it is not recognising my variable. I am attaching the screenshots of my error message and the code for reference. Kindly provide a solution. Thanks in advance.

Hi Krishna,

It looks like you’ve created a Structured Text robot program. In order to use I/O within that program, you’ll need to declare the variable within your .st file. Take a look at this Help page for more information: Variables mapping to I/O

Alternatively, you can use this page to help you access the already-existing PV.

1 Like