Σ - II Series SGM H/SGDH
User's Manual:
Design and Maintenance
SIEZ-C887-1.2Describes the processing instructions used in
MP9 ladder programs.
SIEZ-C887-1.3Describes the motion programming language
used for the MP9.
SIEZ-C887-2.3 (for
simple operation)
(To be prepared),
SIEZ-C887-2.4 (for
standard operation)
(To be prepared)
SIE-S800-32.2Describes SGM H/SGDH functions,
Describes the CP-717 Programming Panel
Software used for designing and maintaining
the MP9.
specifications, and operating procedures.
xiii
Page 13
Using This Manual
Intended Audience
This manual is intended for the following users.
• Those responsible for estimating the MP940 system
• Those responsible for deciding whether to apply the MP940 system
• Those responsible for designing the MP940 system so that it can be mounted in the con-
trol and operating panels
• Those responsible for making, inspecting, testing, adjusting, and maintaining the control
and operating panels in which the MP940 is mounted
Description of Technical Terms
In this manual, the following terms are defined as follows:
• MP940 = MP940 Machine Controller, which consists of a Power Supply Module, CPU
Module, I/O Modules, and other Modules
• PP = Programming Panel
• PC = Programmable Logic Controller
• “--” in “MOV [axis1]--...” represents numeric data for axis 1.
Inverted Signals
In this manual, a slash (/) is placed in front of the name of any signal that is valid when low
(L).
• S-ON
• P-CON
= /S-ON
= /P-CON
xiv
Page 14
Safety Precautions
Caution
Caution
MP940
SERVOPACK
Spring
Spring
mounting hook
Mounting holes
This section describes precautions that apply to correct use of devices. Before installing,
operating, maintaining or inspecting devices, always read this manual and all other docu-
ments provided to ensure correct programming. Before using the equipment, familiarize
yourself with equipment details, safety information, and all other precautions.
Storage and Transportation
• If disinfectants or insecticides must be used to treat packing materials such as wooden frames, pal-
lets, or plywood, the packing materials must be treated before the product is packaged, and meth-
ods other than fumigation must be used.
Example: Heat treatment, where materials are kiln-dried to a core temperature of 56°C for
30 minutes or more.
If the electronic products, which include stand-alone products and products installed in machines, are packed
with fumigated wooden materials, the electrical components may be greatly damaged by the gases or fumes
resulting from the fumigation process. In particular, disinfectants containing halogen, which includes chlorine, fluorine, bromine, or iodine can contribute to the erosion of the capacitors.
Safety Precautions
Installation
• Always mount the Module securely using the Module mounting spring.
A loose spring may result in a malfunction of the MP940.
• Always turn OFF the MP940 Module before installing or removing it.
• Insert the connectors of the cables to be connected to the Module and secure them well.
Incorrect insertion of the connectors may result in a malfunction of the MP940.
xv
Page 15
Wiring
Caution
• Always connect a power supply that meets the specifications.
Connecting an inappropriate power supply may cause fires.
• Wiring must be performed by qualified personnel.
Incorrect wiring may cause fires, product failure, or malfunctions.
• Do not accidentally leave foreign matter such as wire chips in the Module when wiring.
This may cause fires, failures, and malfunctions.
Mandatory
Manditory
• Always ground the FG terminal to a ground resistance 100 Ω or less.
Failure to ground the MP940 may result in electrical shocks or malfunctions.
Select, separate, and lay external cables correctly.
• Consider the following items when selecting the I/O signal lines (external cables) to connect the
MP940 to external devices.
• Mechanical strength
• Noise interference
• Wiring distance
• Signal voltage, etc.
• Separate the I/O signal lines from the power lines both inside and outside the control panel to
reduce the influence of noise from the power lines.
If the I/O signal lines and power lines are not separated properly, malfunctioning may result.
Example of Separated External Cables
外部配線の分離例
Power
circuit
動力回路の
cables
ケーブル
General
control
circuit
一般制御回路
cables
のケーブル
鉄板製のセパレータ
Steel separat or
Digital I/O
signal
ディジタル入出力信号
cables
ケーブル
xvi
Page 16
Safety Precautions
Application
WARNING
• Do not touch any Module terminals when the system power is ON.
There is a risk of electrical shock.
Caution
• Do not attempt to modify the MP940 programs, force outputs, switch between RUN and STOP, or
performed other similar operations while the MP940 is operating.
Incorrect programming or operation may damage the equipment or cause an accident.
Maintenance
WARNING
• Make sure that the polarity of the Module's built-in battery is correct. The battery must be installed
correctly and must not be charged, disassembled, heated, thrown into fire, or short-circuited.
Improper handling may cause the battery to explode or ignite.
Prohibited
• Do not attempt to disassemble or modify the MP940 in any way.
Doing so can cause fires, product failure, or malfunctions.
• The customer must not replace any built-in fuses.
If the customer replaces a built-in fuse, the MP940 may malfunction or break down. The built-in fuse must
always be replaced by Yaskawa service staff.
xvii
Page 17
General Precautions
Always note the following to ensure safe use.
• The MP940 was not designed or manufactured for use in devices or systems directly related to
human life. Users who intend to use the product described in this manual for special purposes
such as devices or systems relating to transportation, medical, space aviation, atomic power control, or underwater use must contact Yaskawa Electric Corporation beforehand.
• The MP940 has been manufactured under strict quality control guidelines. However, if this product
is to be installed in any location in which a failure of the MP940 involves a life and death situation
or in a facility where failure may cause a serious accident, safety devices MUST be installed to
minimize the likelihood of any accident.
• Drawings in this manual show typical product examples that may differ somewhat from the product
delivered.
• This manual may change without prior notice due to product improvements and specification
changes or for easier use. We will update the manual number of the manual and issue revisions
when changes are made. The revision number of the revised manual appears on the back of the
manual.
• Contact your nearest Yaskawa sales representative or the dealer from whom you purchased the
product and quote the manual number on the front page of the manual if you need to replace a
manual that was lost or destroyed.
• Contact your nearest Yaskawa sales representative or the dealer from whom you purchased the
product to order new nameplates whenever a nameplate becomes worn or damaged.
• Products modified by the customer are not covered by the Yaskawa warranty, nor does Yaskawa
assume any liability for injury or damage that may result from such modifications.
xviii
Page 18
1 MP940 Overview and
Features
This chapter provides an overview and outlines the features of the MP940
The following table describes the motion commands.
Table 2.5 Motion Command Descriptions.
MOV [axis1] - ; *
POLATION
RETURN
SITIONING
MODE
MODE
TION SET
CHINE COORDINATE
RENT POSITION UPDATE
MVS [axis1] - F - ;
ZRN [axis1] - ;
SKP [axis1] - SS - F - ;
EXM[axis1]- D - ;
ABS;Treats all subsequent coordinate words as
INC;Treats all subsequent coordinate words as
POS [axis1] - ;
MVM MOV [axis1] - ;
or
MVM MVS [axis1] - ;
PLD [axis1] ;Updates the program current position for
Executes positioning at rapid traverse speed.
Executes linear travel at interpolation feed
speed F.
Returns axis to its zero point.
If the SKIP signal turns ON during a linear
interpolation operation, skips the remaining
movement and proceeds to the next block.
When an external positioning signal is input
while external positioning is being executed,
only the travel distance designated by “D-" is
positioned with an incremental value, and
then the next command is executed.
absolute values.
incremental values.
Changes the current values to the desired
coordinate values. Subsequent move commands use this new coordinate system.
Goes to the target position on the machine
coordinate system. The coordinate system
set automatically on completion of the zero
point return is called a machine coordinate
system. This coordinate system is not
affected by the POS command.
axes shifted by manual intervention.
∗ “ - ” in MOV[axis1] - •••; denotes the numeric data for axis 1.
Sets the acceleration time for linear
acceleration/deceleration.
Sets the deceleration time for linear
acceleration/deceleration.
Sets the time constant for moving average acceleration/deceleration.
Sets the feed speed.
Sets the acceleration time for linear
acceleration/deceleration for interpolation travel.
Sets the deceleration time for linear
acceleration/deceleration for interpolation travel.
Designates the maximum feed % for the
speed designation during an interpolation feed.
Sets the maximum speed during an interpolation feed.
The interpolation acceleration time is the
time from zero until this speed is
reached.
Proceeds to the next block after the positioning commanded by the interpolation
travel command in the same block or a
previous block enters the positioning
completion range (parameter setting).
A block with this command will be executed continuously, even in single-block
operation mode.
Provides all programming device functions.
File Manager can also be called.
application data, data trace, groups, and motion
parameters.
Provides a programming environment based on
new production, properties, constant tables, I/O
conversion tables, interlock tables, element assembly tables, and adjustment panels.
coil lists, comment lists, and register number
replacement tools.
Provides a motion programming environment
based on the Motion Editor.
that are queued for printing. Can also cancel the
print command.
Creates a shortcut icon on the desktop.
Sets transfer parameters and manages communications with the MP940.
2
2-21
Page 45
Specifications and Functions
2.5 Function Tree Structure
The following diagram shows the commands started from each manager. With the CP-717 the
File Manager Window is displayed first.
Configuration
Communications
User Menu Manager
Definitions
Group Definitions
Scan Setting
Data Trace
List Manager
Motion
New Programs
Existing Programs
Position Monitoring
Engineering Manager
Menu Lists
Tools
Register Lists
Cross-Reference
Disable Lists
File Manager
C Register
C Register List
Print Setting
Transfer
Register Lists
Tables
Table Data List
User Manager
Online/Offline
Properties
Programs
New Drawings
Properties
Main Programs
Module Configuration
SERIAL
System Definitions
Application Settings
Task Monitoring
Motion Alarm
LIO
Comments
Register Number
Replacement
SVA
2-22
CNTR
MLINK
Constant Table
I/O Conversion Table
Interlock Table
Element Assembly
Ta bl e
Adjustment Panel
Page 46
2.6 SERVOPACK Specifications
pply
2.6.1 Outer Appearance and Nameplate Example
YASKAWA
SERVOPACK
SGDH-
MODE/SET
DATA/
POWER
CHARGE
L1
C
N
L2
3
L3
12
C
N
1
L1C
L2C
B1
B2
B3
C
U
N
2
V
W
Σ-II Series
SGDH SERVOPACK
2.6
SERVOPACK Specifications
SERVOPACK model number
SGDH-30AE
18.6
Serial number
Applicable power
24.8
3.0(4.0)
Applicable
motor capacity
su
2
2.6.2 Model Numbers
Maximum applicable Servomotor capacity
(Refer to the following table.)
Specified form
E: With built-in functions for Option Unit
Option specifications
None: Base-mounted
R: Rack-mounted (Available only for 5 kW max.)
P: Duct ventilation (Available only for 6 or 7.5 kW.)
SGDH- 10 A E
Σ-II Series
SGDH SERVOPACK
Volta ge
A: 200 V
B: 100 V
D: 400 V
*The 100-V voltage applies to 0.2-kW SGMAH and
SGMPH Servomotor models only.
∗
- □
2-23
Page 47
Specifications and Functions
2.6.2
Model Numbers
INFO
Max. Applicable Motor
Capacity Symbol
Capacity (kW)
Max. Applicable Motor
Capacity Symbol
Capacity (kW)
A30.03080.75
A50.05101.0
010.10151.5
020.20202.0
040.40303.0
050.50
Note: The only 100-V servomotor models are the SGMAH and SHMPH
Servomotors of 0.2 kW or less.
For details on SERVOPACK and Servomotor specifications and functions, refer to Σ-II Series SGM/
SGDH User's Manual: Design and Maintenance (SIE-S800-32.2).
2-24
Page 48
3 Basic System Operation
This chapter explains the basic operation of the MP940 system.
This section explains the online operating mode and the offline stop mode, both of which indi-
cate the MP940 operating status.
3.1
Operating Modes
Operating mode
Fig 3.1 MP940 Operating Modes
3.1.1 Online Operating Mode
When the power for the MP940 is turned ON, the RDY and RUN indicators will light (the
ALM indicators will not light), and the Module will enter the online operating mode. This
means that the user program and I/O operations are being executed in the MP940 without
any errors or failures. If an alarm does occur, such as for an I/O conversion error or a user
calculation error, the execution of the user program will not stop, and the online operating
mode will be maintained. The ALM indicator lights to indicate the occurrence of an error.
For details on the error content and the action to be taken, see Chapter 10 SERVOPACK
Inspection, Maintenance, and Troubleshooting.
Online operating mode
RDY and RUN indicators lit
User program and I/O operation executing
Offline stop mode
RDY or RUN indicators unlit
User program stopped
3
3.1.2 Offline Stop Mode
The execution of the user program is stopped, and all outputs are reset (i.e., “0” is output for
all digital outputs). The RUN or RDY indicator will go OFF to indicate the status. Drawings
(DWG.H and DWG.L) are not executed in this status.
The Controller will be in the offline stop mode in the following four cases:
1. When the program memory has not been initialized (see * 1.)
2. When a serious failure, such as watchdog timer error, has occurred (see * 1.)
3. When a STOP operation has been performed from the CP-717 (see * 2.)
4. When the RUN/STOP switch has been set to OFF (STOP) and the power has been
turned ON (see * 3.)
Note: 1. The above cases apply when a user program error occurs, or when
2. The online operating mode is entered by performing a RUN oper-
there is a hardware fault in the MP940. For details on the error
content and the action to be taken, see Chapter 10 SERVOPACK Inspection, Maintenance, and Troubleshooting.
ation.
3-3
Page 51
Basic System Operation
3.1.2
Offline Stop Mode
3. The online operating mode is entered by turning ON (RUN) the
RUN/STOP switch.
3-4
Page 52
3.2 Start and Stop Sequences
This section explains the start and stop sequences of the MP940. The methods of setting the DIP
switch, the types of self-diagnosis, and the indicator patterns are also explained.
3.2.1 DIP Switch Settings
The DIP switch on the CPU Module are used to control start and stop sequences. As shown
in the following figure, there are six pins on the DIP switch on the CPU Module. The fol-
lowing table shows the function of each pin.
Table 3.1 DIP Switch Pin Functions
PinNameSettingFunction
654321
RUN
INIT
TEST
FLASH
P.P
COPY
NO
ONOFF
6RUNONUser program operatingON
5INITIALONPin 4 OFF:
4TESTONTerminal mode/initialization modeOFF
3FLASHONCopy program data from flash memory to RAM ON
2PP
Default
1COPYONCopy M register from flash memory.ON
3.2
Start and Stop Sequences
Default
Setting
OFFUser program stopped
OFF
ON:Memory clear
OFFPin 4 OFF:
ON:Setting disabled
OFFOnline
OFFDo not copy program data from flash memory
to RAM
ONDefaults for port 1 onlyOFF
OFFUse memory settings
OFFDo not copy M register from flash memory.
3
• NO is indicated at the arrow at the lower right of the DIP switch. When a pin is moved to
the right side it is ON, and when moved to the left it is OFF.
• If using the CPU Module without backup for the battery, be sure to set the pin no.5 (INI-
TIAL) to ON.
3-5
Page 53
Basic System Operation
3.2.1
DIP Switch Settings
Memory Initialization
When the DIP switch is set according to the following procedure and the power is turned
ON and OFF, memory will be initialized, and the user programs and definition data will be
deleted.
12345
Turn OFF the
MP940 power.
Turn ON the DIP
switch pins for
INIT and TEST.
6
RUN
5
INITIAL
TEST
FLASH
P.P
1234
COPY
←
NO
Turn ON the
power, and check
that the RDY and
RUN indicators
flash, and then
wait for 4 to 5
seconds (Flashes
until the power is
turned OFF).
Turn OFF the
power, and return
the DIP switch
pins to their original settings,
with only the
RUN pin ON.
6
RUN
5
INITIAL
TEST
FLASH
P.P
1234
COPY
←
NO
Turn ON the
power again.
Always initialize memory if you remove the battery when the Module power supply is
turned OFF.
3-6
Page 54
3.2.2 Start Sequence
The MP940 makes a number of determinations at startup. If an error is detected, the ERR
indicator will flash and the error content will be indicated by the number of times the indica-
tor flashes. When the indicator is flashing, the CP-717 cannot be operated. For details on the
error content and the action to be taken, see Chapter 10 SERVOPACK Inspection, Mainte-
nance, and Troubleshooting. The following table shows the MP940 indicators.
Normal LitUnlit Unlit UnlitThe user program is stopped.
ErrorUnlit Unlit LitUnlitHardware reset status (while display is continu-
Alarm---LitBattery alarm
Other
Type
3.2
Start and Stop Sequences
Table 3.2 Indicators and Indicator Patterns
Indicator
RDYRUNALMBAT
LitLitUnlit UnlitThe user program is executing normally.
ing)
Unlit Unlit Unlit UnlitDuring initial execution (while display is con-
tinuing)
Unlit-LitUnlitA serious error has occurred.
Unlit Unlit
LitLitLitUnlit• Calculation error
Reported to the system (S)
register (no indicator display)
Flashing Flashing
RDY and RUN flash repeatedly at the same time.
Unlit Unlit LitUnlitOffline test mode
Flashing
Unlit• Flashing twice: RAM error
• Flashing three times: ROM error
• Flashing four times: Peripheral LSI error
• I/O error
Hardware status (power loss, RUN/STOP, test
mode, etc.)
Unlit UnlitMemory initialization has been completed for
the DIP switch settings.
Meaning
3
3-7
Page 55
Basic System Operation
3.2.2
Start Sequence
MP940 Start Sequence and Basic Operation
Power ON
Interrupt signal
Test mode
switch
Program mem-
ory check
Program data:
Memory clear
Startup selfdiagnosis
Detect RUN
switch
Start watchdog
timer
Execute DWG.A
S scan synchronization
DWG.S
S scan process
= Test mode
= Normal mode
= Not damaged
= Damaged
Ground
Online selfdiagnosis
Offline selfdiagnosis
Execute DWG.I
End after one
execution
DWG.H
H scan process
DWG.L
L scan process
3-8
Time slice
execution
Page 56
3.2
Start and Stop Sequences
The MP940 start sequence and basic operations are as follows:
1. Startup Self-diagnosis
The following operations are provided for startup self-diagnosis:
• Memory (RAM) read/write diagnosis
• System program (ROM) diagnosis
• Main processor (CPU) function diagnosis
• Numeric co-processor (FCPU) function diagnosis
If an error occurs in the diagnostic result, the RDY indicator will flash the specified
number of times.
2. Online Self-diagnosis
The following operations are provided for online self-diagnosis:
• System program (ROM) diagnosis
• Main processor (CPU) function diagnosis
• Numeric co-processor (FCPU) function diagnosis
3
If an error occurs in the diagnostic result, the RDY indicator will flash the specified
number of times.
3. New Operation Start
Set the operation method for “New Operation” on the CP-717 System Definition
Screen. When the system is next started, the new operation will be used to start. Unlike
a continuous operation start, self-diagnostic processing is performed before DWG.A is
executed.
4. Operation Stop
The MP940 stops operating in the following cases:
• When the power supply is interrupted (see * 1.)
• When a power failure has occurred (see * 1.)
• When a fatal error has occurred (see * 2.)
• When a STOP operation has been performed from the CP-717 (see * 3.)
Note: 1. The MP940 can be restarted only by turning ON the power again.
2. Restart the system by turning the power OFF and ON. The cause
of the error can be ascertained by the indicator status.
3. Restart the system by performing a RUN operation from the CP-
717.
3-9
Page 57
Basic System Operation
3.3.1
Overview of Scan Processing
3.3 Scan Processing
3.3.1 Overview of Scan Processing
Types of Scans
There are three types of MP940 scan processing: S (system) scans, H (high-speed) scans,
and L (low-speed) scans. Scan processing is executed using time slicing within the S-scan
cycle, with the S scan as the basic cycle.
Background processing time for PP processing must be ensured by setting a ratio for alloca-
tion to background processing within the S scan cycle.
Scan TypeDetails
S scan (system scan)• Basic cycle for scan processing: Select 0.5, 1.0, 2.0, or
4.0 ms.
• S, H, and L scan processing is all executed with time slicing within the S-scan cycle.
H scan (high-speed scan)• Set as an integer multiple of S-scan cycle.
• Executed with time slicing within S-scan cycle.
L scan (low-speed scan)• Set as an integer multiple of S-scan cycle.
• Executed with time slicing within S-scan cycle.
Service Scans for Each Function
Except for SVA, the scan for executing I/O processing can be selected for each function.
Function
CNTRS/H/LProcessed in sync with S, H, or L.
LIO (DI/DO/AI/AO)S/H/LProcessed in sync with S, H, or L.
MECHATROLINK
(distributed I/O, etc.)
SVAS/HScan fixed (not selectable).
Scans Possible for
Servicing
H/LProcessed in sync with H, or L.
Parameters can be set to select synchronization with the
Phase Control Mode and the Position Control Mode.
Phase Control Mode Synchronization Selection
(OBC0016)
0: H scan (default); 1: S scan
Position Control Mode Parameter Synchronization
Selection (OBC0017)
0: H scan; 1: S scan (default)
Remarks
3-10
Page 58
3.3.2 S Scan Details
)
r
The following diagram shows the internal processing and order of processing of an S scan.
S scan cycle (0.5, 1.0, 2.0, or 4.0 ms)
3.3
Scan Processing
C
L
N
I
T
O
R
HSSSBG
(always completed within scan)
Required
Timer
R
I
SAHALA
O
(If not completed within 1 scan,
will be executed in next scan.)
Items Always Completed within S Scan
C
L
N
I
T
O
R
HSSS
SA
S-scan application (DWG.S)
S-scan system processing
(SVA control loop, etc.)
H-scan system processing (SVA acceleration/
deceleration processing, etc.) (Executed once for
each H scan cycle.)
Local I/O processing (DI/DO/AI/AO)
C
R
O
I
M
O
With time limit
Remainder
Background
processing
3
Timesharing Items
R
I
HALA
O
C
O
M
3-11
R
I
O
L-scan application (DWG.L)
H-scan application (DWG.H)
Distributed I/O (MECHATROLINK
processing (synchronized to eithe
H or L scan)
Serial communications
Page 59
Basic System Operation
3.3.3
Setting Scan Times
Background
Background task
(PP processing)
BG
Precautions for Scan Processing
• When processing is to be completed within the S scan, have it completed in approximately 1/2 the
time of the S-scan cycle setting.
• Set the ratio allocated to background processing.
Scan Operations
The various scan processing operations are as shown in the following diagram.
3.3.3 Setting Scan Times
Opening the Scan Time Settings Window
From the CP-717 File Manager, double-click on Scan Time Settings in the Definition Folder.
S-scan cycle
DWG.S
S-scan processing
DWG.H
H-scan processing
DWG.L
L-scan processing
Executed with
time slicing.
3-12
Page 60
The Scan Time Settings Window will be displayed.
3.3.4 Setting the System Scan Time
3.3
Scan Processing
The MP940 has three scan time levels (system, high-speed, and low-speed). The scan time
setting determines the program execution flow. The system scan time must be set first,
before the other two levels. The high-speed and low-speed scan times are set based on the
system scan time.
The setting range for each of the three scan time levels is shown in the following table. For
details, refer to the MP940 User's Manual: Design and Maintenance Manual.
Scan Time LevelSetting Range
System scan0.5, 1, 2, or 4 ms
High-speed scan0.5 to 32 ms (system scan integer multiple)
Low-speed scan2.0 to 100 ms (system scan integer multiple)
Opening the Settings Window
Select Settings (S) and then Basic Control Cycle (B) from the View (V) Menu.
3
3-13
Page 61
Basic System Operation
3.3.5
Setting Scan Time Definitions
SettingDetails
Set TimeSets the system scan time value.
The lower number is the value that is currently set.
Maximum TimeSets the maximum system scan time value.
The lower number is the maximum valued measured by the
system up to this point.
Current TimeIndicates the present value for the system scan time.
Number of StepsIndicates the number of steps for the system scan time.
Background TimeIndicates the percentage of the overall system that is being used
for background processing.
Watchdog SetSets a watchdog time which is the estimated time limit for the
system scan.
• The power supply must first be turned OFF before changing the basic control cycle.
• Even when the memory is cleared, the basic control cycle will not be returned to the default value
but the present value will be applied. To return to the default value, turn the power OFF and back
ON again.
3.3.5 Setting Scan Time Definitions
In the Online Mode, the Machine Controller’s high-speed scan time will be displayed. In the
Offline Mode, the scan time data saved on the hard disk will be displayed.
3-14
Page 62
3.3
Scan Processing
SettingDetails
High Speed ScanSet Time: Input the set value for the scan time.
Maximum Time: The maximum value for the scan time will be
displayed. To reset the maximum scan time value, input 0. In
the Offline Mode “0” is displayed.
Current Time: The present value for the scan time will be displayed. In the Offline Mode “0” is displayed.
Steps: The total number of steps for the scan processing drawing is displayed.
Low Speed ScanSet the low-speed scan time. For the meaning of each data
item, refer to the description under the high-speed scan time.
Start-up DWG Steps
Process Drawing
Interrupt DWG StepsThe total number of steps for the interrupt processing drawing
User Function StepsThe total number of steps for user functions is displayed.
Total Step StepsThe total number of steps for all drawings is displayed.
Program MemoryTotal: The total amount of program memory used is displayed
The number of steps for the startup processing drawing is displayed.
is displayed.
(i.e., the total for drawings, functions, and motion programs).
In the Offline Mode “0” is displayed.
Available: The remaining program memory is displayed. In the
Offline Mode “0” is displayed.
3
INFO
In the Online Mode, the maximum scan time value can be cleared to 0 by entering “0” in the
maximum value field and saving it. After the previous maximum value has been cleared, a
new maximum value will begin to be determined.
3.3.6 Saving Scan Time Definitions
Use the following procedure to save a scan time definition.
1. Select Save(S) from the File(F) Menu.
2. Click the Ye s (Y ) Button in the Scan Time Message Box.
3. Click the OK Button in the message box.
3.3.7 Completing Scan Time Definitions
The scan time settings are completed by closing the Scan Time Window.
To close the window, select Close(C) from the File(F) Menu.
3-15
Page 63
Basic System Operation
3.4.1
Drawings (DWGs)
3.4 User Programs
3.4.1 Drawings (DWGs)
This section explains the basic operation of the MP940, such as the types of user program, the
priority levels, and the execution processing methods.
User programs are managed in units of programming called drawings. Each drawing is iden-
tified by a drawing number (DWG No.). These drawings serve as the basis of user programs.
The drawings include parent drawings, child drawings, grandchild drawings, and operation
error drawings. Besides the drawings, there are functions that can be freely called from each
drawing, and motion programs that can be called only from H drawings.
• Parent Drawings
Parent drawings are executed automatically by the system program when the execution
condition is established. See the Types and Priority Levels of Parent Drawings Table
below for execution conditions.
• Child Drawings
Child drawings are executed by being called from a parent drawing using the SEE com-
mand.
• Grandchild Drawings
Grandchild drawings are executed by being called from a child drawing using the SEE
instruction.
• Operation Error Drawings
Operation error drawings are executed automatically by the system program when an
operation error occurs.
• Functions
Functions are executed by being called from a parent, child, or grandchild drawing
using the FSTART instruction.
• Motion Programs
Motion programs can be called only from H drawings. They can be executed by being
called from a parent, child, or grandchild drawing using the MSEE instruction.
Types and Priority Levels of Parent Drawings
Parent drawings are classified by the first character of the drawing number (A, I, S, H, L)
according to the purpose of the process. The priority levels and execution conditions are as
shown in the following table.
Table 3.3 Types and Priority Levels of Parent Drawings
Type of Parent
Drawing
DWG.AStartup process1Started when power is turned ON (executed once
DWG.IInterrupt process2Executed by external interrupts, such as Optional
Role of Drawing
Priority
Level
Execution Condition
only when the power is turned ON)
Module DI interrupts or counter interrupts.
3-16
Number of
Drawings
4
8
Page 64
3.4
g
User Programs
Type of Parent
Drawing
Role of Drawing
Priority
Level
Execution Condition
DWG.SServo-control scans3Fixed-cycle startup (Executed with each servo-con-
trol scan time.)
DWG.HHigh-speed scan process4Servo-control scan (S scan) (Executed by time slic-
ing within cycle.)
DWG.LLow-speed scan process5Servo-control scan (S scan) (Executed by time slic-
ing within cycle.)
The following table gives details of the number of drawings for each type of drawing.
Each drawing is executed based on its priority level, as shown in the following figure.
Number of
Drawings
16
16
32
Maximum
total of 30
drawings
3
Power ON
DWG.A
Startup drawing
S-scan cycle
DWG.S
S-scan process
DWG.H
H-scan process
DWG.L
L-scan process
Operation error
DWG.X00 Operation
error drawing
X,A,I,S,H,L
Continue with
inal process
ori
Executed by
time slicing.
Interrupt signal
DWG. I
Interrupt drawing
Continue with
original process
Fig 3.2 Execution Control of Parent Drawings
3-17
Page 65
Basic System Operation
3.4.2
Execution Control of Parent Drawings
Hierarchical Arrangement of Drawings
Drawings are arranged in the following order: Parent drawing, child drawings, grandchild
drawings. A parent drawing cannot call a child drawing of a different type, and a child draw-
ing cannot call a grandchild drawing of a different type. A parent drawing also cannot
directly call a grandchild drawing. A child drawing is called from a parent drawing, and a
grandchild drawing is called from that child drawing. This is called the hierarchical arrange-
ment of drawings.
Execution of Drawings
The user prepares each processing program with the parent drawing, child drawing, grand-
child drawing hierarchy, as shown in the following figure.
Parent
Drawing
DWG.XDWG.X01.01
Child
Drawings
DWG.X01
Grandchild
Drawings
DWG.X01.02
・
Motion programsUser functions
MPM001
・
・
・
・
DWG.X01.03
MPM002
・
DWG.Xnn
・
・
MPM015
Note: Substitute A, I, H, or L for X.
Fig 3.3 Hierarchical Arrangement of Drawings
Note: 1. A parent drawing is executed automatically by the system, because
the execution condition is determined for each one. In other
words, a parent drawing is automatically called by the system. See
3.4.1 Drawings (DWGs) the table on Types and Priority Levels of
Parent Drawings below. The user can execute any child or grandchild drawing by programming an instruction that calls a drawing
(the SEE instruction) in a parent or child drawing.
FUNC-001
・
・
FUNC-006
・
・
FUNC-032
・
・
FUNC-064
2. Functions can be called from any drawing. A function can also be
called from a function.
3. If an operation error occurs, the operation error drawing corresponding to the drawing will be called.
4. Motion programs must be called from H drawings using the
MSEE instruction. The MSEE instruction can be used from any H
drawing, i.e., from parent, child, or grandchild H drawings.
3-18
Page 66
3.4
User Programs
INFO
• A parent drawing cannot call a child drawing of a different type, and a child drawing cannot call a
grandchild drawing of a different type.
• A parent drawing cannot directly call a grandchild drawing. A child drawing must be referenced
from a parent drawing, and a grandchild drawing must be called from that child drawing.
• A parent drawing is automatically called (and executed) by the system. A child drawing is called
from a parent drawing using the SEE instruction. Therefore, user programs containing only child
and grandchild drawings cannot be executed.
Execution Processing Method of Drawings
Drawings in the hierarchy are executed by the lower-level drawings being called from
upper-level drawings. The following figure shows the hierarchical arrangement of drawings,
using the example of DWG.A.
Starts according to
the system program
execution condition
Parent DrawingChild DrawingsGrandchild Drawings
DWG.A
SEE A01
DWG.A01
SEE A01.01
DWG.A01.01
FUNC-001
Functions
FUNC-001
3
DEND
SEE A02
Drawing notation:
SEE A01.02
DEND
DWG.A02
Operation
error
DWG.X YY . ZZ
:DWG. X 00
Started automatically by
the system.
DEND
DWG.A01.02
DEND
FUNC-001
DEND
DWG.A00
DENDDEND
Grandchild drawing No. (01 to 99)
Child drawing No. (01 to 99)
Type of parent drawing (A, I, S, H, L)
Operation error drawing (A, I, S, H, L)
3-19
Page 67
Basic System Operation
3.4.3
Motion Programming
3.4.3 Motion Programming
Overview
Motion programming is a textual motion programming language. Motion programming can
be used to create 32 programs separate from the ladder drawings.
Two types of motion program are provided: Main programs (MPM) that can be called
from DWG.H, and subroutines (MPS) that can be called from the main programs.
Table 3.5 Types of Motion Program
Classification
Main
Programs
Designation
Method
MPM
1 to 32
Subroutines MPS
1 to 32
Feature
Can be called from DWG.H
drawings.
Can be called from the main
programs.
Number of
Programs
A total of up to 32
main programs and
subroutines can be
created.
• Motion programs must be referenced from an H drawing using the MSEE command.
• Each MPM and MPS program number must be unique.
There are two methods of designating a motion program: Direct designation of the program
number, and indirect designation of the number of the register in which the program number
is stored.
ABS;
MOTION PROGRAM
CALL command
MSEE MPM001 DA0000
↑
MPM number
Ladder Logic ProgramMotion Program
Fig 3.4 Starting a Motion Program by Direct Designation
MOV
MVS
IOW MB0001
MOV
[X]
[X]
[X]
_
_ F
_
・
・
3-20
Page 68
03
Setting device
Fig 3.5 Starting a Motion Program by Indirect Designation
3.4
ABS;
MOTION PROGRAM
CALL command
MSEE MW00200 DA0000
MPM number
MW00200
Ladder Logic ProgramMotion Program
MOV
MVS
IOW MB0001
MOV
[X]
[X]
[X]
_ F
・
・
User Programs
_
_
3
3-21
Page 69
Basic System Operation
3.4.3
Motion Programming
The system program is started
according to the execution condition.
Motion Program Execution Processing Method
A motion program must be executed from DWG.H using the MSEE instruction. Motion pro-
grams can be executed from any H drawing, i.e., from parent, child, and grandchild H draw-
In each high-speed scanning cycle, the ladder logic instructions for H drawings are executed
in the following hierarchical order: Parent drawing - child drawing - grandchild drawing.
Motion programs are called in the scanning cycle, but as with ladder logic programs, all pro-
grams cannot be executed in one scan. Motion programs are executed and controlled by spe-
cial system motion management functions.
Motion programs are called in the scanning cycle, but they are not executed only in this
cycle. The control signals set on the Group Definition Screen must be input. (See the next
section.)
The following restrictions apply to calling motion programs. Call motion program with care.
• More than one motion program with the same number cannot be called using the MSEE instruction.
• Subroutines (MPSxxx) cannot be called from the ladder logic program MSEE instruction. They can
be called only from within motion programs (MPMxxx and MPSxxx).
• The same subroutine cannot be called from two different locations at the same time.
3-22
Page 70
3.4
User Programs
Executing Motion Programs
To execute a motion program called from a DWG.H drawing by the MSEE instruction, pro-
gram control signals (such as program operation start requests and program stop requests)
must be input. Operations are enabled by inputting the external control signals defined on
the Group Definition Screen as the program control signals.
The signals used to control motion programs are shown in the following table.
External Signal NameBITMotion Program Control Signal
3-26
Page 74
3.4
User Programs
Automatic Generation of Motion Management Ladder Logic Programs
An automatic generation function for the ladder logic programs used to control motion pro-
grams is provided with the MP940. This function enables JOG operations and program oper-
ations to be performed without the need for special ladder logic programs to be created, and
greatly reduces the system startup time.
Input signals
by group
Number of motion programs that
can be started simultaneously by
an H drawing
Group 1
Automatic generation of motion
management ladder logic programs
Input
signals
by axis
3
INFO
H01
Main motion
management
ladder logic
program for
Group 1
H01.01
Manual
management ladder logic
program
for axis 1
The ladder logic programs that are generated for motion program control are created auto-
matically using the external input signals that are allocated on the Group Definition Screen.
These ladder logic programs can also be used as is. It is recommended, however, that they be
used as templates to be optimized (changed) to suit individual system requirement.
3-27
Page 75
Basic System Operation
3.5.1
Standard System Functions
3.5 Functions
This section explains the methods of using and the advantages of the MP940 functions.
Functions are executed by being called from a parent, child, or grandchild drawing using the
FSTART instruction.
Unlike child and grandchild drawings, functions can be called from any drawing. The same
function can also be called simultaneously from drawings of different types and different hierar-
chies. Moreover, a function can also be called from another function that was previously cre-
ated.
The following advantages can be obtained by using functions:
• Programs can be easily divided into parts.
• Programs can be easily prepared and maintained.
Functions are divided into standard system functions, which are provided by the system, and
user functions, which are defined by the user.
3.5.1 Standard System Functions
Nine functions, including the transfer function, are provided by the system as standard func-
tions. See the following table for details. The user cannot change the standard system func-
tions.
Table 3.7 List of Standard System Functions
Type
System
Functions
NameSymbolDescription
CounterCOUNTERUp/down counter
First-in first-outFINFOUTFirst-in or first-out stack
Trace functionTRACEData trace execution control
Data trace readDTRC-RDData readout from data trace memory to user
Send message
function
Receive message
function
memory
MSG-SNDSending a message from a Communications
Module
MSG-RCVReceiving a message from a Communications
Module
3-28
Page 76
3.5.2 Creating User Functions
The body of the function (program) and the function definitions can be set by the user. The
maximum number of user functions is 32 per drawing.
The methods for creating user functions is explained according to the following procedure.
3.5
Functions
INFO
Determining I/O Specifications
Defining Function I/OInput using the CP-717.
Programming the Function
Preparing the Program for
Calling the Function
Determine the number of inputs and outputs and the data
types.
Prepare in the same way as the drawings, except that different registers are used. Program according to the correspondence between the register numbers used in the body of the
function program and the I/O data used when calling the
function.
Input using the following procedure:
1. Use the FSTART instruction to input the function name.
2. Use the FIN instruction to connect the input data.
3. Use the FOUT instruction to connect the output data.
• For details on CP-717 operations, refer to MP9 Machine Controller User’s Manual Program-
ming Panel Software (SIEZ-C887-2.3 (for simple operation) (To be prepared), SIEZ-C887-2.4 (for
standard operation) (To be prepared)).
• For details on using instructions such as FSTART, refer to MP9 Machine Controller User’s
Manual Programming (SIEZ-C887-1.2).
3
3.5.3 Determining the I/O Specifications
When a user function is created, the function capabilities, the number of inputs and outputs
required to satisfy the function, and other specifications must first be determined. Determine
the four types of specification shown in the following table.
Table 3.8 Overview of Function Definition Values
Specification to be
Determined
Function NameUp to eight characters can be input.
Number of InputsThe number of arguments input into a function. Up to 16 can be
input.
Up to 17 arguments are possible if the address input is also counted.
Number of Address
Inputs*
Number of OutputsThe number of outputs from the function. Up to 16 can be input.
∗ Indicates the number of pointers to be provided for the external function
registers used by the function.
The designated number of addresses required by the function. A
maximum of one value can be input.
3-29
Overview
Page 77
Basic System Operation
3.5.4
Defining Function I/O
3.5.4 Defining Function I/O
The function name and other specifications determined in the previous step are defined
using the CP-717. For details on operation methods, refer to the MP9
(To be prepared), SIEZ-C887-2.4 (for standard operation) (To be prepared)).
The following figure shows the graphic representation of a function when the following
function is defined: Function name = TEST, number of inputs = 4, number of address
inputs = 1, and number of outputs = 4.
TEST
IN_01
IN_02
IN_03
IN_04
IN_05
Fig 3.6 Graphic Representation of a Function 1 (Example)
Note: 1. After creating the graphic representation of the function, define the
data types of the function inputs, outputs, and address inputs.
2. Three data types can be defined: Bit, integer, and double integer.
3. When the data types are defined, the system automatically allocates inputs to the X registers, outputs to the Y registers, and
address inputs to the A registers.
OUT_01
OUT_02
OUT_03
OUT_04
3-30
Page 78
The following figure shows an example of the I/O definitions of a function.
TEST
3.5
Functions
Bit numeric input
Bit numeric input
Real number
numeric input
Integer numeric
input
===>
===>
IN_01
BIT1
IN_02
BIT2
IN_03
FLT1
IN_04
INT1INT2
IN_05
ADR
OUT_01
OUT_02
OUT_03
LNG1
OUT_04
BIT3
BIT4
Bit numeric output
Bit numeric output
Double integer
numeric output
===>
Integer numeric
output
===>
Fig 3.7 Graphic Representation of a Function 2 (Example)
I/O signal addresses are automatically allocated from the highest signal on the graphic repre-
sentation. For the example given in the figure shown above, the allocation of each I/O regis-
ter will be as shown in the following table.
Table 3.9 Allocation of I/O Registers
NameData TypeI/O Register
IN _ 01(BIT1)
IN _ 02(BIT2)
IN _ 03(FLT1)
IN _ 04(INT1)
IN _ 05(ADR)
OUT _ 01(BIT3)
OUT _ 02(BIT4)
OUT _ 03(LNG1)
OUT _ 04(INT2)
BitXB000000
BitXB000001
Real numberXF00001
IntegerXW00003
Address inputAW00000
BitYB000000
BitYB000001
Double integerYL00001
IntegerYW00003
3
Note: XW00000 and YW00000 of the X and Y registers are used for bit
data.
The function I/O registers shown in the above figure are allocated automatically. The exter-
nal framework of the function is completed at this stage.
3.5.5 Creating the Body of the Function
The body of the function is created in the same way as the drawings except that the types of
register used are different. For details on the registers, see 3.6.3 Types of Register.
3-31
Page 79
Basic System Operation
3.5.6
Creating the Program that Calls the Function
3.5.6 Creating the Program that Calls the Function
The user function is completed when the graphic representation and body program of the
function have been created. As with the standard system functions, user functions can be
called from any parent, child, or grandchild drawing or any other user function.
Functions can be called from a drawing or from within the program of another user function
by using the following procedure. For details on the operation methods, refer to the
System registers provided by the system. Register number nnnnn is
expressed as a decimal number. When
the system is started, SW00000 to
SW00049 are cleared to 0.
Data registers are shared by all drawings. Used as interfaces between drawings. Register number nnnnn is
expressed as a decimal number.
Registers used for input data.
Register number hhhh is expressed as a
hexadecimal number.
Registers used for output data.
Register number hhhh is expressed as a
hexadecimal number.
Constant registers can be called only in
the program. Register number nnnnn is
expressed as a decimal number.
# registers can be called only in the
program and can be used only in the
corresponding drawing.
The actual range used is specified by
the user on the CP-717. Register number nnnnn is expressed as a decimal
number.
D registers are unique to each drawing
and can be used only in the corresponding drawing.
The actual range used is specified by
the user on the CP-717. Register number nnnnn is expressed as a decimal
number.
Common to all
drawings
Unique to each
drawing
INFO
• The # registers cannot be used in motion programs.
• The following registers are saved in flash memory.
• M registers
• C registers
• # registers (Saved with the user program.)
• D registers (Saved with the user program.)
3-38
Page 86
Registers in Functions
The 11 types of register shown in the following table can be used in functions.
Integer input: XW00001 to XW00016
Double integer input: XL00001 to
XL00015
Register number nnnnn is expressed as a
decimal number.
Output from a function.
Bit input: YB000000 to YB00000F
Integer input: YW00001 to YW00016
Double integer input: YL00001 to
YL00015
Register number nnnnn is expressed as a
decimal number.
Internal registers unique to each function. Can be used in the function for
internal processes. Register number
nnnnn is expressed as a decimal number.
External registers that use the address
input value as the base address. For
linking with S, M, I, O, #, and DAnnnnn
registers. Register number nnnnn is
expressed as a decimal number.
Registers that can only be called by a
function.
Can be used only by the corresponding
function.
The actual range used is specified by the
user on the CP-717. Register number
nnnnn is expressed as a decimal number.
Internal registers unique to each function.
Can be used only by the corresponding
function.
The actual range used is specified by the
user on the CP-717. Register number
nnnnn is expressed as a decimal number.
Note: SA, MA, IA, OA, DA, #A, and CA can be used within functions.
3.6.4 Using Subscripts I and J
Two types of register, I and J, are used exclusively for modifying relay numbers and register
numbers. I and J have exactly the same function.
An example of each register data type is explained below.
Subscripts Attached to Bit Data
Same as the registers for drawings.
These registers can be called from any drawings or func-
tion. Use them carefully when the same function is referenced from drawings with different priority levels.
When subscript i or j is attached to bit data, the value of I or J is added to the relay number.
For example, if I = 2, MB000000i will be the same as MB000002. If J = 27, MB000000j will
be the same as MB00001B.
2
MB000000i
Ⅰ
Equivalent
MB0000002
Subscripts Attached to Integer Data
When a subscript is attached to integer data, the value of I or J is added to the register num-
ber. For example, if I = 3, MW00010i will be the same as MW00013. If J = 30, MW00001j
will be the same as MW00031.
00030
MW00001j
J
Equivalent
MW00031
3-40
Page 88
3.6
Subscripts Attached to Double Integer Data
When a subscript is attached to double integer data, the value of I or J is added to the register
number. For example, if I = 1, ML00000i will be the same as ML00001. ML00000j when J
= 0, and ML00000j when J = 1 will be as follows:
Registers
ML00000J when J = 0: ML00000
ML00000J when J = 1: ML00001
Higher-place
word
MW00001MW00000
MW00002
Lower-place
word
MW00001
Subscripts Attached to Real Number Data
When a subscript is attached to real number data, the value of I or J is added to the register
number. For example, if I = 1, MF00000i will be the same as MF00001. MF00000j when J =
0, and MF00000j when J = 1 will be as follows:
Higher-place
word
MW00001MW00000
MF00000J when J = 0: MF00000
MW00002
MF00000J when J = 1: MF00001
Programming Example Using Subscripts
The programming code shown in the following figure sets the sum of 100 registers from
MW00100 to MW00199 in MW00200 using subscript J.
Lower-place
word
MW00001
3
INFO
00000
FOR J = 00000 to 00099 by 00001
MW00200 + MW00100j
FEND
MW00200
MW00200
Fig 3.10 Programming Example Using a Subscript
Subscripts I and J cannot be used in motion programs.
• Subscripts I and J must be initialized.
• Subscripts I and J are treated as unsigned values. Do not use numbers smaller than 0.
3-41
Page 89
Basic System Operation
3.6.5
I/O and Registers in Functions
3.6.5 I/O and Registers in Functions
The following table shows the I/O and registers referenced in functions.
Table 3.15 Correspondence Between I/O and Registers in Functions
Function I/OFunction Register
Bit inputsThe bit numbers increase continuously from XB000000 in order of the bit inputs:
XB000000, XB000001, XB000002, ......, XB00000F
Integer, double
integer, and real
number inputs
Address inputsThe address input values correspond to register numbers 0 of the external register:
Bit outputsThe bit number increases continuously from YB000000 in order of bit outputs:
Integer, double
integer, and real
number outputs
The register numbers increase continuously from XW, XL, and XF00001 in order
of the integer, double integer, and real number inputs:
(XW00001, XW00002, XW00003, ......, XW00016)
(XL00001, XL00003, XL00005, ......, XL00015)
(XF00001, XF00003, XF00005, ......, XF00015)
Input value = MA00100: MW00100 = AW00000, MW00101 = AW00001...
(YB000000, YB000001, YB000002, ......, YB00000F)
The register numbers increase continuously from YW, YL, and YF00001 in order
of the integer, double integer, and real number outputs.
(YW00001, YW00002, YW00003, ......, YW00016)
(YL00001, YL00003, YL00005, ......, YL00015)
(YF00001, YF00003, YF00005, ......, YF00015)
3-42
Page 90
3.6.6 Register Ranges in Programs
DWG H03 (Drawing)
3.6
Registers common to all drawings
Registers
③
Program
500 steps max.
②
Registers for individual
drawings
Constant data. 16,384 words
max. (#B, #W, #L, #Fnnnnn)
Individual data. 16,384 words
max. (DB, DW, DL, DFnnnnn)
FUNC-000 (Function)
FUNC-000(関数)
Program
500 steps max.
Registers for individual functions
Function Input registers 17 words
(XB, XW, YL, YFnnnnn)
①
④
External function registers (AB, AW, AL,
AFnnnnn)
①
System registers
(SB, SW, SL, SFnnnnn)
Data registers
(MB, MW, ML, MFnnnnn)
Input registers
(IB, IW, IL, IFnnnnn)
Output registers
(OB, OW, OL, OFnnnnn)
3
Function output registers 17
words (YB, YW, YL, YFnnnnn)
Internal function registers 64
words (ZB, ZW, ZL, ZFnnnnn)
Constant data. 16,384 words
max. (#B, #W, #L, #Fnnnnn)
Individual data. 16,384 words
max. (DB, DW, DL, DFnnnnn)
1. Registers that are common to all drawings can be called from any drawing or function.
2. Registers that are unique to each drawing can be called only from within that drawing.
3. Registers that are unique to each function can be called only from within that function.
4. Registers that are common to all drawings and registers that are unique to each drawing can be
called from a function using the external function registers.
3-43
Constant registers
(CB, CW, CL, CFnnnnn)
Page 91
Basic System Operation
3.7.1
Symbols in Drawings
3.7 Managing Symbols
3.7.1 Symbols in Drawings
The symbols used in drawings are all managed with a symbol table, such as the one shown
in the following table. For details, refer to the MP9
Ladder Programming (SIEZ-C887-1.2).
Machine Controller User’s Manual
Table 3.16 Drawing Symbol Table (Example)
No.Register No.SymbolSize *Remarks
0IB0000STARTPBL1The register number is expressed
as a hexadecimal number.
1OB0000STARTCOM1The register number is expressed
as a hexadecimal number.
2MW00000SPDMAS1
3MB000010
4MW00010PIDDATA10
5MW00020LAUIN1
6MW00021LAUOUT1
:
:
N
WORK - DB
16
∗ If a program is written using data configurations such as arrays or
indexed data, define the size to be used in the data configuration. For
example, if the data is referenced as PIDDATA_I and i varies in a range
of 0 to 9, define the size as 10.
3.7.2 Symbols in Functions
All symbols used in the functions are managed with the function symbol table shown below.
∗ If a program is prepared using data configurations such as arrays or
indexed data, define the size to be used in the data configuration. For
example, if the data is referenced as PIDDATA_I and i varies in a range
of 0 to 9, define the size as 10.
3.7.3 Upward Linking of Symbols
The following table shows the symbols that can be linked and the symbols tables that are
subject to linking. For details on the upward linking of symbols, refer to the MP9
Machine Controller User’s Manual Ladder Programming (SIEZ-C887-1.2) and the