Design For Accessibility: Getting it right from the start
Chapter 2 The Easier Programming, the Better Project
1. Chapter 2
The Easier Programming, the Better Project
SETP_Ⅱ、Device Planning-----Excellent device planning is benefit to build stable
projects
I do believe you have found that as for the same project, some programming are
complicated and difficult to understand, but some are not, that it is because of
different device planning that makes it different.
★D0~D10 should be allocated to HMI system, such as writing address, screen display,
language etc, as below picture showed:
2. ★D20~D99 should be allocated to communication, setting of special modules and
constant for calculation, as below picture showed:
3. Others should begin with even and use floating operations, not only can improve the
precision, but also avoid address conflicts and overlay (All Wecon HMI Series support
floating points setting and display). Because the division operation integer or double
integer exist remainder which occupies register, but floating can solve this problem.
For example, the intermediate variable usage of D100~D999
4. ★In multi-axis control system, storage in each axis is recommended to separate
For example:D1000~D1999 are allocated to Y0.
D2000~D2999 are allocated to Y1.
D3000~D3999 are allocated to Y2.
D4000~D4999 are allocated to Y3.
5. ★D6000~D7999 are allocated to HMI date setting and display with remark of H
indicating this part of register belongs to HMI. The address format should be 32bit
floating which avoids conflicts with register.
6. ★The allocation of M device is the same with date register D, which should be
well-organized.
7. ★Address writing is recommended by EXCEL table and imported to PLC project once
finished. Wecon PLC Editor supports the import and export of device remarks.
★Remark H for HMI, A for automation, * for variable and hidden access, which avoid
conflicts and overlap, and also easy for future search and update.
★ Device planning like managing the storehouse, different dates should be
programmed in certain area for different functions, so as to be tracked easily.