11-3
11 Example of Actual Application Procedures
NJ-series CPU Unit Software User’s Manual (W501)
11-2 Overview of the Example Procedure
11
11-2-1 Wiring and Settings
11-2 Overview of the Example Procedure
This section describes examples of the actual operating procedures for an NJ-series Controller.
Wire the Controller and make the hardware settings.
Design the I/O, tasks, POUs, and variables.
• Design the relationship between the external I/O and the unit configuration.
• Determine the intervals at which to refresh external I/O.
Consider the following:
• What task configuration is required
• Which programs to assign to which tasks
• Which Units to assign to which tasks
• What processing to place in programs and what processing to place in function blocks and functions
Consider the following:
• The separation of variables into those that you use in more than one POU (global variables) and vari-
ables that you use in only specific POUs (local variables)
• Defining the variable names for the device variables that you use to access slaves and Units
• Defining the attributes of variables, such as the Name and Retain attributes
• Designing the data types of variables
11-2-1 Wiring and Settings
11-2-2 Software Design
I/O Design
Task and POU Design
Variable Design