| ||||
|
Real world example
| ||||
This real world example describes a machine that has a probe to measure components after they have been machined.
The machine has a 25 pin RS232 port which we have connected to a laptop using a 9 pin RS232, and have been able to receive data.
You will need DNC Precision with machine monitor function enabled. The input/output port setting on the SETTINGS page of OFFSETS key will need to be set to 0 (zero) to point output to the RS232.
Type and start the demo program below. Don’t forget POPEN and PCLOS top AND BOTTOM.
% O1919(DPRINT TEST) #4=4444. #5=5555. #18=18.18 #1=111.1 #25=25.25 #28=28.28 #29=29.29 #137=137.137 #138=138.138 #139=139.139 #143=143.143 POPEN DPRNT[(***COMPONENT=#121[60]***)] DPRNT[(***FEATURE=#122[40]***)] DPRNT[(***PCDFEATURE=#147[30]***)] DPRNT[(***INCX=#4[44]***)] DPRNT[(***ACTUALX=#28[44]***)] DPRNT[(***INCY=#5[44]***)] DPRNT[(***ACTUALY=#29[44]***)] DPRNT[(***PCD=#18[44]***)] DPRNT[(***ACTUALPCD=#137[44]***)] DPRNT[(***DEVPCD=#142[34]***)] DPRNT[(***ANG=#1[44]***)] DPRNT[(***ACTUALANG=#139[44]***)] DPRNT[(***DEVANG=#144[34]***)] DPRNT[(***SIZEY=#25[44]***)] DPRNT[(***ACTUALSIZE=#138[44]***)] DPRNT[(***TOL=#11[24]***)] DPRNT[(***DEVSIZE=#143[34]***)] PCLOS M30 % | ||||
|