Search talk: -128到127是什么数据类型

 
<< < 1 .. 880 881 882 883 884 > >> (Page 882 of 884)

Post by ryusoup on 'keep last value' option in CODESYS EtherCAT CODESYS Forge talk (Post)
Hello, I’m using CODESYS EtherCAT Master on a Raspberry Pi controller with several remote I/O modules. I’m facing an issue where the input values from the remote I/Os drop to 0 when a connection error occurs. Is there a way to configure a “keep last value” behavior (i.e., hold the last valid input) instead of defaulting to 0 on communication loss? Best regards,
Last updated: 2025-11-18

Post by eschwellinger on Deploy LicenseServer for Linux SL CODESYS Forge talk (Post)
for the package you net to install 32bit support(to have the native timprovider availble to deploy) sudo apt-get install libc6:i386 Then native Safeplc and native Safetimeprovider should be available to install. Raspi yes - but there is no official package available till now and you need have a rt_preemt patched kernel on the Pi, then it works like charm
Last updated: 2025-11-18

Fuzzy Logic PID Controller CODESYS Forge talk (Thread)
Fuzzy Logic PID Controller
Last updated: 2024-04-24

Post by jonasz on Deploy LicenseServer for Linux SL CODESYS Forge talk (Post)
Good morning, I'm digging into this topic because I'm curious about resolving my problem in a test environment. In my previous message, I asked about the CODESYS Safe Timeprovider SL package (4.18.0.0), which I saw in the illustration. I noticed that it runs as a service. I am asking about this because from the perspective of an "ordinary" user, this service provides easier access to the settings of the time provider's operating parameters. The basic time provider configuration is outlined at https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_virtual_safe_time_provider.html. Why my questions? They stem from my specific case, which is experiencing timeout issues. I know that my environment is currently only a test environment. I'm assuming a real-world scenario in which I won't be able to achieve a better result with my configuration, and I will ultimately need to increase the time provider's cycle time. By running the time provider service, I can easily influence the time provider's operation and thus eliminate the problem. I know, I know, safety systems are not life-enhancing extras.
Last updated: 2025-11-19

Post by seler on Custom button with output status CODESYS Forge talk (Post)
Just to clarify. Output for lamp will have two inputs: from plc IN (wall switch) and from visu button. Until now I had separate object for visu button and separate for visu lamp. Now I want it to be one object, bulb icone which will change color on lamp status and yet by touching it will change visu button state. Tried "Switch Image" object but there is no way to assign switch var.
Last updated: 2025-11-19

DataSource CodesysApp V3 CODESYS Forge talk (Thread)
DataSource CodesysApp V3
Last updated: 2025-11-19

Post by grepoo on DataSource CodesysApp V3 CODESYS Forge talk (Post)
Hi, trying to create a datasource in appV3 but it returns error code 259 (not nearer specified) everytime, no matter the device i am using. Any idea of what it might signify ?
Last updated: 2025-11-19

Post by gatto on warning C0195 CODESYS Forge talk (Post)
I answer myself: xyz : ARRAY [1..10] OF BYTE := [10(BYTE#100)] ; // no warning :-)
Last updated: 2025-11-20

warning C0195 CODESYS Forge talk (Thread)
warning C0195
Last updated: 2025-11-20

Post by gatto on warning C0195 CODESYS Forge talk (Post)
Good morning dear codesys users. I'm using 3.5.20.40 and I get this warning C0195 when I assign an initial value to xyz. However, if I do it on a single byte (abc), it doesn't display any warning. Why? VAR_GLOBAL abc : BYTE := 100 ; xyz : ARRAY [1..10] OF BYTE := [10(100)] ; END_VAR
Last updated: 2025-11-20

Post by seler on Custom button with output status CODESYS Forge talk (Post)
I did some work around by adding IN switch on top of OUT bulb picture(SwitchImage) and setting IN switch button to invisible but this is not quite elegant. How to combine it to one visu element?
Last updated: 2025-11-20

Custom button with output status CODESYS Forge talk (Thread)
Custom button with output status
Last updated: 2025-11-20

Post by ggaida on runtime dynamic modbus devices CODESYS Forge talk (Post)
Kurtk, I am working through a very similar scenario. I am curious if you have had any success since your post in implementing dynamic modbus configurations? Thx!
Last updated: 2025-11-20

Post by ggaida on runtime dynamic modbus devices CODESYS Forge talk (Post)
Kurtk, I am working through a very similar scenario. I am curious if you have had any success since your post in implementing dynamic modbus configurations? Thx!
Last updated: 2025-11-20

Post by antonz on OSCAT Scale_r function not working in LD 4.60 works in LAD2 on 3.5.21sp3 CODESYS Forge talk (Post)
That's what I found as well Shaun. I have seen it at least in versions 3.5.21.1 and 3.5.21.3. There seems to be an issue with the FBD/LD package v4.6.0.0. The workaround proposed by Tim works but needs to be done manually on every code change/addition. For now we manually downgrade the FBD/LD package from v4.6.0.0 down to v4.5.0.0 after installation of CoDeSys. Same as you did. I hope this gets fixed on a next patch.
Last updated: 2025-11-21

Post by timvh on Textfield display problem CODESYS Forge talk (Post)
Did you test this with the latest version of the CODESYS Visualization add-on? Something that you might want to test is if it works better when you disable the "Support client animation and overlay of native elements". Double-click on the VisualizationManager in your project to find this setting.
Last updated: 2025-11-21

OSCAT Scale_r function not working in LD 4.60 works in LAD2 on 3.5.21sp3 CODESYS Forge talk (Thread)
OSCAT Scale_r function not working in LD 4.60 works in LAD2 on 3.5.21sp3
Last updated: 2025-11-21

Post by s1mon on Two OneWireMaster on one Raspberry PI 5 CODESYS Forge talk (Post)
Took me a while to work on this again. I testes today with a fresh setup and it works now. My OneWireCycle tasks runs for around 10seconds. I guess my mistake was that I put the cycle task for the OneWire Task to a too small number. Thx for the support!
Last updated: 2025-11-22

Two OneWireMaster on one Raspberry PI 5 CODESYS Forge talk (Thread)
Two OneWireMaster on one Raspberry PI 5
Last updated: 2025-11-22

Post by kalmeyer on NO SIGNAL ON POWER_ON FOR STEPPER MOTOR CODESYS Forge talk (Post)
I WOULD BE GRATEFUL FOR HELP....✔✔✔ I HAVE SPENT A LOT OF TIME ON THIS "SMALL" PROBLEM😢 I HAVE MADE A MC_POWER FOR STEPPERMOTOR. BUT I DO NOT GET A "HIGH" ON THE STATUS OUTPUT EVEN THOUGH PENABLE, PREG AND PDRIVESTART ARE ACTIVATED ( SEE ATTACHED WRONG_1) HAD I MADE SOME ERROR IN PLC_PRG_1..???? (WRONG_2) 1000 THANKS FOR HELP WITH THIS PROBLEM. 👀👀 /KLAUS FROM DENMARK
Last updated: 2025-11-23

Post by kalmeyer on NO SIGNAL ON POWER_ON FOR STEPPER MOTOR CODESYS Forge talk (Post)
CONTINUED.......
Last updated: 2025-11-23

Post by eschwellinger on NO SIGNAL ON POWER_ON FOR STEPPER MOTOR CODESYS Forge talk (Post)
Hi, how should that work? You need to download the example project and you need that structure of the project and one of the additional hardware sets https://forge.codesys.com/drv/sm3raspistepper/home/Home/ L298N or A4988, DRV8880. Important to have no GPIO in the project and have this additional tasks.
Last updated: 2025-11-24

Post by animesh on SoftPLC (CODESYS Control x86 RTE V3 x64) OPC UA binds only to 127.0.0.1 — Not binding to LAN IP CODESYS Forge talk (Post)
Hello everyone, I am facing a persistent issue with the OPC UA Server on Advantech Soft PLC with hard realtime for Win64 (V3_5_2010_3) and need help from the community. Device Information Name: Advantech Control x86 RTE V3 x64 Vendor: Advantech Co., Ltd. Categories: PLCs Version: 3.5.20.10 Description: Advantech Soft PLC with hard realtime for Win64 (V3_5_2010_3) Problem Summary The OPC UA Server works perfectly when accessed via: opc.tcp://localhost:4842 opc.tcp://<hostname>:4842</hostname> But it does NOT work when using the LAN IP: opc.tcp://192.168.0.XX:4842 In UAExpert I get: Discovery FindServers on opc.tcp://192.168.0.XX:4842 failed (BadCommunicationError) Port is LISTENING in windows Firewall.. Tried with turning off the firewall completely. System Information Windows 10 x64 Advantech CODESYS RTE Soft-PLC (hard real-time) Network IP: 192.168.0.XX Hostname: WINDOWS-XXXXX Need your Support
Last updated: 2025-11-24

EThercat Dynamic configuration CODESYS Forge talk (Thread)
EThercat Dynamic configuration
Last updated: 2025-11-25

Post by yohayr on Access Violation sherd memory CODESYS Forge talk (Post)
Hi, once in a while I get an Access Violation exception in Sherd memory pointer. the strange thing is that I protect the pointer dereference and I get this exception 1 line after the protection. I added photos of the exception can someone tell me what is that about?
Last updated: 2025-11-25

<< < 1 .. 880 881 882 883 884 > >> (Page 882 of 884)

Showing results of 22083

Sort by relevance or date