No limits 2 updated control panel.

  Рет қаралды 353

Zach Minton

Zach Minton

Күн бұрын

This is a custom control panel I built for no limits 2 rollercoaster simulator. It connects to the games telemetry server and feeds back info into the control panel.
The control panel is powered by an Arduino Opta PLC And it's programmed using ladder logic like a real ride would be one advantage of it being an Arduino opta is it can also run Arduino sketches. It has the no limits 2 library that can be found on GitHub for communicating to the games telemetry server. The sketches past variables back and forth to the PLC side to get information and feed that back and forth to communicate.
The screen is a weintek cmt3090 HMI screen And communicates to the PLC over modbus tcp/IP protocol.
Currently, the block display on the screen is tied to the key switch variable which is why they all look to appear to be occupied as the game's telemetry server does not give out block information. Hopefully it will in a future update, but for now the display is there, but I'm going to work on writing a simulation of the trains moving through blocks on the HMI.
Some things are simulated for example until you ride start the PLC sends the e-stop command to the simulator so no movement will happen in the simulator. Once you hit ride start then the e-stop is released in the simulator as long as the e-stop bit is not actually set in the control panel. However, you cannot dispatch the ride unless lift start is also enabled which does nothing in the simulator. It's just another bit for the added realism. Maybe eventually we'll be able to manually turn the lift on and off through the telemetry as well.

Пікірлер: 13
@LevsInventions
@LevsInventions 3 ай бұрын
This is incredibly awesome!
@MrGrinding1
@MrGrinding1 4 күн бұрын
Does the arduino opta work with leds that are 24V like this Allen Bradley panel with no 6V replacements?
@zach.minton
@zach.minton 4 күн бұрын
@MrGrinding1 yes the Opta is 24VDC on the outputs so it will power the Allen Bradley 24VDC LEDs, it will also power the Allen Bradley 12VDV LEDs and the AC LEDs at 24VDC it seems even though the ratings on the LEDs will say on thing they seem accept either Voltage without burning out. All the LEDs in my buttons are the 24VDC ones with the exception of one that is a 250VAC LEDs but still operates on the 24VDC as that is what the button came with so I tried it anyways.
@MrGrinding1
@MrGrinding1 4 күн бұрын
@ damn ty
@vrryan6
@vrryan6 2 ай бұрын
Please open source this, would love to see how you programmed the Opta and how the HMI application was created.
@zach.minton
@zach.minton 2 ай бұрын
@@vrryan6 I'm currently in the process of rewriting everything. My first attempt was pretty messy. My second rewrite of the program is a lot cleaner still messy compared to standard PLC programming because I'm doing a lot of sets and resets on bits which typically you won't do in a real plc however, because this is a lot of simulated stuff, I obviously don't have real inputs to hold inputs true or false. So I'm having to do a lot of sets and resets. As far as the HMI application it's built with easy builder from weintek since I'm using one of their hmis. It's pretty much just a bunch of drag and drop buttons and bit lamps with tags filled out for the addresses from the opta. The one thing that the opta does not do, or at least I can't find documentation or anybody else doing it on the opta. The documentation says that it has it but I don't know how to access. It is trying to access the real-time clock so I can handle my people and cycle counter on the PLC side instead of using a macro script on the HMI side. The other thing that the opta is missing at least in the PLC IDE is that it's missing a tor timer it has a TP, pulse timer, a ton timer, and a tof timer but it does not have a Tor for relative time. A tor timer is one that once the input is true, the counter will begin counting and then when the input becomes false the counter will pause and the next time it becomes true it will continue counting from where the timer left off. Then there is a reset input on that timer that has to be triggered to reset the counter so it can count again. The opta is completely missing that timer. I'm pretty sure I could build a custom function block to replicate it, but I haven't figured out how to do retentative info in ladder logic yet. The only way I can see to do retentative stuff is when using structured text programming of the PLC In my current rewrite of the program, I have three modes that I'm building into it. I have standalone simulated mode which is just the panel working by itself with simulated trains on the block displays. I have a no limits to mode for letting it talk with no limits in operating with that. No limits. Two mode does not use the block display, but I may eventually add simulated trains and configurable timers for time between the blocks so you can at least attempt to simulate what no limits does if no limits ever gets an updates which I've asked the developer for. If they can feed out the block information from the games telemetry server, I can rewrite and actually hook that, but for now it's just going to have to be simulated when I get time to write that part. As far as how the opta talks to No Limits, I'm using the No Limits to library that is already available in Arduino. It's also hosted on GitHub. However, I had to modify it for my instance because it is written to use Arduino Wi-Fi modules. The Arduino opta that I have is not the Wi-Fi model. I'm pretty sure it would probably work natively with an optimodel that has built-in Wi-Fi. However, mine is the ethernet only model so I had to modify the header file and replace all the Wi-Fi references in the no limits 2 client.h file to set it up for ethernet. That is the only modification I made to it. The Opta runs PLC code along with Arduino sketch code. The Arduino sketch code uses the no limits 2 library and handles talking with the games telemetry server and then there's some shared variables that get passed out into the plc's shared variables so I can get variables from the game into the PLC and do stuff based on those. Inside of the panel I have a small ubiquiti ultra gateway that gives a static IP to the HMI screen and the opta and the ethernet port on the outside of the panel is used to connect a computer into it so it can communicate with no limits 2 or since I'm also adding a ability to control a full 3D printed roller coaster model I'll use that Port as well for letting the PLC talk to another Arduino opta PLC that will be attached to the model The third mode is for a 3D printed roller coaster model as I'm also working on that and I want the panel to be able to control the 3D model obviously until I get the model printed and get more hardware I won't be able to write that mode because that will actually simulate like a real coaster would be because I'll have real inputs. But for that mode, I'm going to purchase another opta and probably two more expansion modules. The coaster itself will be programmed using that second opta while the control panel opta will read from the primary PLC that the model operate on and be able to talk back and forth through modbus like a real roller coaster would as they typically have a PLC in the electrical room and then there's also a PLC inside the control panel and the two PLCs just talk back and forth. I will upload my HMI project, the code for the panel opta, As far as the case that my panel is enclosed in, I actually used proto case to build it. So I have the cad project there that I can also share using proto cases designer program. No. I will say to get that case printed. It is very expensive. It is two pieces, a top and a bottom all together. It's close to $900 just to get the enclosure manufactured from proto case. However, someone probably could take that somewhere else and redesign it. Maybe cheaper but that was the best that I could find. The enclosure design from protocase also has the graphics on it. Protocase handles all of that so literally someone could just open the project, ship it off to protocase and have it made for them and they will print the graphic stencil on it as well. The case has cutout in it for the All the Allen Bradley buttons and the HMI cut out is spaced to fit a weintek CMT-3090. I'm attempting to purchase an Allen Bradley Versa view from eBay for around $2000 however I will have to redesign the case to fit it as well as obtain factory talk me to be able to write the HMI application for an Allen Bradley versa view
@zach.minton
@zach.minton 2 ай бұрын
@@vrryan6 I'm not sure if you read my first reply. I made some tweaks to it, but I will release the code for it and if people want to make adjustments or maybe improvements to the way that I built it, I would welcome any suggestions. Again, if you read my previous reply, you'll see that I am writing three different modes into the opta. The Arduino sketch is the only thing that talks to No Limits and handle setting up the ethernet port, but other than that it doesn't do anything else. The standalone simulated mode does not run through the Arduino sketch and the 3D printed model mode will not run through the Arduino sketch. It's going to be full PLC only. I'm going to make an updated video tomorrow of the new program and some more tweaks that I made to it. And I'll show off the simulated standalone mode which is just the panel working in a fully simulated manner without talking or working with no limits at all. And I did Post in my other reply that I'm working on getting an Allen Bradley versaview HMI which will require the panel to be redesigned to fit it because I'm currently using a weintek CMT-3090 which is like a 9-in screen when the Allen Bradley HMI I'm looking at is like a 15-in screen. I'll also have to obtain the software to write an HMI application for it as well as the driver. Since I'm not using a Allen Bradley PLC, I will need the modbus driver that Allen Bradley has to talk with a modbus device from an Allen Bradley HMI. I would prefer to use one of those or at least attempt to get the newer weintek cmt-3090 As the one I am using is discontinued and has been for a while. They have a new version too that replaces the model HMI screen that I am using and I've noticed it is very slow and sluggish on its PLC polling. So if I push and hold down for example one of the dispatch buttons the bit lamp on the main ride operation screen which turns green to indicate I'm pressing one of the buttons. It has almost a 3 to 4-second delay before it gets updated on the screen so it's very slow with reading info from the PLC. Which either a newer model or the Allen Bradley? If I can get the software for it will hopefully be more responsive
@zach.minton
@zach.minton 2 ай бұрын
Updated video kzbin.info/www/bejne/m2mqg4eabLuIhZYsi=kb22PTDOtyoDe2pp I'm uploading the code as well and will post it somewhere
@서울특별시하는사람
@서울특별시하는사람 2 күн бұрын
Where can I buy this?
@zach.minton
@zach.minton 2 күн бұрын
@@서울특별시하는사람 this was custom built
@josephherndon5533
@josephherndon5533 Ай бұрын
How much would this cost
@zach.minton
@zach.minton Ай бұрын
@@josephherndon5533 it's pretty close to $1900-2100 to build but since the HMI screen is discontinued and you would have to get its replacement, probably close to $2,500 now. Allen Bradley buttons and key switches are around $600 give or take as eBay prices fluctuate. The HMI screen was a one-time deal and it's even a discontinued model that I can't find anymore. The replacement model that is still available goes for about $1,000 while the one that I bought was a discontinued model and I got it for $600 The enclosure was around $900 to manufacture The PLC on the inside and the expansion module to have enough inputs to hook everything up was around $250. Then inside the enclosure I have a small little power strip, ubiquiti unifi gateway to act as a router to connect the screen and PLC together via IP.
@LowstarzRBLX
@LowstarzRBLX Ай бұрын
$1500 ill buy one off you
No Limits 2 Control Panel update.
13:08
Zach Minton
Рет қаралды 589
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
What if Thorpe Park had a HEIGHT LIMIT??
6:21
DigitalDan
Рет қаралды 72 М.
Autonomous Rover From Scratch (ROS) Part 1
10:46
Vinay Lanka
Рет қаралды 92 М.
I built a FLAP ENGINE (New Rotary Design)
18:58
Integza
Рет қаралды 1,8 МЛН
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 385 М.
Modeling and Simulation of Advanced Amateur Rockets
17:10
Lafayette Systems
Рет қаралды 152 М.
The Greatest NoLimits 2 Control Panel Showcased
9:46
sfgamfan
Рет қаралды 41 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН