SFC Action problems
CODESYS Forge
talk
(Thread)
SFC Action problems
Last updated: 2024-05-27
wiki Discussion
robpqs
wiki
(Discussion)
Forum for wiki comments
Last updated: 2024-05-27
blog Discussion
robpqs
blog
(Discussion)
Forum for blog comments
Last updated: 2024-05-27
(no subject)
robpqs
wiki
(Thread)
Last updated: 2024-05-27
Home
robpqs
wiki
(WikiPage)
Project Members: robpqs (admin)
Last updated: 2024-05-27
Post by wollvieh on Display minutes as hours & minutes
CODESYS Forge
talk
(Post)
Here a code for an Operation Counter with : days,hours,minutes,seconds as an example, maybe it points you the right direction ? FUNCTION_BLOCK OperationDayHour VAR_INPUT IN : BOOL; // Betrieb Takt : BOOL; // 1Hz Systemtakt END_VAR VAR_OUTPUT BetrTag : UDINT; // Ausgabe Betriebstage Betrstd : UDINT; // Ausgabe Betriebsstunden Betrmin : UDINT; // Ausgabe Betriebsminuten Betrsec : UDINT; // Ausgabe Betriebsekunden BetrString : STRING; // Ausgabe als String END_VAR VAR ///Erkennung Taktflanke Flanke: R_TRIG; END_VAR VAR_IN_OUT BetrsecAbsolut: UDINT; //Ein/Ausgangsvariable Betriebssekunden RETAIN !!! END_VAR Flanke(CLK:= Takt, Q=> ); (*Erkennung Taktflanke*) IF (IN AND Flanke.Q) THEN (*Sekunden hochzählen*) BetrsecAbsolut := BetrsecAbsolut + 1; END_IF Betrsec := BetrsecAbsolut MOD 60; Betrmin := ( BetrsecAbsolut / 60) MOD 60; Betrstd := ( BetrsecAbsolut / 60 / 60 ) MOD 24; BetrTag := ( BetrsecAbsolut / 60 / 60 /24 ); BetrString := RIGHT ( UDINT_TO_STRING( BetrTag + 100000),5); BetrString := CONCAT (BetrString, 'd_'); BetrString := CONCAT (BetrString,RIGHT ( UDINT_TO_STRING( Betrstd + 100000),5)); BetrString := CONCAT (BetrString, 'h_'); BetrString := CONCAT (BetrString, RIGHT ( UDINT_TO_STRING( Betrmin + 100),2)); BetrString := CONCAT (BetrString, 'm_'); BetrString := CONCAT (BetrString, RIGHT ( UDINT_TO_STRING( Betrsec + 100),2)); BetrString := CONCAT (BetrString, 's');
Last updated: 2024-05-27
Post by robpqs on Program from one PLC to other WAGO 750-8204
CODESYS Forge
talk
(Post)
Hello, You use the WAGOUpload tool. You can download it on the download center of WAGO. Make a backup and restore it on the new device. (if can check the remanent data to copy the persistent variables if necessary) You can also use a SD card, go to the WBM copy it the image to the SD card and restart the other controller on the SD card. In the WBM, copy it back to the internal flash. If you contact your local Wago office, they will more than probably help you. There is also a WAGO forum. RP,
Last updated: 2024-05-27
Post by robpqs on Visual error with cut/shredded texts
CODESYS Forge
talk
(Post)
Hello, This is an old topic but it might help. This can/should be solved by either of the solution below 1. disabling the "Support client animations and overlay of native elements" option in the visualization Manager (which is handy) 2. disabling the "Hardware acceleration" of the browser. Saw it happening on some clients/PC and on other it works fine with the same webvisu... (Version 3.5.19.20 with visu package 4.4.0.0) Hopefully it will be fixed it in a next release. I haven't tested the 4.5.0.0 visu packages yet. RP,
Last updated: 2024-05-27
Program from one PLC to other WAGO 750-8204
CODESYS Forge
talk
(Thread)
Program from one PLC to other WAGO 750-8204
Last updated: 2024-05-27
Visual error with cut/shredded texts
CODESYS Forge
talk
(Thread)
Visual error with cut/shredded texts
Last updated: 2024-05-27
Display minutes as hours & minutes
CODESYS Forge
talk
(Thread)
Display minutes as hours & minutes
Last updated: 2024-05-27
Home (version 1) discussion
phoward131
wiki
(Thread)
Home (version 1) discussion
Last updated: 2024-05-28
Post by thisischris on "You are using inconsistent overlay settings, please check your compiler defines for the current application" error
CODESYS Forge
talk
(Post)
Hello. I am a new user. On generating the first test project I am receiving this error message. You are using inconsistent overlay settings, please check your compilerdefines for the current application (-> GENERATE_OVERLAY_VISU) and the setting within the visualization manager. Can anyone help?
Last updated: 2024-05-28
wiki Discussion
thisischris
wiki
(Discussion)
Forum for wiki comments
Last updated: 2024-05-28
blog Discussion
thisischris
blog
(Discussion)
Forum for blog comments
Last updated: 2024-05-28
Home
thisischris
wiki
(WikiPage)
Project Members: thisischris (admin)
Last updated: 2024-05-28
(no subject)
thisischris
wiki
(Thread)
Last updated: 2024-05-28
Post by thisischris on "You are using inconsistent overlay settings, please check your compiler defines for the current application" error
CODESYS Forge
talk
(Post)
Duplicate
Last updated: 2024-05-28
wiki Discussion
mike22
wiki
(Discussion)
Forum for wiki comments
Last updated: 2024-05-28
blog Discussion
mike22
blog
(Discussion)
Forum for blog comments
Last updated: 2024-05-28
(no subject)
mike22
wiki
(Thread)
Last updated: 2024-05-28
Post by wollvieh on Nema 17 Schrittmotor 2.7V kann das sein?
CODESYS Forge
talk
(Post)
Steht doch so im Datenblatt, suche halt nach nema17, 24Volt Typen.
Last updated: 2024-05-28
CM4S GPIO's in Codesys
CODESYS Forge
talk
(Thread)
CM4S GPIO's in Codesys
Last updated: 2024-05-28
Home
mike22
wiki
(WikiPage)
Project Members: mike22 (admin)
Last updated: 2024-05-28
Post by mike22 on Nema 17 Schrittmotor 2.7V kann das sein?
CODESYS Forge
talk
(Post)
Hallo Zusammen, ich wollte gerade einen Nema 17 Schrittmotor beim oyostepper.de bestellen. Auf der Webseite wird der Motor mit 2.7V angegeben. Das kann doch nicht sein oder? Ich möchte ihn mit 24V betreiben. https://www.oyostepper.de/goods-318-Nema-17-Getriebeschrittmotor-mit-50-1-Planetengetriebe-0036-Grad-168A-27V-39Ncm-Getriebe-Schrittmotor.html Das kann doch nicht sein oder?
Last updated: 2024-05-28