IMDTouchKnowledge BaseShop main store

How-to

How to configure a DF1 PLC connection in Vijeo Designer Basic

HMI and touchscreens Published 6 min read

Short answer

Copy the PLC's DF1 mode, half-duplex station number, full serial framing and addressing base into the Vijeo Designer Basic driver, then prove the link by displaying one known PLC integer before building screens. A matched link transacts in tens of milliseconds, so slow or absent updates point at configuration, not line speed.

On this page
  1. Match the DF1 mode the PLC is actually running
  2. Record the PLC settings before opening the software
  3. Build the connection in Vijeo Designer Basic
  4. Confirm the port in the panel's Hardware Configuration
  5. Prove the link with one known value
  6. Worked example: commissioning a MicroLogix 1000 at 19200 baud
  7. Isolate a link that will not come up
  8. Questions asked

A DF1 link in Vijeo Designer Basic comes up when the driver copies the PLC port's real configuration: the DF1 mode, the station number in half-duplex, the full serial framing and the addressing base, every value read from the PLC rather than taken from a default. Configure the driver once with those values, then prove the link by displaying one known PLC integer before you build a single screen. The worked example below commissions a MicroLogix 1000 at 19200 bit/s, 8 data bits, no parity and 1 stop bit, and shows why a link matched at those settings is never the reason a screen updates slowly.

Match the DF1 mode the PLC is actually running #

DF1 runs in two modes, and the panel must run the same one the PLC port does.

Full-duplex is point-to-point: one panel wired to one PLC over RS-232, both directions active at once, and no station number to coordinate. Half-duplex is master/slave multidrop over RS-485: the panel polls as master, and every PLC on the trunk answers only to its own station number.

Read the mode out of the PLC's channel configuration before you open the software. A mode mismatch gives you a silent link: no data, and no error worth the name on the panel. While you are in the PLC configuration, confirm the port is free. A programming session or another device holding the channel starves the panel's polls just as effectively as a broken cable.

Record the PLC settings before opening the software #

Every value the driver needs already exists somewhere in the PLC's configuration, so capture them in one pass:

Setting Read it from What the driver must show
DF1 mode, full- or half-duplex the PLC channel configuration the same mode
Baud rate the PLC channel configuration the same rate
Data bits, parity, stop bits the PLC channel configuration the identical framing, not just the baud rate
Station number the PLC communication setup, half-duplex only the PLC's own station number
Addressing base the PLC family's addressing convention and your tag list chosen when the driver is added, fixed afterwards
Test value the PLC program one known, readable integer

The PLC is the authority on all six rows. Do not infer a node number, framing or address syntax from another installation, because the PLC family and its configuration decide every one of these values.

Build the connection in Vijeo Designer Basic #

  1. If the workstation has no copy yet, follow how to get Vijeo Designer Basic 1.1 from the official source and install it.
  2. Create the project and select the exact panel model installed on the machine. A project built for another target sends its port settings to hardware you are not using.
  3. Add the PLC device and pick the driver entry that matches the PLC family's communication interface, not merely the protocol name. The controller connection you actually have decides the entry.
  4. Set the addressing base now, at creation. The base is fixed once the driver exists; if it later proves wrong, the driver has to be deleted and re-added with the correct addressing mode, so decide it before variables pile up.
  5. Type in the serial port, framing, mode and station values from the table you recorded.
  6. Save, then read the whole device configuration back once: no unset field, the intended target, the intended port.

Confirm the port in the panel's Hardware Configuration #

The panel carries its own Hardware Configuration menu, separate from the downloaded project, and the serial port has to be enabled and consistent there. The documented ways in: press three corners of the screen at the same time, top-right, bottom-left and bottom-right, or press two corners sequentially, or set the Target property ToConfiguration to Top Left Corner so the menu opens by itself when the runtime starts. Check that the port the project uses is the port this menu enables, then download the project.

Bind one plain numeric display to the known integer and watch it move, by forcing the value or letting the process change it, while comparing against the online view in the PLC programming software. Writing 1 or 0 to the driver's control variable turns the communication on or off, which is handy mid-test. Once reads are solid, read why an HMI writes integers but not B3 bits over DF1 before you add any write objects, because DF1 handles integer and bit addresses differently. If the link reads correctly but refreshes slowly, the wire is not the suspect; that territory is covered in why an HMI freezes or updates slowly over serial. The same prove-it-with-one-read discipline applies across vendors, as in commissioning CP1L Host Link serial reads to SCADA.

Worked example: commissioning a MicroLogix 1000 at 19200 baud #

Inputs:

  • PLC: a MicroLogix 1000 with its serial channel in DF1 full-duplex. The panel-to-PLC pairing a Schneider pin-assignment FAQ uses for DF1 serial cabling is an XBTGT1000 panel to a MicroLogix 1000.
  • Framing, read from that PLC channel configuration: 19200 bit/s, 8 data bits, no parity, 1 stop bit.
  • Physical link: an RS-232 cable wired to the pinouts in both manuals, panel to PLC, nothing else on the port. Wire it with power off unless the port documentation explicitly allows live connection.
  • Test value: one integer the PLC computes continuously, shown in a single numeric display object.

Rule in words: with 8 data bits, no parity and 1 stop bit, every character on the wire carries 1 start bit + 8 data bits + 1 stop bit = 10 bits, so the line moves baud divided by 10 characters per second.

Arithmetic:

  • 19200 bit/s ÷ 10 bit per character = 1920 characters per second
  • 1 ÷ 1920 per second = 0.00052 s ≈ 0.52 ms per character
  • A small DF1 transaction, an illustrative 20 characters of request plus 20 of reply, occupies the line for 2 × 20 × 0.52 ms ≈ 21 ms, before the PLC's own response delay

Halve the baud to 9600 bit/s and the same transaction doubles to about 42 ms; add a parity bit and the character grows to 11 bits, dropping the line to about 1745 characters per second. Nothing you can watch on a screen moves the needle.

Result: about 21 ms of line time per poll at these settings.

Decision: download and watch the test integer. If it appears within a second or two and tracks the PLC, the physical layer and the driver are proven, so go build screens. If it never appears or takes many seconds, stop adding tags and fix the configuration: a matched link at these settings transacts in tens of milliseconds, so anything measured in seconds is a mode, station, base or wiring fault, never line speed.

Symptom Next check
Silent link, no data Cable pinout, port selection on both ends, DF1 mode, complete framing
Link alive, wrong value Addressing base, data type, address
Intermittent drops Connector seating, cable routing, a second service holding the port, retry counters on both sides
Works, then fails after a restart Panel Hardware Configuration versus the project's port settings

Change one thing at a time and repeat the known-integer read after every change. A live serial line does not prove the address is right, and a right address does not prove the line is stable.

Questions asked

Can I change the driver's addressing base after creating it?

No. The base is set when the driver is added and does not convert in place. The documented fix is to delete the driver and re-add it with the correct addressing mode, then re-check every variable address, because the base decides which PLC address each one points at.

How do I open the Hardware Configuration menu on the running panel?

Press three corners of the screen at the same time, top-right, bottom-left and bottom-right, or press two corners one after the other. The menu lives on the panel rather than in the project, so it is also where you verify the serial port after replacing a panel.

How do I restart the DF1 driver without downloading again?

Write to the driver's control variable: the value 1 turns the communication on and 0 turns it off. Toggling it off and back on re-establishes the link after a cable correction without downloading the project again.

Why test the link with an integer instead of a bit?

Because an integer you can watch in the PLC programming software separates communication from addressing in one glance. Bits and writes add failure modes of their own, since DF1 treats integer and bit addresses differently, so keep them for after the read test passes.

Keep reading

  • How-to

    Setting Up a Weintek MT6050IP With a Delta DVP28SV PLC

    Use EB8000 for the MT6050IP, because EasyBuilder Pro does not list it. Create the project, select the exact panel model, configure the Delta DVP28SV as the PLC device with serial settings copied value-for-value from the wired port, then bind objects to the device areas the Delta driver already exposes. Model, connection and address are three separate checks.

    HMI and touchscreens

  • How-to

    Set a Premium PLC Clock From a Magelis HMI Over Unitelway

    In Vijeo Designer, open the Unitelway equipment in the I/O Manager, add a Dialogue Table with start address %SW50 and the Configure the PLC clock function, and clear the Include editor project option before transfer, because packaging the editor project is what aborts the download with an abnormal program termination. Keep the editable project on the engineering workstation and verify the PLC clock with its own read.

    HMI and touchscreens

  • Selection guide

    Building Tablet and Phone Supervision From a SoMachine Basic Program

    Yes — Vijeo Designer is the engineering tool that builds the HMI project linking your SoMachine Basic ladder data, and Vijeo Design'Air is the app each tablet or phone runs to view that project. Buy one Vijeo Designer single license from Schneider Electric or an authorized distributor; the app builds nothing on its own, and the HMI target that serves it is chosen against the documented release notes.

    HMI and touchscreens