Protocolo Modbus; Diagrama De Conexión Rs485; Conexión De Computador; Formato De Mensajes Y Tipos De Datos Del Protocolo Modbus-Rtu - WEG PFW03-T12 Manual Del Usuario

Tabla de contenido

Publicidad

www.weg.net

4 PROTOCOLO MODBUS

4.1 DIAGRAMA DE CONEXIÓN RS485
Resistor de
PFW03 PFW03
terminación
4.2 CONEXIÓN DE COMPUTADOR
El PFW03-T puede comunicarse con PCs vía USB-RS85 o convertidores RS232-RS485.
PC

4.3 FORMATO DE MENSAJES Y TIPOS DE DATOS DEL PROTOCOLO MODBUS-RTU

El PFW03-T implementa el protocolo Modbus RTU. El formato del mensaje Modbus RTU es como el de a seguir.
Inicio
Dirección
≥ 3.5 byte
Debe haber un intervalo de tiempo, con por lo menos 3,5 caracteres de ancho, entre los mensajes RTU.
Por ejemplo, cuando el dispositivo cliente solicita cualquier información, el dispositivo servidor debe responder
después de un intervalo de tiempo con ancho mínimo de 3,5 caracteres. Luego de la respuesta del servidor, el
dispositivo cliente deberá aguardar un período de 3,5 caracteres, antes de solicitar informaciones nuevamente.
Los tipos de datos usados en el PFW03-T son los siguientes.
b31 (Bit 31)
MSB (Bit Más Significativo)
70 | Controlador de Factor de Potencia - PFW03 - Trifásico
Figura 4.1: DIAGRAMA DE CONEXIÓN RS485
USB-RS485
Figura 4.2: Conexión de PC con RS485
Función
1 byte
1 byte
Tabla 4.1: Formato de Mensaje
----------------------------------
------------------------------------
Tabla 4.2: tipo de datos int (32 bits)
cualquier
PFW03
dispositivo
Reak
Reaktif Güç K on tr ol Rölesi
k
ti
f
i
G
G
ü
ü
ç
ç K
K o
o
n t
n
t
r r ol
l
Rölesi
R
R
R
R
Reaktif Güç
e
e
e
e
e
e
e
e
e
e
e
e
e
e
a
a
a
a
a
a
a
a
a
a
a
a
a
k
kt
kt
k t
kt
kt
kt
kt
kt
kt
kt
kt
kti
kt
t
i
i
i
i
i
i
i
i
i
i
i
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ü
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
ç
Kontrol Rölesi
K
K
K
on
on
ont
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
l
l
l
l
l
l
l
l
l
l
l
l
l
l
l
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
ö l
ö
ö
öl
ö
ö
ö
ö
ö
ö
öl
ö
ö
ö l
ö l
öl
öl
öl
ö
ö
ö
ö
öl
ö
ö
ö
ö
ö l
ö
l
l
l
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
s
s
s
s
s
s
s
s
s
s
s
s
s
i
i
i
i
i
PFW03
Datos
CRC
0-252 byte
2 byte
LSB (Bit Menos Significativo)
Resistor de
termina
Fin
≥ 3.5 byte
b0 (Bit 0)

Publicidad

Tabla de contenido
loading

Este manual también es adecuado para:

Pfw03-t24

Tabla de contenido