Galil DMC-2X00 user manual Example- Communicating with OPTO-22 SNAP-B3000

Models: DMC-2X00

1 267
Download 267 pages 56.53 Kb
Page 259
Image 259

B C

A

Figure A-23 - Vector and Axes Velocities

(a)

D

(b)

(c)

time

Example- Communicating with OPTO-22 SNAP-B3000-

ENET

Controller is connected to OPTO-22 via handle F. The OPTO-22’s IP address is 131.29.50.30. The Rack has the following configuration:

Digital Inputs

Module 1

Digital Outputs

Module 2

Analog Outputs (+/-10V)

Module 3

Analog Inputs (+/-10V)

Module 4

Instruction

Interpretation

#CONFIG

Label

IHF=131,29,50,30<502>2

Establish connection

WT10

Wait 10 milliseconds

JP #CFGERR,_IHF2=0

Jump to subroutine

JS #CFGDOUT

Configure digital outputs

JS #CFGAOUT

Configure analog outputs

JS #CFGAIN

Configure analog inputs

MBF = 6,6,1025,1

Save configuration to OPTO-22

204 Appendices

DMC-2X00

Page 259
Image 259
Galil DMC-2X00 user manual Example- Communicating with OPTO-22 SNAP-B3000