Compare costum Data Type Error
CODESYS Forge
talk
(Thread)
Compare costum Data Type Error
Last updated: 2017-05-11
CODESYS v3+ WAGO PFC200+ Data Logging
CODESYS Forge
talk
(Thread)
CODESYS v3+ WAGO PFC200+ Data Logging
Last updated: 2016-06-17
Data alignment in target creation.
CODESYS Forge
talk
(Thread)
Data alignment in target creation.
Last updated: 2012-10-02
OPC UA Server, data exchage speed.
CODESYS Forge
talk
(Thread)
OPC UA Server, data exchage speed.
Last updated: 2023-06-14
http data in JSON format - encoding
CODESYS Forge
talk
(Thread)
http data in JSON format - encoding
Last updated: 2022-01-28
Data exchange between 2 FBs
CODESYS Forge
talk
(Thread)
Data exchange between 2 FBs
Last updated: 2020-12-30
EtherCAT SDO Data Read/Write
CODESYS Forge
talk
(Thread)
EtherCAT SDO Data Read/Write
Last updated: 2021-02-03
Reading program data via Ethernet
CODESYS Forge
talk
(Thread)
Reading program data via Ethernet
Last updated: 2012-06-01
ic2master with a data-address
CODESYS Forge
talk
(Thread)
ic2master with a data-address
Last updated: 2020-04-01
Sharing Data between OS and Runtime
CODESYS Forge
talk
(Thread)
Sharing Data between OS and Runtime
Last updated: 2018-05-27
OPC server problem - all data bad
CODESYS Forge
talk
(Thread)
OPC server problem - all data bad
Last updated: 2012-05-13
Rs-422 Live Data manipulation
CODESYS Forge
talk
(Thread)
Rs-422 Live Data manipulation
Last updated: 2022-01-20
data mapping array without loop
CODESYS Forge
talk
(Thread)
data mapping array without loop
Last updated: 2020-07-25
Real Data Type Range limitation
CODESYS Forge
talk
(Thread)
Real Data Type Range limitation
Last updated: 2010-03-26
Start/Stop recording trend data
CODESYS Forge
talk
(Thread)
Start/Stop recording trend data
Last updated: 2007-09-21
Saving Data to Excel
CODESYS Forge
talk
(Thread)
Saving Data to Excel
Last updated: 2007-10-09
Data Logging with Raspberry PI
CODESYS Forge
talk
(Thread)
Data Logging with Raspberry PI
Last updated: 2020-10-10
Read data from RS232 Codesys
CODESYS Forge
talk
(Thread)
Read data from RS232 Codesys
Last updated: 2022-07-01
data area too large
CODESYS Forge
talk
(Thread)
data area too large
Last updated: 2024-01-17
Data source and safety PLC
CODESYS Forge
talk
(Thread)
Data source and safety PLC
Last updated: 2024-06-17
Export data with the Trend API
CODESYS Forge
talk
(Thread)
Export data with the Trend API
Last updated: 2024-07-08
How extract JSONElement containing Array data
CODESYS Forge
talk
(Thread)
How extract JSONElement containing Array data
Last updated: 2024-07-30
Post by duvanmoreno24 on Modbus writing on value change
CODESYS Forge
talk
(Post)
Yes, I tried to do what you put in the first code. However, I have a problem with that and that is that the inputs must be declared with the type. I have many data types running in my code (real, int, uint, bool) and I can't put them in the same function, another thing is that I need to instantiate that function for everything I want to write to the slave. You put a for to 200 but it means that it has to be the same data type and inside the array, but I want to get them individually. I'm struggling to do it in a good and efficient way like wago's E-cockpit does. in the first screenshot you can see, you simply type in value, change the package of things you want to write in value change and it does everything by itself automatically, without comparing any old and new values and even less having the need to activate a bool. , it is perfect.
Last updated: 2024-04-03
Post by tvm on Function block method default arguments
CODESYS Forge
talk
(Post)
This works for me in Schneider Machine Expert 2.2, which is based on Codesys 3.5.19. It did not work in Machine Expert 2.1, which was based on Codesys 3.5.16. METHOD PUBLIC Method1 : INT VAR_INPUT TestVar: INT:= 5; END_VAR Method1:= TestVar; PROGRAM SR_Main VAR TestFB: TEST_FB; Var1: INT; END_VAR Var1:= TestFB.Method1();
Last updated: 2024-01-04
Post by timvh on Configuring a 2's compliment
CODESYS Forge
talk
(Post)
You could create a DUT of the Type Union and add an array of 2 bytes + an Int. Then write the byte values in the array of the Union and read the Int. Or VAR iInt : INT; byHigh : BYTE := 2#1111_1111; byLow : BYTE := 2#1111_1111; END_VAR iInt := TO_INT(byHigh*16#100 + byLow);
Last updated: 2024-09-28
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
.