Value input – Rockwell Automation MMCL Using the Mining, Mineral, and Cement Library (MMCL) in FactoryTalk View Site Ed User Manual

Page 89

Advertising
background image

Publication RA-UM001B-EN-P - November 2010

Display Tag Reference 89

Value Input

{#2\#3\#4\Name}

If {#1_#2_#3_#4_C.Set.#5}<{#1_#2_#3_#4_C.Val.MZ} Then
{#1_#2_#3_#4_C.Set.#5} = {#1_#2_#3_#4_C.Set.#5} +
(({#1_#2_#3_#4_C.Val.MZ}-{#1_#2_#3_#4_C.Val.NZ})/100)
Else #1_#2_#3_#4_C.Set.#5 = {#1_#2_#3_#4_C.Val.MZ}
Endif

If {#1_#2_#3_#4_C.Set.#5}>{#1_#2_#3_#4_C.Val.NZ} Then
{#1_#2_#3_#4_C.Set.#5} = {#1_#2_#3_#4_C.Set.#5} -
(({#1_#2_#3_#4_C.Val.MZ}-{#1_#2_#3_#4_C.Val.NZ})/100) Else
{#1_#2_#3_#4_C.Set.#5} = {#1_#2_#3_#4_C.Val.NZ} Endif

{#2\#3\#4\Set\#5}

#1_#2_#3_#4_C.Val.NZ

#1_#2_#3_#4_C.Set.#5

#1_#2_#3_#4_C.Val.MZ

Advertising