EasyManua.ls Logo

Delta AH500 - Page 179

Delta AH500
749 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AH500 Programming Manual
4-12
2. Establish a function block which is called FB0.
3. Declare the varaible in the function block FB0.
Choose VAR_IN_OUT as the declaration type, HCPoint1 as the identifier, HC_POINTER as
the data type. The variable is the pointer register of the 32-bit counter.
4. The program in the function block FB0
5. Declare the variable in the program organization unit (POU).
The data type of CVar1 should be COUNTER, and users have to fill in the address column with
the practical address of the 32-bit counter.
6. Call the function block FB0 in the program organization unit (POU).
7. The program in the program organization unit (POU)
Network 1: When StartBit[0] is ON, the address of HC0 is transmitted to HCPoint1 in FB0.
When VarBit1 in FB0 is ON, HCPoint1 (HC0) is ON.
Network: When StartBit[1] is ON, the address of CVar1 is transmitted to HCPoint1 in FB0.
When VarBit1 in FB0 is ON, HCPoint1 (CVar1) is ON.

Table of Contents

Other manuals for Delta AH500

Related product manuals