
BRONKHORST®
Page19DeviceNetinterface 9.17.026
3.4 POLLEDI/O
3.4.1 Representation
AlloftheaboveattributesinthetablesfromTable2 ‐1toTable2‐16canbeaccessedusingExplicitMessaging.Upon
existenceofanexplicitconnection,aPolledI/Oconnectioncan also beestablished andcoexist. OncethePolled I/ O
connectionhasbeenestablished,thedevicewillbeable
toacceptandprocessthePolledI/Orequests.Forexample,if
Instance#7hasbeenselectedasOutputIOAssemblyInstance,twodatabytesrepresentingthenewsetpointshallbe
appended to the Polled I/O request for setting a setpoint. If the Data Unit attribute were 0x1001 as the code
for
“Counts”,thevalueofthesetpointbyteswillbeansignedintegerwhere0x7D00(*)represents100%flowand0x0000
represents0%flow.UponreceptionofthePolledI/ORequest,ifInstance#2hasbeenselectedasInputIOAssembly
Instance the DeviceNet MFC will respond with a PolledI/O
Response carrying with it three data bytes as described
below:
PolledI/OResponse’sDataFieldusingCountsasDataUnit
Byte0:
ExceptionStatus
Byte1:
IndicatedFlow(LSB)
Byte2:
IndicatedFlow(MSB)
BYTE INT(0x7D00=100%)
PolledI/ORequest’sDataFieldusingCountsasDataUnit
Byte0:
NewSetpoint(LSB)
Byte1:
NewSetpoint(MSB)
INT(0x7D00=100%)
Notethatif“Counts”hasbeenselectedfortheDataUnitattributeoftheAnalogSensorandControllerobject(i.e.,the
value of these attributes is 0x1001), then the Indicated‐Flow bytes in the Polled I/O Response represent the same
informationasthatoftheNew‐Setpointbytesinthe
PolledI/ORequest(i.e.,0x0000represents0%flowand0x7D00
(*)represents100%flow).However,ifthe“DataUnit”attributeoftheSensorandtheSetpointobjectare0x1400,the
valueoftheindicatedflowandsetpointwillbeinStandardCubicCentimeter(SCCM).Notethatthesetpointandthe
indicated
flowcanbesetwithdifferentdataunit(i.e.,CountsforSetpointandSCCMforIndicated‐floworviceversa).
SincetheIndicated‐flowandSetpointattributeareinteger,ifusedinSCCMmodethevalueoftheseattributecannot
exceed32767SCCM.ThereforetheSCCMmodeshallnot
beusedforMFCshavinggaseswiththefull‐scaleexceeding
32767SCCMorhavingtheFull‐scaleloadedwithSLMdataunit.
PolledI/OResponse’sDataFieldusingSCCMasDataUnit
Byte0:
ExceptionStatus
Byte1:
IndicatedFlow(LSB)
Byte2:
IndicatedFlow(MSB)
BYTE INT(0toFullScale)
PolledI/ORequest’sDataFieldusingSCCMasDataUnit
Byte0:
NewSetpoint(LSB)
Byte1:
NewSetpoint(MSB)
INT(0toFullScale)
Thetables above show some examples of the PolledI/Osetting. There areeight (8) IOAssembly Instances thatthe
usercanchoosefrom;4forinputand4foroutput.TheseinstancesarespecifiedintheMFCDeviceProfiledocument.
Seenextparagraphformoredetails.
(*)100%MeasuredValueindicationforBronkhorst instrumentsis0x7D00(signedinteger).Maximum
value for Measured Value is 102.4 %, which is: 0x7FFF. Other suppliers may use different ranges for
MeasuredValue.ViaFullScale: attribute 0x0A ofobject0x31,analogsensor, itispossible to readout
thesignedintegervalue
usedfor100%.
Commentaires sur ces manuels