Post by wbj0t on connect IDE to plc that uses modem ppp
CODESYS Forge
talk
(Post)
Hello everyone! I have an PLC device that uses modem ppp connection to the internet with white IP. Device PPP connection with modem operator established, so I can connect to this device via SSH also within Codesys IDE (check version, info, etc...) BUT, I cant establish connection to this device in the device gateway options for application upload and debugging. How can I do this? Im trying set my device remote IP and port 11740, but, as I understand, it is wrong decision, because the next logic in this connection: local W10 service (Codesys Gateway) listen on 1217, then (some how) this service scanning local networks for seeking any local IP which listening on port 11740, and then connects and writes there. OR IM WRONG?:) W10 tool 'Test-NetConnection' with parameters 'ip -Port 11740' succeeded with True. Need some help, please :)
Last updated: 2024-05-21
Post by danp1406 on Question about Demo License limitations for Modbus TCP communication and Fieldbus Instances
CODESYS Forge
talk
(Post)
Hello everyone, I am currently working with CODESYS Virtual Control for Linux running in Docker on a Debian virtual machine. I am deploying my application using Deploy Control SL, and in my project I am using the ModbusFB library to implement Modbus TCP communication. My setup is the following: I am trying to establish a Modbus TCP connection between a virtual PLC (CODESYS acting as Modbus TCP Client/Master) and a Siemens S7-1200 PLC acting as a Modbus TCP Server. From the Debian VM, I can successfully ping the S7-1200 and verify that port 502 is open using tools like nc. Network-wise, everything appears to be correct. However, when running the application in CODESYS, I receive messages such as “Demo mode for Modbus/TCP Master started. Will expire and stop!” and socket errors like “ClientSocket.UpdateStatus socket error 111 disconnecting.” The ClientTCP block from the ModbusFB library attempts to connect, but the connection does not remain stable. My main question is whether the CODESYS demo license explicitly limits or interrupts Modbus TCP Master communication. Is it expected that in demo mode the runtime will automatically close sockets after some time or prevent stable Modbus TCP connections? I would like to confirm whether this behavior is normal when using ModbusFB in demo mode, or if I should continue troubleshooting the configuration. Additionally, I would like clarification regarding the “fieldbus instances” mentioned in CODESYS licensing options (for example, 2, 4, or 16 instances). What exactly is considered one fieldbus instance? Does one Modbus TCP Client block count as one instance? Does each active connection to a different device count separately? Do Modbus TCP Master and Server count independently toward the total number of instances? Finally, I would appreciate clarification on any other practical limitations of demo mode when using industrial communication libraries such as ModbusFB. Are there limits on the number of connections, number of requests, or communication duration? I am trying to determine whether demo mode is sufficient for testing a virtual PLC communicating with a Siemens S7-1200 over Modbus TCP, or whether a full license is required even for this kind of validation scenario. Thank you in advance for any guidance.
Last updated: 2026-02-25
how to run the machine using CNC editor in codesys
CODESYS Forge
talk
(Thread)
how to run the machine using CNC editor in codesys
Last updated: 2007-10-24
How to intercept a variation in the RetainPerstist variables (for saving to file)
CODESYS Forge
talk
(Thread)
How to intercept a variation in the RetainPerstist variables (for saving to file)
Last updated: 2018-08-03
Codesys Communication Manger - Required information model version exists in the model repository but is not found
CODESYS Forge
talk
(Thread)
Codesys Communication Manger - Required information model version exists in the model repository but is not found
Last updated: 2024-06-28
The current baud rate could not be determined in CR0020 IFM with maintenance tool
CODESYS Forge
talk
(Thread)
The current baud rate could not be determined in CR0020 IFM with maintenance tool
Last updated: 2024-07-09
Codesys Communication Manger - Required information model version exists in the model repository but is not found
CODESYS Forge
talk
(Thread)
Codesys Communication Manger - Required information model version exists in the model repository but is not found
Last updated: 2024-09-19
Recipe definition, how to have the Name string in current language?
CODESYS Forge
talk
(Thread)
Recipe definition, how to have the Name string in current language?
Last updated: 2024-10-04
put the Port number 80808 in Instance Setting of Deploy Control SL
CODESYS Forge
talk
(Thread)
put the Port number 80808 in Instance Setting of Deploy Control SL
Last updated: 2025-02-21
How do I parse the following non-standard M code expression in CODESYS?
CODESYS Forge
talk
(Thread)
How do I parse the following non-standard M code expression in CODESYS?
Last updated: 2025-03-24
Unable to see the global text list in codesys device tree
CODESYS Forge
talk
(Thread)
Unable to see the global text list in codesys device tree
Last updated: 2020-04-21
Dynamic variable declaration in a Function Block after the call of FB_Init
CODESYS Forge
talk
(Thread)
Dynamic variable declaration in a Function Block after the call of FB_Init
Last updated: 2016-12-30
getting the position and rotation angles from objects used in a visualisation
CODESYS Forge
talk
(Thread)
getting the position and rotation angles from objects used in a visualisation
Last updated: 2016-08-15
Cannot find constants for CL2.GetProperty in the library, e.g. CL2.SENDPRIORITY
CODESYS Forge
talk
(Thread)
Cannot find constants for CL2.GetProperty in the library, e.g. CL2.SENDPRIORITY
Last updated: 2016-07-29
How to select the real I/O module terminals/channels in CODESYS V3.5 ?
CODESYS Forge
talk
(Thread)
How to select the real I/O module terminals/channels in CODESYS V3.5 ?
Last updated: 2022-07-29
C0338: The Library 'sysmem23, 3.5.13.0 (system)' is only supported in 32 bit applications
CODESYS Forge
talk
(Thread)
C0338: The Library 'sysmem23, 3.5.13.0 (system)' is only supported in 32 bit applications
Last updated: 2021-01-08
OPC-UA errors in log, how do I interpret the error codes?
CODESYS Forge
talk
(Thread)
OPC-UA errors in log, how do I interpret the error codes?
Last updated: 2021-02-05
EtherCat and Onewire bus can not run in the same program
CODESYS Forge
talk
(Thread)
EtherCat and Onewire bus can not run in the same program
Last updated: 2019-09-30
Wish to Drag and Drop test actions in the test manager
CODESYS Forge
talk
(Thread)
Wish to Drag and Drop test actions in the test manager
Last updated: 2016-01-08
Persistent Retain Variable in Codesys - After download and restart the Device undiscoverable
CODESYS Forge
talk
(Thread)
Persistent Retain Variable in Codesys - After download and restart the Device undiscoverable
Last updated: 2022-11-22
User Guide or example to the "EXOR_ModbusTCP" protocol in Co
CODESYS Forge
talk
(Thread)
User Guide or example to the "EXOR_ModbusTCP" protocol in Co
Last updated: 2011-04-27
Does all programs in a task calls exactly at the same time ?
CODESYS Forge
talk
(Thread)
Does all programs in a task calls exactly at the same time ?
Last updated: 2016-08-05
How to check license installed in the device or anything bought from codesys store?
CODESYS Forge
talk
(Thread)
How to check license installed in the device or anything bought from codesys store?
Last updated: 2021-12-07
How to test Slave-Hardware without having the Master-Hardware in Codesys?
CODESYS Forge
talk
(Thread)
How to test Slave-Hardware without having the Master-Hardware in Codesys?
Last updated: 2021-03-05
Showing nothing instead the %f in case another variable is empty
CODESYS Forge
talk
(Thread)
Showing nothing instead the %f in case another variable is empty
Last updated: 2022-05-19
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.