AC800 PEC口通讯配置.docx
《AC800 PEC口通讯配置.docx》由会员分享,可在线阅读,更多相关《AC800 PEC口通讯配置.docx(31页珍藏版)》请在冰豆网上搜索。
![AC800 PEC口通讯配置.docx](https://file1.bdocx.com/fileroot1/2022-11/25/c9256bdb-1f2d-4b04-8701-e1fae4ece47d/c9256bdb-1f2d-4b04-8701-e1fae4ece47d1.gif)
AC800PEC口通讯配置
PECOpticalLink
411
DESIGNDESCRIPTION
CONTENT
1.General4
2.Overallsystemdescription4
2.1PECtoPECPowerLinks4
2.2PECtoPDAPowerLink5
3.DefinitionsandAbbreviations6
4.Process6
5.Generalstructureofthesystem6
5.1OpticalLinkHW-ModuleAssignment6
5.2SpecialControlandStatusWordsforPECLinkSupervision8
5.2.1FaultEnableRegister(Write)8
5.2.2FaultControlRegister–ResetFaults(Write)9
5.2.3OpticalModuleConfigurationRegister–GOF4to8(Write)10
5.2.4PECFaultStatusRegister–PowerLinkFaults(Read)10
5.2.5Opticallinkwatchdog–OptLinkWatchdog(F,M,S)(Read)11
5.2.6Softwarerevision–SWRevision(Read)11
6.Systemfunctions11
6.1AC800PECLEDs11
6.2PecToPecandPecToPDAAlarmHandling12
7.Descriptionofdatastructuresandthedataadministrationsystem13
7.1Step-by-stepInstallationProcedure13
7.1.1ControlBuilderCITProject13
7.1.2LoadingofnecessaryFlashFilesontoAC800PEC14
7.1.3PECOptLinkControlBuilderexampleandtestapplication15
8.Systeminterface19
8.1PtPInteractionWindow19
8.2PtPdaInteractionWindow19
8.3OverridingCommunicationWindow21
8.4InterfaceConnectionHandling21
9.Auxiliaryinformation22
10.Systemconstraintsandsparecapacity22
11.Timing/performanceconsiderations23
11.1PecToPDACommunicationLoad23
11.1.1SimulinkFastTask(1ms)–InterruptB23
11.1.2ControlBuilderCriticalTask(2ms)–FAST23
11.2PecToPec1…8Communicationload24
11.2.1SimulinkFastTask(1ms)–InterruptB24
11.2.2SimulinkMediumTask(10ms)–OptLnkMed24
11.2.3SimulinkSlowTask(50ms)–tSingleRate25
11.3SummaryonexpectedPECload25
12.Availability25
13.Maintenanceanddiagnosticfeatures25
14.Training26
15.Existingsystems26
16.Environmentaspects26
17.Safetyrequirements26
18.Requirementsforergonomicdesign26
19.Noisespecification26
20.Feasibilitystudies26
21.Dataandinformationexchange26
22.ProjectRulesandGuidelines26
23.Relateddocumentation26
23.1AC800PECFlashFileupdatesforopticalPec/PDAlinks26
23.1.1FilesrequiredtooperatePecToPecandPecToPDALinkfromCITLevel26
23.1.2Flashfilestransferred,exchangedormodified26
23.1.3HardwaredefinitionfiletobeinsertedintoCITproject27
23.1.4Otherfiles27
23.2Projectdocumentation28
23.3PublishedLiterature28
23.4ScopeofSupply28
23.5TestSpecification28
24.Otherrequirements28
General
ThisdocumentismeanttosummarizethemainspecificationandfeaturesofopticalPEClinkforPectoPecandPectoPDAcommunication.
ThepresentdocumentationisupdatedandrelatedtotheOpcodeToolboxRelease411.
Overallsystemdescription
1.1PECtoPECPowerLinks
Functionality:
∙Upto8point-to-pointopticallinks
∙Links4,5,6,7and8canberunoptionalviaplasticorglasfaser
∙1.28mslinkandupdatecycletimeonFPGAlevel
∙128*32bitdataperlink(sendandreceive)
∙10Mbit/stransmissionspeed
∙adjustablelinksupervision
OperationoftheopticallinksfromPectoPecisscalablewithrespecttothecyclicupdaterate,withrespecttotheamountofsignalsthataretransferred(send/receive)inordertokeeptheadditionalPECloadcausedbythecommunicationtoaminimum.
Attention:
ActivatingthedifferentPECtoPEClinksand/ordatamodulesresultsinadditionalPECload!
PECtoPECLink1to8
Tsample
ControlIT
Tsample
Simulink
Basis
F/M/S1
Option1
F/M/S2
Option2
F/M/S3
Option3
F/M/S4
total
fix
dint
real
dint
real
dint
real
dint
real
2ms
1ms(F)
1
2
1
2
1
2
1
2
12
20ms
10ms(M)
1
6
1
6
1
6
1
6
28
100ms
50ms(S)
4
17
4
17
4
17
4
17
84
6
25
6
25
6
25
6
25
124
Table1:
PECtoPECsignalstransferredinbothdirections.
AspecialControlWord“PtPLogicCh1…Ch8.ControlWordSnd/Rec”foreachlinkisusedtoactivatethedifferentPECLinks1to8andthedata-moduleoptionsforthedifferenttasklevelsF:
Fast,M:
MediumandS:
Slow,thatshouldbeused.AcorrespondingStatusWord“PtPLogicCh1…Ch8.StatusWordSnd/Rec”informstheuseraboutwhatdata-modulesarecurrentlyactivated.
Figure1:
FunctionBlockforactivating1PECtoPECLink
Example:
∙IfPtPLogic.ImplSndF1issettotrue1DINTand2REALvaluescanbesend
∙IfPtPLogic.ImplRecF1issettotrue1DINTand2REALvaluescanbereceived
∙IfPtPLogic.ImplSndM1issettotrue1DINTand6REALvaluescanbesend
∙IfPtPLogic.ImplSndM1issettotrue1DINTand6REALvaluescanbereceived
Maximumsendorreceivecapacityperlink:
∙24DINT
∙100REAL
1.2PECtoPDAPowerLink
Functionality:
∙onePDAtransmitter(onlysendnoreceive)
∙1mslinkupdate/cycletime
∙256*32Bit(real)data
∙256digitaldata
∙32Mbit/stransmissionspeedviaglasfaserlink
ThedatatransmissiontoPDAisalsoscalablein8datamodulegroupsof32bitsand32realwordseach.ThusonlythenecessarytransmissionmodulesneedtobeactivatedinordertokeepPECloadfordataexchangetoaminimum.AllPectoPDAdatamodulesarehandledintheFastSimulinkTaskwith1mscycletime.
Attention:
ActivatingthedifferentPECtoPDAdatamodulesresultsinadditionalPECload!
PectoPDADataModules1to8
Tsample
Simulink
Basis
Option
1…7;each:
total
dint
real
dint
real
1ms(F)
1
32
1
32
4/128
4/128
Table2:
SignalstransferredtoibaPDA.
AspecialControlWord“PtPdaLogic.ControlWord”isusedtoactivatethedifferentDataModules1…8thatshouldbeused.AcorrespondingStatusWord“PtPdaLogic.StatusWord”informstheuseraboutwhatdata-modulesarecurrentlyactivated.
Figure2:
FunctionBlockforactivatingPECtoPDALink
Example:
∙IfPtPdaLogic.ImplPtPDA1issettotrue1DINTand32REALvaluescanbesend
∙IfPtPdaLogic.ImplPtPDA2issettotrue1DINTand32REALvaluescanbesend
Maximumcapacity:
∙4DINT(eachwith32Bit)
∙128REAL
DefinitionsandAbbreviations
N.A.
Process
N.A.
Generalstructureofthesystem
1.3OpticalLinkHW-ModuleAssignment
Figure3:
AC800PECFrontPlate
OpticalModule
Position
Type
Power
Usage
1
101
Rx
NA
PEC–PECPowerLinkreceiver1
102
Tx
High
PEC–PECPowerLinktransmitter1
103
Rx
NA
PEC–PECPowerLinkreceiver2
104
Tx
High
PEC–PECPowerLinktransmitter2
105
Rx
NA
PEC–PECPowerLinkreceiver3
106
Tx
High
PEC–PECPowerLinktransmitter3
107
Rx
NA
CombiIOPowerLinkreceiver1
108
Tx
High
CombiIOPowerLinktransmitter1
109
Rx
NA
CombiIOPowerLinkreceiver2
110
Tx
High
CombiIOPowerLinktransmitter2
111
Rx
NA
S800/DriveModulebusreceiver
112
Tx
High
S800/DriveModulebustransmitter
Table3:
LOWEROM1(Opticalmodule1Assignment)
OpticalModule
Position
Type
Power
Usage
21
101
Rx
NA
PEC–PECPowerLinkreceiver4
102
Tx
High
PEC–PECPowerLinktransmitter4
103
Rx
NA
PEC–PECPowerLinkreceiver5
104
Tx
High
PEC–PECPowerLinktransmitter5
105
Rx
NA
PEC–PECPowerLinkreceiver6
106
Tx
High
PEC–PECPowerLinktransmitter6
107
Rx
NA
PEC–PECPowerLinkreceiver7
108
Tx
High
PEC–PECPowerLinktransmitter7
109
Rx
NA
PEC–PECPowerLinkreceiver8
110
Tx
High
PEC–PECPowerLinktransmitter8
111
Rx
NA
PEC–ibaPDALinkreceiver(notused)
112
Tx
High
PEC–ibaPDALinktransmitter
Table4:
MIDDLEOM2(Opticalmodule2Assignment)
OpticalModuleOM2canbeaGOF(glaslinkmodule)orPOF(plasticlinkmodule).
IncaseofusingPECtoPDACommunicationtheOpticalModuleOM2hastobeGOF(glaslinkmodule).
OpticalModule
Position
Type
Power
Usage
31
101
Rx
NA
PEC–PECPowerLinkreceiver4
102
Tx
High
PEC–PECPowerLinktransmitter4
103
Rx
NA
PEC–PECPowerLinkreceiver5
104
Tx
High
PEC–PECPowerLinktransmitter5
105
Rx
NA
PEC–PECPowerLinkreceiver6
106
Tx
High
PEC–PECPowerLinktransmitter6
107
Rx
NA
PEC–PECPowerLinkreceiver7
108
Tx
High
PEC–PECPowerLinktransmitter7
109
Rx
NA
PEC–PECPowerLinkreceiver8
110
Tx
High
PEC–PECPowerLinktransmitter8
111
Rx
NA
Notused
112
Tx
High
Notused
Table5:
UPPEROM3(Opticalmodule3Assignment)
1PECtoPECPowerLink4to8canberoutedtoopticalmoduleOM2(GOF/POF)oropticalmoduleOM3(POF).
1.4SpecialControlandStatusWordsforPECLinkSupervision
InordertooperateandsupervisethePECLinkstherearecertainregistersthathavetobesetcorrectlyonFPGAlevel.
AllregisterscanbesetorreadfromControlBuilderCITLevel(e.g.via“PtPInteractionWindow”,GUI).
1.4.1FaultEnableRegister(Write)
FaultsareonlysupervisedandmonitoredforPecToPeccommunication,notforPectoPDAlink.Settingthecorrectbits8…15intheFaultEnableRegisterallowstoactivatethefaultmonitoringforthecorrespondinglink.
AspecialControlWord“PecOptLink.FaultEnable”isusedtoactivatethedifferentRegisters.
ActivatingaPecToPecLinkModuleviathefollowing“PtPInteractionWindow”resultsinautomaticactivationofthecorrespondingFaultEnableofthisPecToPecLink.
Figure4:
PtPInteractionWindow
1.4.2FaultControlRegister–ResetFaults(Write)
OncealinkfaultwasmonitoredwritingtheFaultControlRegisterallowstheresettingofthatfault.Bit0=1referstotheresettingofaPecToPecfaultthatmighthaveoccurred.
AspecialControlWord“PecOptLink.ResetFaults”isusedtoresetfaults.
APecToPecLinkFaultisvisualizedinthecorresponding“PtPInteractionWindow”andcanbeResetviathe“ResetFault”Button.
Figure5:
PecToPecLink7InteractionWindow
1.4.3OpticalModuleCo