Data conversion+
CODESYS Forge
talk
(Thread)
Data conversion+
Last updated: 2017-01-04
Data breakpoints
CODESYS Forge
talk
(Thread)
Data breakpoints
Last updated: 2019-08-23
I/O Data alignment
CODESYS Forge
talk
(Thread)
I/O Data alignment
Last updated: 2017-08-11
data source question
CODESYS Forge
talk
(Thread)
data source question
Last updated: 2018-09-12
Sharing data between applications
CODESYS Forge
talk
(Thread)
Sharing data between applications
Last updated: 2021-09-14
Data source port
CODESYS Forge
talk
(Thread)
Data source port
Last updated: 2021-10-21
Serial communication - received data.
CODESYS Forge
talk
(Thread)
Serial communication - received data.
Last updated: 2022-02-11
Data transfer between tasks
CODESYS Forge
talk
(Thread)
Data transfer between tasks
Last updated: 2016-03-14
CANopen new pdo data
CODESYS Forge
talk
(Thread)
CANopen new pdo data
Last updated: 2022-09-08
TREND DATA CALLING
CODESYS Forge
talk
(Thread)
TREND DATA CALLING
Last updated: 2011-04-18
Trends from database data
CODESYS Forge
talk
(Thread)
Trends from database data
Last updated: 2017-12-31
store data in file
CODESYS Forge
talk
(Thread)
store data in file
Last updated: 2018-02-26
G code Line Data
CODESYS Forge
talk
(Thread)
G code Line Data
Last updated: 2023-04-12
DI4 USB - Transfer Data
CODESYS Forge
talk
(Thread)
DI4 USB - Transfer Data
Last updated: 2024-02-22
Data Source Limit
CODESYS Forge
talk
(Thread)
Data Source Limit
Last updated: 2024-03-06
Data to server
CODESYS Forge
talk
(Thread)
Data to server
Last updated: 2025-11-11
Data Source Error 418
CODESYS Forge
talk
(Thread)
Data Source Error 418
Last updated: 2025-11-15
wEBCLIENT Post data api
CODESYS Forge
talk
(Thread)
wEBCLIENT Post data api
Last updated: 2025-12-25
Post by smartcoco on Bit / Bool data types in function parameters
CODESYS Forge
talk
(Post)
Memory addressing is measured in bytes, with BOOL occupying one byte. BIT is quite unique as it occupies one bit. So, try not to use BIT in the program. You can use the Unpack function to solve your problem.
Last updated: 2024-01-18
Unexpected behavior in cyclic encoder read method during INT overflow (wrap-around)
CODESYS Forge
talk
(Thread)
Unexpected behavior in cyclic encoder read method during INT overflow (wrap-around)
Last updated: 2025-05-13
Zugriff auf BYTE in einem WORD / INT in einem DINT etc...
CODESYS Forge
talk
(Thread)
Zugriff auf BYTE in einem WORD / INT in einem DINT etc...
Last updated: 2023-01-19
Cannot convert type 'Unknown type: 'ADR(tabOrderIdArray)" to type 'POINTER TO ARRAY [0..0]OF INT'
CODESYS Forge
talk
(Thread)
Cannot convert type 'Unknown type: 'ADR(tabOrderIdArray)" to type 'POINTER TO ARRAY [0..0]OF INT'
Last updated: 2021-04-26
How do I convert an INT variable to a TIME variable?
CODESYS Forge
talk
(Thread)
How do I convert an INT variable to a TIME variable?
Last updated: 2011-03-30
Extract 4 bytes from array of bytes to save in decimal value (int?)
CODESYS Forge
talk
(Thread)
Extract 4 bytes from array of bytes to save in decimal value (int?)
Last updated: 2022-01-11
Post by bjarne-pagaard on Codesys v3.5 Sint to byte
CODESYS Forge
talk
(Post)
Hi A SINT is a short (signed) integer. It is already only 1 byte - so you should have no problem casting it to a byte like so: bMyByte := TO_BYTE(sintMyShortInt); If you have a regular INT you want to put in 2 bytes - there are a lot of ways you can do this. A Union is certainly one of them. You could have a union with 2 memebers: An array of 2 bytes as one member, and an integer value as another member. Another way would be to look at MEMCPY to put the value into your CAN-message. .. or create a function to take your input value as input, and giving you 2 individual bytes as output. This could be handy if you need to change the byte-order. Integer data types: https://help.codesys.com/webapp/_cds_datatype_integer;product=codesys;version=3.5.17.0 -Bjarne
Last updated: 2024-04-24
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.