That's right, I just figured out GI.))) It remains to correctly write the condition that includes the program. I'm not strong here, with your help there will be a victory over such an interesting task)
Posts by Coldstart
-
-
Commands are sent via the Owen OPC server. If I enter the value 55, then GI1 equals 7, if I change the address from 0 to 1 in Owen OPS, then the value 55 in GI2 is 14080. When Gi1 = 7 then DI 1,2,3,5,6 = on. When GI2 = 14080 then DI 17,18,19,21,22 = on
-
For more information, I can send photos of my sketches by email so that you can understand me more accurately.
-
That's right, when simulating signals, the robot executes a program linked to PNS1. I need BG Logic using GI1 and GI2 commands that include the necessary flags. As I understand it, in BG Logic, write 2 'words', where in one the command, in the other the program code.
-
Thank you for such a detailed answer. Believe me, I made all the above settings, and the robot works when simulating remote work. I just don't have the sense to write it in logic using the right function. You're right, I need to read more, but YouTube didn't find any videos on my question.
-
I understand that there are ways not to use Bg Logic.
But this is exactly the task because at the enterprise we can connect to the robot only in this way. But I can't determine the order of writing the program in the presence of my data...
-
The task is to enable the program via Owen OPC server, where the data type is Word. For example, IF (10) THEN F [PNS1]= ON . For the life of me, I can't write logic, I'm confused....
-
Hi guys! Connected the PC to the Fanuc via Modbus. Flag and DI have been configured for Rack 96. I set up the group logic GI1 responds from 1 to 8 DI and GI2 responds from 9 to 16 DI. Question: I can't write logic so that there are 4 commands: Start, stop, general stop and reset. Help please.
-
I think I'm starting to understand. I'll try to translate this into my own Flags...
-
FANUC Robots doesn't use the data type WORD in TP programs (which is the only kind of program that's able to run as BG Logic).
You can for sure write the binary equivalent by using 16 boolean variables (Flag, Digital I/O, numerical Registers), but why?
I see you already understand what I mean ...)
That's the task set by the head, you need to do it and without your help I feel that I can't.
-
Please write at least an approximate code of the program, enabling and disabling the necessary signals, in the order that I wrote above
-
If you are able to read/write Flags trough your setup, then you would only need to map the UOP signals to Flags.
To do this, use RACK 34, SLOT 1 in the config for the UOP signals.
No need for BG Logic.
My task is to write 2 words in BG Logic, as I understand it, in one the command, in the other the program code...
-
I see it this way:
Start (0x01) - Prod-start
Stop (0x02) - SFSPD=OFF
All stop (0x03) - IMSTP=OFF
Reset (0x04) - Fault reset
-
Please, explain what you are trying to accomplish.
PNS is a method used for starting a robot program with signals from an external device (usually a PLC). To have this work, certain settings in your robot needs to be done (check manuals). Also, the program names must be named with the prefix "PNSxxxx", for example "PNS0001_Main" where the 4-digit number (0001-9999) correlates with the associated PNS-group input.
BG Logic is a program that is constantly running in the background as soon as the robot power on. It is not affected by alarms or E-stops.
The robot is directly connected to a PC
I've made all the settings.
The simulation of enabling DI via Flag is successful.
I can't write a program in BG Logic to control the robot via Owen OPC Server
-
Address 1The general task is to send commands through the OPC server through these commands (0x01..)
Start 0x01
Stop 0x02
All stop 0x03
Reset 0x04
Address 2
And for the same type of work, the program code.
-
The command is written in GI1;
The program code is in GI2.
-
By PNS, I mean that it includes the FLAG
-
Good afternoon.
The fact is that I need to write 2 words in Bg Logic: as I understand it, in one the command is in the other the program code.
For example, GI1 has from 1 to 8 bits;
GI2 is from 9 to 16 bits.
Here are my sketches If GI1 ≠R1
IF GI1=
.
.
R1=GI1
ENDIF
IF (0x02) THEN
F[PNS]=OFF
But I can't sort it all out and write a program.
Help me friends!
-
Hi guys. Help me write logic in BG Logic to run the program using PNS.
Please, I really need it.
Robot: Fanuc LR-10iA10 series 9.40