EasyManua.ls Logo

Campbell CR1000

Campbell CR1000
678 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...
Section 7. Installation
Figure 40. "Include File" Settings Via DevConfig
Figure 41. "Include File" Settings Via PakBusGraph
CRBasic Example 12. Using an 'Include' File
'This program example demonstrates the use of an 'include' file. An 'include' file is a CRBasic
file that usually
'resides on the CPU: drive of the CR1000. It is essentially a subroutine that is
'stored in a file separate from the main program, but it compiles as an insert to the main
'program. It can be used once or multiple times, and by multiple programs.
''Include' files begin with the SlowSequence instruction and can contain any code.
'
'Procedure to use an 'include' file in this example:
'1. Copy the code from the CRbasic example 'Include' File to Control Switched 12 V (p. 150) to
149

Table of Contents

Related product manuals