COM13c. [3/5]Sending INT and Real from S7-1200 to an SQL Database [Programming Section]

  Рет қаралды 9,328

Electrical Automation Hands-On

Electrical Automation Hands-On

Күн бұрын

Пікірлер: 35
@rebinshw
@rebinshw 3 ай бұрын
The king, absolutely amazing
@electricalautomation
@electricalautomation 3 ай бұрын
Thanks!
@MahadiHasan-qi1cb
@MahadiHasan-qi1cb 2 жыл бұрын
Excellent Video Content! Simply loved it. I have a question, I was wondering whether there are any Programming block's similar to Microsoft SQL also available for MySQL.
@electricalautomation
@electricalautomation 2 жыл бұрын
I have not seen any example allowing Siemens S7-1500 directly talk to MySQL. Alternatively, you could use Ignition, or KEPServerEX other bridge software to link them together
@rebinshw
@rebinshw 3 ай бұрын
i am asking, is it logical to took all of these steps to just transfer 4 data to SQL, 😢
@Rafallaser
@Rafallaser 3 жыл бұрын
Thanks for the helpful video! I have questions. How do I send a string variable?
@electricalautomation
@electricalautomation 3 жыл бұрын
I think string works. Actually, if you review 8:30, all the data which are sent to SQL is 'String'.
@Rafallaser
@Rafallaser 3 жыл бұрын
@@electricalautomation Thank you again :) I used the sign $'
@georgekoutsoudakis2812
@georgekoutsoudakis2812 4 жыл бұрын
Why do we need to create 2 parts A & B, How can we modify the example in order to receiving everything in one part?
@electricalautomation
@electricalautomation 4 жыл бұрын
thanks for your watching! "SqlConfig".command is the actual string to be used to send to SQL, String_Part_A is a static string, while String_Part_B includes the data with string/char format. The entire topic has three videos, please check out the information below the video. the 2:30 of this video kzbin.info/www/bejne/j2HFfXymo9qHh68 explained the idea to convert the four data and combining four strings together, it could probably answer your second question.
@georgekoutsoudakis2812
@georgekoutsoudakis2812 4 жыл бұрын
@@electricalautomation I saw the video, i am just saying (maybe) we can create another sql config.command like a matrix who can take 4 strings instead .
@electricalautomation
@electricalautomation 4 жыл бұрын
​@@georgekoutsoudakis2812 Of course, my friend. That is a good idea! Welcome to open discussion and share your test.
@sebastianszczerbula8368
@sebastianszczerbula8368 4 жыл бұрын
Great job, but i have a question, what when in SQL we have a column where we don't insert value, for example column ID are increment automaticaly, and what when we want insert to the next column date?
@electricalautomation
@electricalautomation 4 жыл бұрын
The "Insert" command shown in the video will increment the line in the SQL. You can add the ID or Date as the data in the column and send as string.
@NaveenKumar-kx4zw
@NaveenKumar-kx4zw 7 ай бұрын
@@electricalautomation NOT WORKING WHEN I SENDING DATE AS STRING IN DATE COLUMN OF SQL (datetime AS datatype) , data is not inserting in sql table
@WarriorTutoriales
@WarriorTutoriales 10 ай бұрын
exelente informacion bro .
@electricalautomation
@electricalautomation 10 ай бұрын
Thanks my friend
@weihuang7228
@weihuang7228 4 жыл бұрын
干货满满!赞一个!
@electricalautomation
@electricalautomation 4 жыл бұрын
多谢!欢迎!
@lehel121
@lehel121 4 жыл бұрын
Hi, can you read data back from SQl?
@electricalautomation
@electricalautomation 4 жыл бұрын
Hi This example application program from Siemens doesn't have read request. But I slightly think it potentially can, because the Tabular Data Stream has been there, probably PLC can send the command like "SELECT * FROM...." the SQL Statement to request/retrieve the data from SQL
@mustaphaboudrik5390
@mustaphaboudrik5390 4 жыл бұрын
Thank you very much
@electricalautomation
@electricalautomation 4 жыл бұрын
Thanks for your watching! Welcome!
@ag7258
@ag7258 3 жыл бұрын
Where I can get lsql_microsoft function block Please help me anyone
@electricalautomation
@electricalautomation 3 жыл бұрын
The link can be found under the video, support.industry.siemens.com/cs/document/109779336/connecting-a-s7-1200-s7-1500-to-a-sql-database-?dti=0&lc=en-WW
@SunilYadav-nb9wp
@SunilYadav-nb9wp 4 жыл бұрын
Sir , please make vedio for file open ,file read and write in twincat 3
@electricalautomation
@electricalautomation 4 жыл бұрын
Hello, Thanks for your comments. But, I didn't get a chance to implement File operation in Beckhoff PLC. It would not be short to do this test for me. If the test is urgent for your, you could go to browse the link infosys.beckhoff.com/english.php?content=../content/1033/tcplclibsystem/html/tcplclibsys_fileio_example.htm&id= There is an example file from the Beckhoff website. Good Luck!
@SunilYadav-nb9wp
@SunilYadav-nb9wp 4 жыл бұрын
@@electricalautomation thanks
@SCADAExperts
@SCADAExperts 6 ай бұрын
Please make new program for S7 1500 using new code from Siemens site.
@electricalautomation
@electricalautomation 5 ай бұрын
Please find the download link below the video
@diogoaugusto4373
@diogoaugusto4373 3 жыл бұрын
Amazing
@electricalautomation
@electricalautomation 3 жыл бұрын
Thank you! Cheers!
@SCADAExperts
@SCADAExperts 6 ай бұрын
Please make new program for S7 1500 using new code from Siemens site.
@electricalautomation
@electricalautomation 5 ай бұрын
Please find the download link below the video
COM13b. [2/5]V11 Connecting a Siemens PLC(S7-1200/S7-1500) to an SQL Database [PLC Section]
37:09
COM13d. [4/5]V20 Connecting a Siemens PLC S7-1500 to an SQL Database [PLC Section]
27:10
Electrical Automation Hands-On
Рет қаралды 7 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 1,6 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 60 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 15 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 156 МЛН
COM15. Profinet Between Beckhoff TwinCAT 3 (TF6270) and Siemens PLC (TIA Portal)
40:27
Electrical Automation Hands-On
Рет қаралды 19 М.
COM13a. [1/5]Connecting a Siemens PLC(S7-1200/S7-1500) to an SQL Database [SQL Section]
31:43
Electrical Automation Hands-On
Рет қаралды 38 М.
Logging Sensor Data From Siemens S7 PLC To MariaDB SQL Database
25:25
SQL4automation
Рет қаралды 24 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 219 М.
SC10. Siemens TIA Portal Data Block Online Data - You Must Know
32:56
Electrical Automation Hands-On
Рет қаралды 3,7 М.
TS10. [Model in PLC] Program Your Own Customized PID
44:02
Electrical Automation Hands-On
Рет қаралды 1,4 М.
TIA Portal: S7-1500 to an SQL Database - LMicrosoft_SQL v1.0 Example
15:55
How to connect a Siemens S7 1200 PLC to a SQL Server Database
14:56
SQL4automation
Рет қаралды 77 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 1,6 МЛН