Post by wbj0t on mobus tcp slave device. read/write holdings with 2 variables.
CODESYS Forge
talk
(Post)
Hi there. I have an issue to read and set time for the controller. In the issue many registers described as writable by 6/16 functions, and, in this time, also(!) readable! For example: I have time registers: min, hour, day, mon, year. By specifications it is possible check time (so I need always update these varibles in loop) and set time by writing these same registers, BUT how to set, if they will immediatle updated by current time after writing? So, I need to separate one address at two variables. I have seen option mark: Overlay of the process image by the holding and input register. I understand this so: When I READ by function 3, I will get variable that connected with the same INPUT address and when I WRITE by 6/16 this will change second variable that connected with HOLDING address. BUT, this mark doesnt work, when I write 6/16 and try to get by function 3, I will get written value instead INPUT variable. So, what to do?
Last updated: 2024-03-20
Raspberry Pi to Codesys 2.3
CODESYS Forge
talk
(Thread)
Raspberry Pi to Codesys 2.3
Last updated: 2014-01-29
Getting Started With CoDeSys
CODESYS Forge
talk
(Thread)
Getting Started With CoDeSys
Last updated: 2013-08-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
AWS IoT core CODESYS
CODESYS Forge
talk
(Thread)
AWS IoT core CODESYS
Last updated: 2023-12-06
Codesys 2.3 & Peak PCAN
CODESYS Forge
talk
(Thread)
Codesys 2.3 & Peak PCAN
Last updated: 2024-07-16
SFC Reset Codesys 2.3?
CODESYS Forge
talk
(Thread)
SFC Reset Codesys 2.3?
Last updated: 2024-11-26
Simulate PLC with CodeSys
CODESYS Forge
talk
(Thread)
Simulate PLC with CodeSys
Last updated: 2015-09-02
Pragma Pack In CodeSys
CODESYS Forge
talk
(Thread)
Pragma Pack In CodeSys
Last updated: 2023-06-30
CODESYS SP RTE V2.3
CODESYS Forge
talk
(Thread)
CODESYS SP RTE V2.3
Last updated: 2019-07-31
Webinar: CodeMeter secures CODESYS V3.5
CODESYS Forge
talk
(Thread)
Webinar: CodeMeter secures CODESYS V3.5
Last updated: 2013-10-08
Code coverage and codesys bugs
CODESYS Forge
talk
(Thread)
Code coverage and codesys bugs
Last updated: 2011-11-16
Cheapest CoDeSys PLC/smart relay?
CODESYS Forge
talk
(Thread)
Cheapest CoDeSys PLC/smart relay?
Last updated: 2013-05-07
Codesys Libraries - Creating Your Own
CODESYS Forge
talk
(Thread)
Codesys Libraries - Creating Your Own
Last updated: 2015-10-07
Missing libray codesys 2.3
CODESYS Forge
talk
(Thread)
Missing libray codesys 2.3
Last updated: 2020-06-19
Xsoft Codesys v2.3.9 CFC _ issue
CODESYS Forge
talk
(Thread)
Xsoft Codesys v2.3.9 CFC _ issue
Last updated: 2012-08-08
C Code implementation in Codesys
CODESYS Forge
talk
(Thread)
C Code implementation in Codesys
Last updated: 2007-06-22
CodeSys SP Program Download
CODESYS Forge
talk
(Thread)
CodeSys SP Program Download
Last updated: 2011-09-03
Infinite loop in CoDeSys
CODESYS Forge
talk
(Thread)
Infinite loop in CoDeSys
Last updated: 2007-05-07
codesys 2.3.9.34 Silent uninstall problem
CODESYS Forge
talk
(Thread)
codesys 2.3.9.34 Silent uninstall problem
Last updated: 2020-10-23
New Guy Help Codesys 2.3
CODESYS Forge
talk
(Thread)
New Guy Help Codesys 2.3
Last updated: 2012-12-14
CoDeSys Target Visualisation - sleepmode
CODESYS Forge
talk
(Thread)
CoDeSys Target Visualisation - sleepmode
Last updated: 2008-03-23
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.