NPM PCL6113 User manual

User's Manual
For
PCL6113/6123/6143
Pulse Control LSI
Nippon Pulse Motor Co., Ltd.

- i -
•Explanation of the descriptions in this manual
1. The "x" "y" "z" and "u" of terminal names and bit names refer to the X axis, Y axis, Z axis and U axis,
respectively.
2. Terminals with a bar over the name (ex. ) are negative logic. Their logic cannot be changed. Terminals
without a bar over the name are positive logic. Their output logic can be changed.
3. When describing the bits in registers, "n" refers to the bit position. A "0" means that the bit is in position 0,
and that it is prohibited to write to any bit other than the "0" bit. Finally, this bit will always return a "0" when
read.
4. Unless otherwise indicated, figures related to timing (intervals) in this manual are based on a reference clock
of 19.6608 MHz.
Thank you for considering our pulse control LSI, the "PCL6100 series."
Before using the product, read this manual to become familiar with the product.
Please note that the section "Precautions for handling," which include details about installing this IC,
can be found at the end of this manual.
[Preface]
(1) Copying all or any part of this manual without written approval is prohibited.
(2) The specifications of this LSI may be changed to improve performance or quality without prior
notice.
(3) Although this manual was produced with the utmost care, if you find any points that are unclear,
wrong, or have inadequate descriptions, please let us know.
(4) We are not responsible for any results that occur from using this LSI, regardless of item (3)
above.
[Cautions]

- ii -
INDEX
1. Outline and Features................................................................................................................................. 1
1-1. Outline............................................................................................................................................... 1
1-2. Features ............................................................................................................................................ 1
2. Specifications ............................................................................................................................................ 4
3. Terminal Assignment Diagram .................................................................................................................. 5
3-1. PCL6113............................................................................................................................................ 5
3-2. PCL6123 ........................................................................................................................................... 5
3-3. PCL6143 ........................................................................................................................................... 6
4. Function of Terminals ................................................................................................................................ 7
5. Block Diagram ......................................................................................................................................... 14
6. CPU Interface.......................................................................................................................................... 15
6-1. Setting the CPU interface type........................................................................................................ 15
6-2. Hardware design precautions ......................................................................................................... 15
6-3. Examples of CPU interfaces ........................................................................................................... 16
6-4. Address map ................................................................................................................................... 18
6-4-1. Axis arrangement map ............................................................................................................. 18
6-4-2. Internal map of each axis ......................................................................................................... 18
6-5. Description of the map details......................................................................................................... 20
6-5-1. Write the command code and axis selection (COMB0, COMB1)............................................. 20
6-5-2. Write to an output port (OTPW, OTPB) .................................................................................... 21
6-5-3. Write/read the input/output buffer (BUFW, BUFB).................................................................... 21
6-5-4. Reading the main status (MSTSW, MSTSB)............................................................................ 22
6-5-5. Reading the sub status and input/output port (SSTSW, SSTSB, IOPB) .................................. 23
7. Commands (Operation and Control Commands) ................................................................................... 24
7-1. Operation commands...................................................................................................................... 24
7-1-1. Procedure for writing an operation command .......................................................................... 24
7-1-2. Start command ......................................................................................................................... 24
7-1-3. Speed change command.......................................................................................................... 25
7-1-4. Stop command.......................................................................................................................... 25
7-1-5. NOP (do nothing) command..................................................................................................... 25
7-2. General-purpose output bit control commands............................................................................... 26
7-3. Control command............................................................................................................................ 27
7-3-1. Software reset command.......................................................................................................... 27
7-3-2. Counter reset command ........................................................................................................... 27
7-3-3. ERC output control command .................................................................................................. 27
7-3-4. Pre-register control command .................................................................................................. 27
7-3-5. PCS input command................................................................................................................. 27
7-3-6. LTCH input (counter latch) command.......................................................................................27
7-4. Register control command .............................................................................................................. 28
7-4-1. Procedure for writing data to a register .................................................................................... 28
7-4-2. Procedure for reading data from a register .............................................................................. 28
7-4-3. Table of register control commands.......................................................................................... 29
7-5. General-purpose output port control command .............................................................................. 30
7-5-1. Command writing procedures................................................................................................... 30
7-5-2. Command bit allocation ............................................................................................................ 30

- iii -
8. Registers ................................................................................................................................................. 31
8-1. Table of registers............................................................................................................................. 31
8-2. Pre-registers ................................................................................................................................... 32
8-3. Description of the registers ............................................................................................................. 34
8-3-1. PRMV (RMV) registers............................................................................................................. 34
8-3-2. PRFL (RFL) registers ............................................................................................................... 34
8-3-3. PRFH (RFH) registers .............................................................................................................. 34
8-3-4. PRUR (RUR) registers ............................................................................................................ 34
8-3-5. PRDR (RDR) registers ............................................................................................................. 35
8-3-6. PRMG (RMG) registers ............................................................................................................ 35
8-3-7. PRDP (RDP) registers.............................................................................................................. 35
8-3-8. PRMD (RMD) registers ............................................................................................................ 36
8-3-9. PRIP (RIP) registers ................................................................................................................ 37
8-3-10. PRUS (RUS) registers ........................................................................................................... 37
8-3-11. PRDS (RDS) registers ........................................................................................................... 38
8-3-12. RENV1 register ..................................................................................................................... 38
8-3-13. RENV2 register .................................................................................................................... 40
8-3-14. RENV3 register ..................................................................................................................... 42
8-3-15. RCUN1 register ..................................................................................................................... 43
8-3-16. RCUN2 register ..................................................................................................................... 43
8-3-17. RCMP1 register...................................................................................................................... 43
8-3-18. RCMP2 register...................................................................................................................... 43
8-3-19. RIRQ register ......................................................................................................................... 44
8-3-20. RLTC1 register ...................................................................................................................... 44
8-3-21. RLTC2 register ...................................................................................................................... 44
8-3-22. RSTS register......................................................................................................................... 45
8-3-23. REST register ......................................................................................................................... 46
8-3-24. RIST register ......................................................................................................................... 46
8-3-25. RPLS register ......................................................................................................................... 47
8-3-26. RSPD register ........................................................................................................................ 47
8-3-27. RSDC register ........................................................................................................................ 47
9. Operation Mode ...................................................................................................................................... 48
9-1. Continuous operation mode using command control ..................................................................... 48
9-2. Positioning operation mode ............................................................................................................ 48
9-2-1. Positioning operation ............................................................................................................... 48
9-2-2. Timer operation ........................................................................................................................ 48
9-3. Pulsar (PA/PB) input mode ............................................................................................................. 49
9-3-1. Continuous operation using a pulsar input............................................................................... 51
9-3-2. Positioning operations using a pulsar input..............................................................................51
9-4. External switch operation mode...................................................................................................... 52
9-4-1. Continuous operation using an external switch........................................................................ 52
9-4-2. Positioning operation using an external switch ........................................................................ 53
9-5. Zero return operation mode ............................................................................................................ 54
9-5-1. Zero return operation 0............................................................................................................. 56
9-5-2. Zero return operation 1............................................................................................................. 57
9-6. Linear interpolation operation ......................................................................................................... 58
9-6-1. Outline of interpolation operation ............................................................................................. 58
9-6-2. Interpolation procedures........................................................................................................... 58
9-6-3. Operation during interpolation.................................................................................................. 59
10. Speed Patterns ..................................................................................................................................... 61
10-1. Speed patterns ............................................................................................................................ 61
10-2. Speed pattern settings ................................................................................................................ 62
10-3. Manual FH correction.................................................................................................................. 66
10-4. Example of setting up an acceleration/deceleration speed pattern ............................................ 70
10-5. Changing speed patterns while in operation............................................................................... 71

- iv -
11. Description of the Functions.................................................................................................................. 72
11-1. Reset............................................................................................................................................ 72
11-2. Position override .......................................................................................................................... 73
11-2-1. Target position override 1 .................................................................................................... 73
11-2-2. Target position override 2 (PCS signal) ............................................................................... 74
11-3. Output pulse control..................................................................................................................... 75
11-3-1. Output pulse mode .............................................................................................................. 75
11-3-2. Control the output pulse length and operation complete timing .......................................... 76
11-4. Mechanical external input control ................................................................................................ 77
11-4-1. +EL, -EL signal .................................................................................................................... 77
11-4-2. SD signal ............................................................................................................................. 77
11-4-3. ORG, EZ signals.................................................................................................................. 80
11-5. Servomotor I/F............................................................................................................................ 81
11-5-1. INP signal ............................................................................................................................ 81
11-5-2. ERC signal........................................................................................................................... 82
11-5-3. ALM signals ......................................................................................................................... 83
11-6. External start, simultaneous start ................................................................................................ 84
11-6-1. signal .........................................................................................................................84
11-6-2. PCS signal ........................................................................................................................... 85
11-7. External stop / simultaneous stop................................................................................................ 86
11-8. Emergency stop........................................................................................................................... 87
11-9. Counter ........................................................................................................................................ 89
11-9-1. Counter type and input method ...........................................................................................88
11-9-2. Counter reset ....................................................................................................................... 90
11-9-3. Stop the counter .................................................................................................................. 91
11-10. Comparator ................................................................................................................................ 92
11-10-1. Comparator types and functions........................................................................................ 93
11-10-2. Ring count function............................................................................................................ 93
11-11. Synchronous starting ................................................................................................................. 94
11-11-1. Start triggered by another axis stopping............................................................................ 94
11-11-2. Start on internal synchronous signal ................................................................................. 96
11-12. Output an interrupt signal .......................................................................................................... 98
12. Electrical Characteristics..................................................................................................................... 100
12-1. Absolute maximum ratings ........................................................................................................ 100
12-2. Recommended operating conditions......................................................................................... 100
12-3. DC characteristics ..................................................................................................................... 101
12-4. AC characteristics 1) (reference clock) ..................................................................................... 101
12-5. AC characteristics 2) (CPU I/F) ................................................................................................. 102
12-5-1. 16-bits I/F 1) (IF1 = L, IF0 =L) 68000..............................................................................102
12-5-2. 16-bits I/F 2) (IF1 = L,IF0 = H)H8....................................................................................103
12-5-3. 16-bits I/F 3) (IF1 = H, IF0 =L) 8086.................................................................................104
12-5-4. 8-bits I/F 4) (IF1 = H, IF0 = H) Z80.....................................................................................105
12-6. Operation timing (common for all axes) .................................................................................... 106
13. External Dimensions ........................................................................................................................... 110
13-1. PCL6113...................................................................................................................................... 110
13-2. PCL6123 ......................................................................................................................................111
13-3. PCL6143 ..................................................................................................................................... 112

- v -
Appendix: List of various items ................................................................................................................. 113
Appendix 1: List of commands............................................................................................................. 113
Appendix 2: Label list ........................................................................................................................... 115
Handling Precautions................................................................................................................................ 123
1. Design precautions .......................................................................................................................... 123
2. Precautions for transporting and storing LSIs.................................................................................. 123
3. Precautions for installation............................................................................................................... 123
4. Other precautions............................................................................................................................. 124

-1-
1.OutlineandFeatures
1-1.Outline
ThePCL6113,PCL6123,PCL6143areCMOSLSIsdesignedtoprovidetheoscillating,high-speedpulses
neededtodrivesteppermotorsandservomotors(pulsestringinputtypes).
Itcanoffervarioustypesofcontroloverthepulsestringsandthereforethemotorperformance.These
includecontinuousoperation,positioning,zeroreturnataconstantspeed,linearacceleration/deceleration,
andS-curveacceleration/deceleration.
Thenumberofcontrolaxesisasfollows:oneforthePCL6113,twoforthePCL6123,and4forthe
PCL6143.Theyofferlinearinterpolationofmultipleaxes(usingsingleormultiplePCLs),confirmationofa
PCL'soperationstatus,andinterruptoutputbyavarietyofconditions.Inaddition,theyareequippedwith
servomotordrivercontrolfeatures.
Thesefunctionscanbeusedwithsimplecommands.Theintelligentdesignphilosophyreducestheburden
ontheCPUunitstocontrolmotors.
1-2.Features
♦Singlevoltagepowersupply3.3V
ThesePCLscanbeoperatedfroma3.3V(±10%)singlevoltagepowersupply.
Theoutputsignallevelrangeis0to3.3V.Theinputsignallevelrangeis0to3.3V,or0to5V.
♦Superhigh-speedpulsetrainoutput
9.8Mppscanbeoutputwhenusinga19.6608MHz(standard)referenceclock,or15Mppswhenusinga
30MHz(maximum)referenceclock.
♦CPU-I/F
ThesePCLsallcontainintegralinterfacecircuitsforfourdifferentCPUtypes,andtheycanbeconnected
toawidevarietyofCPUs.
ExamplesofCPUtypes:Z80,8086,H8,or68000etc.
♦Acceleration/decelerationspeedcontrol
Linearacceleration/decelerationandS-curveacceleration/decelerationareavailable.
Linearacceleration/decelerationcanbeinsertedinthemiddleofanS-curveacceleration/deceleration
curve.(SpecifytheS-curverange.)
TheS-curverangecanspecifyeachaccelerationanddecelerationindependently.Therefore,youcan
createanacceleration/decelerationprofilethatconsistsoflinearaccelerationandS-curvedeceleration,or
viceversa.
♦Interpolation
ThesePCLscanperformlinearinterpolation(offeringsynchronizedoperation)ofanynumberofaxes.
♦Speedoverride
Insingleaxisoperation,thespeedcanbechangedduringoperationinanyoftheoperationmodes.
However,thespeedcannotbechangedduringlinearinterpolation.
♦Overridingtargetposition1)and2)
1)Thetargetposition(feedamount)canbechangedwhilefeedinginthepositioningmode.
Ifthecurrentpositionexceedsthenewlyenteredposition,themotorwilldecelerate,stop(immediate
stopwhenalreadyfeedingatalowspeed),andthenfeedinthereversedirection.
2)Startsoperationthesameasinthecontinuousmodeand,whenitreceivesanexternalsignal,itwill
stopafterthespecifiednumberofpulses.
♦Triangledriveelimination(FHcorrectionfunction)
Inthepositioningmode,whenthereareasmallnumberofoutputpulses,thisfunctionautomatically
lowersthemaximumspeedandeliminatestriangledriving.
♦Lookaheadfunction
Thenextsetofdata(feedamount,initialspeed,feedspeed,accelerationrate,decelerationrate,speed
magnificationrate,ramping-downpoint,operationmode,S-curverangeonanacceleration,S-curverange

-2-
onadeceleration)canbewrittenwhileexecutingthecurrentdata.
Whenthecurrentoperationiscomplete,thesystemwillimmediatelyexecutethenextoperation.
♦Avarietyofcountercircuits
Thefollowingfourcountersareavailableseparatelyforeachaxis.
Counter Useorpurpose CounterInput/Output
COUNTER1 28-bitcounterforcontrolofthecommandposition Outputspulses,EA/EB
input
COUNTER2 28-bitcounterformechanicalpositioncontrol Outputspulses,EA/EB
input
Bothofthemcanalsobelatchedbywritingacommand,orbyprovidinganLTC,orORGsignal.
ThePCLscanalsobesettoresetautomaticallysoonafterlatchingthesesignals.
♦Comparator
Thereare2comparatorcircuitsforeachaxis.Theycanbeusedtocomparetargetvaluesandinternal
countervalues.
Comparator1canbecomparedwithCOUNTER1andComparator2canbecomparedwithCOUNTER2.
♦Simultaneousstartfunction
MultipleaxescontrolledbythesameLSI,orcontrolledbymultiplesetsofthisLSI,canbestartedatthe
sametime.
♦Simultaneousstopfunction
MultipleaxescontrolledbythesameLSI,orcontrolledbymultiplesetsofthisLSI,canbestoppedatthe
sametimebyacommand,byanexternalsignal,orbyanerrorstoponanyaxis.
♦Manualpulsarinputfunction
Byapplyingmanualpulsesignals,youcanrotateamotordirectly.
Theinputsignalscanbe90˚ phase difference signals (1x, 2x, or 4x) or up and down signals.
WhenanELsignalofthefeeddirectionisinput,thePCLstopstheoutputofpulses.But,itcanfeedinthe
oppositedirectionwithoutanycommand.
♦Directinputofoperationswitch
Aninputterminalforoperationswitchisprovidedtodirectlydriveamotorwithanexternaloperation
switch.
Theseswitchesturnthemotorforward(+)andbackward(-).
Theresultsofaswitchpresscanbesettokeepfeedingpulseswhilepresseddown,ortofeedasingle,
specifiednumberofpulsesforeachpressoftheswitch.
♦Operationmode
ThebasicoperationsofthisLSIare:continuousoperation,positioning,zeroreturn,andlinear
interpolation.Bysettingtheoptionaloperationmodebits,youcanuseavarietyofoperations.
<Examplesoftheoperationmodes>
1)Start/stopbycommand.
2)Continuousoperationandpositioningoperationusingamanualpulsar.
3)Single-shotorcontinuousoperationusingthedriveswitch.
4)Zeroreturnoperation.
5)Positioningoperationusingcommands.
6)Hardwarestartofthepositioningoperationusinginput.
7)FeedforaspecifiedamountafterturningONthePCS.(Positionoverride(2))
♦Zeroreturnsequences
1)FeedsatlowspeedandstopswhentheORGsignalisturnedON
2)FeedsatlowspeedandstopswhenanEZsignalisreceived(aftertheORGsignalisturnedON).
3)Feedsathighspeed,decelerateswhentheSDsignalisturnedON,andstopswhentheORGsignal
isturnedON.
4)Feedsathighspeed,decelerates,andstopswhentheORGsignalisturnedON.
5)Feedsathighspeed,startsdecelerationwhentheORGsignalisturnedON.Then,itstopswhenan

-3-
EZsignalisreceived.
♦Mechanicalinputsignals
Thefollowingfoursignalscanbeinputforeachaxis.
1)+EL:WhenthissignalisturnedON,whilefeedinginthepositive(+)direction,movementonthisaxis
stopsimmediately(withdeceleration).WhenthissignalisON,nofurthermovementoccurson
theaxisinthepositive(+)direction.(Themotorcanberotatedinthenegative(-)direction.)
2)-EL:Functionsthesameasthe+ELsignalexceptthatitworksinthenegative(-)direction.
3)SD:Thissignalcanbeusedasadecelerationsignaloradecelerationstopsignal,accordingtothe
softwaresetting.Whenthisisusedasadecelerationsignal,andwhenthissignalisturnedON
duringahighspeedfeedoperation,themotoronthisaxiswilldeceleratetotheFLspeed.Ifthis
signalisONandmovementontheaxisisstarted,themotoronthisaxiswillrunattheFLlow
speed.Whenthissignalisusedasadecelerationstopsignal,andwhenthissignalisturnedON
duringahighspeedfeedoperation,themotoronthisaxiswilldeceleratetotheFLspeedand
thenstop.
4)ORG:Inputsignalforazeroreturnoperation.
Forsafety,makesurethe+ELand-ELsignalsstayonfromtheELpositionuntiltheendofeachstroke.
TheinputlogicforthesesignalscanbechangedusingtheELLterminal.
TheinputlogicoftheSDandORGsignalscanbechangedusingsoftware.
♦ServomotorI/F
Thefollowingthreesignalscanbeusedasaninterfaceforeachaxis.
1)INP:Inputpositioningcompletesignalthatisoutputbyaservomotordriver.
2)ERC:Outputdeflectioncounterclearsignaltoaservomotordriver.
3)ALM:Regardlessofthedirectionofoperation,whenthissignalisON,movementonthisaxisstops
immediately(decelerationstop).WhenthissignalisON,nomovementcanoccuronthisaxis.
WhilethePCLisoperatinginthetimermode,itcannotbestoppedusingtheALMinput.
EventhoughthePCLisstopped,itwilloutputanINT(interruptrequest)whenanALMsignalis
received.
TheinputlogicoftheINP,ERC,andALMsignalscanbechangedusingsoftware.
TheERCsignalisapulsedoutput.Thepulselengthcanbeset.(12µsecto104msec.Aleveloutputis
alsoavailable.)
♦Outputpulsespecifications
Outputpulsescanbesettoacommonpulse,2-pulsemodeor90ophasedifferencemode.Theoutputlogic
canalsobeselected.
♦Emergencystopsignal()input
WhenthissignalisturnedON,movementonallaxesstopsimmediately.WhilethissignalisON,no
movementisallowedoneitheraxes.
Thisinputcannotbedisabled.ThePCLwillstopwhenthissignalispresent,evenitisinthetimermode.
♦Interruptsignaloutput
Ansignal(interruptrequest)canbeoutputformanyreasons.
TheterminaloutputsignalcanuseORedlogicforlotsofconditionsoneachaxis.
(WhenmorethanoneLSIisused,wiredORconnectionsarenotpossible.)

--4
2.Specifications
Item Description
Numberofcontrolaxes PCL6113:One
PCL6123:Two(XandYaxes)
PCL6143:Four(X,Y, Z,andUaxes)
Referenceclock Standard:19.6608MHz(Max.30MHz)
Positioningcontrolrange -134,217,728to+134,217,727(28-bit)
Ramping-downpoint
settingrange 0to16,777,215(24-bit)
Numberofregistersused
forsettingspeeds Twoforeachaxis(FLandFH)
Speedsettingsteprange 1to16,383(14-bits)
Speedmultiplication
range
0.3xto600x(Belowareexampleswitha19.6608MHzreferenceclock.)
When0.3xisselected:0.3to4,914.9pps
When1xisselected:1to16,383pps
When600xisselected:600to9,829,800.pps
Theavailablepulsespeedrangevarieswiththereferenceclockspeed.
Whenthereferenceclockis30MHzandifmultiplicationrateis600x,the
maximumspeedwillbe15Mpps.
Acceleration/deceleration
characteristics
Selectableacceleration/decelerationpatternforbothincreasinganddecreasing
speedseparately,usingLinearandS-curveacceleration/deceleration.
Accelerationratesetting
range 1to16,383(14-bits)
Decelerationratesetting
range 1to16,383(14-bits)
Ramping-downpoint
automaticsetting
Theautomaticsettingisonlyavailablewhentheaccelerationanddeceleration
curvesaresymmetrical.
Feedspeedautomatic
correctionfunction
Automaticallylowersthefeedspeedforshortdistancepositioningmoves.
Manualoperationinput Manualpulsarinput,pushbuttonswitchinput
Counter COUNTER1:Positioncontrolcounter(28bits)
COUNTER2:Positioncontrolcounter(28bits)
Comparators 28-bitsx2circuits/axis
Interpolationfunctions Linearinterpolation:Any2to4axes
Operatingtemperature
range -40to+80oC
Powersupply Singlevoltagepowersupply:3.3V±10%
Package PCL6113:80-pinQFP
PCL6123:128-pinQFP
PCL6143:176-pinQFP

--5
3.TerminalAssignmentDiagram
3-1.PCL6113
3-2.PCL6123

--6
3-3.PCL6143
Note:Ontheactualproducts,amarksimilartoanindexingmark(Omark)maybeprintedontheLSIfor
productionreasons.Themodelnameandthepositionofthe1stterminalareasshownintheterminal
allocationdrawings.Yo ucanalsoidentifythe1stterminalbythepositionoftheOmark.

-7-
4.FunctionsofTerminals
Note1:Theletter"n"attheendofeachsignalnamestandsforanaxisname(x,y,z,oru).(Ex.:ELLnetc.)
Note2:Inthe"IN/OUT"column,"IN"indicatesaninputterminaland"OUT"indicatesanoutputterminal."I/O"
indicatesabi-directionalterminal.
Note3: Thelogiccolumnindicatesthesignallogic:PositiveorNegative."P"and"N"aredefaultinitialvalues
thatcanbechangedwithsoftware."H"isahardwaresetting.
Note4:The"Handling"columndescribeshowtodealwithterminalswhentheyarenotused.(Some
terminalsmustbecontrolled,evenwhentheyarebeingused.)
"OP"meansleaveopen(disconnected)."PU"meanspullup."PD"meanspulldown."+V"mustbe
connectedtoVDDorpulledup."GN"meansaconnectiontoGND.Thepullup/downresistance
valuesshouldbeintherangeof5kto10k-ohms.
TerminalNo.
Signalname PCL
6113
PCL
6123
PCL
6143
Input/
output Logic Treat
-ment Description
GND 10,
19,
29,
43,
55,
65,
70,80
11,20,
30,44,
56,66,
81,93,
103,114,
128
12,21,
31,45,
57,67,
83,93,
107,
119
129,
145
155,
162
176
Power
source
Supplyanegativepower.
Makesuretoconnectalloftheseterminals.
VDD 3,14,
24,
34,
50,
60,
68,73
3,15,
25,35,
51,61,
72,88,
98,112,
120
3,16,
26,36,
52,62,
76,88,
98,114,
124,
138,
150,
160,
164
Power
source
Supply+3.3VDCpower.
Theallowablepowersupplyrangeis+3.3
VDC±10%.
Makesuretoconnectalloftheseterminals.
79 127 175 Input Negative Inputresetsignal.
MakesuretosetthissignalLOWafterturning
ONthepowerandbeforestartingoperation.
Inputandholdinglowforatleast8
cyclesofthereferenceclock.
Fordetailsaboutthechip'sstatusaftera
reset,seesection11-1,"Reset",inthis
manual.
CLK 69 113 163 Input Asstandard,inputa19,6608MHzreference
clocksignal.
TheLSIcreatesoutputpulsesbasedonthe
clockinputonthisterminal.

-8-
TerminalNo.
Signalname PCL
6113
PCL
6123
PCL
6143
Input/
output Logic Treat
-ment Description
IF0
IF1
1
2
1
2
1
2
Input EntertheCPU-I/Fmode
4 4 4 Input Negative WhenthesignallevelonthisterminalisLOW,
theand terminalswillbevalid.
5
6
5
6
5
6
Input Negative ConnecttheI/FsignalstotheCPU.The
and terminalsarevalidwhen terminal
isLOW.
A0
A1
A2
A3
A4
7
8
9
7
8
9
10
7
8
9
10
11
Input Positive Addresscontrolsignals
FordetailsaboutterminalA0,seethesection
describingtheIF1andIF0terminals.
11 12 13 Output Negative OP OutputsaninterruptrequestsignaltoaCPU.
Thereisthreetypesofinterruptsignals:a
stopinterrupt,errorinterrupt,andanevent
interrupt.Theinterrupttypecanbe
determinedbyreadingthemainstatus.
Eachinterruptwillberesetbyreadingthe
mainstatus,REST(errorinterruptcause)
register,orRIST(eventinterruptcause)
register.
Thesignalcanbemasked.
12 13 14 Output Negative OP OutputsawaitrequestsignaltocauseaCPU
towait.
TheLSIneeds4referenceclockcyclesto
processeachcommand.
Ifyouwillnotbeusingthesignal,check
theIFBterminalsignallevelsothatyouwon't
trytoaccesstheLSIwhileitisprocessinga
command.
willonlybeLOWwhen and are
LOW.
13 14 15 Output Negative OP SignalusedtoindicatethattheLSIis
processingcommands.
Usethissignaltomakeconnectionswitha
CPUthatdoesnothaveawaitcontrolinput
terminal.
WhentheLSIreceivesawritecommandfrom
aCPU,thissignalwillgoLOW.WhentheLSI
finishesprocessing,thissignalwillgoHIGH.
TheLSImakessurethatthisterminalisHIGH
andthenproceedstothenextstep.

-9-
TerminalNo.
Signalname PCL
6113
PCL
6123
PCL
6143
Input/
output Logic Treat
-ment Description
D0toD3 15to
18
16to19 17to20
D4toD7 20to
23
21to24 22to25
Input/
Output
Positive Bi-directionaldatabus.
Whenconnectinga16-bitdatabus,connect
thelower8signallineshere.
D8toD11 25to
28
26to29 27to30
D12toD15 30to
33
31to34 32to35
Input/
Output
Positive PU
or
PD
Bi-directionaldatabus.
Whenconnectinga16-bitdatabus,connect
theupper8signallineshere.
WhenIF0andIF1areHIGH,pullthese
signalsdowntoGNDoruptoVDD.(Asingle
resistorcanbeusedbycombiningthelines.)
74 121 167 Input/
Output
Negative PU Thisisaninput/outputterminalfor
simultaneousdeceleration.
Whenperformingmultipleaxiscontrolusing
morethanonePCL,ifyouwanttodecelerate
thePCLsatthesametime,connectallofthe
terminalstoeachother.Whenusingthis
signal,apullupresistortoVDDisrequired.
Theterminalstatuscanbecheckedonthe
RSTSterminal(extensionstatus).
75 122 168 Input/
Output
Negative PU Thisisaninput/outputterminalfor
simultaneousstarts.
Whenperformingmultipleaxiscontrolusing
morethanonePCL,ifyouwanttostartthe
PCLsatthesametime,connectallofthe
terminalstoeachother.Whenusing
thissignal,apullupresistortoVDDis
required.
Theterminalstatuscanbecheckedonthe
RSTSterminal(extensionstatus).
76 123 169 Input/
Output
Negative PU Thisisaninput/outputterminalfor
simultaneousstops.
Whenperformingmultipleaxiscontrolusing
morethanonePCL,ifyouwanttostopthe
PCLsatthesametime,connectallofthe
terminalstoeachother.Whenusing
thissignal,apullupresistortoVDDis
required.
Theterminalstatuscanbecheckedonthe
RSTSterminal(extensionstatus).
77 124 170 Input Negative +V Inputforanemergencystop.
WhilethissignalisLOW,thePCLcannot
start.IfthissignalchangestoLOWwhilein
operation,allthemotorswillstopoperation
immediately.
Theterminalstatuscanbecheckedonthe
RSTSterminal(extensionstatus).

-10-
TerminalNo.
Signalname PCL
6113
PCL
6123
PCL
6143
Input/
output Logic Treat
-ment Description
ELL
(ELLn)
78 X:125
Y:126
X:171
Y:172
Z:173
U:174
Input Specifytheinputlogicforthe±ELsignal.
LOW:Theinputlogicon±ELispositive.
HIGH:Theinputlogicon±ELisnegative.
+EL
(+ELn)
35 X:36
Y:73
X:37
Y:68
Z:99
U:130
Input H +V Inputendlimitsignalinthepositive(+)
direction.
WhenthissignalisONwhilefeedinginthe
positive(+)direction,themotoronthataxis
willstopimmediatelyorwilldecelerateand
stop.
SpecifytheinputlogicusingtheELLterminal.
Theterminalstatuscanbecheckedusingan
SSTSWcommandsignal(substatus).
-EL
(-ELn)
36 X:37
Y:74
X:38
Y:69
Z:100
U:131
Input H +V Inputendlimitsignalinthenegative(-)
direction.
WhenthissignalisONwhilefeedingin
negative(-)direction,themotoronthataxis
willstopimmediately,orwilldecelerateand
stop.
SpecifytheinputlogicusingtheELLterminal.
Theterminalstatuscanbecheckedusingan
SSTSWcommandsignal(substatus).
SD
(SDn)
37 X:38
Y:75
X:39
Y:70
Z:101
U:132
Input N +V Inputdecelerationsignal.
Selectstheinputmethod:LEVELor
LATCHEDinputs.
Theinputlogiccanbeselectedusing
software.Theterminalstatuscanbechecked
usinganSSTSWcommandsignal(sub
status).
ORG
(ORGn)
38 X:39
Y:76
X:40
Y:71
Z:102
U:133
Input N +V Inputzeropositionsignal.
Usedforzeroreturnandotheroperations.
(Edgedetection.)
Theinputlogiccanbeselectedusing
software.Theterminalstatuscanbechecked
usinganSSTSWcommandsignal(sub
status).
ALM
(ALMn)
39 X:40
Y:77
X:41
Y:72
Z:103
U:134
Input N +V Inputalarmsignal.
WhenthissignalisON,themotoronthataxis
stopsimmediately,orwilldecelerateandstop.
Theinputlogiccanbeselectedusing
software.
Theterminalstatuscanbecheckedusingan
SSTSWcommandsignal(substatus).
PCS
(PCSn)
40 X:41
Y:78
X:42
Y:73
Z:104
U:135
Input N GN ThePCLwillstartpositioningwhenthissignal
changes.(Targetpositionoverride2)
Theinputlogiccanbechangedusing
software.
Theterminalstatuscanbecheckedusingan
RSTScommandsignal.

-11-
TerminalNo.
Signalname PCL
6113
PCL
6123
PCL
6143
Input/
output Logic Treat
-ment Description
INP
(INPn)
41 X:42
Y:79
X:43
Y:74
Z:105
U:136
Input N GN Inputthepositioncompletesignalfromservo
driver.(in-positionsignal)
Theinputlogiccanbechangedusing
software.
Theterminalstatuscanbecheckedusingan
RSTScommandsignal.
LTC
(LTCn)
42 X:43
Y:80
X:44
Y:75
Z:106
U:137
Input N GN LatchcountervalueofCOUNTER1,
COUNTER2.
Theinputlogiccanbechangedusing
software.
Theterminalstatuscanbecheckedusingan
RSTScommandsignal.
EA
(EAn)
44 X:45
Y:82
X:46
Y:77
Z:108
U:139
EB
(EBn)
45 X:46
Y:83
X:47
Y:78
Z:109
U:140
Input GN Inputthissignalwhenyouwanttocontrolthe
positionusingtheencodersignal. Inputa90˚
phasedifferencesignal(1x,2x,4x)orinput
positive(+)pulsesonEAandnegative(-)
pulsesonEB.
Wheninputting90˚ phase difference signals,
iftheEAsignalphaseisaheadoftheEB
signal,theLSIwillcountpulses.
Thecountingdirectioncanbechangedusing
software.
EZ
(EZn)
46 X:47
Y:84
X:48
Y:79
Z:110
U:141
Input N GN Inputamarkersignal(thissignalisoutput
onceforeachturnoftheencoder)whenusing
themarkersignalinzeroreturnmode.
UseoftheEZsignalimproveszeroreturn
precision.
Theinputlogiccanbechangedusing
software.Theterminalstatuscanbechecked
usinganRSTScommandsignal(extension
status).
PA
(PAn)
+DR
(+DRn)
47 X:48
Y:85
X:49
Y:80
Z:111
U:142
PB
(PBn)
-DR
(-DRn)
48 X:49
Y:86
X:50
Y:81
Z:112
U:143
Input GN Thisisacommoninputusedtotriggereither
anexternalpulse(PA,PB),suchasamanual
pulsar,oranexternalswitch(+DR,-DR).
Theuseofthisinputwillvarywiththe
operationmodesetting.
Wheninputtingexternalpulses,youcaninput
90ophasedifferencesignals(1x,2x,4x)or
positive(+)pulses(onPA)andnegative(-)
pulses(onPB).
Therelationbetweentheinputandfeed
directioncanbechangedusingsoftware.
49 X:50
Y:87
X:51
Y:82
Z:113
U:144
Input Negative GN SettingtheseterminalsLOWenablesPA/PB.
Byinputtinganaxischangeswitchsignal,one
manualpulsarcanbeusedalternatelyforfour
axes.

-12-
TerminalNo.
Signalname PCL
6113
PCL
6123
PCL
6143
Input/
output Logic Treat
-ment Description
P0/FUP
(P0n/FUPn)
51 X:52
Y:89
X:53
Y:84
Z:115
U:146
Input/
Output
PD CommonterminalforgeneralpurposeI/Oand
FUP.
Whenthisterminalisusedasageneral-
purposeI/O,youcansetitforinputoroutput.
WhenusedasanFUPterminal,itwilloutput
asignalwhileaccelerating.
TheFUPoutputlogiccanbesetusing
software.
P1/FDW
(P1n/FDWn)
52 X:53
Y:90
X:54
Y:85
Z:116
U:147
Input/
Output
PD CommonterminalforgeneralpurposeI/Oand
FDW.
Whenthisterminalisusedasageneral-
purposeI/O,youcansetitforinputoroutput.
WhenusedasanFDWterminal,itwilloutput
asignalwhiledecelerating.
TheFDWoutputlogiccanbesetusing
software.
P2/MVC
(P2n/MVCn)
53 X:54
Y:91
X:55
Y:86
Z:117
U:148
Input/
Output
PD CommonterminalforgeneralpurposeI/Oand
MVC.
Whenthisterminalisusedasageneral-
purposeI/O,youcansetitforinputoroutput.
WhenusedasanMVCterminal,itwilloutput
asignalduringoperationataconstantspeed.
TheMVCoutputlogiccanbesetusing
software.
P3/CP1
(P3n/CP1n)
54 X:55
Y:92
X:56
Y:87
Z:118
U:149
Input/
Output
PD CommonterminalforgeneralpurposeI/Oand
CP1.
Whenthisterminalisusedasageneral-
purposeI/O,youcansetitforinputoroutput.
WhenusedasaCP1terminal,itwilloutputa
signalwhileestablishingtheComparator1
condition.
TheCP1outputlogiccanbesetusing
software.
P4/CP2
(P4n/CP2n)
56 X:57
Y:94
X:58
Y:89
Z:120
U:151
Input/
Output
PD CommonterminalforgeneralpurposeI/Oand
CP2.Note5
Whenthisterminalisusedasageneral-
purposeI/O,youcansetitforinputoroutput.
WhenusedasCP2terminal,itwilloutputa
signalwhileestablishingtheComparator2
condition.
TheCP1outputlogiccanbesetusing
software.
P5
(P5n)
57 X:58
Y:95
X:59
Y:90
Z:121
U:152
Input/
Output
PD Thisisageneral-purposeterminal.
Setitforuseasaninputoroutputterminal
usingsoftware.
P6
(P6n)
58 X:59
Y:96
X:60
Y:91
Z:122
U:153
Input/
Output
PD Thisisageneral-purposeterminal.
Setitforuseasinputoroutputterminalusing
software.

-13-
TerminalNo.
Signalname PCL
6113
PCL
6123
PCL
6143
Input/
output Logic Treat
-ment Description
P7
(P7n)
59 X:60
Y:97
X:61
Y:92
Z:123
U:154
Input/
Output
PD Thisisageneral-purposeterminal.
Setitforuseasinputoroutputterminalusing
software.
OUT
(OUTn)
61 X:62
Y:99
X:63
Y:94
Z:125
U:156
Output N OP
DIR
(DIRn)
62 X:63
Y:100
X:64
Y:95
Z:126
U:157
Outputscommandpulsesforcontrollinga
motor.
Theoutputspecificationsaredeterminedby
selectingthecommonpulsemode,2-pulse
mode,or90˚ phase difference mode.
Settheoutputmodeusingsoftware.
ERC
(ERCn)
63 X:64
Y:101
X:65
Y:96
Z:127
U:158
Output N OP Outputsadeflectioncounterclearsignaltoa
servodriver.
Theoutputlogicandpulsewidthcanbe
changedusingsoftware.Theterminalstatus
canbecheckedusinganRSTScommand
signal.
64 X:65
Y:102
X:66
Y:97
Z:128
U:159
Output Negative OP OutputsaLOWsignalduringoperation.
X:67
Y:104
Output Negative OP ThissignalisLOWduringacceleration.
X:68
Y:105
Output Negative OP ThissignalisLOWduringdeceleration.
X:69
Y:106
Output Negative OP ThissignalisLOWduringconstantspeed
operation.
X:70
Y:107
Output Negative OP ThissignalisLOWwhileestablishingthe
Comparator1conditions.
X:71
Y:108
Output Negative OP ThissignalisLOWwhileestablishingthe
Comparator2conditions.
(OPEN) 109,110,
111
Output OP OutputterminalforcheckingthePCLwhen
delivered.Donotmakeanyconnectionsto
thisterminal.
(GND) 66,
67,
71,
72
115,
116,
117,
118,
119
161,
165,
166
Input GN ThissignalisLOWduringdeceleration.

-14-
5.BlockDiagram
This manual suits for next models
2
Table of contents
Other NPM Microcontroller manuals