Analog input
Jasek
✭
Hello everybody
Im working with RS, and i have used some digital inputs to simulate the process.
But now i have to change this digital inputs to analog ones.
My question is: If I configure the analog input variable parameters ( of the robot, with the robot controller) Physical Max, Physical min, logic max and logic min, the robot controller will convert the analog values that it receives to the others i need?
For example, it receives "mA", can the robot controller convert it to a "distance" automatically?
Or should I make the change in the rapid programming y-y1=m(x-x1) ?
Thank you very much in advance.
PS. I dont know if this is the place to put this topic, if not.. sorry
0
Comments
-
yes indeed, here is an example for a 4-20mA sensor, it reads an analogue signal from a distance sensor and it will result on the robot in a distance-Name "DI11_AI_Laser" -SignalType "AI" -Unit "Festo_GRIP"
-SignalLabel "Laser Festo unit" -UnitMap "0-15" -Default 100
-EncType "UNSIGNED" -MaxLog 500 -MaxPhys 4096 -MaxPhysLimit 4096
-MaxBitVal 4096 -MinLog 100if the sensor sends analogue output 4mA=100mm and 20mA=500mm.the robot scales the analogue input between 100mm and 500mm.4096 is the value i get for 20mA, it depends on the bit resolution of your sensor1 -
Thank you very much for answer too early, im a little bit in a hurry heheh.I only have the data sheet of the sensor, and there only appears the next about Resolution : < 0,2mm.But in the user manual that i have of the robot, it doesnt appear the next fields : MaxPhysLimit, MaxBitVal.... just the four one I wrote in the first post :S. The robot is an IRB 1400.
And yes the sensor give me: 4mA=100mm and 20mA=300mm0 -
Hello, two more little newbie question.If i want to connect the sensor to there robot, I have to do it through the robot controller isnt it? heheand, When the laser doesnt detect anything on its range, sends to the robot 0 mA, true?Thanksss in advance, im starting to practice with industrial robots.0
-
this depends on the laser you use i think, on mine when i don't detect anything it gives me 500mm, if i go closer than 100mm it always gives me 100mm.
i am using a IRC5 controller, maybe you use S4C+?about the resolution,i mean it is the bit width the laser sends out the data.if you use a 12 bit laser, the maximum value you get is= 4095you can try to also define a group input of you laser bits and see what value you get and enter these in Physical Max, Physical minthe logic max and logic min values are the limits for the calculated values you want to use in your program, the distance in this caseyou have to connect your sensor to an analogue input card, those are normally not standard delivered with the robot.Or you can use wago modules with devicenet and add an analogue input module, on IRC5 you can use any model, but on S4C+ you may have to use a specific model if I remember well.0 -
Ok thank you peter
I dont want to disturb you too much. But i have a new problem.Anyone knows how can i solve the next problem?I want to move the robot linear with "SearchL", but this command needs an digital input, and the laser i think only has 1 analog output. is it possible to connect it to an analog input and to a digital one at the same time? the connection type is 5pin,M12., i dont think soWell the operation needed is the next: i have to move the robot linear, and when the laser detects an object, stop the robot movement, and read the distance.They gave me a tip, to use the SearchL, in order to avoid the accelerations and decelerations of the robot, and make a soft movement.Thanks if anybody can help me0 -
Hello, I think you need to use ADC. Based on my experiences, I connect all of my analog inputs to ADC, then ADC send signal to PLC and PLC will send it to Robot Controller. PLC is stable and more cheaper than any robot device. In the future I will implement Profibus to create the high speed data communication.
I hope my suggestion will give you inspiration.
BR,
Dhyan
Indonesia
fear of GOD is the beginning of wisdom0 -
Jasek,this is a thought about how you can maybe manage your problem, i never used it, but it may be possible i thinkyou can make a interrupt to your analogue input with IsignalAI?in this trap you set a virtual output that you link to a virtual input with cross connectionand use this virtual input in your searchLHope this helps you.0
-
I tried to use ISignalAI but i get a unknown error. I created an analog signal with 9 bits. Maybe i got to create a "pure" analog input? The problem is that i don't know how to do it.Hugo Mendes2011-02-01 10:01:230
-
My signal is analogic inputunit mapping: 0-15encoding: two complementmax logic value:180max physical val:10max physical val lim: 10max bit value: 32767min logical val: -180min physical val:-10min physical val lim: -10min bit val: -32767assigned to unit: unidadetype of unit: d355Aconnected to bus: DeviceNet1DeviceNet address:63Still can't fix the problem...0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings