S7-200 in modbus slave mode

chuzkin

Member
Join Date
Jun 2010
Location
Lima
Posts
1
Dear friends.

I am trying to stablish communication between a S7-200 CPU 226 and a PC running labview, acting as SCADA.
I already have configured the modbus instructions (as the example in help topics and manual) but i do not know how to address the following information:

Bits (LABVIEW SHOULD READ THESE BITS)

M1.0 – Inicio ciclo 1

M1.1 – Inicio ciclo 2

M1.2 – Inicio ciclo 3

M1.5 – Fin ciclo 1

M1.6 – Fin ciclo 2

M1.7 – Fin ciclo 3



Palabras dobles (LABVIEW SHOULD READ THESE REAL DOUBLE WORDS)

VD100 – Nivel TQ 1

VD104 – Nivel TQ 2

VD108 – Nivel TQ 3



Palabras dobles (LABVIEW SHOULD READ THESE REAL DOUBLE WORDS)

VD120 – VOLUMEN ACUMULADO FLUJOMETRO 1

VD124 – VOLUMEN ACUMULADO FLUJOMETRO 2

VD128 – VOLUMEN ACUMULADO FLUJOMETRO 3

The manual indicates any modbus address has its S7-200 address. For example:
00001 modbus address = Q0.0 s7-200 address
10001 modbus address = I0.0 s7-200 address
30001 modbus address = AIW0 s7-200 address
40001 modbus address = Holdstart s7-200 address (configured in MBUS_INIT)

Question is how can I access M0.0, M0.1, VD100, VD104 and so on???
Do I have to add MOVE instructions, to mirror M's and VD's registers to 4xxxx registers, and so read and write from them? Or should I move them to VB0 (retentive memory allocation)?

Any advice will help.

Best regards.
 

Similar Topics

Hi, I currently have a s7-1200 enabled as modbus tcp slave for customers master to connect to freely. Now my customer want to add a new modbus...
Replies
8
Views
4,708
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,726
I am trying to get Siemens 1214c dc/dc/dc cpu work as a Modbus RTU slave with RS232 communication module. As a master i have PC. I tried to get...
Replies
3
Views
3,672
Hello people.Thank you in advance. Below is a java application which I try to communicate my java application with ml 1200 through the Modbus...
Replies
0
Views
3,853
Hello everyone, I'm working on a project where I nedd to program a S7-1200 PLC and link it in a Modbus Communication, this PLC is going to be a...
Replies
2
Views
5,886
Back
Top Bottom