Read Serial Number of PLC
CODESYS Forge
talk
(Thread)
Read Serial Number of PLC
Last updated: 2024-05-21
Time will not read 12
CODESYS Forge
talk
(Thread)
Time will not read 12
Last updated: 2024-10-10
Post by mtho on JSON Utilities - JSON file written with invalid structure
CODESYS Forge
talk
(Post)
I'm using the JSON Utilities SL library to write configurations in my program to a file. I'm generating the JSON data using the builder function block and all appears to work correctly. When I write the jsondata to file, I'm finding that some of the JSON elements are not being written in the right location in the file. Rather than writing they keys under the parent object, they get written outside the root JSON object at the end of the file. If I then try to read the file back into the program, I get an invalid_structure error. I don't get any errors when populating the JSON data or when writing the file. I attached an example of the JSON writer output. The problems begin with key P200. Each P200 should go under MBR1 through MBR3. Among the rest of the keys, they are supposed to be under different parent objects. I am using default values for wsLineBreak and encoding.
Last updated: 2024-03-06
Post by h4sanb on Load (or Read) File from PLC
CODESYS Forge
talk
(Post)
I want to download program from existing PLC and upload to new PLC. How to do it?
Last updated: 2024-01-09
Post by kuegerls on CSV Utility SL
CODESYS Forge
talk
(Post)
Hello, I want to read a CSV file using the CSV Utility SL library, but I encounter an 'invalid_handle' error during initialization. What could be the cause? For my test program see the screenshot. I have purchased a license, and it is also installed on my PLC. Thank you in advance. Best regards, Stefan.
Last updated: 2024-05-13
Post by transmin01 on PCAN serial "No CAN driver found"
CODESYS Forge
talk
(Post)
Hi, I am using a PCAN mini CAN board which has the Windows drivers installed on the target PLC. PCAN board can be seen in device manager. However, I am getting "No CAN driver found" error. I have read the post https://forge.codesys.com/forge/talk/CODESYS-V2/thread/44aae19318/ and have uncommented the CmpPCANBasicDrv driver in the CodesysControl.cfg file in development PC and have copied it to the target PC. Current CodesysControl.cfg file attached. Is there anything else I am missing? Regards
Last updated: 2023-09-14
ethercat communication using softmotion
CODESYS Forge
talk
(Thread)
ethercat communication using softmotion
Last updated: 2016-02-18
Using "localhost" address
CODESYS Forge
talk
(Thread)
Using "localhost" address
Last updated: 2019-05-07
Using NetVarUdp_LIB_V23.lib
CODESYS Forge
talk
(Thread)
Using NetVarUdp_LIB_V23.lib
Last updated: 2012-03-27
Using the filesystem?
CODESYS Forge
talk
(Thread)
Using the filesystem?
Last updated: 2014-02-21
Using directly %MX20.0
CODESYS Forge
talk
(Thread)
Using directly %MX20.0
Last updated: 2008-10-07
Limits using CFC
CODESYS Forge
talk
(Thread)
Limits using CFC
Last updated: 2006-10-12
R_Trig using or better
CODESYS Forge
talk
(Thread)
R_Trig using or better
Last updated: 2018-06-04
CNC - using M-codes
CODESYS Forge
talk
(Thread)
CNC - using M-codes
Last updated: 2021-11-27
Axis control using handwheel!
CODESYS Forge
talk
(Thread)
Axis control using handwheel!
Last updated: 2023-07-31
simulation using PLCWinNT
CODESYS Forge
talk
(Thread)
simulation using PLCWinNT
Last updated: 2007-06-18
SM using Analog.lib
CODESYS Forge
talk
(Thread)
SM using Analog.lib
Last updated: 2010-04-19
simulation using PLCWinNT
CODESYS Forge
talk
(Thread)
simulation using PLCWinNT
Last updated: 2007-06-18
Using ActiveX Elements
CODESYS Forge
talk
(Thread)
Using ActiveX Elements
Last updated: 2016-04-26
Using VAR_STAT in FB
CODESYS Forge
talk
(Thread)
Using VAR_STAT in FB
Last updated: 2018-01-10
Using Ethernet.lib
CODESYS Forge
talk
(Thread)
Using Ethernet.lib
Last updated: 2006-07-24
Using integer in transistion
CODESYS Forge
talk
(Thread)
Using integer in transistion
Last updated: 2017-06-18
Visualization using methods
CODESYS Forge
talk
(Thread)
Visualization using methods
Last updated: 2020-07-21
simulation using PLCWinNT
CODESYS Forge
talk
(Thread)
simulation using PLCWinNT
Last updated: 2007-06-18
Using TCP Client
CODESYS Forge
talk
(Thread)
Using TCP Client
Last updated: 2017-07-04
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
.