Defining input, memory, and output tags – Nematron Pointe Controller User Manual

Page 116

Advertising
background image

Chapter 5: Developing Controller Programs

Pointe Controller User Guide

114

break

byte

byvalue

case

cast

catch

char

class

const

continue

double

else

extends

false

final

finally

float

for

future

generic

implements

import

inner

instanceof

int

interface

long

native

new

null

package

private

protected

public

rest

return

short

static

super

switch

throw

throws

transient

true

try

var

void

volatile

while

Other reserved words in PointeControl: Chart, Project.

5.4.2 Defining Input, Memory, and Output tags

Input, Memory, and Output tags are all basically the same type of data structure.
Individual tags differ from each other in only two ways:

How the tag is used – Input and Output tags are typically associated
with the various

I/O points

on the Pointe Controller unit. Memory tags are

used as “scratch values within the program itself and typically do not have
any direct readout.

What size the tag is – Every tag must be defined as a specific register
size and numeric mode. The size/mode of the tag determines the range of
values the tag can have:

SIZE/MODE

VALUE RANGE

Bit/Boolean

0 or 1

8-bit Unsigned

0 to 255

16-bit Unsigned

0 to 65,535

32-bit Unsigned

0 to 4,294,967,295

8-bit Signed

-128 to 127

16-bit Signed

-32,768 to 32,767

32-bit Signed

-2,147,483,648 to 2,147,483,647

32-bit Real

-3.4 x 10^38 to 3.4 x 10^38

Advertising