Professional Documents
Culture Documents
SQL Sample
SQL Sample
Browse
Forums
Newbie
Hi Guys
I tray to write Cicode that send data from Vijeo citect to SQL
Automatic or i mean By triger
this is the code but it didn't work
Please any one can help me
{{
END
END
}}
Newbie
it work
{{
MrPLC Member
0 FUNCTION Report_time()
6 posts INT hSQL;
Egypt INT result_Report;
STRING sssdate;
STRING ssstime;
STRING ssslevel11;
STRING ssslevel21;
STRING ssslevel31;
STRING ssslevel41;
STRING ssslevel;
//sssdate = Date();
sssdate =TimeToStr(TimeCurrent(),1);
ssstime =TimeToStr(TimeCurrent(),3);
ssslevel11=level1;
ssslevel21=level2;
ssslevel31=level3;
ssslevel41=level4;
ssslevel =level;
hSQL = SQLConnect("DSN=Abdelwahed");
SQLDisconnect(hSQL);
END
}}
to move new line to table i create push button and write in it's
input command
every time i press the push button new line create in table
with new values
GO TO TOPIC LISTING
Modicon / Telemecanique / Schneider
Electric
Contact Us
© 2020 MrPLC.com | Terms of Use Privacy Policy Wake Industrial PDF Supply AX Control Do Supply Home Forums