Section 6 Programming Macros 6-1 Registering Macros
NS-Designer Operation Manual NS-Designer Operation Manual NS-Designer Operation Manual
No. Setting Details
5 When changing
value
Executes when the value at the communications address changes.
6 Set value com-
parison macro
Executes the macro as given below based on comparing the value stored at the
specified address and the set value.
Value = Set
value
Executes the macro when the value at the specified address equals the set value.
Value > Set
value
Executes the macro when the value at the specified address is greater than the
set value.
Value < Set
value
Executes the macro when the value at the specified address is less than the set
value.
Reference
♦ If the bits/values at specified addresses changed at the same time, macros are executed in the follow-
ing order.
Case Macro execution order
Specified addresses for macros turn ON/OFF
at the same time.
Executed in order from When a bit changed 1 to
When a bit changed 10.
The same address is specified for multiple bit
change macros.
Executed in order from When a bit changed 1 to
When a bit changed 10.
The values for specified addresses for macros
change at the same time.
Executed in order from When a value changed 1
to When a value changed 10.
The same address is specified for multiple
value change macros.
Executed in order from When a value changed 1
to When a value changed 10.
The address set for an alarm/event macro
turns ON at the same time as an address for a
bit/value change macro changes.
Executed in order from the trigger macro and then
the alarm/event macro.
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
Registering Macros to Screens
Use the following procedure to register macros to screens.
1. Select Settings - Screen properties.
2. The Screen Properties Dialog Box will be displayed. Click the Macro Tab.
3. Select from the following execution conditions.
6-4