Post by tvm on multiply gives negatives
CODESYS Forge
talk
(Post)
It's probably because you have an INT in the input to the MUL function, which will then try to output an INT as well. INT variables can only handle values of -32768 to 32767. Your value of 523000 won't fit in an INT, so it turns into an invalid number. Use a DINT. This is usually better for working with time values anyway, because time values are all 32 bit. Or if you can't, use INT_TO_DINT(gvlp.detectie_nalooptijd_s) in the input to the MUL function.
Last updated: 2024-01-04
<identifier>: POINTER TO <data type | function block | program | method | function>;
CODESYS Forge
talk
(Thread)
<identifier>: POINTER TO <data type="" |="" function="" block="" program="" method="">;</data></identifier>
Last updated: 2022-03-23
Post by snhatton on Integer with comma in visualization
CODESYS Forge
talk
(Post)
Here is some information about formatting different variables types: https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_placeholder_with_formatting_sequence_in_a_string.html I hope this helps!
Last updated: 2023-09-20
Post by opineiro on How to manage variable types larger than 64 bits - Ethernet/IP
CODESYS Forge
talk
(Post)
Thanks, I'm going to try it!
Last updated: 2024-09-23
Data source manager runs id Demo mode
CODESYS Forge
talk
(Thread)
Data source manager runs id Demo mode
Last updated: 2022-05-05
Where is data of ENIP getAttributeSingle stored?
CODESYS Forge
talk
(Thread)
Where is data of ENIP getAttributeSingle stored?
Last updated: 2023-04-20
data exchange at the end of each CoDeSys cycle
CODESYS Forge
talk
(Thread)
data exchange at the end of each CoDeSys cycle
Last updated: 2010-07-12
OPC UA server certificate not shown for data exchange
CODESYS Forge
talk
(Thread)
OPC UA server certificate not shown for data exchange
Last updated: 2020-10-19
Data exchange between Twicat controller and Codesys based Controller
CODESYS Forge
talk
(Thread)
Data exchange between Twicat controller and Codesys based Controller
Last updated: 2020-03-03
How to send data via Can
CODESYS Forge
talk
(Thread)
How to send data via Can
Last updated: 2012-03-23
Unable to send data over RS232 (using serial_interface_01.lib)
CODESYS Forge
talk
(Thread)
Unable to send data over RS232 (using serial_interface_01.lib)
Last updated: 2017-01-12
Create and write data in a file text (csv)
CODESYS Forge
talk
(Thread)
Create and write data in a file text (csv)
Last updated: 2021-03-10
Simulation mode - Error 3101 Data area too large
CODESYS Forge
talk
(Thread)
Simulation mode - Error 3101 Data area too large
Last updated: 2014-10-07
Error 3803-Out of global data memory.Variable LANGUAGE(1030b
CODESYS Forge
talk
(Thread)
Error 3803-Out of global data memory.Variable LANGUAGE(1030b
Last updated: 2010-12-07
Trouble saving data to \Disk_mmc\ or \Disk_usb\
CODESYS Forge
talk
(Thread)
Trouble saving data to \Disk_mmc\ or \Disk_usb\
Last updated: 2009-04-14
CODESYS 3.5.16 - Profinet Acyclic data read/write services
CODESYS Forge
talk
(Thread)
CODESYS 3.5.16 - Profinet Acyclic data read/write services
Last updated: 2020-07-30
Ethernet IP Scanner connected, no data arrives at input image
CODESYS Forge
talk
(Thread)
Ethernet IP Scanner connected, no data arrives at input image
Last updated: 2023-07-20
Exchanging Data between CoDeSys Control Win and C++ Apps.
CODESYS Forge
talk
(Thread)
Exchanging Data between CoDeSys Control Win and C++ Apps.
Last updated: 2015-12-03
Ethernet Module CM 597 is not receiving data
CODESYS Forge
talk
(Thread)
Ethernet Module CM 597 is not receiving data
Last updated: 2022-08-09
read datafile and update variables with the data values
CODESYS Forge
talk
(Thread)
read datafile and update variables with the data values
Last updated: 2017-07-07
Scroll bars in data entry fields
CODESYS Forge
talk
(Thread)
Scroll bars in data entry fields
Last updated: 2012-12-06
Get Data from S7-1200 via OPC UA
CODESYS Forge
talk
(Thread)
Get Data from S7-1200 via OPC UA
Last updated: 2020-05-18
Specific Data from the device string
CODESYS Forge
talk
(Thread)
Specific Data from the device string
Last updated: 2010-12-06
display data from 2 codesys plc on one web browser
CODESYS Forge
talk
(Thread)
display data from 2 codesys plc on one web browser
Last updated: 2019-03-14
how see data of codesys in the java ?
CODESYS Forge
talk
(Thread)
how see data of codesys in the java ?
Last updated: 2016-04-22
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
.