when i use a output in a SELECT then i get a warning. WHY?
For data logging on a server i check the connection with Syssockping. When i do that it seems to hang uo the system once a while for 13 seconds. Why ??
Also funnie. Codeys is a Leading Hardware-"INDEPENDENT"
The hole setup is made by 3s. So its a comination of one not two. If Epis decide not to support extra licence whats then the funtion of providing an option with a single license ?? So the idee by 3s has a flod. Epis change the system to add the Stick. I send controller inc stick to Epis. On my software i can see the stick. An then you tel me i need a other license to use an license ?? Makes completly no sense. Codesys should be flexible but is not. I tried Delta. But has no HMI and has its own Codesys...
Epis doesnt want Softmotion. I thought it was about the price. If it was possible it would be working already and i dont need an extra licence. Thats the problem of codesys. The software is running but hangs on its license. Epis made it posible to see the stick. I can see the license. Softmotion is there from 3.5.14.Xx Like is said And Motion control is alrady posible 15 year ago. And i only need a Sync of 2 drives. I want a good solution not a refund. Dont point to the manufacturer. The software...
16.4 Epis What has it to do with the manufacture? It just a licence more not. So basicly the idee of codesys sucks. 3s acts like its posible to add a license. And then it depence on the manufacturer. Why ?? Its a computer !! has nothing to do with the manufacturer. Most dont what a basic licence because they have to pay for that. 3s is the problem not the manufacture of the hardware. Its like the licence of the raspberry pi. HMI is not working. Sorry you get a refund. Why suggest that its possible...
By browser is not working. Tim suggestet to use Codesys and stick in the laptop. Thats working. But now with a stick with licence but no running motion.
It doesnt see the dongel on my computer
Hi, I want to activate a license. But got an error. This gateway endpoint is inactive
Hi, I want to activate a license. But got an error. This gateway endpoint is inactive
How can i swap an output in a frame ? Ive got a frame of a mixer. use this twise. I want to turn these on and of. i can Get in the frame as dwAdr_Mixer : DWORD; . as Var_IN_OUT. Then Adress as Adr(Output ) But in the frame i cant swap dwAdr_Mixer^ :-= not dwAdr_Mixer^ ;
Tim. I tried that. After that i used version 19. No problems. After that the Manufacturer whants me to pay for support. I dont pay for there incompetance. So send everythink back. Now looking for a better one.
Hi I mis the font. Wenn i click i get an error
i miss the font
Im trobles with version 18. Alraedy made a topic. But now i made it new. Some howe i miss the font
I know, But controller is Version 18.4. So i cant set to 19. I can try version 19. But will it run if i set the controller to 18.4
Somehowe its this problem. Delete and problem is gone. I cant change this value eihter
Ive got a project version 16p3 Running on Epis( 32) . Codesys cant see License stick on Epis and no one can tell me why. So Got me a Crist(64). Change version to version 18.4 But then i get dialog libry problems. Anyone knows why ?
At 19.1 the hFile_test should be RTS_IEC_HANDLE and always open-write - close in one cycle udi_handle: RTS_IEC_HANDLE; //handle-number. Is created by SysFileOpen udi_handle:=SysFileOpen(sFileName,Sysfile.AM_WRITE_PLUS, ADR(udi_ErrorCode)); udi_RetValWrite:=SysFileWrite(udi_handle, pRemBuffer, szRemBufSize, ADR(udi_ErrorCode)); //closing file IF udi_RetValWrite < szRemBufSize THEN ui_Error:=cWriteError; END_IF//error writing data udi_ErrorCode_Close:=SysFileClose(udi_handle);
Ive got a version 16 with no problem. Ive got a version 19 with no problem. But the version 18.4 has problems. WHY ??? 18 is an version 16 updatet.
In motioncontrol every block start with Axis. How can i make a variable to make my own FB ? Somthink like : _Axe : pointer to Axis_Ref_MC := Axis_1 ;
When i Put Gear on, the the slave goes off.. Why ? Disable Gear_on and Reinit the drive its back
Ive installed DIA from Delta. But because of problems with codesys i removed it. Now i have no gateway. How can i solve this ?
Normaly i used SysFileOpen(szFile:=sFileName , am:= AM_WRITE , pResult:= ADR(udi_ErrorCode) ); buut in Version 19 i need : SysFileOpen(szFile:=sFileName , am:= Sysfile.AM_WRITE , pResult:= ADR(udi_ErrorCode) ); Why ?
Ive got a project with 6 Divices version 9. They use networkvariable to communicate. I whant to add an Extra. But that one is probebly verion 19. Should that be a problem ? i have to update the software to 19. But i cant update the devices
For power off i need to give a MC_Reset ???? Why ??? To power up i need MC_Power , but when i reset the inputs it doesnt power off the drive ! Why ? If i would use the controlword on ethercat it would. Why nog in MC ?
I want to make a FB of MC. But i need a variable for Axis. How do i have to declare that ? ptAxe : AXIS_Ref_SM3; //:= SM_Drive_ETC_Delta_ASDA_A2 ; this is somehowe a problem
Do You have a solution ? Ive want the same
Same problem, CHange SSH. Bit now the Install Button is deactivated ? Why ?
Why Make codesys brand versions of Codesys. Nou i have to install DIA . WHY ??? I shoose codesys for the flexibilatie. I have to close Codesys to Install. So hopefully Codesys still works after this nonsens
I bought a respberry license. Now i want to add it to my software. The manager starts. But there is an error.
Epis smart 9 1000 Codesys 15. But programm in Version 16 Linux 4.9 When i put a stick in the USB i can see that one. So why not the dongle
Ive got the license dongle. But hey cant see it. When i put in a stick the contoller detects the stick. When i stick the dongle it doesnt detect. So 2 options from codesys who doesnt work
I use a controller with Linux. I try to change timezone. but no result. The command of codesys i dont understand ?? And Linux Commands dont work. It stays at +0 . I want Amsterdam
Anyone ?
I Bought a Raspberry Pi licensens. Downloaded the software. Install it on version 19. Start version 19. Whant to set a licensens to the raspberry Pi. Scan the network. But No Raspberry pi. I can Ping the Raspberry Pi. Whats wrong ?
Hi I want to add a licence. I dont have the dongle jet. I tried a Stick. I dont see a Container. My Controler deliverer Dont put a motion licencens because its to expensive. How can i add a licensens?
Hi, Im busy using softmotion. But its reading data , but no respons on the commands. Most examples has Softmotion General exis pool. How can get that?
Hi, i try to setup a softmotion programm. Controller version 15. Ethercat, When is scan Devices then it install's the drives. 4.11 . Somehowe they have a vesion 16 libary. I tried to install new but stil problems. I tried version 19. Then i get a Visu version problem. What can i do ? Why are ther always problems with a new version ?
How do i see if Webvisu is active and how to shot down if i dont want webvisu?
To bad. Controller uses Version 9.2 But i dont see a lower version of net bas Service. Maybe i can try a linux command.
What library is that? Is there a version 9.2 ?
How can i ping my computer by name ? My controler uses SysSockPing , But seems only by IP adres, not by name. IP adres changes. So how can i ping by name or know that im connected
This is a version 3.5.9.2. So i cant find webvisu. I dont know if i can use a version 16 to prgramm webvisu and leave the system at 9
For a computerer ther is programm Cerhost for remote display. Simple by ip adres. Is there an android app witch do the same ??
I use one controller to control 5 machines. For that use network variable. What will happen if i set another set of machines with the same software on the same network ? so 1 controlller for 5 and 1 controller for 3 ( Maybe later 5 )
Im back at seriel again. at a timeout of 1000 i get 1024 bytes. But it starts not at the begin. It should start with /XMX5 . The meter is sending every second. should i use Comsettingsex bOutxDSRFlow ? To get the right moment to read ? I cant find any axample ui_Timeout: UINT:=1000; arrDataRec: ARRAY[1.. 1024] OF BYTE ; SysComSetSettings(handle, ADR(Settings), ADR(SettingsEx)); udiDataRead:=SysComRead(handle, ADR(arrDataRec), 1024, ui_Timeout, ADR(ErrorResult)); /
Whats the diverence between Library : Sycom Syscom23 SyscomAsync I read a electricity meter. But the massage don't start at the begin. So i want to try somthink else
Wenn i make an online change it wil sometimes not be compiled right. So the machine does strains thinks. I have to clear all to get it right. as far i know its from version 3 on . and now its 17 and still that problem. I had a pomp that turns right but somtimes left. An elevator how goes up instead of down. An pick and place wo drops the product. Its quit dangerous
Is there an example of controling a swichable smart sockets ? They all go by an app. I want it by codesys
Hallo Wago, Gibt es ein bespiel fur die 652 fur codesys 3.5
Hi Rajshaswat, Did you find an example ? I will use a 652 to
If i open as AM_READ_Plus i get a size ....
I made a datalogger. 3.5sp15p2 on a linux device. USBStick Sysfileopen AM_Write_plus Sysfilegetpos SysfileSize sysfileSetpos Sysfilewrite SysfileFlush SysfileCLose. No Error. but Sysfilegetpos And SysfileSize stay 0 Why ?? File is now 858 bytes
I want to log data. To know the end i use szDataSize:=SysFileGetSizeByHandle(hFile:=handle_Data , pResult:= ADR(Fehler_Size)); But i dont get any value? Why ? i see data. Its version 3.5.15.20 with a linux device writing on a usbstick
Website cant add 2 pictures
Ive open my lates project and got this. WHY ?
After update to version 16 problem solved.
Where can i find the user config?
Ive got it allready in a Windows version with a real Serial port. With a home bild cable. So the string is not a problem anymore. Now i want it in a Linux device with a Fix cable. But Ive read in the forum i have to change the CodesysControl.cfg to let linux know its a serielport. But i can't copy the CodesysControl.cfg. So i tried to read with a Linux command. But Witch one ? Every forum i googled the read command seems a problem.
Why are there 3 types for the same string command?? DSMR-P1.. You meen a Wifi adapter ? Ive got a USB cable With a FTDI. With a linux Command ls / dev/tty* i find the '/dev/ttyUSB0' then set speed 'cu -l /dev/ttyUSB0 -s 115200 --parity=none' open it for read/write 'chmod o+rw /dev/ttyUSB0' But still can find a command that reads the data. Tried several
I can read it in a string (1024). But after that every string command is based of 255 so i lose data. Codesys always misses the last step.
I want to read an Smartmeter cable. Its USB on a Linux device. With cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q i could read. But the Codesys command " SysProcessExecuteCommand2 " its output is a string. But the data is 1024 bytes. So to long for a String. Is there a command to read it in a Array ?
Getto Showed that de virtual is working. But thats a macgiver solotion. I tried a version 17. But then it has a problem with the current visualization version. Codesys changes to mutch so newer version always add new problems. the newest is version 18. Still no working version.
Hi, I bought it at a dealer. They have same problem. Yes version 3.5.14.40. I have several versions of codeys. Problem with version 18 is that most dont support, if de software is newer then the there version. My Dealer made the effor to find out that the virtual geast is working. The problem is to get them fix the problem. Set back means that is set the output to TRUE. Then the controller sets it back to FALSE. Ive you use a new programm and install the exor. It has the same problem. Whats a : read...
I bought 2 Exor EX710 with a PLIO6 IO board. But from the 7 output i can only set the last 2 Output. The other are set back. Exor blaims Codesys. The solution seems te be a virtual windows 10 with a codesys version 14.40 . But thats no solution. Any one how knows more ?
Ive got a linux device. Wenn i try to copy Controlconfig.cfg to my computer then i get file not valid .. Why ? To add an USB - P1 smart meter cable i need to change that file
I try to read a smart meter with a Windows CE controller. Bought a USB cable. Copy the drivers to the ordner Windows. But after power off the drivers are gone. Knows anyone how to do that? I want the usb as a vurtial com port
Hallo Bruno, Ich meinte wie ich hier den EDS datei einfuge. In Codesys kenn ich. Irgentetwas ist falch in de eds. Wenn ich den Datentype Γ€ndere vonn usint nach bsp uint dan sehe ich im. Aber ich sehe kein unterschied mit einem andere wo ich 6060 sehen kan als Usint. Auch ist 1600 und 1A00 gleich. Also was beschrenkt codesys. EDS ist orginal Parker. Aber Support is schlecht. Habe mal eine Drive erneuet . Dar war die firmware nicht gleich. Also fehler parker. Kunde soll trotsdem zahlen.
Wie kan man ein EDS datei zufugen ?
Ich habe ein eds datei mit 6060 6061 Mit PDOmapping=1 aber ich sehe die nicht in codesys. Auch is 1400 gleich an eine eds datei wo ich den 6060 sehen kan. Wo reagiert codesys auf?
Yesterday change program but no vision. open this morgen and i get a lot of vision problems. Why ? I saw it ones before. version 15.2
Ive got 3 devices with Linux. Both the same software. But one has trouble reading data. I made a FB to read the settings. I read 4 settings. Read/write is ok. But after power on one is empty. Why . Cyclic task. RW_Para : RemVar_FileRW:= (bExecute:=TRUE, bRead:=TRUE, sFileName:='../Settings/PAR_Pumps.Par', pRemBuffer:=adrPara, szRemBufSize:=udiSize_Para ); // Read parameters at power up cWrite: IF NOT bInit THEN udi_handle:=SysFileOpen(sFileName, sysfile.AM_WRITE_PLUS, ADR(udi_ErrorCode)); binit :=...
Hi, Anyone knows how to read a Smartmeter. I connected to my RS232 port but don't recieve any data. So maybe i have to use USB. When i look here i have to change Codesyscontrol.cfg. I tried to copy it back to my pc. But then is get File is not valid. But i see it in codesys
I see a compleet different version . Why ?
automation server installed. But no extra menu
https://www.youtube.com/watch?v=iiPKyyO4M00 IS the gateway for linux (PLC) ?
To excess a plc over internet i use a VPN. Normaly you add the gateway. But then you see nothing. So for windows plc you add the ipadress of one of the devices behind the vpn. Then you see all. But with a Linux device its not working. I can ping it but cant see it. So i lookt here and they recomend the AWS. So i lookt at the video. Then i tried it. Install gateway for linux or windows. Do they meen PC or PLC ? Then at version 15 there should be an ordner extra on top of the screen. But thats not....
I try to install AWS. But it sucks. They change version 3.5 to 0 . I vieuwd a video. 3.5.15. goto store install aws for linux or windows ?? Are they talking about the plc or my computer? Ive installed linux ( PLC) then there should be a new ordner in de menu Automation server. But nothing there. Why is Codesys nerverecking.
I use a vpn module to connect. When i connect with version 3.5.9 to a controller with Windows. I add the ip adres from the contoller. Then i find everythink thats there. If i use version 3.5.15 to connect to a Controller with Linux . Add the ipadres. Gateway stays red. Why ?
How can i set date and time in a linux controller with codesys. For windows i use : IF set THEN SysTimeRtcConvertDateToUtc(setDate,dwSetTime_local); Result_Convert:=SysTimeRtcConvertLocalToUtc(dwTimestampLocal:= dwSetTime_local , pdwTimestampUtc:= dwSetTime ); setTimestamp := DWORD_TO_DT(dwSetTime); SysTimeRtcSet(dwSetTime); set:= FALSE; END_IF But thats not workin by linux
I used a trend to see a PID control. But when is save the programm under an other name it will crash immidatly. Why is the trend not only active when i want. Is there a simpler way ?
I want to send a mail. Mij device use 3.5sp9p2 but the axample looks to be version 15. Can i use this ? and when i open in version 15 it has problems with the library. When i open in version 17 there are problems with the visualization
Everytime i compile i see softmotion. I dont use that. How can i turn that off ?
Why is there a string end ? I try now with AT %MD Hopefully it will solve my problem.
Thanks ! But same problem. if there is a real or string its a problem. {attribute 'pack_mode' := '1'} TYPE stNIR_400_Ethernet : STRUCT usiDHCP :USINT; sIP_Adres :STRING(16); sIP_Sub :STRING(16); sIP_Gate :STRING(16); sIP_Server :STRING(16); sGauge_ID :STRING(65); usiDiag_Dump :USINT; sDiag_UDP_Adr :STRING(16); sProfinet :STRING(65); arrDummy :ARRAY[1..37] OF USINT; uiCRC :UINT ; END_STRUCT END_TYPE
Codesys 3.5.9.2. I recieve data to an Array. Then i use Sysmemcpy to copy it to a structure .But with real and string it misses a byte. So 16 bytes i have to copy to a string(15). WHY ?? For real i have to copy byte 4-7 to get the right value.
System version is 9.2 I recieve by RS232 a array of data When i copy byte 4-7 into an array of bytes and then syscpy to a real ive got the right value. when i copy it strait to a structure where the position of byte 4-7 is a real. Then the value is moved. I put in a Union struc so you can also see it as an array of byte. witch shows the movement.
Both are the same. rMeasure_value_1 starts at byte 4. but is not the right value. If i memcpy Byte 4-7 to real ive got the right value. So why not as a struc . It looks likes it moves a byte
I copy an array into a strucure but somehowe it moves a byte. Why 36 54 7a 41 schould be 15.46 but it is 6.0.139E-39 witch is 54 7a 41 00
cNoOfByteRec Ive download an example from the store. Same problem
cNoOfByteRec: UINT:=200; //exactly No of byte to receive sDataRec: STRING(cNoOfByteRec); i try diverent values. Somehowe its limit is 16
It looks it is 16 bytes. But Syscomwrite can write more then 16. And Syscomrecieve can do more then 16. So why recieves it 16 byte at a time and not everythink ones
I use Syscom Library, But it recieves everytime max 16 bytes. Why not more at once ? If is send 23 byte. I recieve 16 and 7 bytes ..
Funny. codesys is the right time. FTP the wrong time
When i look to the files on the controller by codesys the time is 2 hour later then when i look bij FTP . Why ?
How can i find my topics on this website ??