Рет қаралды 353
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.