IMDHMIControls LibraryShop main store

How-to

Why a DeviceNet analog input read goes through a mapped parameter

Drives and motion Published 7 min read By IMDHMI controls team

Short answer

An MX2-series analog input has no parameter index for an explicit message read. Copy the input value into monitor parameter P100 and read that, or map the value into the polled I/O assembly, then verify with one repeatable input change at the drive.

On this page
  1. Why the explicit message read has nothing to point at
  2. Copy the analog input into a monitor parameter
  3. Read that parameter with the explicit message you already have
  4. Map the value into polled I/O and skip the explicit message
  5. Worked check: 2.0 V on the input against a 0 to 50.0 Hz reference span
  6. The decision for each case
  7. Questions asked

An MX2-series analog input has no index register address to read over DeviceNet: the input value is a live measurement, not a stored parameter, so an explicit message read has nothing to point at. Expose the value instead. Copy the analog input into a monitor parameter — P100 is the destination that worked for this drive family — and read that parameter with the explicit message function you already run, or map the value into the polled I/O assembly and receive it every scan with no explicit message at all. Both routes end at the same test: one repeatable change at the input, watched on the drive's local display and at the controller together. The steps below cover the copy, the explicit message read, the polled I/O alternative, and a worked end-to-end check with the arithmetic written out.

Why the explicit message read has nothing to point at #

An explicit message read addresses stored data. The DeviceNet option board manual documents explicit message reads and writes of inverter parameter data, and each read names the address of one parameter: its class, instance and attribute in the object model, or the parameter index in the drive's own numbering, exactly as the manual lists them. An analog input is not in that space. Its value follows the signal continuously, so no parameter holds it, and a guessed index returns either a service error or, worse, the wrong register with a plausible-looking value in it.

That is the entire fault: you are asking a parameter read for a value that is not a parameter. The input reaches DeviceNet only through something the network can see — a monitor parameter you copy it into, or an element in the drive's polled I/O assembly. When the target really is a stored parameter, the direct read works, and which DeviceNet explicit read reaches VLT5000 parameter data covers that case on a drive whose parameter registers are known. The analog input is not that case.

Safety note: on MX2-series V1 drives, mounting the DeviceNet communication option means the drive no longer conforms to its safety specification, so the machine's safe stop must be engineered and validated as its own function, independent of the option board.

Copy the analog input into a monitor parameter #

  1. Prove the input side first. Put a known signal on the input — mid-span is a convenient test point — and read it on the drive's local monitor. If the local value is wrong or frozen, fix the wiring or the input configuration before touching the network: a mapped read repeats what the drive sees, never what you intended to send.

  2. Open the drive's parameter programming function and find the monitor assignment that copies a live value into a parameter. Set the analog input value as the source and P100 as the destination, then apply it by the drive's normal programming procedure. P100 is the destination the working configuration used; any monitor parameter your drive can copy a live value into behaves the same way.

  3. Watch P100 on the local display while you move the input across its span. It must track the local input reading value for value. If it disagrees, the source selection is wrong — correct it before any network test, because this copy is the address the read depends on.

Read that parameter with the explicit message you already have #

  1. Keep the explicit message connection that already reads the drive's parameters and change only its target: set the message address to P100's index. The class, instance and attribute numbers for the parameter object come from the explicit message section of the option board manual. Take them from there; a reconstructed pattern produces a service error or a wrong register.

  2. Trigger one read and judge the returned status before the value. A service error means the addressing is wrong, not that the analog input is bad. A clean completion with an implausible value usually means you are reading a different register than the one you meant.

  3. Compare the returned value with the local P100 display at the same input level; they must agree.

  4. Move the input to a second level and read again. One matching sample proves the addressing; two prove the value updates.

Map the value into polled I/O and skip the explicit message #

When the controller needs the value continuously, the polled I/O connection delivers it without any message: the drive produces its polled input data every network scan and the master consumes it as ordinary I/O. The flexible polled format is the second route for this drive family. Map the analog input or the monitor value into the drive's polled I/O assembly as the drive's manual describes, and set the master side to the same layout. ODVA's DeviceNet specification describes how a polled device receives its output data in the order the master's scan list defines; hold the input side to the same discipline, with the master's mapping matching the drive's assembly element for element.

On a scanner-based master the mapping lives in the scanner configuration; how to map a 1747-SDN scanner for DeviceNet drive control walks that setup for drive control data, and a monitor value maps through the same mechanism.

Route What you configure What confirms it
Explicit message read of a copied parameter Copy the input into P100, then point the message at that parameter's index from the manual The read completes and its value matches the local P100 display at two input levels
Polled I/O flexible format Map the value into the drive's polled assembly and match the master's mapping to it The polled element tracks the local drive reading on every scan

Worked check: 2.0 V on the input against a 0 to 50.0 Hz reference span #

The inputs, with their sources:

  • Input span: 0 to 10 V, the signal range configured on the drive's analog input. Example values, not factory defaults — substitute your own configured range.
  • Test point: 2.0 V, measured at the drive's input terminals with a meter. This is the repeatable input change for the whole test.
  • Reference span: 0 to 50.0 Hz, the drive's configured output frequency at full input. Again an example — use your drive's configured maximum.

The rule in words: a linear input maps fraction of voltage span to fraction of reference span, so the expected value equals the test voltage divided by the input span, times the reference span.

The arithmetic: 2.0 V / 10 V = 0.20, so the input sits at 20 percent of span, and 0.20 × 50.0 Hz = 10.0 Hz.

The result: the drive's local input monitor should show 20 percent of span, P100 the same, and the controller's read-back value should scale to 10.0 Hz.

The decision, with its threshold: set the tolerance before you test — 1 percent of span is a workable choice here, which is 0.5 Hz. If every stage reads within 0.5 Hz of 10.0 Hz, the path passes. If the local monitor misses the mark, the fault is input wiring or the configured span. If the local readings and P100 agree but the controller value does not, the fault is the message target, the controller scaling, or the polled assembly mapping — not the analog side.

The decision for each case #

  • The value is a stored parameter with a known register: read it directly with the explicit message function. No copy, no mapping.
  • The value is a live analog input needed on demand — commissioning, diagnostics, occasional logging: copy it into a monitor parameter such as P100 and read that parameter over the explicit message connection you already run.
  • The value is needed every scan — monitoring, alarming, logging at process rate: map it into the polled I/O assembly and let the polled connection carry it continuously.

Whichever route you pick, one successful read does not prove the mapping: run the three-way comparison — local input reading, copied parameter, controller value — through at least two input levels, inside the tolerance you set for the worked check above. If the local values agree and the controller value does not, work the message target, the controller scaling and the assembly mapping, in that order.

Questions asked

Does an explicit message read return a stale value when the DeviceNet connection is down?

No. An explicit message read is a single request, so a broken connection returns a message error, not an old value; treat any service error as a failed read in the controller logic. Polled I/O behaves differently: data keeps arriving only while the connection is established, so a timed-out device means the last polled element is stale, and the master's device status, not the value, is what tells you.

Can I read more than one analog value over the same connection?

Yes. Each explicit message read targets one parameter, so several values cost one message transaction each, run in sequence, and suit moderate rates rather than scan-rate updates. The polled I/O assembly carries multiple values in one packet: map each value into its own element of the flexible format, and every mapped value arrives on every scan with no extra messages.

Is the parameter copy the same on every drive brand?

The technique carries over, the numbers do not. The destination parameter and the polled assembly selector are vendor specific. For example, a Siemens MICROMASTER DeviceNet option module selects its flexible vendor-specific polled I/O assembly with parameter P2041.01 set to 120 through 123, while this drive family uses a monitor parameter such as P100 for the copy. Take both numbers from the manual for the drive in front of you.

Why copy to a parameter at all instead of reading the input directly?

Explicit messages can only address what the device publishes as readable parameters or object attributes, and this drive family does not publish the analog input that way; the value exists in the drive's local monitor data. The copy into a monitor parameter gives it a readable address. A drive that puts analog data straight into its polled I/O assembly needs no copy, because the polled path carries the live value on its own.

Does the mapping survive a drive power-down?

Run the drive's parameter save after you assign the monitor parameter, power the drive down and up once, and repeat the end-to-end check before trusting the mapping in production. An unsaved assignment can disappear at power-down, and the controller then reads a zero or an old value out of a message that still completes cleanly, which is the worst kind of fault because the read looks healthy.

Keep reading

  • Explainer

    Which DeviceNet explicit read reaches VLT5000 parameter data

    Values a VLT5000 keeps outside its four cyclic memory-transfer words come off the drive with a DeviceNet explicit read: a Get_Attribute_Single request naming class, instance and attribute, issued with the Omron Explicit Message Send command. The object numbers come from the VLT5000's own DeviceNet manual (MG.50.HX.YY); VLT2800 class tables are candidates to prove with one test read, not values to copy.

    Industrial networks

  • Troubleshooting

    Why a PROFIBUS analog input value sticks at 32735

    The word is not misread: the drive's transmit representation for analog input 1 saturates at 32735 counts. At the observed slope that corresponds to about 2.0 V, and a 0–10 V span would need roughly 163675 counts, beyond a signed 16-bit word. Select a transmit representation that covers 0–10 V; no PLC multiplier can recover values lost above saturation.

    Drives and motion

  • Explainer

    SLC 5/05 to 1336 PLUS drives: remote I/O rack addressing

    Racks 2 and 3 in that specification mean Allen-Bradley Remote I/O: a scanner-and-adapter serial link, not Ethernet and not 4-20 mA wiring. Each 1336 PLUS with its Remote I/O adapter occupies a quarter rack and works through one output word and one status input word. A PLC-5 scans the link on its own channel; an SLC 5/05 needs a 1747-SN scanner whose G file places each rack.

    Drives and motion