Home / Factory I/O / Getting Started
Description
With the Factory I/O scene configured, and the Micro820 program downloaded. We’ll connect Factory I/O to the Micro820 controller, and demonstrate how it operates.
Transcript
(00:02) in a six video i’ll actually show how vector io works and how it actually will connect to the controller and how we can use the control r2 to uh interface with this emulated environment so i’m back in factor io at my scene i’ve already configured it for my ip address and i’ve already configured my tags and downloaded my program to the micro h20 controller so what i need to do in factor i o is i’m going to go back to file and then drivers and i want to connect to the controller now so we we are connected it changed its
(00:37) terminology here disconnects up that means that we have connected we also have a green arrow which shows connection and we also show the tags if if for some reason if a tag was not existing in the controller we would get like a red uh circle with an exclamation point to let us know that there’s an error there so so right now everything is good we have a connection made and these tags do exist in the controller so we go back to the scene and now i need to say switch between the edit and the run mode when i do that my my uh
(01:16) my panel goes away that has all the elements that i could add to the scene and now i’m just looking at at the scene so i’m going to minimize this window and i’m also going to do that here on the micro h20 so i’m already connected my micro h20 and i have my variable my global variable table up i don’t have any logic created at all um this is just going to be me triggering the bits in the in the global variable table for the lab you’ll actually have to create ladder logic that will control the process of this uh but we we see right away that we have
(02:01) uh two checked uh logical values as on so our our boolean input 0 which is the sensor is showing on and our boolean input 1 which is basically the factory i o is running status is also on if i were to turn the status if i would switch the mode back to off mode you’ll see that the running is off i’ll put that back to on so it’s just an indication we’re not going to really use that in the logic but it’s just a an indicator to you that the factor io is actually running and the conveyor is not turned on right now so the box is not moving if i were
(02:46) to trigger the conveyor which basically is forcing this this output on it’s going to start the box moving which we see and i can stop the box by turning it off turn it on again turn it off now what we want to see is when it comes here to the end where we hit the sensor we’re going to see this sensor status change now the sensor is on which basically means it’s either a normally closed contact or it’s an always-on type sensor so that when the box triggers it this is going to change state which means it’s going to go off
(03:27) so we’re going to kind of consider this as a normally closed contact on the sensor basically so let’s go ahead and turn the the conveyor on and then there we can see that it triggered now once the box has fell you know when it’s when it fell off the conveyor uh nothing is nothing is um you know triggering the sensor anymore so i went back to its normal closed state now if i want to reset this and do it again i hit the reset simulation and i can run it again and we can watch now as the box comes at a sensor that status changed on its own
(04:12) so that’s how we can interface this environment this this virtual um emulated environment to our actual real micro h20 controller so the lab is going to have you basically do this with the exception of you’re going to have to come into the program and you will have to create some ladder logic to control the various aspects of that box moving on the conveyor you can see there’s no object here whatsoever but that’ll be what you have to do when you’re ready to shut it all down we can disconnect from the controller we can also stop
(04:50) our our our emulated environment take it out of the run mode back into edit mode and if we wanted to we can come back here to drivers and we can disconnect from the controller
