rQx
Lifetime Supporting Member
Hi,
Today I have a s7-1200 with comfort panel logging to excel from vbscript.
The thing my customer want is to logg values to SQL instead of .csv as we do today. I have googled and I can't seem to find if it is possible. Maybe I have to switch to s7-1500, but I would rather not since this is more expensive both hardware and software. I rather not add a PC on site either for the database. I will also add that my knowledge of SQL, MQTT, OPC UA and s7-1500 is zero. I'll write down my thoughts
1. I think that I can't log it with the s7-1200 straigh off so I was thinking if I can use the Comfort panel maybe with VBscript? Install SQL compact edition on the HMI if that is possible?
2. Another thing would be to log it on Amazon Web Service. I've read that I have to use the MQTT blocks and I found an example here: https://support.industry.siemens.co...mqtt_client-for-simatic-s7-cpu?dti=0&lc=en-DE
It says on the page that "Note
Using MQTT with a qualified domain name is only possible with SIMATIC S7-1500."
But when reading in the pdf is says "With S7-1200 CPUs you can you can reach the MQTT broker with TIA Portal
V16 library block and Firmware 4.4 via a domain name ("Qualified Domain
Name", in short: QDN)"
So I guess that the functionality of the MQTT is the same for 1200 and 1500?
3. The s7-1200 can now be OPC UA server, does this help me?
Thoughts?
/Tim
Today I have a s7-1200 with comfort panel logging to excel from vbscript.
The thing my customer want is to logg values to SQL instead of .csv as we do today. I have googled and I can't seem to find if it is possible. Maybe I have to switch to s7-1500, but I would rather not since this is more expensive both hardware and software. I rather not add a PC on site either for the database. I will also add that my knowledge of SQL, MQTT, OPC UA and s7-1500 is zero. I'll write down my thoughts
1. I think that I can't log it with the s7-1200 straigh off so I was thinking if I can use the Comfort panel maybe with VBscript? Install SQL compact edition on the HMI if that is possible?
2. Another thing would be to log it on Amazon Web Service. I've read that I have to use the MQTT blocks and I found an example here: https://support.industry.siemens.co...mqtt_client-for-simatic-s7-cpu?dti=0&lc=en-DE
It says on the page that "Note
Using MQTT with a qualified domain name is only possible with SIMATIC S7-1500."
But when reading in the pdf is says "With S7-1200 CPUs you can you can reach the MQTT broker with TIA Portal
V16 library block and Firmware 4.4 via a domain name ("Qualified Domain
Name", in short: QDN)"
So I guess that the functionality of the MQTT is the same for 1200 and 1500?
3. The s7-1200 can now be OPC UA server, does this help me?
Thoughts?
/Tim