Delta AS Series Programming Manual page 252

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

4.
The program in the function block FB0 appears as shown below.
5.
Declare the variable in the program organization unit (POU).
The data type of CVar1 should be TIMER.
6.
Call the function block FB0 in the program organization unit (POU).
7.
The program in the program organization unit (POU) operates as shown below.
Network 1: When StartBit[0] is ON, the address of T511 is transmitted to TPoint1 in FB0.
When VarBit1 in the FB0 is ON, the TMR instruction is executed, and TPoint1 (T511) starts counting.
When the value of TPoint1 matches the TPoint1 setting, VarOut is ON.
Network 2: When StartBit[1] is ON, the address of CVar1[0] is transmitted to TPoint1 in FB0.
When VarBit1 in FB0 is ON, the TMR instruction is executed, and TPoint (CVar1) starts counting.
When the value of TPoint1 matches the TPoint1 setting, VarOut is ON.
Ch a pt er 4 Ins tr uc t i on S tr uc t ur e
4_
4 - 1 5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents