WORD-Variable Bitweise auslesen.
CODESYS Forge
talk
(Thread)
WORD-Variable Bitweise auslesen.
Last updated: 2007-06-19
Variable Type detection?
CODESYS Forge
talk
(Thread)
Variable Type detection?
Last updated: 2019-11-26
[MODBUS/TCP] variable type
CODESYS Forge
talk
(Thread)
[MODBUS/TCP] variable type
Last updated: 2020-10-16
Bitweiser Zugriff auf eine WORD Variable ?
CODESYS Forge
talk
(Thread)
Bitweiser Zugriff auf eine WORD Variable ?
Last updated: 2006-02-13
WORD-Variable in REAL konvertieren
CODESYS Forge
talk
(Thread)
WORD-Variable in REAL konvertieren
Last updated: 2006-05-29
Scan the bit of WORD variable
CODESYS Forge
talk
(Thread)
Scan the bit of WORD variable
Last updated: 2018-01-29
Reading word variable over canopen.
CODESYS Forge
talk
(Thread)
Reading word variable over canopen.
Last updated: 2023-04-01
Flexible variable type for functions: ANY_TO_xxx
CODESYS Forge
talk
(Thread)
Flexible variable type for functions: ANY_TO_xxx
Last updated: 2019-11-06
Get Type Of a Variable
CODESYS Forge
talk
(Thread)
Get Type Of a Variable
Last updated: 2018-02-21
Write variable of type TIME
CODESYS Forge
talk
(Thread)
Write variable of type TIME
Last updated: 2018-04-27
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
EtherCAT - Force Control Word
CODESYS Forge
talk
(Thread)
EtherCAT - Force Control Word
Last updated: 2023-08-31
Convertion Dint to Word
CODESYS Forge
talk
(Thread)
Convertion Dint to Word
Last updated: 2023-08-07
WORD to TIME (DWORD)
CODESYS Forge
talk
(Thread)
WORD to TIME (DWORD)
Last updated: 2019-10-03
WORD DATA
CODESYS Forge
talk
(Thread)
WORD DATA
Last updated: 2020-08-27
REAL TO WORD problem
CODESYS Forge
talk
(Thread)
REAL TO WORD problem
Last updated: 2013-03-05
Convert word to ascii
CODESYS Forge
talk
(Thread)
Convert word to ascii
Last updated: 2022-03-09
Convert WORD to INT
CODESYS Forge
talk
(Thread)
Convert WORD to INT
Last updated: 2017-12-06
Word bit access
CODESYS Forge
talk
(Thread)
Word bit access
Last updated: 2020-04-16
Maximizing Struct type Variable in offline mode and adding comments to each element
CODESYS Forge
talk
(Thread)
Maximizing Struct type Variable in offline mode and adding comments to each element
Last updated: 2021-04-28
CmpIecVarAccess to get name of a type, not of a variable (instance)
CODESYS Forge
talk
(Thread)
CmpIecVarAccess to get name of a type, not of a variable (instance)
Last updated: 2016-06-08
Post by alimans on Hex string
CODESYS Forge
talk
(Post)
Hi kdkwhite, for Word you still can use suggested code by using a union structure and crack down your Word to two byte as bellow: TYPE CrackWordToByte : UNION InWord : WORD; OutBytes : ARRAY [0..1] OF BYTE; END_UNION END_TYPE then define your variable as this type: udInput : CrackWordToByte; now assign your Word variable input to InWord and send OutBytes[x] to the mentioned method: udInput.InWord := WordVariableInput; Input := udInput.OutBytes[x]; Regarding your question about the code: actually 48 is ascii code of "0" and while 65 is the ascii code of "A" so in above code 55 + 10 would be 65.
Last updated: 2023-09-20
variable
CODESYS Forge
talk
(Thread)
variable
Last updated: 2023-08-16
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
Function overloading with ANY_<type>
CODESYS Forge
talk
(Thread)
Function overloading with ANY_<type></type>
Last updated: 2021-07-09
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
.