C
Dear friends.
I am trying to establish 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.
I am trying to establish 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.