How-to
Organizing Omron NX1 Tags for a Symbolic Weintek HMI
Short answer
Treat a published Sysmac structure as the DB: declare one STRUCT that holds only the variables the panel reads and writes, set the Network Publish attribute on those variables, transfer, and import the tags online into the configured NX1 device in EasyBuilder Pro. Bind objects to the imported symbols and match their types. Keep a union out of the interface; its members share one storage block sized by the largest member, so its end address must be computed.

On this page
Coming from Siemens, you expect one ordered block for the screen values. An NX1 has no data-block object, and its global variable list reads like an unordered pile of word addresses. The way out is the structure, used deliberately: declare one STRUCT that holds exactly the variables the panel reads and writes, set the Network Publish attribute on those variables in Sysmac Studio, transfer the project, and import the tags online into the configured NX1 device in EasyBuilder Pro. Then bind each screen object to the imported symbol instead of a computed word address. Leave the union you were about to allocate at W100 out of the interface; its members share one block of storage, and it hides its own end address.
What replaces a Siemens DB on an NX1 #
Sysmac Studio has no DB, but a STRUCT plus the Network Publish attribute reproduces the two things you used the DB for: one name that groups typed values, and a boundary that decides what the panel can see. Omron's Sysmac Studio documentation describes the Network Publish attribute as the switch that publishes a variable to the controller's network communications, and Omron's practice guide on importing variables from Sysmac Studio accepts variables set to Input, Output or Publish Only in that setting, and nothing else. A global variable without the attribute is invisible to a tag import, however carefully it is named.
That attribute is the ordering mechanism the flat list was missing. Published variables become the HMI interface; unpublished variables stay internal, no matter how many crowd the global list. If you have fought imported Siemens tags that show up as question marks on a panel, that is the same boundary seen from the other side, and why EasyBuilder Pro replaces Siemens tags with a question mark walks through it.
Split the interface from the internal data #
Sort the screen's needs before you type any declaration. Statuses the PLC owns and the panel only reads form one group. Commands the panel may write form another. Setpoints that need range checks form the third. Give each group its own structure: one for screen interchange, separate ones for motion or diagnostics, and keep working data out of all of them. Name members the way the next technician will look for them, with the type the value really is: BOOL per bit, INT or DINT per count, REAL where a decimal point matters, arrays where a batch repeats.
Because an HMI write lands on a running machine, let the PLC validate every command the panel may send, and publish only the tags an operator's finger should reach.
Publish the variables and import the tags #
Weintek's connection guide for the NJ/NX series walks the import against a configured NX1 device; the sequence below is that flow with the checks that catch the usual failures.
- Build the Sysmac Studio project and clear every error first; a project that does not compile has nothing consistent to import. If the build itself is the blocker, work through troubleshooting an NX1 build offline in Sysmac Studio.
- Set the Network Publish attribute on each interface variable you declared under Global Variables: Input for values the controller writes, Output for values the panel writes, Publish Only where direction does not matter. Omron's import guide accepts exactly those three states.
- Transfer the project to the NX1, so the controller holds the interface the HMI project will reference.
- In EasyBuilder Pro, add the NX1 as a device using the NJ/NX EtherNet/IP driver Weintek's guide specifies. If the driver list lacks the entry you need, why an exclusive device driver is missing from your EasyBuilder Pro covers the cause.
- Go online with the NX1 before importing. The import reads the tag list from the controller, so an offline attempt returns nothing useful.
- Run the tag import from the NX1 device's own settings window. The layout moved between EasyBuilder Pro version 5 and version 6, and version 5 kept the import behind a button named Tag Manager, so open the device and use its import instead of hunting for the old button.
- Compare the imported list against a variable you know you published, and check each imported type and array size against the Sysmac declaration. To add tags to a project that already has a tag database without clobbering it, follow importing a PLC tag CSV into an existing HMI tag database.
If a published variable is missing from the list #
Work four causes in order. First the attribute: a variable left unpublished cannot appear in any import. Second the controller: compare the online NX1 with the project you prepared, because an old transfer answers with an old interface. Third the device entry: a wrong model or driver selection returns nothing usable. Fourth the type: check the member's declaration against the data types the driver supports, and where a type is not supported, publish a scalar interface variable of a supported type instead and copy the value in PLC logic. Import again after each fix; the list comes from the controller, not from your open project.
Bind objects and prove the values #
Bind every object to the imported symbol, meaning the structure member, never to a recomputed word address, so a later layout change cannot force you to re-address screens. Match each object's numeric format to the member's declared type; a wrong format corrupts values quietly, which is the mechanism behind why an HMI writes the wrong PLC value above 9. A BOOL member binds as a bit, and if the tag entry rejects the bit address while you add it, fixing invalid bit address errors when adding HMI tags covers the entry format behind that error.
Then prove the tags against the real controller. Offline simulation runs on the panel project's own memory and never touches the PLC, so buttons that behave in simulation can still do nothing live; why HMI simulation buttons do not change PLC tags explains that gap. With the panel online, watch one read-only tag follow a value that changes on the machine, then try one supervised write.
Where a union allocated at W100 actually ends #
The case that trips the DB habit: a union variable allocated at W100, a member that is an array of integers, and no visible end. The end exists; you compute it.
The inputs, and where each comes from:
- Start address W100, the allocation you gave the union variable.
- Largest member: an array of 60 INT values. The 60 is this example's own number; your element count comes from your own declaration, and the method does not change with it.
- Units: the W area is word-addressed, an INT occupies one word, a DINT two.
The rule in words: a union does not add its members together; its allocated size is the size of its largest member. A contiguous allocation of N words that begins at word S ends at word S plus N minus 1, inclusive.
The arithmetic: 60 INT × 1 word = 60 words, so the end word is 100 + 60 - 1 = 159, and the allocation covers W100 through W159. Swap the largest member for an array of 30 DINT and the span is 30 × 2 = 60 words, the same W159, which is why you cannot read the end off any single member.
The result: that variable occupies sixty words, W100 to W159.
The decision: if the union's job was DB-style grouping, it is the wrong tool. Every member writes the same words, so a value stored through one member silently reinterprets the bytes the others read. Compute the end the same way for your own counts before any write test, because an overlap with the next allocation corrupts both. That overlay pattern is for deliberate reinterpretation, word bit access for instance, and exposing UINT bits to an HMI through a structure and union in CODESYS works it in detail. For grouping, declare the STRUCT, publish it, and let the import list carry the addressing.
The decision for your project #
One interface STRUCT per machine area, Network Publish set on exactly those variables, a clean build, a transfer, an online import into the configured NX1 device, symbols bound on every object, types matched. Keep the absolute %W and %H addresses for a documented one-off probe, not as the interface. Keep unions out of the interface unless you mean to reinterpret one shared block of storage. When an import comes up short, the cause is an unpublished variable, a stale project on the controller, or a wrong device entry, in that order.
Questions asked
Is there an exact Siemens DB equivalent on an NX1?
No object named DB exists in Sysmac Studio. The working substitute is a STRUCT-typed global variable: one named grouping whose published members the panel imports and binds individually. Addressing runs by name rather than by byte offset, which frees you from recomputing word locations when the layout changes. Declare one interface structure per machine area and treat its published members as the block you keep ordered for the panel.
I set the Network Publish attribute but the variable still does not appear. What now?
The import list is read from the controller, so recompile and transfer the project to the NX1 before importing again; an attribute changed only in your open project changes nothing on the panel side. Also confirm the online device you import from is the same controller your HMI project targets, and that the variable's type is one the driver supports.
Can I mix symbolic tags with absolute %W or %H addresses?
Yes. The driver serves both, so classify each object instead of converting the whole project at once. For any absolute binding, record the memory area, the starting word, the data type and the element count in the project notes, because nothing recalculates them when the layout changes. Prefer imported symbols for everything you intend to maintain.
Where is the tag import after upgrading EasyBuilder Pro to version 6?
Version 6 rearranged the tooling around the devices, and the familiar version 5 button is not where it was. Open the NX1 device in the project's device settings and run its tag import from that window; Weintek's connection guide for the NJ/NX series follows the current path. The import itself still reads the tags online from the controller.
Does a completed tag import prove the panel communicates with the NX1?
No. The import only fills the engineering project's tag list from the controller. Runtime communication rests on the driver selection, a reachable IP address on both ends, the project actually transferred to the controller, and the variables being published. Prove it with one read-only tag bound to a machine value that changes, then move to a supervised write.


