MODBUS Holding Registers Read/Write issue
CODESYS Forge
talk
(Thread)
MODBUS Holding Registers Read/Write issue
Last updated: 2020-04-14
FunktionsCode fΓΌr Coils/inputs/holding registers
CODESYS Forge
talk
(Thread)
FunktionsCode fΓΌr Coils/inputs/holding registers
Last updated: 2010-08-13
Modbus Serial Device more than 500 holding registers?
CODESYS Forge
talk
(Thread)
Modbus Serial Device more than 500 holding registers?
Last updated: 2020-02-11
Are Modbus Holding Registers writable from PLC?
CODESYS Forge
talk
(Thread)
Are Modbus Holding Registers writable from PLC?
Last updated: 2021-11-08
Read/write registers - Modbus TCP/IP
CODESYS Forge
talk
(Thread)
Read/write registers - Modbus TCP/IP
Last updated: 2017-02-08
What the right way to update TCP/COM slave device holding registers
CODESYS Forge
talk
(Thread)
What the right way to update TCP/COM slave device holding registers
Last updated: 2024-07-01
Write registers and BITs i2C within a library
CODESYS Forge
talk
(Thread)
Write registers and BITs i2C within a library
Last updated: 2021-07-16
Holding brake release
CODESYS Forge
talk
(Thread)
Holding brake release
Last updated: 2024-04-08
Modbus Extended Registers
CODESYS Forge
talk
(Thread)
Modbus Extended Registers
Last updated: 2023-08-26
Modicon reading ABB registers
CODESYS Forge
talk
(Thread)
Modicon reading ABB registers
Last updated: 2012-08-24
PFC200 STATUS REGISTERS
CODESYS Forge
talk
(Thread)
PFC200 STATUS REGISTERS
Last updated: 2019-06-17
Holding Register von Modbus Slave Verhalten
CODESYS Forge
talk
(Thread)
Holding Register von Modbus Slave Verhalten
Last updated: 2018-03-04
Post by wbj0t on What the right way to update TCP/COM slave device holding registers
CODESYS Forge
talk
(Post)
Hi all :) I have an plc. This plc has option to be as slave device. There are TCP -> Serial Slave Device and COM -> Serial Slave Device. There are 4096 ModBus holding registers with mark "internal modify" for the both devices above. So, COM Slave has 4096 registers and TCP Slave has 4096 registers. And, finally, I have an ARRAY[0..4095] OF WORD. This array glued with COM Slave and TCP slave. Yes, I need plc's opportunity to be communication both TCP and COM ways for the same registers. For example, the next task structure: * TASK_0: 1. pou_READ_Registers 2. pou_0 3. pou_1 4. ... 5. pou_N 6. pou_WRITE_Registers At the first pou I read registers for the other pous, after job we have sort of state of the plc. At the last pou (6) we write modified registers. It is a good scenario: some one wrote registers for the job, after job we save these (modified) registers. But, what if registers wrote between 1 and 6 pou by operator, for example, at the 3 pou -> the last pou 'pou_WRITE' will rewrite this request from operator. What the right way to work with this logic? Thanks you.
Last updated: 2024-07-01
Codesys v3.5 reading registers problem
CODESYS Forge
talk
(Thread)
Codesys v3.5 reading registers problem
Last updated: 2023-03-24
R/W EtherCAT Slave Controller registers
CODESYS Forge
talk
(Thread)
R/W EtherCAT Slave Controller registers
Last updated: 2019-09-21
Modbus registers 32 or 64
CODESYS Forge
talk
(Thread)
Modbus registers 32 or 64
Last updated: 2020-05-11
MODBUS TCP REGISTERS CODESYS V3.5
CODESYS Forge
talk
(Thread)
MODBUS TCP REGISTERS CODESYS V3.5
Last updated: 2024-10-12
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
Combining Consecutive Modbus Registers to read FLOAT
CODESYS Forge
talk
(Thread)
Combining Consecutive Modbus Registers to read FLOAT
Last updated: 2012-12-27
MODBUS - managing a wide range of registers
CODESYS Forge
talk
(Thread)
MODBUS - managing a wide range of registers
Last updated: 2018-07-27
Multiple Modbus Read Registers Access by an Array of Elements
CODESYS Forge
talk
(Thread)
Multiple Modbus Read Registers Access by an Array of Elements
Last updated: 2018-04-16
Codesys "Write Values" & "Write Recipe" Fails On Modbus Mapped Variables
CODESYS Forge
talk
(Thread)
Codesys "Write Values" & "Write Recipe" Fails On Modbus Mapped Variables
Last updated: 2022-07-22
Post by tomast on WAGO 750-8212 nad Sinamics v20 modbus RTU speed control
CODESYS Forge
talk
(Post)
Hi Guys, I am new to this forum and i would like to ask od anyone got communication with Siemens v20 vfd working via Modbus RTU? I followed many websites and finally got the communication working but have problema with read/write registers. For example if i try to read holding register 40011 which is accel time i get noth but when i set the offset 0x0000 en length 113 i get ale the registers. I cannot get speed control working. I read someth about stw (control Word) and hsw but have some problems to understand it en get it working. It would be really nice if someone could help me with it. Thx
Last updated: 2024-03-05
Post by julianramirez on ModbusFB write update
CODESYS Forge
talk
(Post)
Hello everyone, I am testing the ModbusFB library tcp server and so far I am able to create holding registers successfully, however, I am trying to identify after each write which registers got updated (i.e. function code, write value). I can even see the var udiNumWriteRequests, which increases with every write. I noticed that there is logging with the LogStatusInfo method. After I call it I am able to read in the console stuff that I want. Nevertheless, this is only available at the logs and is not easy to decode because it consists on several messages, I would like to know if there is a way for me to retrieve this information from the function itself with pointers or if there is any way to copy the logs messages (assuming that I can filter them with the LoggingOptions to only show what I need) inside the runtime code and not in the console. Thanks for your help :)
Last updated: 2024-09-16
NBS.tcp_client/write
CODESYS Forge
talk
(Thread)
NBS.tcp_client/write
Last updated: 2020-07-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
.