A positioning module does not store positions itself; the position values live in the PLC device area, and the HMI only writes numbers into those devices. "Working together" really means agreeing on which registers hold what, in what format the screen reads and writes them, and when writing is permitted. Once that chain is clear, the screen stops producing the classic fault where a value is entered but the machine still runs to the old position.
The HMI is normally linked to the PLC over a serial port or Ethernet, and what it reads is the PLC device area, not the buffer memory inside the positioning module. The usual approach is therefore to reserve a block of consecutive data registers in the PLC as a parameter area, let the HMI read and write only that block, and have the PLC copy the contents into the module buffer memory with a TO instruction at the right moment. Direct HMI access to the module buffer memory is possible on only a few models, and the word length and order are easy to get wrong. Drawing the chain - HMI, parameter area, TO instruction, module - into the design document saves a great deal of time later.
A position value often exceeds what a 16-bit register can represent, so it has to be built from two consecutive registers into a 32-bit word; the high/low order is per the manual for the specific model, and reversing it yields a completely wrong number. Units must also be kept apart: let the operator type millimetres on the screen, and convert to position units inside the PLC by a multiplier or scaling factor before sending to the module, rather than exposing the operator to raw pulse counts. Decimal places have to be consistent too - the number of decimals in the input field must match the scaling, otherwise a value with one decimal can be written as a whole number.
Most positioning modules do not allow the target position or speed to be changed while the axis is moving. A mid-move write is either ignored or deferred to the next positioning block, and in the worst case raises a positioning error. Every writable field therefore needs a write condition: stop the axis, wait for the positioning-complete signal to return, confirm the module is in a state that permits changes, write the parameters, read them back to verify, and only then set the start bit. Keep start on its own button rather than bundling it with the parameter write. Put the interlock logic in the PLC; a greyed-out button on the screen is a hint, not a safety measure.
The retentive area sits in different places on different models; on the FX3U the registers from D200 onward are commonly retentive, and the exact range is per the manual. Position points are usually arranged as a table by position number, each number occupying a fixed number of words. Once the screen offers the three-piece set of position-number selection, target position and speed, the operator only has to pick a number. Plan the backup of the table separately: parameters are lost after a battery change or a memory clear, so store the whole table as an HMI recipe or a save page and write it back as one block, which is far more reliable than re-keying each entry.
A workable positioning screen needs at least: target position, running speed, position number, start and stop, current-value display, positioning-complete and error indication, and soft-limit upper and lower bounds. Number input fields should carry range checks that reject values outside the machine travel and prompt the operator, rather than leaning on the PLC-side limits alone. Showing current value and target side by side makes it easy to tell whether the axis fell short or overshot. Error messages must distinguish not-yet-written parameters, positioning in progress, limit exceeded and drive alarm from one another instead of a vague "motion fault".
| Screen field | Data type | Typical register form | When and how to write |
|---|---|---|---|
| Target position | 32-bit signed | Two consecutive position-unit registers | While stopped and after positioning completes; convert first |
| Running speed | 16-bit | Speed register, pulses per second | Not changed during a move; stop the axis first |
| Position number select | 16-bit | Position-number register | Set in a separate step from the start bit |
| Zero-point offset | 32-bit | Origin offset register | Set before homing; re-home after a change |
| Start | bit | Start bit | Separate from parameter enabling; own button |
| Stop and pause | bit | Stop bit, pause bit | May be set at any time, no write condition |
| Jog speed | 16-bit | Jog speed register | Used in manual mode, separate from auto speed |
| Current value display | 32-bit | Current-value monitor register | Read-only, refreshed continuously |
| Positioning complete and error | bit | Complete bit, error bit | Read-only, used for screen status |
| Soft limit upper/lower | 32-bit | Travel upper and lower registers | Written after travel is verified; re-check on change |
The screen is separated from the positioning module by the PLC device area, so when debugging, first check that the numbers inside the PLC are written correctly, and only then involve the module; on the module side, first confirm the buffer memory received them, and only then look at whether the axis moved. This layered approach avoids endless fiddling with decimals and formats on the screen. For multiple axes, arrange each axis parameter area at a fixed offset and use one screen configuration with several addresses, which cuts the maintenance effort considerably.
The general requirements for programmable controllers and their I/O and communication functions follow GB/T 15969.2 and IEC 61131-2, and programming languages and function block semantics follow GB/T 15969.3 and IEC 61131-3. The electrical connection, protection and earthing of industrial machinery follow GB 5226.1 and IEC 60204-1. Electromagnetic compatibility for adjustable-speed electrical drive systems is covered by GB/T 12668.3 and IEC 61800-3. Graphical symbols and terminal designations follow GB/T 4728, and where emergency stop or safety gates are involved, the safety-related parts follow GB/T 16855.1 and ISO 13849-1. The exact device numbers and retentive ranges are per the manual for the specific model.
Change parameters only with the machine stopped, read them back to verify, and test at low speed. Emergency stop, safety gates and hard limits must work independently of the screen and the positioning parameters, not rely on a greyed-out button.