how to generate alarm when PLC & its components like Input Output cards disconnect from Network using Un managed switch 1783 US8T.
and PLC is Compact logix with Flex IO's
use a GSV Class Module, Instance is the actual module you want to check. AttributeName is EntryStatus, Destination is a DINT.
then do a MVM Masked Move of the destination word through mask 16#F000 and check the result. if it is equal to 16#4000 then the connection is alive and working.