Search talk: explicit device identification

 
<< < 1 .. 20 21 22 23 24 .. 31 > >> (Page 22 of 31)

Post by mainak on OPC UA C# client connecting to OPC UA CODESYS server CODESYS Forge talk (Post)
it could be due to security settings. In codesys IDE, go to device-> change run-time security policy, and click the checkbox that says "Allow anonymous login". try if this works.
Last updated: 2024-10-19

Post by timvh on Modbus TCP & RTU with Control for Linux SL CODESYS Forge talk (Post)
Most likely your IP address is set to 172.... because you use a VPN connection to your device. Probably best to use the other Ethernet interface for your modbus communication.
Last updated: 2024-10-24

Post by kbucsit22 on Ethercat Slave - Load PDO From Device CODESYS Forge talk (Post)
Codesys Version V3.5 SP20 Patch 3 Ethercat Master: EXW1-BECAC (SMC) The Load PDO Button was pressed but software hangs. I try Beckhoff its working, dont know Codesys got issues.
Last updated: 2024-10-25

Post by kbucsit22 on Ethercat Slave - Load PDO From Device CODESYS Forge talk (Post)
Codesys Version V3.5 SP20 Patch 3 Ethercat Master: EXW1-BECAC (SMC) The Load PDO Button was pressed but software hangs. I try Beckhoff its working, dont know Codesys got issues.
Last updated: 2024-10-25

Post by andrax on Raspberry i2c master device CODESYS Forge talk (Post)
I don't understand your question. There are all sorts of projects here using I2c, up to and including multiplexers What exactly do you have in mind?
Last updated: 2024-11-04

Post by jeroenaero on CodeSys Raspberry pi I2C driver not found CODESYS Forge talk (Post)
thank you, i tried your library and device description but i don't get analog values. Do i something wrong? i also got an library error at the I2C_BASE functionblock the calcCycleTime gave an variable size error, so i added thet conversion from ULINT_TO_UDINT.
Last updated: 2024-11-07

Post by andrax on CodeSys Raspberry pi I2C driver not found CODESYS Forge talk (Post)
your driver is not running. All libraries must be present first! Then you can try the following. Delete the ADS1115 and the I2C_maseter from the device tree. Create everything again.
Last updated: 2024-11-08

Post by ellocco on Kann mich nicht am Gerät anmelden CODESYS Forge talk (Post)
CODESYSV3.5 SP20: Habe gerade wieder Ärger mit dem virtuellen Gerät (DEVICE) CODESYSControlWinV3x64 und stelle fest, dass der Ordner jetzt versteckt irgendwo anders liegt ... Auch die Datei .GroupDatabase.csv kann ich nicht mehr finden.
Last updated: 4 days ago

Post by fefefede on Get the numer of day CODESYS Forge talk (Post)
Hello i tro to create a program to turn on or off the air condition in relationship temperature and numer of day. I can't get the number of day. I try this after installing SysTime library but this not work and have this error on debug ------ Build started: Application: Device.Sim.Device.Application ------- Typify code... Generate code... [ERROR] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0032: Cannot convert type 'Unknown type: 'SysTimeCore(TRUE)'' to type 'TIME' [ERROR] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0035: Program name, function or function block instance expected instead of 'SysTimeCore' [ERROR] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0032: Cannot convert type 'Unknown type: 'DayOfWeek(CurrentTime)'' to type 'INT' [ERROR] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0035: Program name, function or function block instance expected instead of 'DayOfWeek' [INFORMATION] giorno_accensione_aria: PLC_PRG Device: PLC Logic: Application: C0181: Related position Build complete -- 4 errors, 0 warnings : No download possible PROGRAM PLC_PRG VAR Temperatura: UDINT; AriaCondizionata: BOOL := FALSE; CurrentDayOfWeek: INT; //Variabile Giorno CurrentTime: TIME; GiornoDellaSettimana: INT; DayOfWeek: INT; END_VAR CurrentTime := SysTimeCore(TRUE); // Ottieni l'ora corrente CurrentDayOfWeek := DayOfWeek(CurrentTime); CASE GiornoDellaSettimana OF 1: // Azioni per Lunedì 2: // Martedì se più 10° accend altrimenti spegni IF Temperatura >= 10 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 3: // Mercoledì se più di 50° accendi altrimenti spegni IF Temperatura >=50 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 4: // Giovedì se più di 40° accendi altrimenti spegni IF Temperatura >=40 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 5: // Venerdì se più di 50° accendi altrimenti spegni IF Temperatura >=50 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 6: // Sabato se più di 25° accendi altrimenti spegni IF Temperatura >=25 THEN AriaCondizionata := TRUE; ELSE AriaCondizionata := FALSE; END_IF 7: // Domenica sempre spenta AriaCondizionata := FALSE; END_CASE
Last updated: 2023-09-14

Post by pruwetbe on Profinet IO-link master - IODD files CODESYS Forge talk (Post)
Hello, we have the same problem here. Our configuration in the following: Codesys V3.5 SP19 running on Exor Exware700Q Profinet network connected on Eth1 IOLink Master Turck TBEN-S2-4IOL version 3.5.9.0 IOLink sensors E+H & Sick (Pressure, T°) We installed the codesys IO link package and have the codesys IO Link SL licence activated (on a dongle) Our problem is the following: we got the IODD files from E+H & Sick we add the devices in the codesys device repository with success They appear in the devices tree under IODD branch We added the TBEN IOLink master under the Profinet IO . The IO link master are ok and display online. The IO-Link SL package datasheet indicate that there would be a way to scan the IOLink device from the network but we did not find any way to trigger this scan. (we expect to get this from a right click on each IO-Link Master module but the only possibility there is "Plug device") When clicking on Plug Device, we get a browse window with profinet IO modules. The IODD devices are not there so we cannot select them. But other devices for other brands are available and can be plugged. Our question are : 1) how do we update the Profinet IO Module catalogue in order to be able to plug the E+H & Sick Sensors that we have to work with? 2) how do we activate the Scan IOLlink device that is supposed to be included in the Codesys IO-link package? 3) where can we find the manual explaining how to use this package?
Last updated: 4 days ago

Post by mozed on Connection to device closed CODESYS Forge talk (Post)
Hello I am using an OpusA3 with version 3.5 SP17 Patch 3 as part of a project. I had no real problem before I encountered a problem that blocked me. The detection of the OpusA3 from Codesys is done correctly. The gateway is well configured and if I ping the gateway or the OpusA3 I receive the response correctly. The problem is that when I try to connect, the Opus screen freezes and a few moments later Codesys displays an error message ("connection to device closed"). I tried to change PC, to update the runtime, to change OpusA3 but the problem remains the same. I'm a little lost knowing that before it worked without problem. I went back to a previous version of the project (where it worked correctly) but the message still appears. Do you have any clues to solve the problem? Sincerely,
Last updated: 2023-08-23

Post by muhq on Profinet connection to Siemens CP343-1 Lean (IO-Device/Slave) CODESYS Forge talk (Post)
Hi, I am quite new to Codesys and I try to do a Profinet connection to an Siemens PLC (315-2DP) with CP343-1 Lean Modul. I already configured the Siemens PLC, exported the GSDML. Then I added a new project in Codesys, added following moduls: - Ethernet - PN_Controller - Imported Profinet Device via GSDML importer When I start the programm everything looks fine but I always get the message "Stopped Profinet" and no data is available This is only for a small test. Therefore I start to do that on a Windows 10 with Development System. Later I will try to realize this on Raspberry. Ethernet Adapter is configured (192.168.1.1 / 24) Firewall deactivated WinPCap is installed S7-Station seems to be found ('fuadazenzitest') Can please somebody help me?
Last updated: 2023-08-26

Post by simotion on Pointer to Softmotion axis CODESYS Forge talk (Post)
In my projet I use Softmotion. There are several Softmotion axis (type SM_Drive_Virtual). In the Global Variable List I have an array of pointers to the adress of the Axis. Axis : ARRAY[1..iMaxCntAxes] OF POINTER TO AXIS_REF_SM3 := ADR(AX01_Axis), // [1 ADR(AX02_Axis), // [2] This works, but when compiling I get the message : . [WARNING] E3D: GVL Device: PLC Logic: Application: C0564: A reference to uninitialized variable AX01_Axis is used for initialization of Axis. Accessing the uninitialized variable may result in unexpected behavior. [WARNING] E3D: GVL Device: PLC Logic: Application: C0564: A reference to uninitialized variable AX02_Axis is used for initialization of Axis. Accessing the uninitialized variable may result in unexpected behavior. Is there a way when initializing to force the hardware (softmotion axis) to first initialize and then the Global Variable List?
Last updated: 2023-10-25

Post by riccardo on Codesys SP19 patch 4 CODESYS Forge talk (Post)
Hallo everyone, I am working on new PLC of Weidmueller that uses Codesys SP19. I made the upgrade at the Patch 4 coming from patch 0. Unce made the upgrade everything is working well in the progect except the web visu user menagent. In the new version, when I perfom the login, I cannot use the keyboard of the device; the window where to digit the user name and password opens, the buttons "OK" and "Cancel" work but the system doesn't allow to put input from the device keybord, the mouse behaves as it is an image. If I active the virtual keypad or numpad it works otherwise nothing. I am wondering if it is a bug of the new package or if I must set something else. Thanks in advance, Riccardo.
Last updated: 2023-11-27

Post by royw on Profinet Library für C# CODESYS Forge talk (Post)
Hallo, ich weiß nicht ob ich hier richtig bin und ob es überhaupt möglich ist ... Ich suche eine Möglichkeit ein Profinet Device mit Record Read und Write anzusprechen. Eigentlich brauche ich nur sehr wenige Kommandos um unser Device zu konfigurieren. Das bedeutet setzen der MAC Adresse und einer Seriennummer. Das würden wir gern aus einem C# Programm herus machen. Nun sind wir auf der Suche nach einer Bibliothek o.ä. . Da man es ja auch aus Codesys heraus machen, dachte ich mir, gibt es eventuell eine DLL o.ä. die man dafür nutzen könnte. Wie gesagt wir wollen keine Realtime Abfragen der zyklischen Daten sondern lediglich Record read/write. Hat da jemand einen helfenden Hinweis ? Schon mal vielen Dank im Voraus
Last updated: 2023-12-22

Post by royw on Profinet library for C# CODESYS Forge talk (Post)
Hi, I don't know if I'm in the right place or if it's even possible... I'm looking for a way to address a Profinet device with Record Read and Write from my own PC. I actually only need very few commands to configure our device. This means setting the MAC address and a serial number. We would like to do this from a C# program. Now we are looking for a library or something similar. Since you can do it from Codesys, I thought there might be a DLL or something similar that you could use for this. As I said, we don't want real-time queries of the cyclic data but only record read/write. Does anyone have any helpful hint? Thanks in advance
Last updated: 2023-12-22

Post by dhumphries on Codesys device configuration CODESYS Forge talk (Post)
First make sure the programming laptop and HMI are both on the same subnet. For example if the IP address of the HMI is 192.168.1.125 with a subnet mask 255.255.255.0 set your laptop IP to 192.168.1.120 with a subnet mask of 255.255.255.0. Make sure the cables are fully connected (the ethernet port on my programming laptop will click once but the cable is not fully seated.) Make sure the HMI is powered on, try pinging the device from a command prompt, if you can't ping the HMI there is a network issue that has to be resolved first.
Last updated: 2023-12-30

Post by bfunk on Wago 750-8101 (mit Codesys V3) als Profinet device CODESYS Forge talk (Post)
Moin, ich habe da ein Problem und komme einfach nicht weiter... Ich moechte eine Wago 750-8101 (mit Codesys V3) zu einem ModBus TCP Slave und einem Profinet slave machen. ModBus habe ich hinbekommen, Profinet bekomme ich einfach nicht hin. habt ihr das evtl. einen hilfreichen Tip fuer mich? Programmiert wird mit Codesys V3.5 SP19 Patch 2 Auf dem Zielsystem (PFC100) ist die Zielsystemversion 4.6.0.0 Das es nicht optimal ist PN und ModBus TCP auf einer Schnittstelle zu haben ist mir bewusst. Wollte aber erstmal ModBus und Profinet zum laufen bekommen bevor ich das Profinet auf die 2. Ethernet-Schnittstelle bringe. /etc/CODESYSControl_User.cfg [SysSocket] Adapter.0.Name="br0" Adapter.0.EnableSetIpAndMask=1 Adapter.1.Name="br1" Adapter.1.EnableSetIpAndMask=1 ist eingetragen. so sieht der Status fuer das PN-device aus. Anbei ein Screenshot.
Last updated: 2024-01-16

Post by karol-abktech on Raspberry and problem with runtime CODESYS Forge talk (Post)
Hi, My problem is with raspberry pi 4 with 2 GB ram,. Install codesys is correct but runtime works only few seconds or I can connect with device few seconds. I can ping raspberry and in system info I can see " !!!! Warning: no runtime license - running in demo mode(~2 hours)" but it is 2 minutes after runtime. When I press Start runtime I have another few seconds when I can connect to raspberry. After this time I couldn't find device. Of course, reapet start runtime works every time on few second. Raspberry is new and works with fresh install raspberry os 32 bit. Where should I start looking for solve of my problem ?
Last updated: 2024-02-14

Post by valenting on Runtime not working on raspberry pi Bullseye CODESYS Forge talk (Post)
Hello I have a problem with Codesys on Raspberry pi with Bullseye The device is not recognized as a Raspberry pi, as I get this error : ooops... this runtime was built for RASPBERRYPI. Hardware version or firmware version not supported! (-18, 0x00000BB8, 0xFFFFFFFB) I'm running Codesys on a compute module 4S with Raspbian GNU/Linux 11 (bullseye), my kernel version is Linux 5.10.90-v7l+ Codesys version is the latest, released last week (4.11.0.0, CODESYS Control V3.5.19.61 for ARM-32Bit - build Feb 22 2024) I know it works on the same device if I use Raspbian 10 (Buster) with Linux 5.4.81-v7l+ kernel, but for some other reasons I have to use Bullseye. What can I do ?
Last updated: 2024-03-01

Post by dhumphries on Not able to see input data coming from eip adapter on codesys CODESYS Forge talk (Post)
Does the device have a green icon next to it when the PLC is running? If not you have some kind of communication problem, wireshark may be picking up some data but the scanner may not be configured correctly to receive the data. Check the T>O and O>T bytes and make sure they match on both the scanner and adapter. I've had very little success loading a .eds file and having the configuration work without some manual configuration. If you have a green icon, have you enabled the device to always update variables?
Last updated: 2024-03-02

Post by mp9876 on Device logon problem following fresh install CODESYS Forge talk (Post)
Yes it had been the case I believe as I have seen that message regarding they were not the same. I had update the device though to match them and that still did not fix the problem. I gotta say I wanted to get out of that situation and attempted a lot of things and then I did two things at the same time that fixed my problem: Wiped the 64 bit version and installed the 32 bit version Installed latest SP20 I wish I knew which one of these actions fixed the problem but now I gotta catch up on this IDE learning; it's been quite a learning experience I have to say! Thank you very much for your time and advice; much appreciated!
Last updated: 2024-03-19

Post by kuegerls on SysProcessExecuteCommand2 and CANopen Device CODESYS Forge talk (Post)
Hello, CODESYS Control is running on my RevPi, and my system communicates over a CANbus with a master using the ConnectCan module (Slave - CANopen Device). The communication works perfectly fine so far. However, as soon as I call a Python script with "SysProcessExecuteCommand2" that creates a CSV file and executes without errors, the master does not adopt any changes to the Transmission Process Data Objects (TPDOs). I don't quite understand what one has to do with the other, and perhaps someone can help me with this. Here is my script call: SysProcess.SysProcessExecuteCommand2(pszCommand:='python /home/pi/test.py', pszStdOut:=sCMDOutput, udiStdOutLen:= SIZEOF(sCMDOutput), pResult := ADR(eResult)); Thank you in advance! Best regards, Stefan
Last updated: 2024-06-20

Post by kunz on Responsive Design Example CODESYS Forge talk (Post)
Hello everyone, I have a problem with the example project Responsive Design Example, which is available here in Codesys Forge. I wanted to try switching the visualization depending on the device type. To do this, I used a smartphone to access it. I can see via breakpoints that the Smartphone visualization is selected, but the visualization of the normal monitor still appears on the smartphone. Could there be a problem with the libraries, or why is the device not assigned the correct visualization page? I dont know how do further debuggin or troubleshooting. Here the page to the example: https://forge.codesys.com/prj/codesys-example/responsive-desi/home/Home/ Thank you very much.
Last updated: 2024-06-27

Post by dekelec on The current baud rate could not be determined in CR0020 IFM with maintenance tool CODESYS Forge talk (Post)
It could be a problem with the cable pinout on either side: 9 pin D-SUB connector (male) - PC side Pin Potential: 1 n.c. 2 RxD 3 TxD 4 n.c. 5 n.c. 6 GND 7 n.c. 8 n.c. 9 n.c. Shell Shield Check if TxD and RxD cross between pins 2 and 3 (what is the Recive signal/wire to one device it's a Transmit signal/wire for the othe device) or with COM port settings: Bits per second: 9600 Data bits: 8 Parity: None Stop bits: 1 Flow controll: None
Last updated: 2024-07-09

<< < 1 .. 20 21 22 23 24 .. 31 > >> (Page 22 of 31)

Showing results of 751

Sort by relevance or date