
CalAmp
WirelessNetworksTechnicalSupport|Tel507.833.8819|Email[email protected] Page4of102.2. ABCOMPACTLOGIX/CONTROLLOGIXSERIESPLCSETHERNET/IPCONNECTIONTIMEOUT
(SETTINGTIMEOUT TOSHORTCANCAUSEPROBLEMS!)
WhenusingtheEthernet/IPwithAllen‐BradleyCompactLogix/ControlLogix(Logixseries),theTCPConnectiontimeoutisset
onapermessageinstructionbasisusing“MessageConfiguration”ratherthan“Channelconfiguration‐Channel1”ofthe
MicroLogixseries.
Whenmessagesaredefinedusing“MessageConfiguration”andusingpathex:“LocalENB,2,192.168.1.9:1,0”.
Briefdescription:
‐ TCPconnectionisopenedwhenthefirstmessageissent.
‐ TheTCPconnectiontimeoutissetbydefaultto120secsincetheinactivitydefaultsettingis120sec.
‐ WhileconnectionisestablishedwithsameremoteIPandsameport,ex:192.168.1.9,othermessageswilluse
thesameTCPconnection,andthereforeresettingthetimeoutcountforeachmessagesent.
‐ Whenallmessagesareusingthesamedefaultinactivitytime(120sec)theTCPconnectionsstaysopenaslong
thenextmessageissentwithintheinactivitytimeoutperiod.
‐ TheTCPconnectionisclosedafter
thelastmessageplustheinactivityperiod(default120sec).
‐ TheTCPconnectioncanalsobeterminatedbasedonnetworkconnectionproblems.
Exampleusingdefaultinactivitytimeout(120sec).
OverwritingthedefaultinactivitytimeoutfortheTCPconnectionin“MessageConfiguration”:
(Notrecommendedunlessrequired)
Itispossibletooverwritethe“MessageConfiguration”defaultinactivitytimeoutvaluebyusingpathex:“LocalENB,2,
192.168.1.9:inactivity‐100,1,0”.Using“inactivity‐100”wouldsettheinactivitytimeoutto100secondsinsteadofthedefault
120seconds.(Note:Settingof“inactivity‐x”:wherexcanbe
between1and120seconds,usingx>120secondswilldisable
themessagecompletely).
Overwritingthedefaultinactivitytimeoutisnormallynotrequiredandcancauseadditionalsideeffects.Oneoftheseside
effectswouldbewhentheinactivitytimeoutislessthanthelongestdelaybetweentwomessages;additional
IPmessages
Comentarios a estos manuales