Ladder logic, Main routine, 5 ladder logic – ProSoft Technology MVI46-103M User Manual

Page 41

Advertising
background image

Ladder Logic

MVI46-103M ♦ SLC Platform

IEC 60870-5-103 Master Communication Module

ProSoft Technology, Inc.

Page 41 of 187

September 12, 2006

5 Ladder

Logic

In This Chapter

Main

Routine.......................................................................... 41

Data

Transfer (U:3) ................................................................ 42

Control

Routine (U:4) ............................................................. 43

Ladder logic is required for application of the MVI46-103M module. Tasks that
must be handled by the ladder logic are data transfer, special block handling and
status data receipt. This section discusses each aspect of the ladder logic as
required by the module. Additionally, a power-up handler should be written to
handle the initialization of the module's data and to clear any processor fault
conditions.

5.1 Main

Routine

The main routine is used to call the data transfer and control subroutines. An
example of the main routine is shown in the following two rungs:

Advertising