High Speed Counter Task

The High Speed Counter is used to run a task when the status of a designated high-speed counter changes.

  • Task priority can be set to a value between 2 and 7. a value of 2 will be highest priority task.

  • Task number is a value of 40 thru 43.

  • High-speed counter channel is 0 thru 3.

Step Action
1

In an Open XG5000 project right-click on Scan Program. Choose Add ItemèTask… or select Project menu -> Add ItemèTask…

or

2

Add a Task name for the external contact task. Choose the priority, task number and the high-speed counter channel for the task. Press OK when done to create the task.

3

The task requires a program for it. Press Yes to have XG5000 automatically start the program creation process.

4

Give the program a program name. Choose the programming language also. Press OK to create the program.

5

A Task will appear in the Project Window with the name given during the creation process. This example shows the task name as HighSpeedTask.

 

 

 

 

LP309-5