LigoCAD.docx
《LigoCAD.docx》由会员分享,可在线阅读,更多相关《LigoCAD.docx(24页珍藏版)》请在冰豆网上搜索。
LigoCAD
目录
ArithmeticModules5
ABS5
BEW5
DIV5
MINMAX6
MUL6
NMITTE6
POLYN7
SBW7
SUM8
TMITTE8
DataConversion8
CBF9
CFB9
CBS9
CSB9
CDS9
CSD9
CDF9
CFD9
CCSF9
CCFS9
CCIF9
CCFI9
CXW9
CWX9
ENCS9
DECS9
EdgeModules9
CHG10
EDGE10
LogicModules10
AND10
OR10
PAR10
XOR10
MODNET_1D10
M1DRCM11
M1DSDM12
M1DRCS12
M1DSDS12
Switches12
DEMUX12
MUX13
UMS13
SwitchingControllers13
DREIP13
SetpointPresettingModules14
FUNC14
OPTI14
SIO14
SIV1,SIV2,SIV314
SVS14
TOT14
VZ114
VZ1PAR15
WURZ15
SpecialModules15
CADDR15
CADDR_M,S,I,F16
CHECKCC16
EVENT16
MONMonitor(general)16
MON_M,S,I,F16
TIMEGET16
TIMEOFF16
TIMEREAD16
TIMESET16
TIMEUMS16
MemoryModules16
JKFF16
MEMR17
MEMS17
TOGG17
StandardControllers17
DIFF17
DIFPAR17
INT17
INTPAR17
PI17
PIPAR17
PID17
PIDPAR17
TriggerModules17
GRENZ17
TRIGG17
Sub-ProgramModules18
UP18
UPA18
UPSubProgramsWithC-Code18
DREHMO18
SIVT1N,SIVT2N,SIVT3N18
UPASystemnearDrivers18
EVENT_18
ManagementModules18
VFUNC19
VCOPN19
CounterModules19
CCUCNT19
HWCNT19
VRCNT19
TimeModules19
TFLOP19
TOFFD19
TOND19
zCompatible19
B4,B8,B16,B32,FV_STAT19
PLATSCH19
REC_B4,FVAL19
SEND_B4,B8,B16,B32,FV,FVN19
LWX_LO,LWX_HI19
LXW_SH,LXW_LO,LXW_HI19
RD_M,S,FundWR_M,S,F20
REC_M0,REC_M120
REC_S0,REC_S120
SEND_M0,SEND_M120
SEND_S0,SEND_S120
TCPARA0,TCPARA120
TCPARF0,TCPARF120
TCWUX0,TCWUX120
ArithmeticModules
Thefamilyofarithmeticmodulescontainsallthemodulesusedforcalculationsinvolvingprocessparametersandvalues.Thesemodulesareindetail:
ABSAbsolutValueFormation
Themodulecalculatestheabsolutevalueoftheinputvalue.
IfnosignalisconnectedinLogiCAD,M0001isusedasthedefaultvalueforthemoduleenableinputEn.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
ThemoduleenableinputEnisofthe"Bool"type,pollingfactorandphaseareofthe"Long"type,inputandoutputareofthe"Float"type.计算绝对值
BEWRatingModule
Thismodulemultipliestwoinputsbyeachotherandlimitstheresult.Itisafastvariantofthenormalmultiplier.Itshouldbeusedwheneverexactly2valuesaretobemultipliedbyeachother.TheerroroutputErrissetwhenthelimitationfunctionistriggered.
IfnosignalsareconnectedinLogiCAD,thedefaultvaluesusedforthelimitvaluesareU=#1.2andLL=-1.2,aswellasM0001forthemoduleenableinputEnandXMfortheerroroutputErr.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
ThemoduleenableinputEnandtheerroroutputErrareofthe"Bool",pollingfactorandphaseareofthe"Long",alltheothervaluesareofthe"Float"type.
DIVDivider
Thismoduledividestheleftinput(dividend)bythelowerinput(divisor),limitstheresultsandcheckswhetheradivisionbyzeroiscarriedout.Intheeventofadivisionbyzero,theoutputissetatthevalueoftheupperlimit(UL).TheerroroutputErrissetwhenthelimitationfunctionistriggered.
IfnosignalsareconnectedinLogiCAD,thedefaultvaluesusedforthelimitvaluesareUL=?
1.2andLL?
?
-1.2,aswellasM0001forthemoduleenableinputEnandXMfortheerroroutputErr.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
ThemoduleenableinputEnandtheerroroutputErrareofthe"Bool",pollingfactorandphaseareofthe"Long",alltheothervaluesareofthe"Float"type.
MINMAXMinimum-Maximumdetector
Themoduledeterminestheminimumandmaximumofupto22inputsandswitchesthemthroughtotheappropriateoutput.Thenumberofinputsisdefinedbytheuser(refertotheLogiCADmenu:
Module:
Add/deleteconnection).
IfnosignalisconnectedinLogiCAD,M0001isusedasthedefaultvalueforthemoduleenableinputEn.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
ThemoduleenableinputEnisofthe"Bool"type,pollingfactorandphaseareofthe"Long",alltheothervaluesareofthe"Float"type.
MULMultiplier
Thismodulemultipliesupto22inputsandlimitstheresult.Thenumberofmultiplicationoperationsisdefinedbytheuser(refertotheLogiCADmenu:
Module:
Add/deleteconnection).
Thecompletecalculationiscarriedoutfirst,followedbylimitation.Thismeansthatintermediateresultsmaybegreaterthandefinedinthelimitvalues.TheerroroutputErrissetwhenthelimitationfunctionistriggered.
IfnosignalsareconnectedinLogiCAD,thedefaultvaluesusedforthelimitvaluesareUL=?
1.2andLL?
?
-1.2,aswellasM0001forthemoduleenableinputEnandXMfortheerroroutputErr.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
ThemoduleenableinputEnandtheerroroutputErrareofthe"Bool",pollingfactorandphaseareofthe"Long",alltheothervaluesareofthe"Float"type.
NMITTEMeanValueforn–inputs
Themodulecalculatesthearithmeticmeanvalueofupto22inputs.Thenumberofinputsisdefinedbytheuser(refertotheLogiCADmenu:
Module:
Add/deleteconnection).
IfnosignalisconnectedinLogiCAD,M0001isusedasthedefaultvalueforthemoduleenableinputEn.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
ThemoduleenableinputEnisofthe"Bool",pollingfactorandphaseareofthe"Long",alltheothervaluesareofthe"Float"type.
POLYNPolynomialcalculation
Themodulecalculatesapowerseriesofthefollowingform:
y=a0+a1*x+a2*x2+a3*x3+...+an*xn
Amaximumnumberof22coefficientsa0..a21canbedefined(refertotheLogiCADmenu:
Module:
Add/deleteconnection).Theresultofthecalculationislimitedtoauser-definedupperandlowerlimit.
Thecompletecalculationiscarriedoutfirst,followedbylimitation.Thismeansthatintermediateresultsmaybegreaterthandefinedinthelimitvalues.TheerroroutputErrissetwhenthelimitationfunctionistriggered.
IfnosignalsareconnectedinLogiCAD,thedefaultvaluesusedforthelimitvaluesareUL=?
1.2andLL?
?
-1.2,aswellasM0001forthemoduleenableinputEnandXMfortheerroroutputErr.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
ThemoduleenableinputEnandtheerroroutputErrareofthe"Bool",pollingfactorandphaseareofthe"Long",alltheothervaluesareofthe"Float"type.
SBWSumPointwithRating
Themoduleaddsupto5inputsandsubtractsupto5inputsandlimitstheresult.Incontrasttothenormalsumpoint,however,eachinputisinthiscasemultipliedbyitsownratingfactorbeforeadditionorsubtractiontakesplace.Themodulethuscorrespondstothesummationamplifiercustomaryinconventionalanalogsystems.Thenumberofadditionandsubtractioninputscanbedefinedbytheuser(refertotheLogiCADmenu:
Module:
Add/deleteconnection).Withthismodule,2inputsmustbeaddedordeletedineachcase.
Thecompletecalculationiscarriedoutfirst,followedbylimitation.Thismeansthatintermediateresultsmaybegreaterthandefinedinthelimitvalues.TheerroroutputErrissetwhenthelimitationfunctionistriggered.
IfnosignalsareconnectedinLogiCAD,thedefaultvaluesusedforthelimitvaluesareUL=?
1.2andLL?
?
-1.2,aswellasM0001forthemoduleenableinputEnXMfortheerroroutputErr.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
Note:
Ifverylargeandverysmallvaluesareaddedandsubtracted,theresultmaybeinaccurate.
ThemoduleenableinputEnandtheerroroutputErrareofthe"Bool",pollingfactorandphaseareofthe"Long",alltheothervaluesareofthe"Float"type.
SUMSumPoint
Themoduleaddsupto13inputsandsubtractsupto13inputsandlimitstheresult.Thenumberofadditionandsubtractioninputscanbedefinedbytheuser(refertotheLogiCADmenu:
Module:
Add/deleteconnection).
Thecompletecalculationiscarriedoutfirst,followedbylimitation.Thismeansthatintermediateresultsmaybegreaterthandefinedinthelimitvalues.TheerroroutputErrissetwhenthelimitationfunctionistriggered.
IfnosignalsareconnectedinLogiCAD,thedefaultvaluesusedforthelimitvaluesareUL=?
1.2andLL?
?
-1.2,aswellasM0001forthemoduleenableinputEnandXMfortheerroroutputErr.Inordertochangethepollingfactor,aconstantasanabortsignalcanbeconnectedtotheupperleftcornerofthemoduleortotheupperrightcornerofthemodule,respectively,inordertovarythephase.
Note:
Ifverylargeandverysmallvaluesareaddedandsubtracted,theresultmaybe