Hardy HI1769 Reference guide

Type
Reference guide
HI1769‐WSandHI1769‐2WSProgrammersQuickReference
TheProgrammer’sQuickReferenceguideisintendedtobeahelpfulandefficientreferencetoolforpowerusersand
technicalpersonnelwheninterfacingwiththisHardyproduct.ItisnotdesignedtoreplacetheUser’sGuide.
ThesampleprogramonlineforCompactLogix®usestheAOP.
Thereare3individualEDSfiles.1channel(forWS),2channel(for2WS)andAOPEDS.
COPYCONFIGMUSTBECHECKEDinordertoadjustparameterswiththeAOPormodulereconfigure.
Theconfigurationtabledownloadsuponconnectionlossorpowercycle.
LEDSTATUS
Pinout:
NOTE:TheHI1769usesupsidedownpinlabeling.TheConnectorforCH1isthesameonWSand2WSmodels.
Hardy Process Solutions • 9440 Carroll Park Drive, Ste. 150 • San Diego, CA 92121-5201
Tel 858.278.2900 • Fax 858.278.6700 • www.hardysolutions.com • hardyinfo@hardysolutions.com
Page2
ParameterReconfiguring:
Usethe“Configuration”tabletochangeparameters.TheConfigurationtableisthetaglistmarkedwithaC.
AlloftheparameterscanbechangedinthistableanddownloadedtothemodulewithaMessageinstruction
thatisconfiguredto“ModuleReconfigure”.
MODULERECONFIGURE
GenericModuleSettingsforIntegerCommunication:
GENERICMODULESETUP
Page3
AOPSettings:
Integer/IntegerorFloat/Float:
AOPSETUP
Integerformathasnodecimalinthegrossweighttag.1lbwith2decimalpointswillcomeinas100gross
weight.
Page4
Status:
Statususeswords0,1,2whetherit’sGenericorAOP:
AOP:
STATUSINPUTS
Generic:
ChannelStatusValues:
CHANNELSTATUSES
COMMANDS:
1
‐Zero
2
‐Tare
64‐CalLow
65‐CalHigh
66–C2Cal
69–ReadParam0
6A–ReadParam1
94–DEFAULTParams COMMANDS
Page5
Someofthestatusesareinhexformat.
COMMANDSTATUSES
AOP‐Input
IntheAOPversion,inputwordsarelabeled.
AOPINPUTTABLE
Page6
GenericInput:
GenericcommandsinthePLCarejustanarrayofINTs.
GENERICINPUTTABLE
INPUTTABLEDEFINITION
Page7
TheINTINTtablelookslikethis.NoticetheDINTs
AOP–Float&Integer:
ThemodulecanshowFloatorIntegerreadingsdependinguponthesetup.
NOTE:.1lbwith2decplacescomesinas100withnodecimals.
TheFLTFLTlookslikethis.NoticetheREALs.
Page8
GenericOutput:
GenericisanarrayofINTs.
GENERICOUTPUTTABLE
AOPOutput:
AOPisanarrayofINTSforeachchannel.
AOPOUTPUTTABLE
Page9
ReadParams:69or6Acommand.Exampleofinputword.
READINGPARAMETERS
WritingParameters:
Readyourparametersfirst.
Theywillshowupinthereadparamstable.
NOTE:Therearetwodifferentreadandwritetables.OnesetforusingREAL/Floatingpointandoneforusing
INT/Integers.TheyaredesignatedwithINTorFLT.
Page10
Copytheparametersthatwerejustreadtothewriteparamstableandchangetheparameteryouwantand
THENdumpthembackinwithawriteparamcommand.
Thenreadagaintoverifythechangesthatweremade.
MANUALLYWRITINGPARAMETERS
Page11
SampleProgram:
TheSampleProgramissetupforusewiththeAOP.
It’simportanttochangetheslotnumberinthesampleprogramfirstandTHENcopytheroutinesover.
SoallthereferencingtoLOCAL1,aswellasotherreferences,changestothecorrectslot.
AnotherwaytoreferencethedatatothecorrectslotistoimportitintotheAOPprogram.
AOIs:
Thecommandwordcanbecross‐referencedtoseewhereeachcommandnumberisused.
AOIscanhaveFLOATorINTtypes.
TheinputandoutputmaynotshowupintheAOIs.
TrychangingthemodulestoINTINTorFLTFLTintheAOPtogettheinputsandoutputstoshowup.
ITTest:
ToggletheITtestbitinthemainroutine.
TheITtesttakesabout30seconds.
Page12
ThemV/VdataisshownintheMv_test_resultstag.
ThemV/Vdataisdisplayedasaninteger.Actually,itneedstobeconvertedtoadecimalwith4decimal
places.
Forexample,2332=0.2332mV/V
SAMPLEPROGRAMITTEST
TotranslatethemV/VreadingstomV,multiplyby5.Forexample,0.2332mV/Vtimes5is1.166mV.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12

Hardy HI1769 Reference guide

Type
Reference guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI