simulate Waiting for machine
Einevik
✭
in RobotStudio
Hello,
I'm trying to create station logic so that I can simulate that a machine takes x sec to prosess the part before it is possible for the robot to empty the machine and load a new part.
Now I have one signal (DO_MachineLoaded) output from the robot telling the machine it is loaded. Then in statio logic I have a timer that starts on this same signal (DO_MachineLoaded). The timer I use is the deafult timer component. I have set the timer output to a signal (DI_MachineDone) that tells the robot it can go in to the machine an load a new part. I have set Start Time to 0 s, Interval to Machine cycle time. When the interval time is reached I expect the output to be 1 but the signal connected to the timer output does not change. how is the timer supposed to work?
Any other suggestions on how to simulate machine time in station logic?
I'm trying to create station logic so that I can simulate that a machine takes x sec to prosess the part before it is possible for the robot to empty the machine and load a new part.
Now I have one signal (DO_MachineLoaded) output from the robot telling the machine it is loaded. Then in statio logic I have a timer that starts on this same signal (DO_MachineLoaded). The timer I use is the deafult timer component. I have set the timer output to a signal (DI_MachineDone) that tells the robot it can go in to the machine an load a new part. I have set Start Time to 0 s, Interval to Machine cycle time. When the interval time is reached I expect the output to be 1 but the signal connected to the timer output does not change. how is the timer supposed to work?
Any other suggestions on how to simulate machine time in station logic?
0
Comments
-
Hello,Start Time is your machine cycle time.Set Interval to setup how many time the signal stay at one.That's what I understood from description.0
-
I confirm that there is a bug.The output never change.1
-
To simulate timing: Could you just cross-connect DI_MachineDone to be high anytime NOT DO_MachineLoaded, then PulseDO DO_MachineLoaded for 2 seconds? Then after that 2 second pulse, DI_MachineDone would go high. ...as long as DI_MachineDone is not checked prior to the operation and would be okay for it to be high at that time too.
1 -
Thank you. that got the output from the timer to work but I still can't set robot signals from the station logic.
Only way I can find is if I have the robot as an object in station logic and connect station logic input signal to robot input signal. But I dont seem to be able to set robot signals from other objects in the station logic.
What is the right way to set robot signals from smart components in station Logic?0 -
Only if I set signal connected to Output to one, it reset it after interval.
0 -
Looks like the Output from the timer is inverted when connected to a signal. When I put a NOT gate in between it reacts as expected.0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings