Академический Документы
Профессиональный Документы
Культура Документы
Micro830ModbusRTUCommunicationPLCS.netInteractiveQ&A
ThisboardisforPLCRelatedQ&AONLY.PleaseDON'Tuseitforadvertising,etc.
TryouronlinePLCSimulatorFREE.Clickherenowtotryit.
>>>>>GetFREEPLCProgrammingTips
yourfirstname
youremailaddress
GetThePLCTipsNow!
NewHere?Pleasereadthisimportantinfo!!!
FAQ
Calendar
Downloads
PLCReviews
Youarenotregisteredyet.Pleaseclickheretoregister!
UserName UserName
Password
PLCS.netStore
RememberMe?
Login
Today'sPosts
ThreadTools
Search
DisplayModes
March5th,2014,03:40AM
ChemtronScience
Member
JoinDate:Mar2014
Location:Mumbai
Posts:6
#1
Micro830ModbusRTUCommunication
IhaveaABMicro830PLCandSerialisolpluginformodbuscommunication.Ihave
apcbwheremultiplesensors'valuesaretakenandstoredinInputRegister.
IhaveconfiguredtheSerialisolplugininthemainpageandverifiedit,Baudrate
9600,paritynone,stopbits1(allaspermycontrollerinpcb).Itisconnectedin
Channel5or1stpluginspace.Ihave15registerstoreadbutI'munabletoread
them.
ModbusshowsErrorandErrorIDas33
Myconfigurationis:Channel5,Triggertype0,Cmdis04,elmtcntis15.
TargetConfigurationis:Address1,Node1.
Fromthemanuals,Itriedchangingthetargetaddressfromjustsay,8,to30009
butstilltheerrorissame.
ThePCBisworkingfinebecauseIhavereadthevaluesinSchneiderModiconPLC
March5th,2014,03:55AM
Lemming
#2
trycommand03??
Member
http://www.plctalk.net/qanda/showthread.php?t=85934
1/4
10/3/2015
Micro830ModbusRTUCommunicationPLCS.netInteractiveQ&A
JoinDate:Oct2004
Location:PalmerstonNorth
Posts:315
March5th,2014,04:00AM
ChemtronScience
Member
JoinDate:Mar2014
Location:Mumbai
Posts:6
#3
ThanksLemmingforthereply!
Yeah,nowItriedwithcmd03andstillitisnotworking...
TheErrorcode33denotes"AbadMSGfileparameterexists"
Idon'thaveanyclueregardingtheerrororhowtochangethatbadparameter...
March5th,2014,01:24PM
Lemming
Member
#4
I'llhavealookattheparametersI'veusedpreviouslywhenI'minfrontifmy
laptop...Haveacoupleifprojectswhereamicro850isdoingmodbus...Yousure
thetargetrangeisvalid??
JoinDate:Oct2004
Location:PalmerstonNorth
Posts:315
March5th,2014,10:48PM
ChemtronScience
Member
JoinDate:Mar2014
Location:Mumbai
Posts:6
#5
ThanksLemming...
IkepttheNodeas1becausethereisonly1SensorcardI'musing.Iguessthat
nodedenotestheaddressofthemodbusdevice.
Asforaddress,Itriedkeepingit1,then30001aswedoinModScanalsotriedit
30001+i(i.e30002)Stillitshowsthesameerror.
I'lltrychangingthedatatype...IguessWordisnotworking..
March5th,2014,11:44PM
Lemming
Member
JoinDate:Oct2004
Location:PalmerstonNorth
Posts:315
#6
PosttheprogramandI'llseeifanythingobviousstandsout..
Youhaven'tsaid,butIassumeyouhavetheSerialIsosetupasamodbusmaster,
orAuto??andRS232/485selectionisappropriateandwiringtosuit..
Soundslikeit'snotreceivingabadresponsefromtheslave,itsnotevengetting
outoftheport...
Forcommand04,youwillbereadingtheslaves3000xrange..Theconfiguration
youpostedseemsOK,butensuretheparametersaresettopowerup,orcontants
writingtotheapplicableelementsasthememoryisnonretentive...Haveyou
confirmedthevaluesarepresentonline...
March6th,2014,12:14AM
ChemtronScience
Member
#7
ThanksLemming...
Ihavesentyouthesnapshotsoftheprojectastheprojectfileisabitheavytobe
uploaded.StillI'lltrytouploaditshortly.
AttachedImages
http://www.plctalk.net/qanda/showthread.php?t=85934
2/4
10/3/2015
Micro830ModbusRTUCommunicationPLCS.netInteractiveQ&A
JoinDate:Mar2014
Location:Mumbai
Posts:6
Project1.jpg(71.2KB,26views)
Project12.jpg(61.4KB,21views)
Project13.jpg(60.0KB,16views)
project14.jpg(57.3KB,15views)
project15.jpg(74.4KB,18views)
March6th,2014,04:34AM
ChemtronScience
Member
JoinDate:Mar2014
Location:Mumbai
Posts:6
#8
HelloLemming,
IjustchangedtheNodeto2andtheTriggerTypeto1.TheTransmitterLEDonthe
SensorCardisnowworking,thereisnoErrorinModbus.
Butstillthevaluesfromthesensorsarenotshown...
I'llanywayskeeptryingit,stillLemmingifyougetit,plstellme...Thanksforyour
help..
April27th,2014,05:11PM
rsd007
Member
#9
HiChemtron,
DidyourModbusworkedforyou?ifitdidcanyoupostyourcodeIamjust
learningPLC.
JoinDate:Jul2012
Location:BSCity
Posts:1
April27th,2014,11:23PM
#10
ChemtronScience
Modbus
Member
Hi...
Itfinallyworkedforme...
JoinDate:Mar2014
Location:Mumbai
Posts:6
Thecodeistoolargetobeuploaded,soIamjusttellingyouwhatthemodbus
settingis:
TheLocalSettingswere,TriggerType1,Commandwas04asIwasjustreading
registersfrommodbusandAddressestobereadwas17.Thechannelwas5asI
wasusinganexpansionmoduleconnectedtothefirstslot.
Fortargetsettings,PleaseensureyourslaveIDandenteritinthefirstandthe
startingaddressinthesecond.
Iffurtherdoubts,youcanaskme...
September9th,2014,08:50AM
zapotek1903
#11
Quote:
Member
OriginallyPostedbyChemtronScience
Hi...
JoinDate:Feb2010
Location:turkey
Posts:4
Itfinallyworkedforme...
Thecodeistoolargetobeuploaded,soIamjusttellingyouwhatthe
modbussettingis:
http://www.plctalk.net/qanda/showthread.php?t=85934
3/4
10/3/2015
Micro830ModbusRTUCommunicationPLCS.netInteractiveQ&A
TheLocalSettingswere,TriggerType1,Commandwas04asIwasjust
readingregistersfrommodbusandAddressestobereadwas17.The
channelwas5asIwasusinganexpansionmoduleconnectedtothefirst
slot.
Fortargetsettings,PleaseensureyourslaveIDandenteritinthefirstand
thestartingaddressinthesecond.
Iffurtherdoubts,youcanaskme...
hi
canyousendsnapshotsofmsg_modbusblock?
thanks..
JumptoLivePLCQuestionandAnswerForum
Bookmarks
Twitter
Digg
del.icio.us
StumbleUpon
PreviousThread|NextThread
CurrentlyActiveUsersViewingThisThread:1(0membersand1guests)
PostingRules
Youmaynotpostnewthreads
Youmaynotpostreplies
Youmaynotpostattachments
Youmaynotedityourposts
BBcodeisOn
SmiliesareOn
[IMG]codeisOn
HTMLcodeisOff
ForumJump
LIVEPLCQuestionsAndAnswers
Go
SimilarTopics
Thread
ThreadStarter
Forum
Replies
LastPost
PLC5andModbusRTU
SteveCav
LIVEPLCQuestionsAndAnswers
September18th,
201202:21PM
ModbusCommunication
suvro2012
LIVEPLCQuestionsAndAnswers
July2nd,201202:08
AM
ThecheapestwaytoachieveModbusRTU
withanS7300processor?
Jeff23spl
LIVEPLCQuestionsAndAnswers
21
January20th,2012
02:11PM
MODBUSRTUcommunicationWithGEFPLC
CPUE05
nitin.salvi
LIVEPLCQuestionsAndAnswers
14
January10th,2012
05:16AM
ST71repeaterpanelmodbus
communication
sdmnishu
LIVEPLCQuestionsAndAnswers
September10th,
200907:33AM
AlltimesareGMT5.Thetimenowis04:28AM.
ContactUsPLCS.netTextTop
.
http://www.plctalk.net/qanda/showthread.php?t=85934
4/4