scited-blog
Theodore Dale
3 posts
Don't wanna be here? Send us removal request.
scited-blog · 1 year ago
Text
youtube
I wrote a simple program for Scene2. I implemented states using a word in memory to hold the state id and then compare and movp to change between the states. I also added timers to each state to generate a fault if the state does not complete without the expected time specified. I did not create any logic to handle the error so for now the PLC just flags and continues. Next I would add the routines for error handling and also the EMO logic. I will leave it for now and continue to the next simulation.
https://href.li/?https://github.com/grimmonkey52/Mitsubishi_PLC_projects/blob/main/FIO_SCENE2/SCENE2.pdf
0 notes
scited-blog · 1 year ago
Text
youtube
Earlier this week I finally managed to get my FX5S Mitsubishi PLC to communicate with my OPC UA Server. I had implemented an SLMP connection on the PLC and attempted to connect so I could update tags to then pull the data in FactoryIO. I could not PING my PLC but I could program it which really baffled me. Turns out ICMP requests were being blocked by my antimalware SW and firewalls. So I made exceptions. I use my ISPs router and so I also had to define a static IP, default gateway, and subnet on the router side then allow my router to define them. I also figured out how to connect via a managed switch so now I can add more connections such as other PLCs, robot controllers, HMIs, my pi zero server, and optiplex server.
The above is just proof of connection with stupid basic code for a simulation. It is not anything well written as there is zero error handling etc.
0 notes
scited-blog · 6 years ago
Text
Portfolio
Please click on any navigation label to examples of my controls/automation and process controls work. 
View any of my project files directly on git repository link in the menu.
~Theodore Dale
3 notes · View notes