Entradas

#14 MQTT and Siemens PLCSim Advanced, another protocol tested and working

Imagen
Hi everyone, MQTT is a very important protocol in IoT and IIoT and could be a great thing if we could test our projects using just Siemens PLCSim Advanced and without a real PLC. So I tested if we could do some comunication with a Mosquitto Broker and Node-red with a little Dashboard and it worked quite well So finally we could publish data from de Simulated PLC and subscribe the PLC to data from Node-red and from Internet. You can see how it works in next video. Cheers.

#13 Siemens PLCSim Advanced operation with Node-red using s7 node

Imagen
Hi everyone We still are testing different communication protocols with PLC Sim Advanced, now we are going to use Node-red and its S7 Comunication node to try to comunicate with the simulated PLC. We can see the communication is also available with PLC-Sim advanced and S7 node so it's going to be very handy to test projects using Siemens and Node-red. See you

#12 Send Modbus TCP data with Siemens PLCSim Advanced operation

Imagen
Hi everyone, Siemens PLCSim advanced is a new PLC simulator you can use with Tia Portal and much better than the older PLCSim integrated. It's a different program to be installed but now we can simulate almost a real PLC including several comunication protocols. This is very useful when we are learning or testing our programs and we still don't have a real PLC available or we are designing with our digital twin machine. In this video I want to show you how you can comunicate PLCSim Advaced with Modbus TCP protocol, after this, lots of practicing are available without having any real PLC. Keep in touch

#11 Let's automate using GRAFCET, Gemma with Node-red & Factory IO

Imagen
Hi everyone, I guess some of you know Factory IO, a very easy software to learn automation, handy to connect to lots of PLC and simulators to learn how to code automation with them. So this time I've used Node-red in a Raspberry Pi to connect with Factory IO and to code a GRAFCET with Gemma guide automation program to try if we could use just Node-red to solve an automation problem. To control real I/O, I've finally decided to use a ESP8266 wifi arduino connected to the RPi working as a wifi access point and using MQTT protocol, so it's been connected the Rpi wifi AP just with the Arduino, a PC and a phone to control the Node-red dashboard.  Besides this, I've had to install also a Mosquitto broker in the RPi to do the MQTT communication with Arduino. You'll see how we can test our Node-red code with Factory IO but, after this, we can stop Factory IO and just let the Arduino I/O to change our automation  states and control a real machine. Here you have the video to ...

#10 Siemens NX & Tia Portal drives you to make a digital twin

Imagen
Hello everyone. Siemens NX is a great tool to create your 3D designs and assamblies and help you as a mechatronic designer to create new machines but , in fact, it can go beyond that. He has a very useful utility called Mechatronic Concept Design (MCD) where you can give phisics to every piece in your design and later connect these pieces to Siemens Tia Portal (using PLC-Sim Advanced) or even any PLC (using OPC UA) to test your PLC programming on your Mechatronic design converted in a digital twin So you can avoid future programming or concept mistakes in the real machine. Keep an eye on this because is going to be very used in the automation early future. Regards.

#9 Nodered & FactoryIO operation

Imagen
Hi everyone, Today I'd like to introduce you Factory I/O simulation software, you can easyly create your digital twin and test it before make it real or, if you prefer, you can use one of the scenes it has ready to use. You can test the trial version for 31 days. It has multiple drivers connections to several PLC's brands, Siemens PLCSIM or even with Modbus or OPC UA protocols. In next video I will show you how Factory I/O works with an automation controlled a little bit different. In spite of using a PLC I used Nodered working as a PLC running a Grafcet program with Modbus communication protocol. Take a look and let me know what you think about.

#8 Ubidots: A nice cloud dashboard for your automation projects

Imagen
Hi everyone, Today I really like to recommend you ubidots.com. It's actually a IoT platform to monitor and control your IoT devices easily. With a very nice interface you can design a dashboard to monitor and control your devices like Arduino, Raspberry pi or even PLC's if you use a gateway as Node-red for example. You can test it with its free subscription with 3 devices and 10 dashboard widgets for free and with very few steps if for sure you can figure out lots of uses. Here you have a video with a very simply home automation I tested using Ubidots and a Node-red front end from sensetecnic, another very nice cloud platform to talk about.

#7 Siemens Tia Portal PLCSim simulating S7-1500 & HMI & Wincc Runtime. Good automation leaning tool.

Imagen
Hi everyone, Siemens Tia portal is one of the best automation tools which integrate PLC, HMI, and Scada Programming besides drives, servos and much more. You can download Tia portal easyly from Siemens web site, then you just have to create and account and you will get a trial for 21 days. https://support.industry.siemens.com/cs/document/109772803/descarga-del-simatic-step-7-incluyendo-safety-y-wincc-v16-de-prueba-(trial)?dti=0&lc=es-WW I recommend to install SIMATIC STEP 7 Basic/Professional, STEP 7 Safety Basic/Advanced y WinCC Professional (trial) and STEP 7 PLCSIM (trial) to try the simulation although you can install SIMATIC S7-PLCSIM Advanced instead, with much more options and which you can even simulate a more realistic S7-1500 controller. https://support.industry.siemens.com/cs/document/109772889/descarga-del-simatic-s7-plcsim-advanced-v3-0-de-prueba-(trial)?dti=0&lc=es-ES Here you have a video where to see how it works:

#6 Node-red on IBM Cloud

Imagen
Hi everyone, As you can notice, Node-red is a very handy tool for IOT, and of course, also for IIOT but we have to think that sometimes we want to publish our dashboards on Internet, to monitoring or to control our IOT appliances. To do so, we could open an Internet external connection (VPN, Port forwarding,...) to our hardware but we actually could use another option, to publish our data through a hardware in the cloud, and then you can access from everywhere. To do such thing you could use AWS IoT Platform, Microsoft Azure IoT Suite, Google Cloud's IoT Platform. ... but finally I've given a try to IBM Watson IoT Platform. Why? Because you can easyly create a free Node-red instance to test it and it works perfectly. Here you can check how it works:

#5 Modbus TCP & Siemens, S7-1200 Server / Client

Imagen
Hi everyone, Modbus is a very used protocol in industrial applications, In fact, there are two types, Modbus RTU and Modbus TCP. Modbus RTU was the first one used, based in RS485 protocol, and there are lots of motor drives and sensors which still are using it. But lately, Modbus TCP is very used because is the same protocol but  implemented over TCP networks and you can find TCP networks everywhere, so the physical layer is very easily ready to use. Lots of PLC's have a Modbus server implemented by default (Scheneider, Wago,...)and you can read and write their internal memory easyly, but others need to implement Modbus protocol adding some program. This is the case of Siemens PLC's, if you want a Modbus server or a client you need to add some blocks that Tia portal has ready to use in its libraries. Let's see how it works...

#4 What's industry 4.0? what's IIOT? what's digital transformation?

Imagen
Hi everyone, I've recently listened on Youtube these interesting videos about Industry 4.0, IIOT and digital transformation explained by Walker Reynolds from Intellic Integration and I really recommend you to check them out, they're worth listening.

#3 Siemens Logo with Node-red

Imagen
Today I've been testing how to comunicate a Siemens Logo programable relay with Node-red. What is a programmable relay? I'll dare to say that we can consider programmable relays very similar to PLC's, maybe less memory, less speed, less I/O, however, a lot of preconfigured functions and much better price for most applications we have to make. What you can do with Logo and Nodered?  Once you can monitor and control Logo variables in Node-red you can implement IIOT very easily. You could make a web dashboard, save the variables is a database, send emails, create alarms with Telegram and a lot of things more. It's a very interesting subject to work more about...

#2 OPC-UA server / client with Node-red

Imagen
I've been testing how to implement a OPC-UA server / client with Node-red What's an OPC-UA server?  Usually, it's a server that let you to read tags from different PLC's, it doesn't matter PLC brand, and then, it serves this tags to other systems like other PLC's, Scada, Computer systems (SAP, ERP...), Databases,... In IIOT (Industrial Internet of Things) applications it's a really good idea to use a hardware that let you to implement and OPC-UA server. Actually, you can use propietary systems like WEINTEK, WAGO, Weidmuller,... or simply use a Raspberry Pi to do so, like it's shown in this video: So, I've simulated a Modbus server (it would be our PLC) and, after this, Node-red's read the tags with a Modbus client and it has written the tags to the OPC-UA Server. Later on, I've read these tags with a OPC-UA Softwate (UaExpert) and, with a Node-red OPC-UA Client which has published them in a Node-red Dashboard. ...

#1 Bienvenidos a mi blog: agustibaubi.tk

Hello everyone! Today I start this blog to collect the ideas and projects that I am carrying out. Regards Agustí Baubí ¡Hola a todos! Hoy empiezo este blog para ir recogiendo las ideas y proyectos que voy realizando. Saludos Agusti Baubi Hola a tothom! Avui començo aquest blog per anar recollint idees i projectes que vaig fent. Salutacions Agustí Baubí