S7-1200 Modbus RTU comms to custom device

frzw

Member
Join Date
Jun 2009
Location
Tallinn
Posts
7
Hi,

I am constantly using S7 CB 1241 (RS485) Modbus comms to field devices, but these one was designed as a custom device. However I can see it with PC using Modbus Poll program. Also I can see other devices - that means, that wiring is ok. Problem appears when I just move wires to PLC, I still can see other devices get response, but from this device I get errors.

1) Initial setting reccomended from supplier and example. 9600 8n1 node 1
2) What do I see from Modbus Poll from the PC
3) Modbus Poll configuration on the PC
4) MB_MASTER instruction in S7

Every time MB_MASTER contacts node one, it gets error 8383, which means "Error in the data address or address outside the valid range of DATA_PTR"

If somebody could help me with translating this Raw Data Poll:
01 - node number
03 - function code
00X20 - register DEC 32 (is it 40032 or 400032 for function code 03?)
00 09 - quantityof registers (can start with 1)
84 06 - CRC16 - I am not sure if MB_MASTER instruction sends it automatically..

into S7 logic.... I need to get at least one word of feedback, then I can manage.

1.jpg 2.png 3.png 4.png
 

Similar Topics

Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
256
Hi all, reading out parameters from a Weg CFW500 VFD using a Siemens S7-1214 CPU over Modbus RTU (CB1241). Using the PLC's built-in Modbus...
Replies
4
Views
1,706
I have 3 control panels made by an OEM, they are all identical and have a Siemens S7-1200 PLC with a Siemens CB-1241 Modbus card talking to 2...
Replies
8
Views
4,539
Hi Everyone, First Project with Siemens and I need to communicate via RS-485 to a Tank Level Hub using Modbus RTU. I will be using the CB 1241...
Replies
13
Views
3,824
I am just getting information about a need that a site has. They currently have a machine that has a ML1200 and is being interfaced to by a...
Replies
16
Views
6,675
Back
Top Bottom