Please refer to Chapter 2 pgs 34-46 of the 6k Programmers Guide for more information about the 6k Communications Server.
This is an example of connecting to the 6k via Ethernet.
Note:The 172.20.34.145 is the address of the 6k which can be found by a NTADDR command from the terminal of Motion Planner.
/*create an object variable, initialize it to an Ethernet
interface and make a connection */
This is an example of connecting to the 6k via RS232. There is also a serial communications example on our website called WIN32SERIAL.ZIP.
/*create an object variable, initialize it to an RS-232
interface and make a connection to PC COM1 */