Hello,
I have an issue with BG logic god damn!
Take a look:
What the hell syntax error? It is the simples syntax that i have ever seen. I get this error when i push running button.
Hello,
I have an issue with BG logic god damn!
Take a look:
What the hell syntax error? It is the simples syntax that i have ever seen. I get this error when i push running button.
BG Logic cannot call other programs.
What are you trying to accomplish?
Drop from one conveyor to another ;/
Why not use a normal TP program.
: WAIT (DI[1]);
: CALL TRANSFER_SIM;
because i dont now when drop should be done. I have only one signal, if position of pallet is X then call transfer therefore checking signal should be independent of program run, must be monitoring all the time.
You need to tell us what the program Transfer sim does. Post the code. Then I can give advice on how to do it.
In transfer sim are 2 lines of code, pick from first conv to gripper, and drop from gripper to the second conv. I use invisible gripper to transfer part between 2 conveyors. No matter what, if the part is on the end of the first conv, do transfer sim program.
In Roboguide Im pretty sure any simulation using the gripper must be run in a normal TP program. If you need this to run independent of your robot motion then I think you will need to create a second invisible robot.
because i dont now when drop should be done. I have only one signal, if position of pallet is X then call transfer therefore checking signal should be independent of program run, must be monitoring all the time.
Still a bit muddy on why you need to, but you can accomplish your BG logic task by using Macros instead - may need to utilize abort signals if the robot is busy with another program at the time you send the macro bit.
I think he is just trying to show the part move from one conveyor to another in RoboGuide. This is more of a RoboGuide simulation issue not a robot programming issue.
Another option you can use is the create and destroy delay timers in Roboguide. You can use this to allow a part to automatically appear and disappear. If you get the timing right then it will look OK for simulation purposes.
I got it. I just created another robot controller with one tp program in infinity loop. It works like PLC. All of the signals comes to that controller and then to others robots.