Loading
Innovation Center LOGO
Recent ActivityRecent Activity

Notificaciones a Microsoft Teams con FactoryTalk Optix

Aprender a enviar notificaciones a Microsoft Teams es una necesidad común para usuarios que desean comunicar eventos o condiciones de planta, apoyar la toma de decisiones y optimizar el flujo de información. - [Tiempo de Implementacíon: 30 minutos]
Innovation Center Home Page
Business email notification concept with envelope icon over smartphone and computer keyboard. Digital communication, online messaging, inbox alert, marketing automation corporate technology network.
Innovation Center LOGO
  • Visión General
  • Guía de Implementación
  • Descarga
  • Contáctanos
  • Suscríbase
Innovation Center Home Page
 

¿Qué hace esta aplicación?

La aplicación se ha desarrollado utilizando el software FactoryTalk Optix, esta aplicación tiene como objetivo principal el poder enviar notificaciones a MS Teams, para poder indicar estados de un sistema, facilitando el flujo de información y la toma de decisiones según la información enviada. Esta solución utiliza las características avanzadas que puede entregar FactoryTalk Optix desde la visualización, manejo de datos y estructuras de programación utilizando C#, la plataforma permite tener nuestras operaciones a la vanguardia con soluciones tecnológicas que nos ayudan facilitar los retos en la industria actual, apalancándonos de la utilización de JSON para estructurar los mensajes a enviar.

  1. Características Generales
  2. Ventajas
Open All Close All
Características Generales

FactoryTalk Optix puede ayudar a mejorar sus procesos, su eficacia y sus productos finales; todo con una herramienta de fácil acceso. Aprovechando los niveles de colaboración, capacidad de escalado e interoperación para lograr su visión de transformación digital.

FT Optix destaca por su capacidad de conectarse a una amplia variedad de dispositivos y protocolos industriales como OPC UA, Ethernet/IP, Profinet, Modbus, HTTPS, MQTT entre otros tantos, permitiendo con esta capacidad la integración y monitoreo en tiempo real de equipos de diferentes fabricantes desde una única plataforma de IoT. Además, con FactoryTalk Optix se cuenta con la capacidad de crear data logs y así guardar dicha información en una base de datos SQL. Esto permite presentar las tendencias históricas de alarmas y crear reportes en formato PDF según sea necesario. Así como la utilización de REST API con NetLogic para realizar solicitudes a servicios externos.

Enviar mensajes o notificaciones a MS Teams es una necesidad que muchos usuarios buscan para poder notificar eventos o estados desde el piso de planta para la toma de decisiones y tener un flujo de información optimizado.

En este caso utilizaremos JSON para la estructura del mensaje y Power Automate para generar el trigger que enviará el mensaje a MS Teams, es necesario que se tenga conectividad a internet.
 

Ventajas
  • Utilización de código estructurado
  • Flexibilidad en la conectividad
  • Impacto en el tiempo de desarrollo
  • Notificaciones según el modelo operativo
  • Envió de mensajes a Teams desde una plataforma en piso de planta
  • Alta fiabilidad
  • Compatible para implementar en sus aplicaciones
  • Flexibilidad y escalabilidad
  • Mejora en el flujo de información
  • Optimización de los datos
  • Monitoreo de eventos
  • Análisis de información
AHIC Download ICON VF.png

Descarga

Tenga en cuenta: deberá aceptar los Términos y Condiciones para cada descarga.

Archivo descargable ›
Legal Disclaimer Acceptance. ROCKWELL AUTOMATION WILL PROVIDE ACCESS TO ROCKWELL PRODUCTS (BEST PRACTICES, APPLICATIONS AND KNOWLEDGE) ON THE CONDITION THAT YOU ACCEPT AND COMPLY WITH THE FOLLOWING TERMS AND CONDITIONS. YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT BY DOWNLOADING, INSTALLING, COPYING, OR OTHERWISE USING PRODUCTS. IF YOU ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON, COMPANY, OR OTHER LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON, COMPANY, OR LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS, DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE PRODUCTS, SOFTWARE AND/OR CLOUD SERVICES. 1. Rockwell Automation retains full ownership and title to all Products and related documentation. No rights or licenses are granted other than those set forth in this Agreement. Company grants to Rockwell Automation a non-exclusive, worldwide, royalty-free, perpetual, non-revocable license to use any feedback Company provides regarding the Products, even if Company has designated the feedback as confidential. Rockwell Automation will be entitled to use the feedback without restriction or compensation to Company. 2. Company may not lease sub-lease, assign, license, sub-license or otherwise transfer any of the Products without the prior written consent of Rockwell Automation. Company may not assign or otherwise transfer access rights to the Products without the prior written consent of Rockwell Automation. Any reverse assembly, reverse engineering, decompilation, and creation of derivative works based on the Products by Company is prohibited. 3. Company acknowledges that Products provided under this Agreement are Rockwell Automation’s Confidential Information and are covered by effective or pending copyrights, patents, trademarks and/or trade secrets of Rockwell Automation, and Company agrees to maintain confidentiality by not disclosing Products or documentation to any third party without the prior written consent of Rockwell Automation and to protect the confidentiality of the Products as it would Company’s own confidential information. Company agrees that its obligation of confidentiality under this paragraph shall survive expiration or termination of this Agreement. 4. Company agrees that Products provided under this Agreement are prototypes and examples and its application and results may vary depending on each customer and project conditions. Rockwell Automation do not warranty the same results. This Agreement shall in no way be construed as a commitment by Rockwell Automation at any time to manufacture and/or offer Products for sale. There is no explicit or implicit service level agreement associated with using the Products. Rockwell Automation does not warrant that the functions contained in the Products will meet Company’s requirements. Company agrees to use all Products only in accordance with the instructions and only for the intended usages identified in the documentation. 5. EXCLUSION OF WARRANTIES AND LIMITATION OF LIABILITY. THE PRODUCTS ARE PROVIDED "AS IS". ROCKWELL AUTOMATION DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. ROCKWELL AUTOMATION EXPLICITLY DISCLAIMS ALL WARRANTIES OF NON- INFRINGEMENT AND EXPRESSLY DOES NOT WARRANT THAT THE PRODUCTS, IN WHOLE OR IN PART, WILL BE ERROR FREE OR FREE FROM SECURITY VULNERABILITIES. IN NO EVENT SHALL ROCKWELL AUTOMATION BE LIABLE FOR (i) LOST PROFITS, LOST SAVINGS, DOWNTIME, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR (ii) ANY PERSONAL INJURY, PROPERTY DAMAGE OR ENVIRONMENTAL DAMAGE ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT, WHETHER IN AN ACTION IN CONTRACT, STRICT LIABILITY OR IN TORT INCLUDING NEGLIGENCE. 6. COMPANY AGREES TO INDEMNIFY AND HOLD ROCKWELL AUTOMATION HARMLESS FROM ALL COSTS, AWARDS, DAMAGES, EXPENSES AND FEES (INCLUDING ATTORNEYS FEES) RESULTING FROM OR RELATED TO ANY THIRD-PARTY CLAIMS (INCLUDING EMPLOYEES AND AGENTS OF COMPANY) AGAINST ROCKWELL AUTOMATION, ITS DISTRIBUTORS, AGENTS, OFFICERS, DIRECTORS OR EMPLOYEES FOR PERSONAL INJURY (INCLUDING DEATH), PROPERTY DAMAGE OR ENVIRONMENTAL DAMAGE RELATED TO OR RESULTING FROM THE USE OF THE PRODUCTS. 7. In the event a Product is exported, Company agrees to comply with all applicable United States Export Control Law and Regulations, and the applicable export control laws of other countries. This Agreement shall be governed by the laws of the state of Wisconsin. This Agreement is the complete and exclusive Agreement between Rockwell Automation and the Company, and supersedes all prior agreements, whether written or oral, relating to the Products.
AHIC NEED HELP ICON VF.png

¿Necesita ayuda?

Si necesita ayuda con alguna aplicación o tiene comentarios acerca del Innovation Center, por favor contáctenos.

 

¿Esta aplicación es relevante para mí?

El tener notificaciones agiles con un flujo de información asociado al envío de notificaciones a Teams directamente desde nuestra aplicación tiene una gran cantidad de posibilidades.

Esta aplicación puede complementar sus proyectos para el poder enviar notificaciones o información a chats de Teams de su compañía.

Aplica para cualquier industria o segmento industrial donde se busque compartir información a Teams.

Esta funcionalidad puede ser replicable las veces que sean necesarias en sus proyectos, aumentando el valor de sus productos, optimización los costos de implementación y explotando la información en flujo continuo desde el piso de planta hasta su plataforma de comunicación como Teams.

 


¿Cómo puedo hacerlo funcionar?

Requisitos: productos, herramientas, conocimientos previos.

Hardware

  • Controladores compatibles con la conetividad a FT Optix

Software

  • FactoryTalk Optix (V1.7.1)

Conocimiento previos

  • Conocimientos básicos en FactoryTalk Optix y C#. 
 
AHIC STEP ICON.png

Guía de Implementación

 
  1. Paso 1
  2. Paso 2
  3. Paso 3.1
  4. Paso 3.2
  5. Paso 3.3
  6. Paso 3.4
  7. Paso 3.5
  8. Paso 3.6
  9. Paso 4.1
  10. Paso 4.2
  11. Paso 5
  12. Paso 6
Open All Close All
Paso 1
 

Identificar la aplicación a utilizar: FactoryTalk Optix. 

Abrir el archivo Teams_notification, en la ubicación donde haya realizado la descarga.


Asegure tener instalado .NET SDK x64. https://dotnet.microsoft.com/en-us/download

 

microsoft-teams-notifications-with-factorytalk-optix_Step1.png

microsoft-teams-notifications-with-factorytalk-optix_Step1.png

Paso 2
 

Explore la aplicación, abra la ventana principal, donde se podran ver los elementos que conforman esta demo. 

microsoft-teams-notifications-with-factorytalk-optix_Step2.png

microsoft-teams-notifications-with-factorytalk-optix_Step2.png

Paso 3.1
 

Desde su plataforma de MS Power Automate cree un Instant Cloud Flow. https://make.powerautomate.com/

microsoft-teams-notifications-with-factorytalk-optix_Step3_1.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_1.png

Paso 3.2
 

Seleccione el trigger When an HTTP request is received.

microsoft-teams-notifications-with-factorytalk-optix_Step3_2.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_1.png

Paso 3.3
 

Defina la estructura del JSON a recibir desde FT Optix.

{
    "type": "object",
    "properties": {
        "Device": {
            "type": "string"
        },
        "Level": {
            "type": "number"
        },
        "Temperature": {
            "type": "number"
        },
        "Priority": {
            "type": "string"
        }
    }
}
microsoft-teams-notifications-with-factorytalk-optix_Step3_3.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_1.png

Paso 3.4
 

Inserte una acción de Teams: Post a message to myself.

microsoft-teams-notifications-with-factorytalk-optix_Step3_4.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_4.png

Paso 3.5
 

En la estructura del contenido utilice las variables del JSON para mostrar el mensaje en Teams.

OPTIX MESSAGE
|
Device: @{triggerBody()['Device']}
|
Level: @{triggerBody()?['Level']}
|
Temperature: @{triggerBody()?['Temperature']}
|
Priority: @{triggerBody()['Priority']}
|
Check your process!
microsoft-teams-notifications-with-factorytalk-optix_Step3_5.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_5.png

Paso 3.6
 

Después de salvar el flujo con las acciones configuradas, copie la liga HTTP URL que utilizaremos en FT Optix.

microsoft-teams-notifications-with-factorytalk-optix_Step3_6.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_6.png

Paso 4.1
 

Dentro de la vista del proyecto ubique NetLogic Teams_message, donde se encuentra el código para envió de mensajes utilizando la estructura JSON al chat de Teams.

microsoft-teams-notifications-with-factorytalk-optix_Step4_1.png

microsoft-teams-notifications-with-factorytalk-optix_Step4_1.png

Paso 4.2
 

Pegue la liga HTTP URL que obtuvo de Power Automate (Paso 3.6), en la línea 23.

 


Dentro del código se estructura el JSON que se enviará al Teams.

  • Device: “REACTOR TANK”
  • Level: varlevel
  • Temperature: vartemp
  • Priority: spriority

Se compila el código Teams_message.cs

 

microsoft-teams-notifications-with-factorytalk-optix_Step4_2.png

microsoft-teams-notifications-with-factorytalk-optix_Step4_1.png

Paso 5
 

Ejecute la aplicación para ver su funcionamiento.

Se podrá ver a manera de ejemplo un Reactor con el nivel de agua, temperatura y prioridad, estas variables se envían a Teams.

microsoft-teams-notifications-with-factorytalk-optix_Step5.png

microsoft-teams-notifications-with-factorytalk-optix_Step5.png

Paso 6
 

Una vez enviada la notificación a Teams tendremos la información que estructuramos en nuestra aplicación.

microsoft-teams-notifications-with-factorytalk-optix_Step6.png

microsoft-teams-notifications-with-factorytalk-optix_Step5.png

microsoft-teams-notifications-with-factorytalk-optix_Step1.png

microsoft-teams-notifications-with-factorytalk-optix_Step1.png

microsoft-teams-notifications-with-factorytalk-optix_Step2.png

microsoft-teams-notifications-with-factorytalk-optix_Step2.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_1.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_1.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_2.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_2.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_3.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_3.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_4.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_4.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_5.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_5.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_6.png

microsoft-teams-notifications-with-factorytalk-optix_Step3_6.png

microsoft-teams-notifications-with-factorytalk-optix_Step4_1.png

microsoft-teams-notifications-with-factorytalk-optix_Step4_1.png

microsoft-teams-notifications-with-factorytalk-optix_Step4_2.png

microsoft-teams-notifications-with-factorytalk-optix_Step4_2.png

microsoft-teams-notifications-with-factorytalk-optix_Step5.png

microsoft-teams-notifications-with-factorytalk-optix_Step5.png

microsoft-teams-notifications-with-factorytalk-optix_Step6.png

microsoft-teams-notifications-with-factorytalk-optix_Step6.png

 

Notificaciones a Microsoft Teams con FactoryTalk Optix

Versión 1.0 - Septiembre de 2026

 
AHIC White Logo

Reciba nuevas aplicaciones y novedades del Centro de Innovación directamente en su correo electrónico.

¡Suscríbase!
  1. Chevron LeftChevron Left Página principal de Rockwell Automation
  2. Chevron LeftChevron Left Asi...
  3. Chevron LeftChevron Left Sop...
  4. Chevron LeftChevron Left Descargas
  5. Chevron LeftChevron Left Application Hub - Innovation Center
  6. Chevron LeftChevron Left Notificaciones a Microsoft Teams con FactoryTalk Optix
El contenido de este sitio ha sido traducido mediante inteligencia artificial (IA) sin revisión humana o ediciones. El contenido podría contener errores o inexactitudes, y se proporciona “tal cual” sin ninguna garantía. El texto oficial es la versión en inglés del contenido.
Actualice sus preferencias de cookies para continuar.
Esta función requiere cookies para mejorar su experiencia. Actualice sus preferencias para permitir estas cookies.:
  • Cookies de Redes Sociales
  • Cookies Funcionales
  • Cookies de Performance
  • Cookies de Marketing
  • Todas las cookies
Puede actualizar sus preferencias en cualquier momento. Para más información, vea nuestro {0} Política de Privacidad
CloseClose