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 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
Post by garrian on How to write multiple coils (Modbus FC15)
CODESYS Forge
talk
(Post)
Hi there! I'm testing out modbus TCP/IP for my home brewery, using Wago PFC200 as both slave and master. I'm using Wago library WagoAppPlcModbus. Holding registers, input registers' and discrete inputs works fine, but when trying to write multiple coils, it doesn't work. Any idea what I'm doing wrong here? Attached is a screenshot of my code. I tried both using bit mapping and without. If I change to FC05, and write only 1 coil at the time, it works fine. But I want to write all at the same time.. Any help is very appreciated :)
Last updated: 2024-11-16
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
Problem Reading Registers via Modbus from non Codesys device
CODESYS Forge
talk
(Thread)
Problem Reading Registers via Modbus from non Codesys device
Last updated: 2025-03-09
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
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
.