Post by sangeetnenwani on Test Driver Availability in CODESYS 64-bit and Test Manager 5.1.0.0
CODESYS Forge
talk
(Post)
I’m operating with CODESYS in a 64-bit configuration and the Test Manager at version 5.1.0.0, where I’m attempting to use project scripts from an earlier version. These scripts call for certain test drivers that are not present in my installation. It’s unclear whether the absence is due to the 64-bit system, an update in the test drivers, or if I need to enable or install additional elements. For instance, the loadproject(Codesys.Base) command is missing, but loadproject(testmanager.project) is available. The FileIO command for CODESYS isn’t accessible, yet the testmanager’s driver for it exists, as does the execuptscript command.
Last updated: 2024-08-06
Post by sangeetnenwani on Test Driver Availability in CODESYS 64-bit and Test Manager 5.1.0.0
CODESYS Forge
talk
(Post)
I’m operating with CODESYS in a 64-bit configuration and the Test Manager at version 5.1.0.0, where I’m attempting to use project scripts from an earlier version. These scripts call for certain test drivers that are not present in my installation. It’s unclear whether the absence is due to the 64-bit system, an update in the test drivers, or if I need to enable or install additional elements. For instance, the loadproject(Codesys.Base) command is missing, but loadproject(testmanager.project) is available. The FileIO command for CODESYS isn’t accessible, yet the testmanager’s driver for it exists, as does the execuptscript command.
Last updated: 2024-08-06
Post by marekxc on Little endian to Float from Modbus RTU
CODESYS Forge
talk
(Post)
Maybe try going back to step one and: Var Reg1: WORD; Reg2: WORD; Reg12: DWORD; Value: REAL; end_var // program Reg1:= 4096; Reg2:= 14884; Reg12:= (reg2 * 65536) + reg1; Value:= DWORD_TO_REAL(Reg12);
Last updated: 2023-12-28
Post by davidbo on I want to convert a WORD to a hex string like 15.432 to '3C48'
CODESYS Forge
talk
(Post)
I try with BYTE_TO_HEXinASCII but I cant get it right. How do I convert a word value like 15432 to the HEX text string '3C48'
Last updated: 2024-04-19
Post by dkugler on I want to convert a WORD to a hex string like 15.432 to '3C48'
CODESYS Forge
talk
(Post)
you try to convert a WORD with BYTE_TO_HEX directly? Using https://de.helpme-codesys.com/ lead to the SM3_shared lib. There is a function: https://content.helpme-codesys.com/en/libs/SM3_Shared/Current/SM3_Shared/StringFormat/Word_To_HexString.html
Last updated: 2024-04-19
Post by pazderai on CanOpen write issue
CODESYS Forge
talk
(Post)
Thank you for an answer. Unfortunatelly, it doesn't work. The slave needs command byte as follows 0x22. It means expedited transfer where s-bit is not set, therefore data length is not specified. If I use segmented mode by CiA405.SDO_WRITE_DATA it produce command byte as follows 0x21 which is unfortunately supported by the slave and it returns with error 0x05040001 - SDO Abort Code -Client/server command specifier not valid or unknown. I can use CAN API low level to overcome this problem where it is possible to set 0x22 as a command byte, but than I can use user interface to set the communication probably, because I thing that machine expert uses library CiA405.SDO_WRITE for setting the slave. Or am I wrong?
Last updated: 2024-07-16
Post by mp9876 on Problems with simulation in Window 10
CODESYS Forge
talk
(Post)
Hi Automa, it seems the solution you were bringing up on 2022-04-06 could really help me as I did not remember the password I initially set. My problem though is that I am using Codesys Control Win V3.5 SP19/60 (64 bit) and I cannot locate any of the files you listed up there. I have been looking inside folder: C:\Program Files\CODESYS 3.5.19.60\CODESYS\ and they appear not to be present at all neither in the CODESYS folder or any sub-folders. Uninstalling and re-installing unfortunately does not do the trick. Any idea how I could get out of the ditch on this issue ? Anyone else maybe ? Thanks
Last updated: 2024-03-18
Post by ryusoup on JSONByteArrayWriter problem?
CODESYS Forge
talk
(Post)
Hello, I am trying to implement a FB to make JSON formatted WSTRING type message using JSON Utilities 1.9.0.0 included in the IIoT library. In my case, I want to set some objects or arrays and set values to them later. But when I wrote as the sample below, // init builder builder(pJsonData:=pJsonData, diRootObj=>diRootObj); // set the 1st key to root diKey1 := builder.SetKeyWithArray(wsKey:="key1", diParentIndex:=diRootObj, eError=>eError); // set a value to the 1st key wsValue:="value01"; builder.SetValue(Value:=wsValue, diParentIndex:=diKey1, eError=>eError); // set the 2nd key to root diKey2 := builder.SetKeyWithArray(wsKey:="key2", diParentIndex:=diRootObj, eError=>eError); // set a value to the 2nd key wsValue:="value02"; builder.SetValue(Value:=wsValue, diParentIndex:=diKey2, eError=>eError); // set a value to the 1st key again wsValue:="value03"; builder.SetValue(Value:=wsValue, diParentIndex:=diKey1, eError=>eError); // set a value to the 2nd key again wsValue:="value04"; builder.SetValue(Value:=wsValue, diParentIndex:=diKey2, eError=>eError); // write build result writer(xExecute:=TRUE, pwData:=ADR(wsResult), udiSize:=SIZEOF(wsResult), xAsyncMode:=FALSE, jsonData:=pJsonData^); the result was: { "key1": ["value01"], "key2": ["value02", "value03", "value04"] } while my expection was: { "key1": ["value01", "value03"], "key2": ["value02", "value04"] } Inspecting pJsonData^, JSONData itself seems to be ok, so I believe the issue is something caused by the writer FB. Does anyone know how to fix it? Thanks,
Last updated: 2023-10-04
Find Function: Object reference not set to an instance of an object.
CODESYS Forge
talk
(Thread)
Find Function: Object reference not set to an instance of an object.
Last updated: 2023-10-30
Is there Python script to select/set the "Bus cycle task" ?
CODESYS Forge
talk
(Thread)
Is there Python script to select/set the "Bus cycle task" ?
Last updated: 2018-04-20
Error - object reference not set to an instance of a object
CODESYS Forge
talk
(Thread)
Error - object reference not set to an instance of a object
Last updated: 2016-06-13
Error: Object reference not set to an instance of an object
CODESYS Forge
talk
(Thread)
Error: Object reference not set to an instance of an object
Last updated: 2017-08-23
Set up the gateway and device by IP address and device address
CODESYS Forge
talk
(Thread)
Set up the gateway and device by IP address and device address
Last updated: 2022-05-04
problem with an extended function block. Output always set to TRUE
CODESYS Forge
talk
(Thread)
problem with an extended function block. Output always set to TRUE
Last updated: 2020-11-10
How to set Codesys to use defaut keyboard of a smartphone?
CODESYS Forge
talk
(Thread)
How to set Codesys to use defaut keyboard of a smartphone?
Last updated: 2023-02-13
EtherCAT Master : Set MAC address of NIC by IEC code or file?
CODESYS Forge
talk
(Thread)
EtherCAT Master : Set MAC address of NIC by IEC code or file?
Last updated: 2020-05-17
codesys "profiler" object reference not set to an instance of an object
CODESYS Forge
talk
(Thread)
codesys "profiler" object reference not set to an instance of an object
Last updated: 2023-01-11
How to set 6-DOF configuration of Tool kinematics using ISMToolKinematics library[Problem]
CODESYS Forge
talk
(Thread)
How to set 6-DOF configuration of Tool kinematics using ISMToolKinematics library[Problem]
Last updated: 2019-03-21
Internal error:System.NullReferenceException: The object reference was not set to an object instance.
CODESYS Forge
talk
(Thread)
Internal error:System.NullReferenceException: The object reference was not set to an object instance.
Last updated: 2024-05-24
Internal error:System.NullReferenceException: The object reference was not set to an object instance.
CODESYS Forge
talk
(Thread)
Internal error:System.NullReferenceException: The object reference was not set to an object instance.
Last updated: 2024-05-24
Post by timvh on Sensor not set
CODESYS Forge
talk
(Post)
Your function block instance is not called, so the code is not executed to set the light on when the button is pressed.
Last updated: 2024-05-27
Table How to set row number from 1 ( not from 0)
CODESYS Forge
talk
(Thread)
Table How to set row number from 1 ( not from 0)
Last updated: 2024-06-03
Open dialog from ST , how to set parameters (vars) to dialog
CODESYS Forge
talk
(Thread)
Open dialog from ST , how to set parameters (vars) to dialog
Last updated: 2024-06-05
Ãœbertragen von Symbolnamen in Steuerkonfiguartion in ...
CODESYS Forge
talk
(Thread)
Ãœbertragen von Symbolnamen in Steuerkonfiguartion in ...
Last updated: 2011-05-15
No packages in IP in Codesys
CODESYS Forge
talk
(Thread)
No packages in IP in Codesys
Last updated: 2018-11-06
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
.