3 Functions of NB-Designer
3-264
NB-series Programmable Terminals NB-Designer Operation Manual(V106)
Place 1 Function Key to execute Macro, and select “macro_0.c” in the drop-down menu as below and
input “=” in the label:
The Edit Window is displayed as follows.
Perform the offline test, input 5 into LW0 and 2 into LW1, and you will see the result as shown below:
The result should be 2.5000 instead of 2.0000.
LW0_R and LW1_R are [signed short] so that the division of one variable by another variable both in
integer type results in the variable also in integer type. In order to resolve this problem, the variable to
perform the division is necessary to be casted in [double] as follows.
LW2_W = (double)(LW0_R)/LW1_R;
Содержание NB10W-TW01B
Страница 4: ......
Страница 10: ...Terminology 6 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 448: ...3 Functions of NB Designer 3 406 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 450: ...3 Functions of NB Designer 3 408 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 462: ...4 Functions of NBManager 4 10 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 472: ...4 Functions of NBManager 4 20 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 482: ...5 Maintenance and Abnormality Handling 5 10 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 528: ...8 Web Interface 8 10 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 544: ...Appendices A 16 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 546: ...Revision 2 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Страница 547: ......