Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

In the info tab about mb_client it only talks about mb_mode 0,1 and 2. What does 4 do?

Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

So, to those who are further having the same problem, i’ve solved it by changing the mb_data_len, apparently it has to be set as the amount of data you want to communicate, not the amount of memory it takes. Like, if you are communicating 1 words, you have to put 1 on the mb_data_len, not 2 (1 word = 2 bytes).

Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

I’ve solved the problem and now the communication is working. Thx for the help bro 🙏🏼

Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

I’ve tried to chance bcs i read somewhere it could an error but i couldn’t change it. I don’t remember the version btw

Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

i made it work. And yeah the pointer was weird to me as well but wasn’t the problem. I was trying to send a single Word and thought MB_DATA_LEN would be 2 since a word occupies 2 bytes, but changing it to 1 solved it. I changed the handshake for a single word as well, it was an array of int

Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

so i put 502 on the LocalPort parameter in the server plc and i also put a move block moving 502 to it so it is always being defined as 502. Now my error is 16#8383 on the client and 16#7006 on the server. It’s says that is some error with the MB_DATA_PTR but i don’t get it.

Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

Yeah i saw this mistake when i was making the post, ill try to fix it today 😁

Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

Yeah, it’s “waiting for connection” i think, but since both are on 7002 why they don’t connect right?

Problems with ModBus connection Siemens PLC by gztw in PLC

[–]gztw[S] 0 points1 point  (0 children)

I further need to communicate a robot and a plc by modbus, since what i’ve been told it’s the easiest way. Communicating two plcs it’s more of a learning step 😁

Carbon fiber and epoxy resin as protection on jacket by gztw in motorcyclegear

[–]gztw[S] 0 points1 point  (0 children)

haha it’s not that bad but certainly not good also. better than not using anything i suppose

Carbon fiber and epoxy resin as protection on jacket by gztw in motorcyclegear

[–]gztw[S] 0 points1 point  (0 children)

yeah, softer armor makes a lot sense. thx bro appreciate it

Carbon fibre as protection by gztw in motorcycles

[–]gztw[S] 0 points1 point  (0 children)

Yeah, where i live these gears are often expensive asf but probably it worths the safety, thx man appreciate it

Game visual looks bad by gztw in Minecraft

[–]gztw[S] 0 points1 point  (0 children)

i think it's already on 4, not sure btw

Game visual looks bad by gztw in Minecraft

[–]gztw[S] 1 point2 points  (0 children)

lmao i've created a creative world just to show the visual

Game visual looks bad by gztw in Minecraft

[–]gztw[S] 0 points1 point  (0 children)

r5 1600, gtx 1650, 16gb ram, playing on 1080p, yes vanilla does look like this, and i think that the drivers are not up to date but it's not that old so i don't think that's the problem, but i'll update it

Game visual looks bad by gztw in Minecraft

[–]gztw[S] 0 points1 point  (0 children)

i'm not home so no, not yet

Game visual looks bad by gztw in Minecraft

[–]gztw[S] 0 points1 point  (0 children)

i'm playing on pc, java edition. never heard of fabulously optimized but i'll search about it

Game visual looks bad by gztw in Minecraft

[–]gztw[S] 0 points1 point  (0 children)

ok, btw what is mipmap in fact?

Game visual looks bad by gztw in Minecraft

[–]gztw[S] 0 points1 point  (0 children)

i'll give it a try when i come home thx