Nuestras marcas

Impact-Company-Logo-English Black-01-177x54

Web de Schneider Electric España

Bienvenido a nuestra web
		
¿Cómo podemos ayudarle hoy?
How to configure Read_var instruction to read 4x registers from Modbus server using Unity Premium Processor.

Goals and Symptoms

This resolution is intended to be used as a guide to demonstrate how to configure the read_var instruction to read 4x (%MW) registers from Modbus server over a RS485 Network.

Facts and Changes

This example uses a TSXSCP114 RS485 communication card installed in channel 1 of the TSXP57104 processor. The Modbus server is a TSX Micro PLC with the TER port configured for Modbus server address 1.

Hardware

hardware
TSXP57104M Unity Processor
TSXSCP114 PCMCIA communication card.
TSXPACC01 RS485 Tap Link box
TSX372100 Micro PLC (Modbus Server device)

Operation and Debug

1, Create an animation table, enter the variables below. Click the Modification button. select the value for %M1. Click the up arrow to force the vale high.
This will initiate the Read_var instruction. Turn the block off with the down arrow.

table

Debugging

Management parameters:
%MW 10 - contains the Exchange number. This will change to an even number upon completion.
%MW11 - Should be viewed in Hex High byte - Operation Report, Low Byte - Communication Report
%MW12 - Time Out in 100ms
%MW13 - Length of data received

When on-line with the controller it is possible to see all slave devices connected to the Channel from the debug screen.
controller

Upon each operation the COM LED will flash on the TSXSCP114 card.
The TER LED will also Flash on TSX Micro each time it is polled.

Attachments

The zip file below contains both Unity and PL7 programs.
applications.zip

Schneider Electric España

Explorar más
Rango:
Explorar más
Rango:

¿Necesitas ayuda?

  • Selector de productos

    Encuentra rápida y fácilmente los productos y accesorios adecuados para tus aplicaciones.

  • Pedir presupuesto

    Comienza tu consulta de ventas en línea y un experto se pondrá en contacto contigo.

  • ¿Dónde comprar?

    Encuentra fácilmente el distribuidor de Schneider Electric más cercano a ti.

  • Centro de ayuda

    Encuentra recursos de soporte para todas tus necesidades en un solo lugar.

  • Documentación de productos
  • Descargas de software
  • Selector de productos
  • Reemplazo de productos
  • Centro de ayuda y contacto
  • Encuentra nuestras oficinas
  • Pedir presupuesto
  • Dónde comprar
  • Closure of shop.se.com/es/es/ and shop.se.com/pro/es/es/
  • Carreras
  • Perfil corporativo
  • Denunciar una mala conducta
  • Accesibilidad
  • Sala de prensa
  • Inversores
  • EcoStruxure
  • Búsqueda de empleo
  • Blog
  • Política de privacidad
  • Aviso de Cookies
  • Condiciones de uso
  • Cambiar tu configuración de cookies