![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CamSoft Products Discuss Camsoft PC based CNC controller products here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#2
| ||||
| ||||
| The instructions in the manual look really good. I see there's example macros in macro.mac Any trouble after doing all this? Text from manual: RS232 Analog Input/Output Modules CamSoft's RS232 Analog input/output solutions currently consist of two options: CamSoft ND Series solutions and our CSA Series solutions. Both are robust options for various analog input/output applications. Both series of analog solutions use the standard RS-232 communications port on the computer to read or send out up to 10 volts. CamSoft's ND Series Analog Solutions The RS-232 analog input/output modules use the standard RS-232 communications port on the computer to read or send out ±10 vdc voltage. To accomplish this, the RS232 signal is first converted to RS-485. Refer to Part No. ND-6520 (RS-232 to RS-485) Converter: Before connecting the analog modules to the RS-485 network, each module must be reconfigured to have a unique ID address. By default every new module has the same address (01). Hence, if you are only using one analog module, it is ready to use. However, if you have more than one, you must setup each module to the ND-6520 (Converter) individually and run that module's configuration command to set the address. You can use the Analog Module Administration Utility or your CamSoft software to set these. The ND-6520 device is the heart of the RS-485 chain of modules. It sends the digital data across the chain to each module. This device does not need to be configured for anything other than factory default. Step (1) Connect the 9-pin serial cable between this device and the computer's COMM Port. Step (2) You must supply power to the ND-6520 and all other analog devices. Note: If you only have one analog module, the mini AC/DC adapter power supply is adequate. However, if you have more than one analog module, then use Part No. NDP-243 Step (3) Refer to the analog module documentation for all wiring and configuration for the RS-485 chain. For an RS-485 to communicate between all modules, only two (2) terminals are needed on the converter -- the (Y)DATA+ and (G)DATA- terminals. The TX+, TX-, RX+, RX- terminal connections are not used in an RS-485 network. Rather, these are for an RS-422 network. Step (4) Insert or customize the logic required for analog input or output. Use the COMMFILE.FIL file to trap and check for any return codes and incoming data. The COMMFILE.FIL file is event driven and whenever an analog module sends data to the COMM Port, this file will automatically execute any logic in the file. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Step and Direction to Analog | gdb | General Electronics Discussion | 6 | 11-14-2007 10:19 PM |
| PWM to analog | Drew | Machines running Mach Software | 7 | 10-09-2007 10:40 PM |
| Analog inputs on HAAS | smoregrava | Haas Mills | 1 | 08-21-2006 01:31 PM |
| Getting analog signal from pc | roni21702 | Computers and Networking | 1 | 06-15-2006 01:34 PM |
| Step/Dir to Analog converter? | DennisCNC | Servo Motors and Drives | 3 | 12-19-2005 05:05 AM |