Posts: 31
Threads: 9
Joined: Jan 2016
Reputation:
0
Hi guys,
i think the subject covers most of the question.
The BK9050 is an ethernet bus coupler with modbus TCP on board, i would like to use it to control my heating. i got a ni1000 AI and a 0-10v AO connected for heating control but i need the temperature controller inside my LogicMachine Ambient. Only connection i got is my Ethernet.
Anyone has some examples or tips ?
I've read the manual on modbus tcp but i stranded already on the modbus profile ? Do i have to get this from Beckhoff ? Invent this myself ?
thx in advance for any help.
Posts: 31
Threads: 9
Joined: Jan 2016
Reputation:
0
Hi,
since i got my ambient mounted and all fired up ... the next big thing is to get it to communicate with my beckhoff modbus TCP.
I've read the ambient datasheet which states that i need to install the modbus master package.
Where can i find these packages ?
thx
Posts: 7764
Threads: 42
Joined: Jun 2015
Reputation:
447
Which firmware version are you running?
Posts: 31
Threads: 9
Joined: Jan 2016
Reputation:
0
08.05.2016, 20:10
(This post was last modified: 26.06.2016, 18:23 by duvelken.)
Hi,
i can't really find any firmware version.
afterwards it all seems pretty st*pid.
version is 20151102
couple of things i don't know:
- where to get the upgrades voor LM Wall
- where to download the add-on packages.
Posts: 31
Threads: 9
Joined: Jan 2016
Reputation:
0
i got everything working.
visual modbus mapper working fine.
When i change a modbus value with a modbustool, i see the register change in my PLC and on my LM wall.
but when i change the value in the LM Wall, the value is not written to the modbus?
Some setting i missed ?
Posts: 7764
Threads: 42
Joined: Jun 2015
Reputation:
447
Have you set "writable": true in your profile for each register/coil that should be writable?
Posts: 31
Threads: 9
Joined: Jan 2016
Reputation:
0
Just for others who wonder, the above code does work, only (for me) it only accepted the changed profile file after a reboot of the LM Wall.
Posts: 31
Threads: 9
Joined: Jan 2016
Reputation:
0
Hi,
modbus coils and discreteinputs are working fine, now i'm trying to write to my holding registers.
i do this with the following command in the json file.
{ "name": "DIM", "bus_datatype": "float16", "type": "register", "datatype": "int16", "address": 32768, "writable": 1, "bus_address": "1/1/2"}
but i don't see anything in my plc. when i use a modbustool and write a 1 to 32768 on the holding i can see this in my plc.
what's wrong ?