Reading digital data from a counter or PLC

Hi, I would like to know how to read data in Arduino from a digital counter or a PLC output.

I would like to receive this data and sending as an SMS on periodical basis using SIM900A Module

What PLC? What protocol?

Give us some real information we can work with.