\OUT

Type:

Syntax:

Units:

Range:

Default:

Response:

See Also:

Network Digital Output

Network

Product

Rev

<!>n\mOUT<b><b><b><b>

6K

5.3

<!>n\mOUT.i-b

 

 

n = network server #

 

 

m = module #

 

 

b = enable bit

 

 

i = digital output # on module “m”

 

 

n= 1-6 m = 0-7

b = 1 (turn on), 0 (turn off), or X (don’t change) i = 1-4

n\mOUT0000

n/a

[ \OUT ], NTIO, \TIO, \TOUT

Controlling Multiple Outputs

Output #1

Output #2

Output #3

Output #4

n \ m OUT b b b b

Network Server #

 

 

 

 

 

(Range: 1-6)

 

 

 

Options for “b” are:

 

 

 

 

 

 

 

 

 

 

1 = Turn on

Module # on Server “n

 

 

 

0 = Turn off

 

 

 

x = Don’t Change

(Range: 0-7)

 

 

 

 

Controlling One Output

 

 

 

 

 

 

 

Output Number

 

 

 

 

 

 

 

(Range: 1-4)

 

 

n \ m OUT .i - b

Network Server #

 

 

 

 

 

 

Options for “b” are:

 

 

 

 

 

 

 

 

 

 

 

 

(Range: 1-6)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 = Turn on

 

 

 

 

 

 

 

0 = Turn off

Module # on Server “n

 

 

 

 

 

x = Don’t Change

 

 

(Range: 0-7)

 

 

 

 

 

 

Use the \OUT command to control the state of each digital output on the OPTO22 unit.

The controller addresses the OPTO22 I/O locations as follows:

Each I/O bit is addressed by its location on a specific module. (NOTE: I/O points are not addressed by an absolute

32-bit location on the OPTO22.) Digital input and output modules have four I/O points, or channels, and are numbered 1-4. Analog input and output modules have two I/O points, or channels, and are numbered 1-2.

EXAMPLE: OPTO22 is Network Server #2

0

1

2

3

4

5

6

7

Digital

Digital

Digital

Digital

Analog

Analog

Analog

Analog

Input

Input

Output

Output

Output

Output

Input

Input

Module

Module

Module

Module

Module

Module

Module

Module

Input

Input

Output

Output

Output

Output

Input

Input

1

1

1

1

1

1

1

1

Input

Input

Output

Output

Output

Output

Input

Input

2

2

2

2

2

2

2

2

Input

Input

Output

Output

 

 

 

 

3

3

3

3

 

 

 

 

Input

Input

Output

Output

 

 

 

 

4

4

4

4

 

 

 

 

 

2\0IN.3

 

 

 

2\3OUT.2

 

 

2\5ANO.1

 

 

2\7ANI.2

 

 

 

 

 

 

Example:

; Identify network server #2 as an OPTO22 unit at IP address

 

2NTIP2,172,54,125,34

 

2NTCONN1

; 172.54.125.34

 

 

 

 

 

 

 

 

; Attempt a

connection to network server #2 (OPTO22 unit)

 

2\2NTIO2

; Server #2

(OPTO22), module #2 is a digital output module

 

2\3NTIO2

; Server #2

(OPTO22), module #3 is a digital output module

 

2\3OUT1001

; On Server

#2, module #3, turn on Outputs #1 and #4 and turn off

 

2\2OUT.3-1

; Outputs #2 and #3

 

 

 

 

 

 

 

; On Server

#2, module #2, turn on only Output #1

 

 

 

 

page 38

Page 42
Image 42
Parker Hannifin GEM6K manual Network Digital Output, Out , Ntio, \Tio, \Tout