
OMRON
CHAPTER 17 – Best Practices
Release 2.0
Page 257
•
Use Fins event memory
If your communications is using a Fins driver (e.g. Controller Link) it is possible to create a
responsive application giving the impression of high performance by linking the SCADA to the event
memory, which the network updates automatically. Of course reads and writes actually access the
local cache very quickly although this will lag behind actual device values.
•
Control communications
Use the 'On Request' update type to give you complete control over when the value of a point is read
from the PLC or written to the PLC. The 'InputPoint' script function is used to input the value of a
specified point and the 'OutputPoint' script function is used to output the value of a specified point.
Points
This section covers some good practices with the Points for quicker development and smoother
running.
•
Define as few points as possible.
Keep the Points database as slim and manageable as possible by:
•
Using arrays where possible especially for PLC points
•
If memory points are defined for scripting try to reuse general purpose points like
‘nLoopCounter’, ‘bReturnValue’, ‘nTemp’
•
Use expressions in animations instead of calculating new values e.g. using “Temper
273” rather than creating a new “TemperatureCelsius” memory point.
•
For memory areas that are bit and word addressable, access as words. If you want the bits
use expressions with & and | operators e.g. Display Digital animation expression ‘MyW100
& 0x80’ and ‘MyW100 & 0x40’ instead of ‘MyW100bit8’ etc.
•
Reduce the number of active points
Aim to reduce the number of active points, that are currently communicating where possible:
•
Automatically by setting “Update when on Display” option
•
Manually using script (EnablePoint(), DisablePoint(), OpenPLC(), ClosePLC() etc).
•
Have a minimum of Input/Output points
Double-check the use of all Input/Output points. Don’t forget that ‘Output’ points can actually have
‘Data Transfer’ set to input the value only once on start up.
Summary of Contents for CX-SUPERVISOR - V2.0
Page 2: ...CX Supervisor User Manual Software Release 2 0...
Page 3: ......
Page 5: ...CX Supervisor User Manual OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor User Manual OMRON Page iv Revision 2 0...
Page 11: ...CX Supervisor User Manual OMRON Page viii Revision 2 0...
Page 13: ...CX Supervisor User Manual OMRON Page x Revision 2 0...
Page 15: ...CX Supervisor User Manual OMRON Page xii Revision 2 0...
Page 17: ...CX Supervisor User Manual OMRON Page xiv Revision 2 0...
Page 19: ...CX Supervisor User Manual OMRON Page xvi Revision 2 0...
Page 21: ...CX Supervisor User Manual OMRON Page xviii Revision 2 0...
Page 23: ......
Page 67: ......
Page 97: ......
Page 137: ...CHAPTER 7 Graphics Library OMRON Page 114 Release 2 0...
Page 183: ...CHAPTER 9 Animation OMRON Page 160 Release 2 0...
Page 215: ......
Page 263: ......
Page 269: ......
Page 274: ...OMRON CHAPTER 16 Connecting to Omron Industrial Components Release 2 0 Page 251...
Page 275: ......
Page 285: ......
Page 319: ......
Page 331: ......
Page 351: ......
Page 359: ...GLOSSARY OF TERMS CX Supervisor User Manual OMRON Page 336 Release 2 0...