Structure to Dword, Dword to structure, using pointers
CODESYS Forge
talk
(Thread)
Structure to Dword, Dword to structure, using pointers
Last updated: 2013-07-03
WORD to TIME (DWORD)
CODESYS Forge
talk
(Thread)
WORD to TIME (DWORD)
Last updated: 2019-10-03
Real to Dword
CODESYS Forge
talk
(Thread)
Real to Dword
Last updated: 2015-03-30
DWORD to BIT Outputs
CODESYS Forge
talk
(Thread)
DWORD to BIT Outputs
Last updated: 2023-06-23
Convert REAL to 2 WORDS, modbus
CODESYS Forge
talk
(Thread)
Convert REAL to 2 WORDS, modbus
Last updated: 2014-05-12
Bit access to DWORD Variable
CODESYS Forge
talk
(Thread)
Bit access to DWORD Variable
Last updated: 2019-12-18
Confusion with Lreal to dword
CODESYS Forge
talk
(Thread)
Confusion with Lreal to dword
Last updated: 2013-12-30
Converting DWORD to WORD
CODESYS Forge
talk
(Thread)
Converting DWORD to WORD
Last updated: 2008-01-15
LREAL from four WORDs?
CODESYS Forge
talk
(Thread)
LREAL from four WORDs?
Last updated: 2022-11-18
Modbus TCP slave with PFC100 How to define reading words
CODESYS Forge
talk
(Thread)
Modbus TCP slave with PFC100 How to define reading words
Last updated: 2019-02-23
doubt with modbus to read 32-bit words
CODESYS Forge
talk
(Thread)
doubt with modbus to read 32-bit words
Last updated: 2017-09-21
How to put four bytes into a DWORD
CODESYS Forge
talk
(Thread)
How to put four bytes into a DWORD
Last updated: 2013-01-12
Convert STRING to DWORD for TCP/IP client
CODESYS Forge
talk
(Thread)
Convert STRING to DWORD for TCP/IP client
Last updated: 2022-06-11
syslibfile und dword
CODESYS Forge
talk
(Thread)
syslibfile und dword
Last updated: 2009-09-15
Drei Bytes in ein DWORD packen...
CODESYS Forge
talk
(Thread)
Drei Bytes in ein DWORD packen...
Last updated: 2012-07-30
Zwei WORD Variablen zu DWORD vereinigen?
CODESYS Forge
talk
(Thread)
Zwei WORD Variablen zu DWORD vereinigen?
Last updated: 2009-05-25
DWORD mit Array of BOOL überlagern?
CODESYS Forge
talk
(Thread)
DWORD mit Array of BOOL überlagern?
Last updated: 2006-04-26
DWORD auf Modbusadresse(n) zuweisen
CODESYS Forge
talk
(Thread)
DWORD auf Modbusadresse(n) zuweisen
Last updated: 2008-08-01
Baustein zur Ausgabe eines DWORD
CODESYS Forge
talk
(Thread)
Baustein zur Ausgabe eines DWORD
Last updated: 2014-03-07
SysTime64, shifting between DWORD
CODESYS Forge
talk
(Thread)
SysTime64, shifting between DWORD
Last updated: 2009-03-19
Bytes und Words..in..codesys..muss ich das verstehn?
CODESYS Forge
talk
(Thread)
Bytes und Words..in..codesys..muss ich das verstehn?
Last updated: 2010-06-12
Fehler 4010: "Kann REAL nicht in DWORD konvertieren" ??????
CODESYS Forge
talk
(Thread)
Fehler 4010: "Kann REAL nicht in DWORD konvertieren" ??????
Last updated: 2012-03-01
Is DWORD considered signed or unsigned?
CODESYS Forge
talk
(Thread)
Is DWORD considered signed or unsigned?
Last updated: 2017-07-26
Post by ben1 on How to write multiple coils (Modbus FC15)
CODESYS Forge
talk
(Post)
If I am understanding what you are saying, then yes that would be your problem. I would create an array of bools on the client side for the transfer and try that. Or if client can't be changed then use words on server and unpack. But I am not sure if you or I are mis interpreting but it sounds a bit jumbled. I don't know what you have control of, but, if you are turning on BITS in the server, you should write to BITS in the client with a Function 15. If you are writing to WORDS in the server, you should write to WORDS in the client with a Function 16.
Last updated: 2024-11-17
Post by garrian on How to write multiple coils (Modbus FC15)
CODESYS Forge
talk
(Post)
Thanks! As far as I can see, the client can only send words. And on the server side there are an array for each of the functions: bool for coil and discrete, word for holding and input registers. I assume I can use holding register, then use bit mapping on the words instead of coils. But I really want to use the FC15/coils.
Last updated: 2024-11-17
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
.