Forum Home › Forums › Communicating with Devices › Modbus › Evento de perda de comunicação – Rapid SCADA 6.2.2
Tagged: Alertas, Comunicação, modbus
- This topic has 16 replies, 3 voices, and was last updated 4 hours, 20 minutes ago by
isabellacog.
-
AuthorPosts
-
February 25, 2026 at 4:59 pm #17664
isabellacog
ParticipantBoa tarde,
Estou utilizando o Rapid SCADA versão 6.2.2.0 e gostaria de esclarecer uma dúvida relacionada à geração de eventos de perda de comunicação com dispositivo.
Estou utilizando conexão via Modbus TCP e observei que, quando o dispositivo deixa de receber dados, os valores das tags ficam exibidos em cinza claro na tabela. No entanto, não identifiquei claramente como configurar a geração de um evento específico para indicar a perda de comunicação.
Minha dúvida é:
Existe alguma função ou configuração nativa na versão 6 para gerar automaticamente um evento quando o dispositivo ficar offline, ou é necessário implementar alguma lógica adicional (por exemplo, via script ou expressão)?
Poderiam, por gentileza, me orientar sobre a melhor prática recomendada para esse tipo de monitoramento?
Desde já agradeço o suporte.
February 25, 2026 at 5:04 pm #17665
manjey73ParticipantThere is a
Statusservice tag for devices in the Communicator. This is probably the best solution.February 25, 2026 at 5:31 pm #17666isabellacog
ParticipantWhere can I find the ‘status’ service tag in the Communicator? I can’t find it.
February 25, 2026 at 6:50 pm #17667
manjey73ParticipantJust manually create an input channel in the device with the
Statustag code in the database. Channel value 0 = Normal, 1 = ErrorFebruary 25, 2026 at 6:55 pm #17668isabellacog
ParticipantHow would the formula look like? I tried this one, but it didn’t work: CnlStat == 0 ? 1 : 0.
February 26, 2026 at 6:31 am #17669
manjey73ParticipantThe formula is really weird and seems useless. What exactly do you want to do with the channel data?
February 26, 2026 at 11:41 am #17670isabellacog
ParticipantThis is a supervisory system for an operations center. So, when my device stops communicating, I need an alarm for that. If the formula is strange or incorrect, please show me the correct one. Otherwise, I would appreciate your help in clarifying it.
February 26, 2026 at 11:47 am #17671
MikhailModeratorHello,
Just create a new channel of the Calculated type, and set the Tag Code field toStatus
The device field of the channel should refer to the certain device.
Then upload the project changes and check value of the newly created channel.
Provide a screenshot of your settings if it doesn’t work.-
This reply was modified 12 hours, 51 minutes ago by
Mikhail.
February 26, 2026 at 11:49 am #17673
MikhailModeratorUsing formula
CnlStat > 0 ? 0 : 1is also possible. But the method described above is simpler.February 26, 2026 at 12:29 pm #17677isabellacog
Participant
I did what you suggested. I created a new channel of the calculated type and set the tag code field to status. Now it is returning the value 1, but the device is off, so it should be returning 0, correct? Can you verify if I did something wrong?
February 26, 2026 at 2:03 pm #17679
manjey73ParticipantStatus works differently, if it returns 1, it means an error. There is a Normal-Error Format for this.
February 26, 2026 at 2:15 pm #17680isabellacog
Participant



The value of the channel status is not changing, and I can see in Device 1 that my device is changing in reality. Did I make any configuration mistake?
February 26, 2026 at 2:58 pm #17681
manjey73Participant21 – Input, data type – double or empty
Formula (script) none
Format – Normal-Error in tableNormal; ErrorFebruary 26, 2026 at 5:02 pm #17682isabellacog
Participant
ble view” />
I followed the steps, but it seems that the value of channel 21 stopped updating along with the other values when the device stopped communicating. I removed the ‘Normal-Error’ format just to observe which value would appear.February 26, 2026 at 7:43 pm #17683
manjey73ParticipantShow the channel settings with the Status tag again
-
This reply was modified 12 hours, 51 minutes ago by
-
AuthorPosts
- You must be logged in to reply to this topic.