You are asking a very general thing. Different PLC manufacturers use many ways (languages) for programming the PLC. Ladder logic is the most common in use. Others use function blocks. It depends on their software.