Setting a struct data type in ModbusTCP mapping IO
CODESYS Forge
talk
(Thread)
Setting a struct data type in ModbusTCP mapping IO
Last updated: 2017-12-24
ANY type when integer has a subrange
CODESYS Forge
talk
(Thread)
ANY type when integer has a subrange
Last updated: 2022-02-24
Problem with Real type in CoDeSys 2.3
CODESYS Forge
talk
(Thread)
Problem with Real type in CoDeSys 2.3
Last updated: 2010-06-25
What about Vendor ID and device type when developing drivers
CODESYS Forge
talk
(Thread)
What about Vendor ID and device type when developing drivers
Last updated: 2013-12-17
PERSISTENT RETAIN variable type & Declaration in table f
CODESYS Forge
talk
(Thread)
PERSISTENT RETAIN variable type & Declaration in table f
Last updated: 2009-05-05
tDate data type - What is it?
CODESYS Forge
talk
(Thread)
tDate data type - What is it?
Last updated: 2009-06-16
Is there any Key/Value list or dictionary type available?
CODESYS Forge
talk
(Thread)
Is there any Key/Value list or dictionary type available?
Last updated: 2014-03-24
R/W retain variables in external i2c EEPROM type 24xxx
CODESYS Forge
talk
(Thread)
R/W retain variables in external i2c EEPROM type 24xxx
Last updated: 2016-04-01
type conversion from ANY_NUM to REAL don't work
CODESYS Forge
talk
(Thread)
type conversion from ANY_NUM to REAL don't work
Last updated: 2020-04-14
Is there a 'deepcopy' type function in Codesys STL?
CODESYS Forge
talk
(Thread)
Is there a 'deepcopy' type function in Codesys STL?
Last updated: 2022-10-06
HMI access to REFERENCE type variables
CODESYS Forge
talk
(Thread)
HMI access to REFERENCE type variables
Last updated: 2020-12-19
Modbus RTU using the Trigger type Application
CODESYS Forge
talk
(Thread)
Modbus RTU using the Trigger type Application
Last updated: 2023-03-02
How to use CharBufferString type from StringUtils.lib?
CODESYS Forge
talk
(Thread)
How to use CharBufferString type from StringUtils.lib?
Last updated: 2017-07-17
Symbol Configuration / Datasource enum type on HMI
CODESYS Forge
talk
(Thread)
Symbol Configuration / Datasource enum type on HMI
Last updated: 2019-09-18
Property that returns REFERENCE TO Interface type?
CODESYS Forge
talk
(Thread)
Property that returns REFERENCE TO Interface type?
Last updated: 2021-11-23
C0032 Error to type Pointer to IoConfigParameter
CODESYS Forge
talk
(Thread)
C0032 Error to type Pointer to IoConfigParameter
Last updated: 2024-03-25
Error 'Library not found' and 'Unkown type'
CODESYS Forge
talk
(Thread)
Error 'Library not found' and 'Unkown type'
Last updated: 2024-10-10
Post by alez on CANOpen SDO to write VISIBLE STRING
CODESYS Forge
talk
(Post)
Hello, I am experiencing difficulties in configuring a CANopen device by sending SDOs. In particular I am attempting to write an Object Dictionary that has VISIBLE STRING as the Data Type. When I try to configure the sending of an SDO from Codesys to configure this parameter I am not allowed to enter a string value. In my particular case I am trying to change the Manufacturer Device Name ( Index 0x1008 ). Could it be that Codesys doesn't manage these types of variables?
Last updated: 2024-04-29
Post by dhumphries on Not able to see input data coming from eip adapter on codesys
CODESYS Forge
talk
(Post)
The green icon with an ! next to the device is concerning. Is the data type correct for the input, you are using a byte input but the description says string. Is there anything useful in the status tab?
Last updated: 2024-03-06
Post by opineiro on How to manage variable types larger than 64 bits - Ethernet/IP
CODESYS Forge
talk
(Post)
Thanks, that's what I thought initially. The point is that I can't select a String type variable. See the attached image
Last updated: 2024-09-23
Post by pernockham on Inheritence of struct,
CODESYS Forge
talk
(Post)
Im looking for a way to define predefined version of the same structures through "extends"/inheritance. What I want to do is best shown with an example: TYPE log_item_val_type : ( BOOL_ := 0, INT_, REAL_, STRING_ ); END_TYPE TYPE LOG_DATA_BASE STRUCT val_type : log_item_val_type; (* value, name etc *) ENDSTRUCT ENDTYPE (* this/below is not possible as I understand from the compiler?? *) TYPE LOG_DATA_BOOL extends LOG_DATA_BASE : STRUCT val_type : log_item_val_type := log_item_val_type.BOOL_; END_STRUCT END_TYPE TYPE LOG_DATA_INT extends LOG_DATA_BASE : STRUCT val_type : log_item_val_type := log_item_val_type.INT_; END_STRUCT END_TYPE etc. for LOG_DATA_REAL and ..STRING. The system will not allow me to "re-define" "val_type" however. Instead I must do the work-around of defining four different types with all fields individually defined. The benefit if I could extend the base item would be that Im (more) sure the structures are identical. In usage I can call in a specific type rather use the base type and assign which type. Usage by pointer/ref to log_data_base would also be easier.. (* Usage: *) log_data : log_data_int := (name, value etc.) (* Instead of: *) log_data : log_data_base := (name, value, val_type).. Is this possible to achieve in some way that I have missed?
Last updated: 2025-03-05
Assign a value to a variable that is defined in a string
CODESYS Forge
talk
(Thread)
Assign a value to a variable that is defined in a string
Last updated: 2023-02-13
Convert and String to an expression read by the runtime
CODESYS Forge
talk
(Thread)
Convert and String to an expression read by the runtime
Last updated: 2012-01-09
Convert Json to String using Machine Expert base on Codesys plateform
CODESYS Forge
talk
(Thread)
Convert Json to String using Machine Expert base on Codesys plateform
Last updated: 2021-09-28
Is it possible to convert a string of 32-bit of binary to a float32?
CODESYS Forge
talk
(Thread)
Is it possible to convert a string of 32-bit of binary to a float32?
Last updated: 2023-03-23
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
.