8050_rs-232
DESCRIPTION
fagorTRANSCRIPT
-
f:\msoffice\service\bible\rs232_50.doc 1
8050/55RS232SETUPANDANALYSIS
SETUPFORFAGORDNC50/55 SETUPFORDNC(otherthanFagor)
8050T/TC/M/MC 8050T/TC/M/MC
P0=7(9600baudrate) P0=..6,7,8..(4800,9600,etcbaudrate)
P1=1(8databits) P1=0,1(8or7databits)P2=0(noparity) P2=0,1,2(no,odd,evenparity)P3=0(1stopbit) P3=0,1(1or2stopbits)P4=1(dncprotocol) P4=0 (generaldevice)P5=YES(dncactiveonpowerup) P5=NO(fagordncnotactive)P6=NO(debugfeaturenotactive) P6,P7,P8,P9,P10arethesameP7=0(CANabortcharacter)P8=0(LFendoflinecharacter)P9=0(EOTendoffilecharacter)P10=ON(XonXoff)
note: Thedebugfeaturecanbeactivatedonce note:ALTPwillopenthemenutocommunicationisestablished selectthemachinetypeandbaudrate
ALTLwillselectanothercomportsendingandreceiving:Tosendaprogram,gotoutilities,copythe
programtoserialline2.Makesurethecomputeriswaitingtoreceive.Toreceive,copyserialline2totheprogramnumber
SYMPTOM: Afterconnectingthecnc,(computernumericalcontrol),toanotherexternaldevicethereisnocommunication.
ANALYSIS: Step1: Bothdevicesmustbecorrectlyconfigured.1) Makesurethatbothdevicesareon.2) CheckthelistofmachineparametersinthecncrelatedwiththeRS232.
Please lookattheRS232parameterlistdependingonthecncmodel.3) Checktheconfigurationoftheperipheral.Makesurethatbothdeviceshave
the same baudrate,numberofbits,stopbits,parity,etc.4) IfcommunicationisthroughDNC,(Fagorcommunicationsoftware),makesure
that:a) thecncmachineparametersareactivatedforDNC.b) theconfigurationinDNCissetupaccordingtothemachinetype.c) thecorrectseriallineisselectedintheDNCsoftware.
Iftheproblemstillpersist,STEP2: Thecablemustbeproperlyconnected.
1) Makesurethattheconnectorsarepluggedintheproperplaceinbothsides2) Checkthepinoutofthecable.RefertotheinstallationmanualabouttheRS
232configuration.3) Makesurethatthecableislessthan49ft.anditisnotrunthroughpowerlines
ortransformers.Thiscancauseinterferencewithcommunications.STEP3: Detectwhichdeviceisdefective.
1) Alwaystrytoreceiveatthecomputerfirst.
-
f:\msoffice\service\bible\rs232_50.doc 2
2) Ifanotherperipheralorcncisavailable,trytoestablishcommunication.Ifthisisnotpossible,acheckoutoftheequipmentwillbeneeded.
AnalysisforFagorDNC
SYMPTOM: Thecncdoesnotsaythattheprogramisreceived.ANALYSIS: Ingeneral,itisduetotheENDOFFILEorENDOFTRANSMISSIONASCIIcharacter thattheperipheralhastosendinthepartprogram.Withoutitthecncdoesnot know whentostopsendingtheprogram.SYMPTOM: Thesoftwaregivesanoreplywithintimelimit.ANALYSIS: Makesurethatyouareusingtherightcomportinthesoftware.ALTLchangesthecom port.Checktheparametersandmakesurethecablefollowsourspecifications.SYMPTOM: Inthepc,therearepartprogramsbuttheydonotappearonthescreen.ANALYSIS: Makesureyouareinthecorrectdirectory.Alsocheckifthefileshavethecorrect
extensions.Formills,thepartprogrammustendwitha*.pimextensionandforlathesmustendwitha*.pitextension.Theseextensionshelpthecncrecognizewhattypeofpartprogramyouhave.
SYMPTOM: Thereiscommunicationbetweentheperipheralandthecnc,butitisnotpossibletoloadapartprogramtofromtoperipheralintothecnc.
ANALYSIS: Checkthatthefirstcharacterofthepartprogramhasa%symbolnexttotheprogramnumberfollowedby,MX,.
SYMPTOM: Whileloadingalongpartprogramfromaperipheralintothecnc,thecncwillgiveasyntaxerrormessage.
ANALYSIS: Inordertoknowexactlywhatthelineis,itisrecommendedtocuttheprogramintotwosectionsandtransmiteachsectionseparately.Repeatthisprocessuntiltheerroris
found.SYMPTOM: Whentransmittingorreceivingalongprogram,(digitizing,tracingorinfiniteprogram execution),sometimesthecommunicationisinterruptedwithanerror.ANALYSIS: 1) Checktoseeifthedevicesaregroundedproperly.
2) Electricalnoiseinthecableoritisgreaterthan49ft.Trywithashortercableandmakesurethattheshieldisconnectedonthecncsideonly.
3) Trywithalowerbaudrate.Aboutthismatter,theRS232haslimitationsfromthelengthpointofview.
SerialPortCableConnectionCNCPCRS232PORT COM1orCOM2PORT
CNC9pin PCComputer25pin9pin
-
f:\msoffice\service\bible\rs232_50.doc 3