Post by umdee on Error when monitoring LAD programs
CODESYS Forge
talk
(Post)
I get the following error when monitoring my program (see attached screenshots): "Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Value cannot be null. Parameter name: source. And the details say: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ** Exception Text ** System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Any[TSource] (IEnumerable1 source, Func2 predicate) at _3S.CoDeSys.NWLEditor.NWLTextCell.OnPaintCellLayer(PaintEventArgs e) at _3S.CoDeSys.Controls.Controls.GfxEdControl.PaintCellCellLayer(PaintEventArgs e, GfxCell cell) at _3S.CoDeSys.Controls.Controls.GfxEdControl.PaintCellCellLayer(PaintEventArgs e, GfxCell cell) at _3S.CoDeSys.Controls.Controls.GfxEdControl.PaintCellCellLayer(PaintEventArgs e, GfxCell cell) at _3S.CoDeSys.Controls.Controls.GfxEdControl.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.UserControl.WndProc(Message& m) at _3S.CoDeSys.Controls.Controls.GfxEdControl.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ** Loaded Assemblies ** (3000 lines of assemblies) ** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitdebugging="true"> </system.windows.forms></configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box The windows show red X's where the networks should be. Any advice on how to fix this? Additional Information PLC used: Wago 750-8212, Firmware FW26 Startup profile: CODESYS V3.5 SP19 Patch 5 OS version: Microsoft Windows NT 10.0.22631.0 .NET version: 4.0.30319.42000 Full Version info attached as .txt
Last updated: 2024-03-17
Post by jeffg on ERROR: GetNetLinkSockAndInfoByMac(): could not open netlink socket: Too many open files
CODESYS Forge
talk
(Post)
I just installed codesys runtime on a raspberry pi Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz (Compute Module 4) I am running on Codesys control for raspberry pi 64 SL ver 4.13.0 and I keep getting a crash after about five to ten minutes. This program was running fine on a 32bit system with runtime 4.8 previously but they upgraded the panel PC cause it got smashed. Looking at the logs I see this error "ERROR: GetNetLinkSockAndInfoByMac(): could not open netlink socket: Too many open files" at the time of crash. I do have a UDP socket open for a serial to ethernet adapter and im wondering if maybe its opening a bunch of sockets and while receiving messages, Im not sending anything to the device only receiving. Below is the code used for the UDP VAR // Scale Comm fbPeerServer : NBS.UDP_Peer; ipAddress : NBS.IPv4Address; fbReceive : NBS.UDP_Receive; xPeerActiv : BOOL := TRUE; abyReceive : ARRAY [0..255] OF BYTE; sLastValidReceive : STRING(255); udiIndex : UDINT; END_VAR IF xPeerActiv AND NOT fbPeerServer.xBusy THEN ipAddress.SetInitialValue(ipAddress := gvlSettings.sIPAddres); fbPeerServer(xEnable := TRUE, itfIPAddress := ipAddress, uiPort := gvlSettings.uiPort); END_IF fbPeerServer(); fbReceive(xEnable := fbPeerServer.xBusy, itfPeer := fbPeerServer, pData := ADR(abyReceive), udiSize := SIZEOF(abyReceive)); IF fbReceive.udiCount > 0 THEN IF fbReceive.udiCount < SIZEOF(sLastValidReceive) THEN SysMem.SysMemCpy(pDest := ADR(sLastValidReceive), pSrc := ADR(abyReceive), udiCount := fbReceive.udiCount); // Set End of String sLastValidReceive[fbReceive.udiCount] := 0; END_IF END_IF If anyone as seen this I could really use some help figuring it out. I included the Log report
Last updated: 2024-09-19
Post by honorzen543 on Desconto Temu [acu729640] 100€ Cupão Novos Usuários
CODESYS Forge
talk
(Post)
Descubra como o Temu coupon code ÂŁ100 off pode transformar suas compras online na plataforma Temu. Para os habitantes de Portugal, esta Ă© uma oportunidade imperdĂvel para economizar significativamente em suas compras favoritas. O cĂłdigo promocional [acu729640] oferecerá os máximos benefĂcios para os usuários em Portugal. Garantimos que este cĂłdigo proporcionará uma experiĂŞncia de compra econĂ´mica e satisfatĂłria. Com o Temu coupon ÂŁ100 off e o Temu 100 off coupon code, vocĂŞ terá acesso a descontos incrĂveis que farĂŁo a diferença no seu orçamento mensal. Aproveite esta chance para explorar tudo o que Temu tem a oferecer. Qual Ă© o CĂłdigo de Cupom para Temu ÂŁ100 Off? Os clientes novos e existentes tĂŞm a chance de obter benefĂcios incrĂveis utilizando nosso Temu coupon ÂŁ100 off no site e app da Temu. Aqui estĂŁo algumas vantagens especĂficas associadas ao uso deste cĂłdigo: [acu729640]: Desconto direto de ÂŁ100 em uma Ăşnica compra. [acu729640]: Pacote de cupons de ÂŁ100 para usos mĂşltiplos. [acu729640]: Desconto de ÂŁ100 para novos clientes. [acu729640]: CĂłdigo promocional de ÂŁ100 extra para clientes existentes. [acu729640]: Cupom de ÂŁ100 para usuários em “Portugal”. CĂłdigo de Cupom Temu 100€ Off para Novos Usuários Os novos usuários podem obter os maiores benefĂcios usando nosso cĂłdigo promocional no aplicativo Temu. Veja como o Temu coupon “Portugal” 100€ off e o Temu 100€ off for new users “Portugal” podem beneficiar vocĂŞ: [acu729640]: Desconto direto de ÂŁ100 para novos usuários. [acu729640]: Pacote de cupons de ÂŁ100 para novos clientes. [acu729640]: Pacote de cupons de atĂ© ÂŁ100 para usos mĂşltiplos. [acu729640]: Frete grátis por todo “Portugal”. [acu729640]: Desconto extra de 30% em qualquer compra para usuários de primeira viagem. Como Resgatar o CĂłdigo de Cupom Temu 100€ Off para Novos Clientes? Para aproveitar o Temu 100€ off e o Temu coupon code “Portugal” 100€ off for new users, siga este guia passo a passo: Baixe o aplicativo Temu e crie uma nova conta. Adicione produtos ao seu carrinho de compras. No checkout, insira o cĂłdigo [acu729640]. Confirme o desconto aplicado e finalize a compra. CĂłdigo de Cupom Temu 100€ Off para Usuários Existentes Usuários existentes tambĂ©m podem se beneficiar de nossos cĂłdigos de cupom no aplicativo Temu. Veja como o Temu 100 off coupon code e o Temu coupon code “Portugal” para existing customers podem ser Ăşteis: [acu729640]: Desconto extra de 100€ para usuários existentes da Temu. [acu729640]: Pacote de cupons de 100€ para compras mĂşltiplas. [acu729640]: Presente grátis com envio expresso em todo “Portugal”. [acu729640]: Desconto extra de 30% em cima do desconto existente. [acu729640]: Frete grátis para “Portugal”. Como Usar o CĂłdigo de Cupom Temu 100€ Off para Clientes Existentes? Para utilizar o Temu coupon code 100 euro off e o Temu discount code “Portugal” for existing users, siga os passos a seguir: Acesse o aplicativo Temu com sua conta existente. Escolha os produtos desejados e adicione-os ao carrinho. No checkout, insira o cĂłdigo [acu729640]. Finalize sua compra apĂłs verificar o desconto. Como Encontrar o CĂłdigo de Cupom Temu 100€ Off? Para achar o Temu coupon code 100€ off first order e os latest Temu coupons “Portugal”, vocĂŞ pode se inscrever na newsletter da Temu. AlĂ©m disso, siga as páginas de mĂdia social da Temu para estar sempre atualizado com os Ăşltimos cupons e promoções. Visite sites confiáveis de cupons em “Portugal” para encontrar os cĂłdigos mais recentes e funcionais. Como Funcionam os Cupons Temu 100€ Off “Portugal”? Os Temu coupon code 100€ off first time user e “Temu coupon code“Portugal”” oferecem descontos diretos em suas compras. Basta inserir o cĂłdigo promocional durante o checkout e o desconto será aplicado automaticamente, reduzindo o valor total da sua compra. É uma maneira simples e eficaz de economizar dinheiro e aproveitar mais suas compras na Temu. Como Ganhar Cupons na Temu “Portugal” Como Novo Cliente? Para obter o Temu coupon code “Portugal” 100€ off e o “Temu 100 off coupon code first order,” basta se cadastrar como novo cliente na plataforma Temu. Automáticamente receberá ofertas e cupons exclusivos, que podem incluir descontos diretos, frete grátis e promoções especiais, ajudando a maximizar suas economias. Quais SĂŁo as Vantagens de Usar Cupons Temu “Portugal”? Usar nossos cĂłdigos de cupom na Temu oferece numerosas vantagens, como: Temu 100€ off coupon code legit: Desconto de 100€ na primeira compra. Coupon code for Temu 100 off: Pacote de cupons de 100€ para usos mĂşltiplos. 70% de desconto em itens populares. Desconto extra de 30% para clientes existentes. AtĂ© 90% de desconto em itens selecionados. Presente grátis para novos usuários. Entrega gratuita por toda a Europa. Temu Presente Grátis “Portugal” e Desconto Especial para Novos e Existentes Usuários Existem mĂşltiplos benefĂcios ao usar nossos cĂłdigos de cupom Temu, incluindo o Temu 100€ off coupon code e o 100€ off Temu coupon code “Portugal”: [acu729640]: Desconto de 100€ na primeira compra. [acu729640]: Extra 30% de desconto em qualquer item. [acu729640]: Presente grátis para novos usuários da Temu. [acu729640]: AtĂ© 70% de desconto em qualquer item no aplicativo Temu. [acu729640]: Presente grátis com frete grátis em “Portugal”. PrĂłs e Contras de Usar o CĂłdigo de Cupom Temu 100€ Off Aqui estĂŁo alguns Temu coupon “Portugal” 100€ off code e Temu free coupon code “Portugal” 100 off: PrĂłs: Oferece economia instantânea de 100€. Válido para novos e existentes usuários. Frete grátis incluĂdo. Sem requisitos de compra mĂnima. Expira apenas quando utilizado. Contras: DisponĂvel apenas para compras na Temu. Necessário inserir o cĂłdigo manualmente. Válido apenas para usuários em Portugal. Termos e Condições do Cupom Temu 100€ Off em 2024 Alguns termos e condições para o uso do Temu coupon code 100€ off free shipping “Portugal” e “Temu coupon code 100€ off reddit” incluem: Sem prazo de validade, use a qualquer momento. Válido para novos e existentes usuários em “Portugal”. Nenhum requisito de compra mĂnima. Cupom se aplica apenas atravĂ©s do aplicativo Temu. Combina-se com outras promoções existentes. Nota Final Resumindo, o Temu coupon code 100€ off Ă© uma excelente oportunidade para economizar em suas compras favoritas. NĂŁo perca a chance de experimentar essas ofertas exclusivas. Com o Temu 100€ off coupon, suas compras na Temu serĂŁo nĂŁo apenas mais econĂ´mica, mas tambĂ©m mais prazerosas. Experimente agora e desfrute das economias! FAQ do Cupom Temu 100€ Off O que Ă© o Temu coupon code 100€ off? É um cĂłdigo promocional que oferece um desconto de 100€ em suas compras na Temu, disponĂvel para novos e existentes usuários em Portugal. Como posso usar o cĂłdigo [acu729640]? Basta inserir o cĂłdigo no checkout do aplicativo Temu para obter o desconto aplicado instantaneamente. O Temu coupon code 100€ off Ă© válido para todos os produtos? Sim, o cupom pode ser aplicado na maioria dos produtos, mas algumas restrições podem se aplicar a itens especĂficos. Posso usar o cĂłdigo Temu 100€ off mais de uma vez? Dependendo da promoção ativa, alguns cĂłdigos podem ser utilizados para usos mĂşltiplos, conforme mencionado em nosso site. O que acontece se eu esquecer de aplicar o cĂłdigo de cupom na compra? O desconto nĂŁo será aplicado apĂłs a finalização da compra. Certifique-se de inserir o cĂłdigo antes de concluir o pagamento.
Last updated: 2024-10-26
Post by deeps on web visu on IFM
CODESYS Forge
talk
(Post)
I have an IFM cr1077 display. I would like to show B&R mapp view on IFM visualization. I used coedsys web browser elemnt for this. I could see IFM working fine in Internet web browser but IFM device shows white screen and freezes. I think there is problem with IFM showing the web browser. Is my understanding of the web visu right? am I doing any mistake here?
Last updated: 2023-08-18
Post by rossanoparis on How to configure CODESYSControl_User.cfg in order to use a specific network card for OPCUA Server
CODESYS Forge
talk
(Post)
Thank you @eschwellinger Even tough I think the content of the link you provided is a bit messy. To bind OPCUA server to a specific adapter, I should have had insert the following section. [CmpOPCUA] NetworkAdapter=eth0 But it doesn't work, I had to insert the following section instead to get the right configuration. [CmpOPCUAServer] NetworkAdapter=eth0 Regards Rossano
Last updated: 2023-08-29
Post by macros8 on Alarm Management - latched variable represented as Text list
CODESYS Forge
talk
(Post)
Hi all, in Alarm management you can latch some variable to show value within the alarm msg. It´s very useful sometime. But I´m wondering whether there is any possibility to represent that value as Text list. It´s quite common in other HMI tools and this is very useful in case of using some ErrorID for detail specification of error. Unfortunately I could not find any way how to do it but I believe that exists :) Thanks a lot. M.
Last updated: 2023-09-06
Post by dwpessoa on CNC Jumps G20 - SMC_NCInterpreter and long time to process
CODESYS Forge
talk
(Post)
I am studying and developing a Softmotion+CNC system for a machine that executes multiple pieces. The G code program is written by the machine operator and each cycle execute 1 piece. The programs are large, exceeding 1000 lines and using up to 8 axes (X, Y, Z, A, B, C, P and Q). The machine needs to run cyclically, executing N pieces (selected by the Operator)... so I tested it using Looping and counters (G36 G37 and G20) and it worked, but it takes a long time to process, and the more pieces I need, the longer the processing time and this is totally impracticable. I found this solution which was very good, and for a few cycles it works well, but for 99999 pieces of a program with 1000 lines, it doesn't work very well... Another solution I tested is to maintain the interpolator with an automatic restart, that is, I load the program without looping (without G20) and give it another start as soon as it finishes. This partially resolved it, but there is still a delay in processing SMC_NCInterpreter in each restart :(. Another solution I thought of is to manually create the SMC_GEOINFO structure and then reuse it, avoinding the Interpreter, but reading the documentation and checking the structure filled by standard blocks, I noticed that there doesn't seem to be a "JUMP" function in the structure! In other words, the SMC_NCInterpreter actually keeps copying and copying the program section for each jump (G20)... If I repeat a 10-line program 1000 times, I will have a structure with more than 10000 lines... possibly this is the cause of take so long to process. Has anyone ever had a problem like this? I believe the same thing happens with typical applications with manipulator robots using Codesys in continuous cycles, and I would like to know if there is any solution, or even if I am misinterpreting the G20 question in SMC_GEOINFO. Thanks!
Last updated: 2023-09-20
Post by docker on Canopen connection. Unknown node id.
CODESYS Forge
talk
(Post)
hi, i am currently trying to adapt an i/o device for a project. the node id is unknown and there is no eds file available. no data is being emitted from the device as a giveaway, the baudrate is known but useless without the node id. is there an sdo request available to determine the id? i cannot get the device to leave pre op status even with a global nmt request. please help. no hair left.
Last updated: 2023-09-25
Post by timvh on Specify Input Configuration "OnDialogClosed" Action to only react to certain Dialogs
CODESYS Forge
talk
(Post)
What maybe helps is the Visu Dialog ST demo project: https://store.codesys.com/en/visu-dialog-st.html This has an application IECOpenDialog where dialogs are opened using the VU.FbOpenDialogExtended function blocks. The fbOpenConfigurationDialog call has a reference (interface) to the "close listener" FB of which it's method is automatically called when the dialog is closed. This way you can create specific function blocks for each dialog when it is closed and do what you want with the data that might have been changed.
Last updated: 2023-09-28
Post by jantje on Setting up the "Visual Studio Code" debugging environment (using .NET debugging) for use with the ScriptEngine API in Python.
CODESYS Forge
talk
(Post)
Hi Till, Sadly I did not get any feedback on this and was not able to get it to work using Visual Studio Code. I believe I have used a Codesys environment to get something up, but I cant remember any specifics, its too long ago. Good luck with it! Kind regards, Jan
Last updated: 2023-10-02
Post by martinlithlith on Raspberry Pi: List of available drivers / libraries
CODESYS Forge
talk
(Post)
As most of the posts are moved here around 2015, what would be the right version of codesys to run? Would it be better to install a older version of codesys or should i keep on downgrading libraries? Is there any work done to update theses libraries? It´s been a few years since the last update in this post, are there new libraries/devices for raspberry being added/posted somewhere else? Thanks, Martin
Last updated: 2023-10-17
Post by davidbo on RPI How to login for a copy of the SD image
CODESYS Forge
talk
(Post)
I had one RPI device where I could login. I copied the SD-flash over to another SC-flash. This new SD-flash was inserted in the new device. I can boot the new device but I cannot login why? How can I install an application on this new device? Control 4.4.0.0 cat os-release PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Last updated: 2023-10-18
Post by eschwellinger on Persistence Manager Backup
CODESYS Forge
talk
(Post)
you need at them moment a download once (for the configuration files generated including addresses) then stop the plc - exchange the persistence file ( without the config file) This will be improved to 3.5.18.6 and 3.5.20.0. (possible then to generate offline bootproject including full persistenmanager files) - this is if you have not 100% the same bootapplication on the devices. In case you copy the whole Application (PLCLogic) directory it should work out of the box - but only with 100% same bootprojects as mentioned above. By the CODESYS Automation Server would help solve this too.
Last updated: 2023-10-19
Post by rcaponi on Codesys 3.5 SP19 Patch 4. Trace context menu does not work
CODESYS Forge
talk
(Post)
Hello, I'm using the new Codesys 3.5 SP19 Patch 4 version with CODESYS Control for Raspberry Pi MC SL v4.8. Compared to the Codesys 3.5 SP19 Patch 1 version, the context menu on a Trace object no longer works. So I can no longer run the Downloader Trace command. Do any options need to be enabled with the new version? Best regards Roberto Caponi
Last updated: 2023-10-24
Post by macros8 on Translation - How to get text as reference in Frames translated?
CODESYS Forge
talk
(Post)
Hi all, I need a help. I want to create Frame where some parameters are done via reference input to this frame. What I have realized that if I use for Label/Caption etc. string variable (%s) it is not included in translation list. This is a quite a big deal and I did not find way how to add text to the list manually. Would you give me a hint how to proceed? I hope there is a way (workaround) how to do it. Thanks a lot. M.
Last updated: 2023-12-01
Post by macros8 on Alarm Management - Import and Export of AlarmGroup
CODESYS Forge
talk
(Post)
Hi, I struggle with exporting my Alarm Messages and following importing back to my project. Because filling in one by one is very time consuming I want to use export function and edit .csv file in Excel. As soon as I modify the file the import back to project does not work at all and function returns errors. Would you pls give me a hint how to properly use this functionality? Thanks a lot for help. Regards, M.
Last updated: 2023-12-02
Post by snhatton on Running webvisu with Codesys Control Win V3 in Simulation Mode
CODESYS Forge
talk
(Post)
Yes, you can use the CODESYS ControlWin V3 Soft PLC. However, if simulation is enabled on the device this will disable all communication, so you need to turn off simulation to view the visualization in a web browser. In simulation mode, all IO and communication is disabled for standalone testing. In addition, make sure to set the start visualization in the WebVisu object in the application tree. I hope this helps!
Last updated: 2023-12-04
Post by voffi on Converting UINT into bytes and converting 2Bytes into UINT
CODESYS Forge
talk
(Post)
There are some ways. One is to use SHR and SHL and it depends on your byte order in the data array. For Motorola byte order: PROGRAM PLC_PRG VAR u : UINT; byte_array_in : ARRAY [1..8] OF BYTE := [16#11, 16#12, 16#13, 16#14, 16#15, 16#16, 16#17]; byte_array_out : ARRAY [1..8] OF BYTE; END_VAR u := SHL(TO_UINT(byte_array_in[2]), 8) + TO_UINT(byte_array_in[1]); byte_array_out[1] := TO_BYTE(u); byte_array_out[2] := TO_BYTE(SHR(u, 8)); If it's Intel byte order just change 1 and 2 in the array indexes.
Last updated: 2023-12-07
Post by mputaggio on Recipe Manager - RecipeManCommands, load & write wrong values, Bug?
CODESYS Forge
talk
(Post)
Hello, We encountered the same issues on both recipe library versions 4.2.0.0 and the newest 4.3.0.0. The Arrays of structs get saved correctly but loading them restores only some indexes, while others get lost or completely wrong. We have been using the same recipes for the last two years on recipe manager vers. 3.5.17 withoud issues. There also seems to be a different behaviour in vers. 4.3.0.0 but it's still incorrectly loading the recipes. Did you find any workaround or solution? Codesys version used: 3.5.19.50
Last updated: 2023-12-15
Post by svn123 on In Simulation Mode, logic is not executing
CODESYS Forge
talk
(Post)
Please check the attached snapshot. I am converting an int to real and storing in rVlv01_SV and then scaling the value using LIN_TRAFO. In the bottom Status Bar of Codesys, both RUN and SIMULATION are visible. When I enter value 100 as input to INT_TO_REAL instruction and press Ctrl-F7, the value can be seen at the input but the logic seems not to work. I searched for help but could not find anything relevant. What could be the reason. Codesys ver3.5.11 svn
Last updated: 2023-12-25
Post by svn123 on Can V3.5.19 and V2.3.9 be installed on same Windows10 PC without affecting each other?
CODESYS Forge
talk
(Post)
Hi All, Seasons Greetings! I have Codesys V3.5.19 patch 5 installed on a Windows 10 PC. I have received a program which is for Codesys V2.3.9. First I tried to convert it but had many conversion errors. I am wondering if it is possible to install Codesys V2.3.9 on same PC without affecting the V2.5.19 installations. Is this possible? SVN123
Last updated: 2023-12-28
Post by andrax on Mux I2C
CODESYS Forge
talk
(Post)
the TCA9548a does not work in Codesys. In Pyton this is only queried once and in Codesys cyclically. Of course you can also insert a terminating resistor in each port, then you should have no problems. I use this one: https://botland.de/8-bit-multiplexer/12723-qwiic-mux-breakout-8-kanal-modul-mit-i2c-multiplexer-tca9548a-sparkfun-bob-16784-5904422341428.html You can simply set the library to the latest version. You do not need Oscat. Do you need an example project for the BMP280?
Last updated: 2024-01-02
Post by andrax on Mux I2C
CODESYS Forge
talk
(Post)
the TCA9548a does not work in Codesys. In Pyton this is only queried once and in Codesys cyclically. Of course you can also insert a terminating resistor in each port, then you should have no problems. I use this one: https://botland.de/8-bit-multiplexer/12723-qwiic-mux-breakout-8-kanal-modul-mit-i2c-multiplexer-tca9548a-sparkfun-bob-16784-5904422341428.html You can simply set the library to the latest version. You do not need Oscat. Do you need an example project for the BMP280?
Last updated: 2024-01-02
Post by tvm on multiply gives negatives
CODESYS Forge
talk
(Post)
It's probably because you have an INT in the input to the MUL function, which will then try to output an INT as well. INT variables can only handle values of -32768 to 32767. Your value of 523000 won't fit in an INT, so it turns into an invalid number. Use a DINT. This is usually better for working with time values anyway, because time values are all 32 bit. Or if you can't, use INT_TO_DINT(gvlp.detectie_nalooptijd_s) in the input to the MUL function.
Last updated: 2024-01-04
Post by felipemsgarcia on Edge Gateway online, but PLC is not online
CODESYS Forge
talk
(Post)
Hello, I couldn't figure what/where the issue was, so I deleted everything from automation server and reinstalled the edge gateway and did the process again. It worked for about a month and then it stopped working again. It presents the same symptom, edge gateway is online but I can't connect to the PLC. Any idea of what could be the issue? Thank you!
Last updated: 2024-01-09
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.