IMDHMIControls LibraryShop main store

Troubleshooting

Fix a GT1-DA04 analog output over a 1756-DNB scanner

Industrial networks Published 6 min read

Short answer

Set the DRT1-COM polled connection to 14 input bytes and 10 output bytes, put the channel word at the right byte pair — analog output channel 0 is output bytes 2–3, word 1 of five — and scale 0–6000 counts across 4–20 mA, 375 counts per mA. When the DINT image shows the value and the terminal still reads 0 mA, the fault is the DIP range or module power, not the mapping.

On this page
  1. The connection is 14 bytes in, 10 bytes out
  2. Where every word lands
  3. Copy the words with COP, length in DINTs
  4. Scale counts to the selected range
  5. The fault path in order
  6. Prove it at the terminals
  7. Questions asked

When the commanded value changes in Studio 5000 but the GT1-DA04 sources no current, the data is alive in the controller and dying before the analog channel. On this assembly that comes down to four things: connection size, byte offset, copy length, or the DIP-switch range. For a DRT1-COM with the GT1-ID16, GT1-OD16, GT1-AD04 and GT1-DA04 connected in that order, the polled connection is 14 bytes in and 10 bytes out, analog output channel 0 occupies output bytes 2–3 — word 1 of five — and the unipolar 4–20 mA range spans 0–6000 counts, 375 counts per mA. Set those correctly, size the COP in DINT elements, confirm 24 V DC at the analog unit, and the loop drives.

The connection is 14 bytes in, 10 bytes out #

The DRT1-COM carries one image for every unit connected to it, assembled in connection order. Each unit contributes its bytes to one side or both:

  • GT1-ID16: 2 input bytes
  • GT1-OD16: 2 output bytes
  • GT1-AD04: 8 input bytes, two per channel
  • GT1-DA04: 8 output bytes, two per channel
  • DRT1-COM adapter: 4 status bytes on the input side
Connection Size to configure Arithmetic
Input 14 bytes 4 status + 2 digital + 8 analog
Output 10 bytes 2 digital + 8 analog

Configure those sizes on the slave's polled connection in RSNetWorx, with the DRT1-COM EDS installed. An 8-byte output — the analog words alone — does not match this assembly: the OD16's two bytes sit ahead of the analog channels, so the connection either flags a size mismatch or never carries the full map. The connection order of the units is flexible, but the map follows it, so a different order on your connector moves every word position below. Getting RSNetWorx online to the slave at all is its own hurdle, and choosing the DeviceNet configuration connection path is the decision that settles it.

Where every word lands #

Output image Assignment
Bytes 0–1 GT1-OD16 outputs
Bytes 2–3 GT1-DA04 channel 0
Bytes 4–5 GT1-DA04 channel 1
Bytes 6–7 GT1-DA04 channel 2
Bytes 8–9 GT1-DA04 channel 3
Input image Assignment
Bytes 0–3 DRT1-COM adapter status
Bytes 4–5 GT1-ID16 inputs
Bytes 6–13 GT1-AD04 channels 0–3, two bytes each

These are byte offsets inside the DRT1-COM image, not Studio 5000 tag names. Note what the ten output bytes contain: two digital, eight analog, nothing else. There is no header and no enable word, so structurally nothing has to be written before a channel follows its word. The same layout discipline governs any Rockwell scanner; the SLC-side version of this task is mapping a 1747-SDN scanner for DeviceNet drive control, where the same byte-map thinking applies to the scanner's image files.

Copy the words with COP, length in DINTs #

The 1756-DNB exchanges its image in 32-bit DINT elements; the DRT1-COM arranges its data in 16-bit words. A COP or CPS between an INT array and the scanner's DINT tags moves the bytes, and its Length counts destination elements: one DINT is four bytes, or two words. Counting words instead of DINTs is the classic silent failure — the copy executes, the data lands half an image off, and the tag you watch keeps changing while the slave sees data in the wrong channels.

Output direction, controller to scanner:

// Illustrative controller tags
// DRT1_OutWords : INT[6], every element initialized to 0
//   words 0 to 4 carry the 10 output bytes; word 5 is padding
// ScannerOut : DINT[3], this slave's slice of the DNB output image

COP(DRT1_OutWords[0], ScannerOut[0], 3);   // 3 DINTs = 12 bytes = 6 words

Five data words plus one pad word fill three DINTs exactly. The input direction is the mirror: seven data words plus a pad word fill four DINTs, so the copy runs COP(ScannerIn[0], DRT1_InWords[0], 4) with DRT1_InWords declared as INT[8], words 0 to 6 live and word 7 padding. The scanner-side start element is whichever element your scanlist assigns this slave — element 0 when it is the only output slave, higher when others precede it — so read it from the project rather than assuming zero.

Prove the copy before touching hardware: force the channel 0 command to 3000 counts, leave the digital word at 0, and watch ScannerOut[0] in hexadecimal. It must read 16#0BB80000, because channel 0's word occupies the high half of the first DINT. The value appearing in ScannerOut[1] means the start element is off by one DINT; 16#00000BB8 in ScannerOut[0] means you wrote the wrong word of the array.

Scale counts to the selected range #

The GT1-DA04 range is set by DIP switches on the unit, and the raw span follows that switch position: 0–6000 counts (16#0000–16#1770) on unipolar ranges, −3000 to +3000 counts (16#F448–16#0BB8) on bipolar ranges. On the 4–20 mA range, 0 counts is 4 mA and 6000 counts is 20 mA, which makes the resolution 6000 / 16 = 375 counts per mA. The switch-position-to-range table is in the GT1 analog unit documentation within the DRT1-COM GT1 Series manual, W348-E1.

Command 12.0 mA on channel 0: counts = (12.0 − 4.0) mA × 375 counts/mA = 8 × 375 = 3000 = 16#0BB8, written to DRT1_OutWords[1], output bytes 2–3. The same arithmetic reads the input side: a GT1-AD04 channel at 4500 counts on a 4–20 mA unipolar range is 4 mA + 4500 / 375 = 4 + 12 = 16.0 mA.

A range switch that disagrees with the scaling does not fault — it remaps the same counts onto a different span. Worst case for this symptom: the unit switched to a voltage range, where a meter in series with the loop reads essentially zero current no matter what the command says.

The fault path in order #

  1. Confirm the scanner runs. The 1756-DNB inhibits outputs in Idle mode while inputs keep updating, so input activity proves nothing. Working GT1-OD16 outputs prove RUN mode and an accepted connection size in one check.
  2. Confirm the sizes. Fourteen bytes in, ten bytes out on the polled connection; read the slave's status in RSNetWorx for a size mismatch flag.
  3. Watch the output DINT image. A command that never appears there indicts the copy: direction, start element, or a Length counted in words instead of DINTs.
  4. Watch the right word. Channel 0 must move the high half of the first DINT. A value one DINT over means the start element is off; digital bytes twitching when you change the analog command means the array order does not match the module order.
  5. Read the range switches against the W348-E1 table. A voltage range selected on a current channel reads as zero mA on a series meter.
  6. Check power and wiring. Verify 24 V DC at the analog unit's power terminals and continuity through the loop; an unpowered unit sources nothing. Remove the 24 V supply before changing DIP switches or terminal wiring.
  7. Stop hunting for an enable. The ten output bytes hold only digital and analog data — there is no command word to send first.

Prove it at the terminals #

Commission the loop with one number. Command 3000 counts, confirm 16#0BB80000 in ScannerOut[0], put the multimeter in series with the channel 0 loop, and read 12.0 mA within the module's stated accuracy. Scale is proven with it, because 375 counts per mA holds across the range: 1500 counts is 8 mA and 5250 counts is 18 mA.

The verdicts: a correct DINT image with 0 mA at the terminal convicts the Omron side — range switch first, module power second, wiring third. A wrong or empty DINT image while the command changes convicts the controller-side copy — start element or Length. A size mismatch in RSNetWorx convicts the connection configuration. Each symptom points at exactly one of the three places this signal can die, which is what makes the trace fast.

Questions asked

Does the GT1-DA04 need an enable command before it outputs current?

No. The ten output bytes are fully accounted for — two for the GT1-OD16 and two per analog channel — so there is no enable or command word anywhere in the image. Once the range switches, module power and the mapped word are right, the channel sources current. An enable feature added in some other product's firmware would need extra image bytes, and this assembly has none.

Why ten output bytes when the analog module only needs eight?

Because the DRT1-COM builds one image for the whole assembly, in module order: the GT1-OD16 contributes the first two output bytes and the four GT1-DA04 channels contribute the next eight. An 8-byte output covers only the analog words and either faults on size or leaves the assembly mismatched. The fourteen input bytes follow the same rule: four status, two digital, eight analog.

The digital outputs work — does that prove the analog path too?

It proves the scanner is in RUN and the connection size is accepted, because the 1756-DNB stops writing outputs in Idle mode while inputs keep updating, so dead digital outputs would flag exactly that. It proves nothing about the analog path: the channel word can still sit at the wrong byte offset, the DIP range can be wrong, or the analog unit can lack power.

Is the analog data INT, UINT or DINT?

Each channel is one 16-bit word at a fixed byte pair in the image. Read it as unsigned for unipolar ranges (0–6000 counts) and as signed INT for bipolar ranges (−3000 to +3000, 16#F448 to 16#0BB8). On the ControlLogix side the same bytes travel packed two words per DINT in the scanner tags, which is why the COP length is counted in DINT elements.

Can I read the GT1-DA04 output back through the input image?

No. The 14 input bytes contain four adapter status bytes, the GT1-ID16's two bytes and the GT1-AD04's eight — the DA04 channels are not mirrored back. Verification is physical: command a known count, confirm the word in the output DINT image, and measure the loop current in series at the terminals.

Keep reading

  • Troubleshooting

    Fix an S7-300 PROFIBUS gateway: module address above the image

    The PROFIBUS side is fine: the S7-300 accepted the GSD file and the telegram carries your values. The assigned module addresses sit above the CPU's process image, so ordinary I and Q access reads zeros. Move them into bytes 0 to 127, or read and write them with peripheral access.

    Industrial networks

  • How-to

    How to map a 1747-SDN scanner for DeviceNet drive control

    Seeing the drive in an RSNetWorx browse is not an I/O connection. Put the drive in the 1747-SDN scanlist, read the M-file words the scanner mapping assigns, and reference those mapped words in the SLC 5/04 ladder. A node address is not an integer-file offset: the mapping view, not node 10, decides where each command and status word lives.

    Industrial networks

  • Comparison

    PROFINET versus DeviceNet for machine and panel I/O

    Choose by controller ecosystem first: PROFINET is industrial Ethernet at 100 Mbps with line, star and ring topologies, while DeviceNet is a CAN-based trunk running 125 to 500 kbps. Speed only decides when the panel needs dense or fast I/O. PROFINET for new high-speed machines, DeviceNet where the Rockwell-era devices and wiring already exist.

    Industrial networks