SysmacStudio - Manual
SysmacStudio - Manual
Sysmac Studio
Version 1
Operation Manual
SYSMAC-SE2£££
W504-E1-39
NOTE
1. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or
otherwise, without the prior written permission of OMRON.
2. No patent liability is assumed with respect to the use of the information contained herein.
Moreover, because OMRON is constantly striving to improve its high-quality products, the infor-
mation contained in this manual is subject to change without notice.
3. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON as-
sumes no responsibility for errors or omissions.
Neither is any liability assumed for damages resulting from the use of the information contained in
this publication.
Trademarks
• Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan
and other countries for OMRON factory automation products.
• Microsoft, Windows, Excel, and Visual Basic are either registered trademarks or trademarks of Mi-
crosoft Corporation in the United States and other countries.
• EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation
GmbH, Germany.
• ODVA, CIP, CompoNet, DeviceNet, and EtherNet/IP are trademarks of ODVA.
Other company names and product names in this document are the trademarks or registered trade-
marks of their respective companies.
Copyrights
Microsoft product screen shots used with permission from Microsoft.
Introduction
Introduction
Thank you for purchasing the Sysmac Studio Automation Software.
The Sysmac Studio allows you to use a computer to program and set up Sysmac devices.
This manual describes the operating procedures of the Sysmac Studio mainly for NJ/NX/NY-series
Controllers.
Use this manual together with the user's manuals for the other devices that you use.
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical
systems (an electrical engineer or the equivalent).
• Personnel in charge of introducing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of installing and maintaining FA systems.
• Personnel in charge of managing FA systems and facilities.
For programming, this manual is intended for personnel who understand the programming language
specifications in international standard IEC 61131-3 or Japanese standard JIS B 3503.
Notice
This manual contains information that is necessary to use the Sysmac Studio. Please read and under-
stand this manual before using the Sysmac Studio. Keep this manual in a safe place where it will be
available for reference during operation.
Manual Structure
Page Structure
The following page structure is used in this manual.
A step in a procedure 1 Join the Units so that the connectors fit exactly.
4-3 Mo u n t i n g U n i t s
4 Page tab
2 Gives the number
Lock
Release
Slider
Manual name NJ-series CPU Unit Hardware User’s Manual (W500) 4-9
This illustration is provided only as a sample. It may not literally appear in this manual.
Special Information
Special information in this manual is classified as follows:
Additional Information
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Version Information
Information on differences in specifications and functionality for Controllers and Units with different unit
versions and for different versions of Support Software is given.
Precaution on Terminology
• For descriptions of the CPU Unit and Controller terms that are used in this manual, refer to informa-
tion on terminology in the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or the
NY-series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558).
• In this manual, download refers to transferring data from the Sysmac Studio to the physical Control-
ler and upload refers to transferring data from the physical Controller to the Sysmac Studio.
For the Sysmac Studio, synchronization is used to both upload and download data. Here,
synchronize means to automatically compare the data for the Sysmac Studio on the computer with
the data in the physical Controller and transfer the data in the direction that is specified by the user.
• In this manual, the functions of a specific model of the NX-series CPU Units/Controllers may be de-
scribed with its model specified, such as “NX701 CPU Unit/Controller” or “NX1P2 CPU Unit/Control-
ler”.
• In this manual, the Controller functions that are integrated in the NY-series Industrial PC may be re-
ferred to as an NY-series Controller.
• The Sysmac Studio supports the NJ/NX/NY-series Controllers. Unless another Controller series is
specified, the operating procedures and screen captures used in the manual are examples for the
NJ-series Controllers.
Terminology
For descriptions of the Controller terms that are used in this manual, refer to information on terminolo-
gy in the manuals that are listed in Related Manuals on page 29.
1 10
2 11
Support Software Provided
1 Introduction 10 with the Sysmac Studio
3 A
Installation and
2 Uninstallation 11 Troubleshooting
4 I
4 Programming I Index 6
7
5 Controller Configurations and Setup
8
6 Online Connections to a Controller
9
7 Debugging
8 Other Functions
9 Reusing Programming
CONTENTS
Introduction .............................................................................................................. 1
Intended Audience...........................................................................................................................................1
Notice...............................................................................................................................................................1
Manual Structure...................................................................................................... 2
Page Structure.................................................................................................................................................2
Special Information ..........................................................................................................................................2
Precaution on Terminology ..............................................................................................................................3
Terminology .....................................................................................................................................................3
Safety Precautions................................................................................................. 17
Definition of Precautionary Information..........................................................................................................17
Symbols .........................................................................................................................................................17
Versions .................................................................................................................. 25
Checking Versions .........................................................................................................................................25
Unit Versions and Sysmac Studio Versions...................................................................................................28
Related Manuals..................................................................................................... 29
Revision History..................................................................................................... 38
Section 1 Introduction
1-1 The Sysmac Studio................................................................................................................1-2
1-2 Features ..................................................................................................................................1-3
1-3 Specifications.........................................................................................................................1-4
1-3-1 Product Model Numbers .............................................................................................................1-4
1-3-2 Support Software That You Can Install from the Sysmac Studio DVD and Enclosed Data ........1-5
1-3-3 Supported Languages .................................................................................................................1-5
1-3-4 Applicable Models .......................................................................................................................1-6
1-3-5 Types of Licenses .......................................................................................................................1-7
1-3-6 Applicable Computers .................................................................................................................1-8
1-4 Components .........................................................................................................................1-10
Section 4 Programming
4-1 Variable Registration .............................................................................................................4-3
4-1-1 Creating Global Variables............................................................................................................4-4
4-1-2 Creating Device Variables ......................................................................................................... 4-11
4-1-3 Creating Local Variables ...........................................................................................................4-22
4-1-4 Creating Axis Variables .............................................................................................................4-27
4-1-5 Creating Axes Group Variables .................................................................................................4-30
4-1-6 Creating Cam Data Variables....................................................................................................4-32
4-1-7 Creating Function Block Instance Variables..............................................................................4-35
4-1-8 System-defined Variables..........................................................................................................4-36
4-1-9 Entering Variable Attributes.......................................................................................................4-36
4-1-10 Variable Manager ......................................................................................................................4-48
4-2 Registering POUs ................................................................................................................4-57
4-2-1 Displaying POUs .......................................................................................................................4-57
4-2-2 Registering Programs ...............................................................................................................4-57
4-2-3 Registering Function Blocks......................................................................................................4-60
4-2-4 Registering Functions ...............................................................................................................4-62
4-2-5 Copying, Pasting, and Deleting Multiple POUs .........................................................................4-64
4-3 Creating Data Types ............................................................................................................4-69
4-4 Namespaces .........................................................................................................................4-79
4-4-1 Data for Which You Can Use Namespaces ..............................................................................4-79
4-4-2 Setting Namespaces .................................................................................................................4-79
4-4-3 Using Namespaces ...................................................................................................................4-82
4-5 Programming........................................................................................................................4-85
4-5-1 Programming Ladder Diagrams ................................................................................................4-85
4-5-2 Programming Structured Text .................................................................................................4-140
4-5-3 Comparison before Pasting Dependents ................................................................................4-152
4-6 Searching and Replacing ..................................................................................................4-155
4-6-1 Scope of Searching and Replacing .........................................................................................4-155
4-6-2 Search and Replace Pane ......................................................................................................4-155
4-6-3 Items to Set .............................................................................................................................4-156
4-6-4 Searching ................................................................................................................................4-159
4-6-5 Replacing ................................................................................................................................4-160
4-6-6 Searching All ...........................................................................................................................4-161
4-6-7 Replacing All ...........................................................................................................................4-161
4-6-8 Replacing All N.O. and N.C. Inputs .........................................................................................4-161
4-7 Program Checks ................................................................................................................4-162
4-7-1 Check All Programs ................................................................................................................4-162
4-7-2 Check Selected Programs ......................................................................................................4-162
4-8 Building and Rebuilding....................................................................................................4-165
4-9 Offline Comparison............................................................................................................4-167
4-9-1 Procedure for Offline Comparison...........................................................................................4-167
4-9-2 Merging Detailed Comparison Results....................................................................................4-172
Section 7 Debugging
7-1 Debugging Operations on the Simulator and Controller ...................................................7-2
7-2 Operations Used for Both Online and Offline Debugging .................................................7-4
7-2-1 Monitoring ...................................................................................................................................7-4
7-2-2 Differential Monitor ....................................................................................................................7-21
7-2-3 Changing Present Values and Set/Reset Using Forced Refreshing .........................................7-24
7-2-4 Cross References .....................................................................................................................7-36
7-2-5 Online Editing ............................................................................................................................7-40
7-2-6 Changing the Operating Mode ..................................................................................................7-45
7-2-7 Monitoring Controller Status......................................................................................................7-45
7-2-8 Task Execution Status Monitor ..................................................................................................7-49
7-2-9 Task Execution Time Monitor ....................................................................................................7-49
7-2-10 Axis Status Monitor (MC Monitor Table)....................................................................................7-50
7-2-11 Data Tracing..............................................................................................................................7-52
7-3 Offline Debugging................................................................................................................7-80
7-3-1 Debugging with Program Simulation .........................................................................................7-80
7-3-2 Offline Debugging of Sequence and Motion Control Programs ..............................................7-100
7-3-3 Offline Debugging for Sequence Control and Vision Sensor ..................................................7-103
7-3-4 Offline Debugging for Sequence Control and Displacement Sensor ......................................7-107
7-3-5 Offline Debugging with Sequence Control and NA-series PT Simulator (Simultaneous
Simulation of Controller with NA-series PT) ............................................................................7-109
7-3-6 Integrated NS-series PT Simulation for Offline Debugging of Sequence Control and
NS-series PTs ......................................................................................................................... 7-112
7-3-7 3D Simulation .......................................................................................................................... 7-114
7-4 Preparations for Online Debugging ................................................................................. 7-115
7-4-1 Assigning Variables and Real I/O............................................................................................ 7-115
7-4-2 Assigning Axis Variables and I/O Devices............................................................................... 7-117
7-5 Performing Online Debugging.......................................................................................... 7-119
7-5-1 Transferring/Comparing Data to/from the Controller ...............................................................7-120
7-5-2 Testing Axis Operation (MC Test Run) ....................................................................................7-142
7-5-3 Checking I/O Wiring ................................................................................................................7-146
7-5-4 Checking I/O Assignments ......................................................................................................7-147
7-5-5 Resetting the Controller ..........................................................................................................7-148
7-5-6 Restarting Units.......................................................................................................................7-149
Section 11 Troubleshooting
11-1 Error Messages for Ladder Program Checks.................................................................... 11-2
11-2 Error Messages for Structured Text Checks ..................................................................... 11-7
11-3 Error Messages for Variable Check.................................................................................. 11-10
11-4 Error Messages for Sysmac Studio Operation ............................................................... 11-11
Appendices
A-1 Driver Installation for Direct USB Cable Connection ........................................................ A-3
A-1-1 Installing the USB Driver ............................................................................................................ A-3
A-1-2 Installing a Specified USB Driver ............................................................................................... A-3
A-1-3 Confirmation Procedure after Installation ................................................................................... A-5
A-2 Specifying One of Multiple Ethernet Interface Cards ........................................................ A-7
A-3 Differences between the Simulator and the Physical Controller ..................................... A-9
A-3-1 Operation of Functions ............................................................................................................... A-9
A-3-2 Task Execution ......................................................................................................................... A-12
A-3-3 Task Execution Times .............................................................................................................. A-15
Index
WARRANTY
• The warranty period for the Software is one year from the date of purchase, unless otherwise specif-
ically agreed.
• If the User discovers defect of the Software (substantial non-conformity with the manual), and return
it to OMRON within the above warranty period, OMRON will replace the Software without charge by
offering media or download from OMRON’s website. And if the User discovers defect of media
which is attributable to OMRON and return it to OMRON within the above warranty period, OMRON
will replace defective media without charge. If OMRON is unable to replace defective media or cor-
rect the Software, the liability of OMRON and the User’s remedy shall be limited to the refund of the
license fee paid to OMRON for the Software.
LIMITATION OF LIABILITY
• THE ABOVE WARRANTY SHALL CONSTITUTE THE USER’S SOLE AND EXCLUSIVE REM-
EDIES AGAINST OMRON AND THERE ARE NO OTHER WARRANTIES, EXPRESSED OR IM-
PLIED, INCLUDING BUT NOT LIMITED TO, WARRANTY OF MERCHANTABILITY OR FITNESS
FOR PARTICULAR PURPOSE. IN NO EVENT, OMRON WILL BE LIABLE FOR ANY LOST PROF-
ITS OR OTHER INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF USE OF THE SOFTWARE.
• OMRON SHALL HAVE NO LIABILITY FOR DEFECT OF THE SOFTWARE BASED ON MODIFICA-
TION OR ALTERNATION TO THE SOFTWARE BY THE USER OR ANY THIRD PARTY. OMRON
SHALL NOT BE RESPONSIBLE AND/OR LIABLE FOR ANY LOSS, DAMAGE, OR EXPENSES DI-
RECTLY OR INDIRECTLY RESULTING FROM THE INFECTION OF OMRON PRODUCTS, ANY
SOFTWARE INSTALLED THEREON OR ANY COMPUTER EQUIPMENT, COMPUTER PRO-
GRAMS, NETWORKS, DATABASES OR OTHER PROPRIETARY MATERIAL CONNECTED
THERETO BY DISTRIBUTED DENIAL OF SERVICE ATTACK, COMPUTER VIRUSES, OTHER
TECHNOLOGICALLY HARMFUL MATERIAL AND/OR UNAUTHORIZED ACCESS.
• OMRON SHALL HAVE NO LIABILITY FOR SOFTWARE DEVELOPED BY THE USER OR ANY
THIRD PARTY BASED ON THE SOFTWARE OR ANY CONSEQUENCE THEREOF.
APPLICABLE CONDITIONS
USER SHALL NOT USE THE SOFTWARE FOR THE PURPOSE THAT IS NOT PROVIDED IN THE
ATTACHED USER MANUAL.
CHANGE IN SPECIFICATION
The software specifications and accessories may be changed at any time based on improvements and
other reasons.
Safety Precautions
Definition of Precautionary Information
The following notation is used in this manual to provide precautions required to ensure safe usage of
the Sysmac Studio and an NJ/NX/NY-series Machine Automation Controller.
The safety precautions that are provided are extremely important to safety. Always read and heed the
information provided in all safety precautions.
The following notation is used.
Indicates a potentially hazardous situation which, if
not avoided, could result in death or serious injury.
WARNING Additionally, there may be severe property
damage.
Symbols
The circle and slash symbol indicates operations that you must not do.
The specific operation is shown in the circle and explained in text.
This example indicates prohibiting disassembly.
The triangle symbol indicates precautions (including warnings).
The specific operation is shown in the triangle and explained in text.
This example indicates a precaution for electric shock.
The triangle symbol indicates precautions (including warnings).
The specific operation is shown in the triangle and explained in text.
This example indicates a general precaution.
The filled circle symbol indicates operations that you must do.
The specific operation is shown in the circle and explained in text.
This example shows a general precaution for something that you must do.
WARNING
Check the user program for proper execution before you use it for actual operation.
Check the parameters for proper execution before you use them for actual operation.
Always confirm safety at the destination node before you transfer a user program,
configuration data, setup data, device variables, or values in memory used for CJ-ser-
ies Units from the Sysmac Studio.
The devices or machines may perform unexpected operation regardless of the operat-
ing mode of the CPU Unit.
Execute online editing only after you confirm that no adverse effects will be caused to
the operation of the master and slave axes if the synchronized control processing time
is extended.
Before you perform online editing for a function or a function block, check the locations
where the function or function block is used in the Cross Reference Tab Page and con-
firm the range that will be affected.
Sufficiently confirm safety before you change the values of I/O ports or variables on the
I/O Map when the Sysmac Studio is online with the CPU Unit. Incorrect operation may
cause the devices that are connected to Output Units to operate regardless of the op-
erating mode of the Controller.
If you set inappropriate parameters when you change the levels of NX Unit events, un-
expected machine operation may result. Confirm that the machine will not be adversely
affected before you transfer the data.
If you use EtherCAT slaves, check the specifications of those slaves in manuals or oth-
er documentation and confirm that the system will not be adversely affected before you
transfer parameters.
When you search and replace a string in a project that includes more than one device,
make sure that the string to replace is in the data of the intended device before you
replace it. If you replace data of an unintended device, the controlled system may
cause an unexpected operation.
Caution
Although the Simulator simulates the operation of the Controller, there are difference
from the Controller in operation and timing.
After you debug the user program on the Simulator, always check operation on the
physical Controller before you use the user program to operate the controlled system.
Accidents may occur if the controlled system performs unexpected operation.
The Simulator instructions are not processed on the physical Controller and all outputs
from the instructions will be FALSE. After you debug the user program on the Simula-
tor, always check operation on the physical Controller before you use the user program
to operate the controlled system.
Accidents may occur if the controlled system performs unexpected operation.
Simultaneous simulation for offline debugging of sequences and the HMI can be per-
formed to simulate the linked operation of the Controller and HMI. However, there are
differences in the operation and timing between this simulation and the actual combi-
nation of the HMI and Controller. After you debug operation with the simulation, always
check operation on the physical Controller and HMI before you use them in the actual
system.
Accidents may occur if the controlled system performs unexpected operation.
Sufficiently confirm safety before you change the values of variables online. Incorrect
operation may cause the devices that are connected to Output Units to operate regard-
less of the operating mode of the Controller.
Always confirm safety before you reset the Controller or any components.
Always confirm the safety at the destination node before you transfer a user program
to a node or perform an operation that changes device variables.
Not doing so may result in injury.
Sufficiently confirm safety before you change the values of variables on a Watch Tab
Page when the Sysmac Studio is online with the CPU Unit. Incorrect operation may
cause the devices that are connected to Output Units to operate regardless of the op-
erating mode of the Controller.
Sufficiently confirm safety at the connected slave or Unit before you change the value
of an I/O port or device variable.
Not doing so may result in injury.
Always confirm safety at the destination node before you transfer parameters or data
from the Sysmac Studio to another node.
Not doing so may result in injury.
Operation
• Confirm that the controlled system will not be adversely affected before you perform any of the fol-
lowing operations.
a) Changing the operating mode of the CPU Unit (including changing the Startup Mode).
b) Changing the user program or settings.
c) Changing set values or present values.
d) Performing forced refreshing.
• Before you restart operation, make sure that the required data, including device variables, the user
program, and parameters, is transferred to a CPU Unit, Special I/O Unit, CPU Bus Unit, or externally
connected device that was replaced.
• Before you restart the EtherNet/IP Unit, make sure that doing so will not adversely affect the control-
led system.
• When you restore only part of the data that was backed up, confirm that no problems will occur if
you do not restore all of the backup data. Otherwise, malfunction of the device may occur.
• If you transfer only selected programs from the programs that did not match for the synchronization
function, there is no way to check on the Sysmac Studio the integrity with the programs that you do
not transfer. After you transfer the programs, confirm safety before you change the CPU Unit to
RUN mode.
EtherCAT Communications
• If verifying revisions is not selected in the Revision Check Method parameter in the master settings
in EtherCAT configuration, parameters are also transferred to slaves with different revisions. If an
incompatible revision of a slave is connected, incorrect parameters may be set and operation may
not be correct. If you disable the revision check, make sure that only compatible slaves are connect-
ed before transferring the parameters.
• Unexpected operation may result if you transfer inappropriate network configuration settings. Even if
appropriate network configuration settings are set, confirm that the controlled system will not be ad-
versely affected before you transfer the data.
• After you transfer the user program, the CPU Unit is restarted and communications with the Ether-
CAT slaves are cut off. During that period, the slave outputs behave according to the slave specifi-
cations. The time that communications are cut off depends on the EtherCAT network configuration.
Before you transfer the user program, confirm that the system will not be adversely affected.
• NX bus communications are not always established immediately after the power supply is turned
ON. Use the system-defined variables and the EtherCAT Coupler Unit device variables in the user
program to confirm that communications are established before attempting control operations.
Slave Terminals
• If any inappropriate parameters are set when you transfer the following settings, unexpected ma-
chine operation may result. Confirm that the machine will not be adversely affected before you
transfer the data. Also, confirm that the Unit configuration, I/O allocations, and Unit operation set-
tings are correctly set in the Slave Terminal before you start actual operation.
a) Communications Coupler Unit and NX Unit settings
b) Node address and Unit number settings for the Communications Coupler Unit and NX Units
c) I/O allocation settings for the Communications Coupler Unit and NX Units
• If inappropriate Unit configuration information is transferred to the Slave Terminal, unexpected ma-
chine operation may result. Even if appropriate Unit configuration information is set, confirm that the
controlled system will not be adversely affected before you transfer the data.
• If you execute communications instructions for NX Units with inappropriate path information, unex-
pected machine operation may result. Confirm that the path information is correct before you start
actual operation.
• After you import Communications Coupler Unit and NX Unit settings, confirm that the Unit configura-
tion, I/O allocations, and Unit operation settings are correctly set in the Slave Terminal before you
start actual operation.
• If inappropriate backup data is set when you restore backup data to a Unit, unexpected machine op-
eration may result. Confirm that the system will not be adversely affected before you transfer the
data.
• Do not disconnect the cable when you change the values of I/O ports or variables from the I/O Map
with a direct connection to the EtherCAT Coupler Unit. To connect directly to a different Coupler
Unit, go offline, connect the cable to the other Unit, and go online again.
MC Test Run
• Confirm the axis number carefully before you perform an MC Test Run.
• An MC Test Run operation involves motor operation. Refer to the operation manual before you exe-
cute an MC Test Run.
Be particularly careful of the following points.
a) Confirm safety around all moving parts.
b) When you click the Run Button, the motor begins actual operation at the specified velocity. Only
begin motor operation if you are absolutely sure there is no danger if you start the motor.
c) Always have an external emergency stop device available.
d) Sometimes you may be unable to stop the motor from your computer. Install an external emer-
gency stop device so that you can stop the motor immediately if needed.
e) Only operate the motor when you can clearly confirm the motor operation so that you can react
quickly in the case of any danger that may arise due to operation of the motor.
f) A communications error will occur if you attempt to begin operations without EtherCAT communi-
cations. Always establish EtherCAT communications first.
• Precautions during MC Test Run Operation
a) During test run execution, only the Sysmac Studio has any control of the operation. Any com-
mands from motion control instructions are ignored.
b) If communications are interrupted between the Sysmac Studio and Controller during test run op-
erations, you will not be able to stop the motor from the computer. Provide an external hardware
means that you can use to stop the motor without fail.
Motion Control
• The absolute encoder home offsets are stored in the Controller and backed up by a Battery as abso-
lute encoder information. If any of the following conditions is met, clear the absolute encoder home
offsets from the list of data items to restore, and then restore the data. Then, define home again. If
you do not define home, unintended operation of the controlled system may occur.
a) The Servomotor or Servo Drive was changed since the data was backed up.
b) The absolute encoder was set up after the data was backed up.
c) The absolute data for the absolute encoder was lost.
• If you change the detailed settings of the Axis Basic Settings Tab Page, make sure that the device
or machine performs the expected operation before you start actual operation. If the relationship be-
tween the functions of the Motion Control Function Module and the EtherCAT slave process data
that is assigned to the axes is not correct, the device or machine may perform unexpected opera-
tion.
Unit Replacement
• The performance may be different if the hardware revisions are different. Before you transfer the
user program, data, and parameter settings to the CPU Units with the different hardware revisions,
check them for proper execution and then use them for actual operation.
Model Change
• If the configuration of the EtherCAT network includes an EtherCAT slave that cannot be used by the
Controllers after model change, the configuration and settings of the EtherCAT network will be all
cleared. In that case, create and set an EtherCAT network configuration again.
Versions
Hardware revisions and unit versions are used to manage the hardware and software in NJ/NX-series
Units, NY-series Industrial PCs, and EtherCAT slaves. The hardware revision or unit version is updat-
ed each time there is a change in hardware or software specifications. Even when two Units or Ether-
CAT slaves have the same model number, they will have functional or performance differences if they
have different hardware revisions or unit versions.
This section describes NJ/NX-series CPU Units, NY-series Industrial PCs, and EtherCAT slaves as ex-
amples.
Checking Versions
You can check versions on the ID information indications or with the Sysmac Studio.
ID information indication
Lot number Serial number Unit version
Note The hardware revision is not displayed for the Unit that the hardware revision is in blank.
MAC address
PORT1 : ££££££££££££
PORT2 : ££££££££££££
Hardware
Unit version Ver.1.££ HW Rev. £ revision
LOT No. DDMYY£ xxxx
ID information indication
Note The hardware revision is not displayed for the Unit that the hardware revision is in blank.
ID information indication
Unit model Unit version Hardware revision
Note The hardware revision is not displayed for the Unit that the hardware revision is in blank.
The unit version of the NY-series Industrial PC is given on the ID information indication on the back of
the product.
The ID information on an NY-series NY5£2-££££ Controller is shown below.
ID information indication
Unit version
Ver.1.££
1 Right-click CPU Rack under Configurations and Setup − CPU/Expansion Racks in the Mul-
tiview Explorer and select Display Production Information.
The Production Information Dialog Box is displayed.
The unit version is displayed after Ver. to the right of the Unit model number or Controller mod-
el number.
1 Double-click CPU/Expansion Racks under Configurations and Setup in the Multiview Ex-
plorer. Or, right-click CPU/Expansion Racks under Configurations and Setup and select
Edit from the menu.
The Unit Editor is displayed.
2 Right-click any open space in the Unit Editor and select Production Information.
The Production Information Dialog Box is displayed.
The unit version is displayed after Ver. to the right of the Unit model number.
EtherCAT Slaves
1 Double-click EtherCAT under Configurations and Setup in the Multiview Explorer. Or, right-
click EtherCAT under Configurations and Setup and select Edit from the menu.
The EtherCAT Tab Page is displayed.
2 Right-click the master on the EtherCAT Tab Page and select Display Production Information.
The Production Information Dialog Box is displayed.
The unit version is displayed after Rev. to the right of the Unit model number.
Additional Information
• Refer to the manual for the specific Unit for the unit versions of the CPU Units to which the
database connection service and other functions were added, as well as for the unit versions
of the Communications Coupler Units, NX Units, and Safety Control Units.
• This manual sometimes refers to the unit version of the CPU Unit as the unit version of the
Controller.
Related Manuals
The following manuals are related. Use these manuals for reference.
Revision History
A manual revision code appears as a suffix to the catalog number on the front and back covers of the
manual.
Revision
Date Revised content
code
24 April 2018 • Japanese catalog number was changed.
• Revisions for an upgrade to Sysmac Studio version 1.23.
25 July 2018 • Revisions for an upgrade to Sysmac Studio version 1.24.
26 October 2018 • Revisions for an upgrade to Sysmac Studio version 1.25.
27 January 2019 • Revisions for an upgrade to Sysmac Studio version 1.26.
28 April 2019 • Revisions for an upgrade to Sysmac Studio version 1.27.
29 July 2019 • Revisions for an upgrade to Sysmac Studio version 1.29.
30 October 2019 • Revisions for an upgrade to Sysmac Studio version 1.30.
31 January 2020 • Revisions for an upgrade to Sysmac Studio version 1.31 and the sup-
port of Sysmac Studio (64 bit).
32 April 2020 • Revisions for an upgrade to Sysmac Studio version 1.40.
33 July 2020 • Revisions for an upgrade to Sysmac Studio version 1.41.
34 August 2020 • Revisions for an upgrade to Sysmac Studio version 1.42.
35 October 2020 • Revisions for an upgrade to Sysmac Studio version 1.43.
36 January 2021 • Revisions for an upgrade to Sysmac Studio version 1.44.
37 April 2021 • Revisions for an upgrade to Sysmac Studio version 1.45.
38 July 2021 • Revisions for an upgrade to Sysmac Studio version 1.46.
39 October 2021 • Revisions for an upgrade to Sysmac Studio version 1.47.
Introduction
This section provides an overview and lists the specifications of the Sysmac Studio
and describes its features and components.
1-2 Features
1-2 Features
More Support for IEC 61131-3 Programming Languages
The Sysmac Studio is based on the International Standard IEC 61131-3. It provides a state-of-the-art
programming environment based on the ladder diagram and structured text programming languages 1
and on POUs, which include programs, functions, and function blocks.
Easy Operation
The Sysmac Studio places as few restrictions as possible on the design procedures to allow you to
start design work from any part of the system. The design concept features easy-to-understand oper-
ating procedures with suitable guides that do not interfere with the workflow so that you can see the
flow of design work.
This provides user-friendly operation for flexible design work in which even mistakes in settings and
procedures can be corrected immediately or left until the project is finalized as long as they will not
lead to serious accidents. The Sysmac Studio is designed to achieve optimum functionality and ease
of operation to combine Machine Automation Controllers, such as those in the NJ/NX/NY Series, with
Sysmac-compliant EtherCAT slaves and other Sysmac devices.
Complete Debugging
The Sysmac Studioprovides complete functions for debugging sequence control, such as changing
present values and changing programming online. It also provides debugging functions with motion
control simulations of motion control, such as displaying trace results in 2D or 3D and displaying
traces on virtual devices. These functions enable debugging on images that are closer to the physical
devices.
Also, debugging through Vision System simulation with a Vision Sensor is supported. With the Vision
Edition, you can perform simulation for individual Vision Sensors. With the Standard Edition, you can
also perform integrated simulation with a Controller.
Maintenance
The Sysmac Studio lets you check the Controller status on a status list. Troubleshooting functions let
you easily check error details and corrections for Controller errors.
You can also assign user-defined errors in the same way as Controller errors are assigned.
1-3 Specifications
1-3-1 Product Model Numbers
The product Sysmac Studio includes a DVD media and licenses. Each of them is given a model num-
ber and the DVD media comes as 32-bit or 64-bit application. The licenses are the same for 32-bit and
64-bit applications.
If you are purchasing the Sysmac Studio for the first time, purchase both a DVD media and one or
more licenses. The media is the same for all of the licenses. If you are purchasing the product for ad-
ditional licenses, you can purchase only the licenses. You can also purchase the DVD separately.
The DVD is not included with the licenses.
DVD
Product 32-bit/64-bit application Model number
Sysmac Studio 32-bit application SYSMAC-SE200D
Standard Edition 64-bit application SYSMAC-SE200D-64
Version 1.££
Licenses
Product Number of licenses Model number
Sysmac Studio 1 license SYSMAC-SE201L
Standard Edition 3 licenses SYSMAC-SE203L
Version 1.££ 10 licenses SYSMAC-SE210L
30 licenses SYSMAC-SE230L
50 licenses SYSMAC-SE250L
Sysmac Studio 1 license SYSMAC-VE001L
Vision Edition*1
Version 1.££
Sysmac Studio 1 license SYSMAC-ME001L
Measurement Edition*2 3 licenses SYSMAC-ME003L
Version 1.££
Sysmac Studio 1 license SYSMAC-NE001L
NX-IO Edition*3
Version 1.££
Sysmac Studio 1 license SYSMAC-DE001L
Drive Edition*4
Version 1.££
Sysmac Studio 1 license SYSMAC-FE0££L
Safety Edition*5
Version 1.££
*1. You can use the Vision Edition only for the FQ-M-series Vision Sensors and FH-series Vision Sensors.
*2. With the Measurement Edition, you can use only the setup functions for ZW-series Displacement Sensors.
*3. You can use the NX-IO Edition only for EtherNet/IP Slave Terminals that use an NX-series EtherNet/IP Cou-
pler Unit or PROFINET Coupler Unit.
*4. You can use the Drive Edition only for 1S-series and G5-series Servo Drives.
*5. You can use the Safety Edition only for safety control systems that use an NX-series Communication Con-
1-3 Specifications
trol Unit or NX-series EtherNet/IP Coupler.
1-3-2 Support Software That You Can Install from the Sysmac Studio DVD and Enclosed Data
Team Development Option*1 3 licenses SYSMAC-TA403L
10 licenses SYSMAC-TA410L
30 licenses SYSMAC-TA430L
50 licenses SYSMAC-TA450L
Sysmac Studio 1 license SYSMAC-SA401L-64
3D Simulation Option*2 3 licenses SYSMAC-SA403L-64
10 licenses SYSMAC-SA410L-64
30 licenses SYSMAC-SA430L-64
50 licenses SYSMAC-SA450L-64
*1. Refer to the Sysmac Studio Project Version Control Function Operation Manual (Cat. No. W589) for details
on the Team Development Option.
*2. Refer to the Sysmac Studio 3D Simulation Function Operation Manual (Cat. No. W618) for details on the 3D
simulation option.
1-3-2 Support Software That You Can Install from the Sysmac Studio
DVD and Enclosed Data
The following table lists the Support Software that you can install from the Sysmac Studio DVD and
the data that is included on the DVD.
Refer to 10-1 Support Software Provided with the Sysmac Studio on page 10-2 for information on
Support Software.
Japanese, English, German, French, Italian, Spanish, Traditional Chinese, Simplified Chinese, and
Korean
1-3 Specifications
Model numbers Model numbers Model numbers
R88D-1SN£££-ECT NX-CSG£££ AM101-1000*1*2
R88D-KN£££-ECT(-L) *1. Supported by the Sysmac Studio
(64 bit) only.
*2. Select Application Manager when
you select a device.
1
Additional Information
You can register more than one license at the same time. The priority of license validity is given in the
following table.
• If licenses with different priorities are registered at the same time, the license with the highest priori-
ty is valid.
Example: If you register a license for the Vision Edition when the Trial Version is already installed in
the Sysmac Studio, you can use only Vision Sensors. In this case, you cannot use the Trial Version
of the Sysmac Studio.
• If licenses with the same priorities are registered at the same time, all of the licenses are valid.
Example: If you register a license for the Vision Edition when a license for the Measurement Edition
is already registered in the Sysmac Studio, you can use both Displacement Sensors and Vision
Sensors.
Refer to 3-3-12 Displaying and Registering Licenses on page 3-29 for the procedure to register li-
censes.
Activation is necessary to create a relationship between the OMRON software product and the computer on
which you will use it.
This allows OMRON to help prevent illegal usage and copying of software.
When license activation is introduced, you will need to perform a license activation procedure.
If you do not perform license activation at that time, you will be able to use the software for only a limited period
of time.
System Requirements
The system requirements for the Sysmac Studio are given in the following table.
Apply the latest updates to the OS installed on your computer to ensure that it is always up-to-date.
In addition, installation of the following applications is a system requirement for the Sysmac Studio.
1-3 Specifications
• .NET Framework 3.5
• .NET Framework 4.6.1
They are installed automatically if they are not already installed on the computer when the Sysmac
Studio is installed.
Apply the latest updates to the OS installed on your computer to ensure that it is always up-to-date.
In addition, installation of the following applications is a system requirement for the Sysmac Studio.
• .NET Framework 3.5
• .NET Framework 4.6.1
They are installed automatically if they are not already installed on the computer when the Sysmac
Studio is installed.
1-4 Components
The components of the DVD and license are listed below. Make sure that all components are included.
Licenses (SYSMAC-SE2££L/SYSMAC-VE£££L/SYSMAC-ME£££L/
SYSMAC-NE£££L/SYSMAC-DE£££L)
Component Description
License Agreement The license agreement gives the usage conditions and warranty for the Sysmac
Studio.
License Card The following are given: Model number, version, license number, and number of li-
censes.
License Stickers The following are given: Model number, version, license number, and number of li-
censes. Two stickers are provided.
User Registration Two cards are provided, one for Japan and one for other countries.
Card
Address Sheet This is an address sheet that is used when the license is purchased outside of Ja-
pan.
The license number, which is required for installation, is given on the license certificate.
Keep it in a safe place so that it is not lost.
Supported OS
You can install the Sysmac Studio on computers with any of the following operating systems.
CX-One Installation
If the CX-One is installed on the computer, the operation when you install the Sysmac Studio depends
on the version of the CX-One.
Name Version
• CX-Integrator Ver. 2.£
• CX-Designer Ver. 3.£
• CX-Protocol Ver. 1.£
• Network Configurator Ver. 3.£
• CX-ConfiguratorFDT Ver. 2.£
Name Version
• Adept Robot IP Address Setting Tool*1 Ver. 1.£
*1. The tool is always installed.
Communications Middleware
Name Version
• CX-Server Ver. 5.£
• Communications Middleware Ver. 1.£
Name Version
• .NET Framework Ver. 3.5 SP1
Ver. 4.6.1
• DirectX Ver. 9.£
• WinPcap Ver. 4.£
1 Set the Sysmac Studio installation disk into the DVD-ROM drive.
The setup program is started automatically and the Select Setup Language Dialog Box is dis-
played.
• If the OS is not up-to-date, you may be asked to apply the latest updates to the OS. Apply
the latest updates to the OS and install the Sysmac Studio again.
• If .NET Framework is not installed on the computer, the .NET Framework Installation Dialog
Box is displayed. The dialog box depends on the version of .NET Framework.
a) Computer with Windows 7, Windows 8, or Windows 8.1 Where .NET Framework 4.6.1
Is Not Installed
The Microsoft .NET Framework 4.6.1 Setup Dialog Box is displayed. Follow the instructions
given in the dialog boxes and install .NET Framework 4.6.1.
When .NET Framework has been installed, a confirmation dialog box to restart the comput-
er is displayed. Always select the Yes, I want to restart my computer now. Option and
click the Finish Button to restart the computer.
After the computer is restarted, double-click the Setup.exe under the DVD-ROM drive to
start the setup again.
b) Computer with Windows 7 Where .NET Framework 3.5 SP1 Is Not Installed
The Microsoft .NET Framework 3.5 SP1 Setup Dialog Box is displayed.
Click the Install Button to start installation of .NET Framework 3.5 SP1. Click the Cancel
Button to cancel installation of the Sysmac Studio.
5 The names that are registered on the computer are automatically entered for the user name
and company name. Enter the license number*1 and then click the Next Button.
*1. You must purchase a license separately.
If you do not enter a license number, trial operation is provided for a 30-day period. Refer to
1-3-1 Product Model Numbers on page 1-4 in 1-3 Specifications on page 1-4 for information on li-
censes.
6 Select the region where you purchased the Sysmac Studio, and then click the Next Button.
7 Check the installation folder, and then click the Next Button.
The default installation folder is C:\Program Files\OMRON\.
8 Select the Complete or Custom Option, and then click the Next Button.
The OMRON Corporation Modems are installed and then the next Windows Security Dialog
Box is displayed.
Installing WinPcap
During the installation, a dialog box will prompt you to install the WinPcap component of the communi-
cations middleware.
4 Read the License Agreement carefully. If you agree to all of the conditions, click the I Agree
Button.
The Installation options Dialog Box is displayed.
5 Select the Automatically start the WinPcap driver at boot time Option, and then click the
Install Button.
Installation of WinPcap starts.
1 Select the network card for connecting the Controller with an Ethernet cable from the computer
that runs the Sysmac Studio, and then click the OK Button.
The network card for a direct Ethernet connection is selected and installation continues.
Installing the USB Driver for OMRON SYSMAC PLCs and NS-series
PTs
During installation wizard execution, a Windows Security Dialog Box is displayed.
The OMRON Universal Serial Bus controllers are installed and then the InstallShield Wizard
Complete Dialog Box is displayed.
If you are using Windows 8 or later and selected the Complete Option in step 8 or the CX
Common Tools Check Box in step 9, the following message appears before the InstallShield
Wizard Complete Dialog Box is displayed:
Microsoft .NET Framework 3.5 SP1 is required to use CX-ConfiguratorFDT. After installing
Sysmac Studio, install the .NET Framework 3.5 SP1 from the Internet.
To uninstall the Sysmac Studio, log onto Windows as the administrator or as a user with admin-
istrator rights. Without administrator rights, you may not be able to access some folders, which
results in unsuccessful uninstallation.
1 Open the Control Panel from the Windows Start Menu and then select Programs and
Features.
The Uninstall or change a program Dialog Box is displayed.
1 Open the Control Panel from the Windows Start Menu and then select Programs and
Features.
The Uninstall or change a program Dialog Box is displayed.
4 Delete the Communications Middleware according to the messages in the dialog box.
The Maintenance Completed Dialog Box is displayed when uninstallation is completed.
1 Open the Control Panel from the Windows Start Menu and then select Programs and
Features.
The Uninstall or change a program Dialog Box is displayed.
2 Select CX-Server Driver Manager Tool, and then click the Uninstall/Change Button.
The following dialog box is displayed.
(b)
Click the + icon to see the updates that you can apply to an application.
The first time you implement an update, a dialog box is displayed for user confirmation before 2
the OMRON Automation Software Upgrade Utility starts.
Item Description
E-mail Address Enter your email address.
License Number (16 digits) Input the license number of the Sysmac Studio that you purchased.
Region Select the region where you purchased the software.
• Japan
• Europe, Africa, or Middle East
• North or South America
• China
• Southeast Asia, India, or Pacific region
• Taiwan
• Korea
3 Click the Yes Button to restart your computer and complete the updates. To restart later, click
the No Button.
Additional Information
• If there are updates to install for the OMRON Automation Software Upgrade Utility, the follow-
ing dialog box is displayed when you start the utility. Click the OK Button to download the up-
dates.
• You use Programs and Features in the Control Panel to uninstall the updates.
Creating a Project
A project file is created.
1. Starting the Sysmac Studio: Start the Sysmac Studio. 3-3-1 Starting and Exit-
ing the Sysmac Studio
on page 3-9
2. Creating a Project: Create a project. 3-3-2 Creating a Project 3
File on page 3-11
Designing Tasks
The tasks, which are used to execute programs, are created.
1. Registering Tasks: Register the tasks in Tasks. 5-9 Task Settings on
page 5-109
2. Designing Tasks: Design the operation of the tasks. 5-9 Task Settings on
page 5-109
3. Editing Tasks: Assign programs to the tasks. 5-9 Task Settings on
page 5-109
4. Editing Tasks: Design the I/O that are controlled by the tasks and the varia- 5-9 Task Settings on
bles that are shared between tasks. page 5-109
Testing Operation
Final debugging of the user program is performed using trial operation.
1. Debugging Programming with Data Traces: Execute data traces to check the 7-2-11 Data Tracing on
operation of the user program. page 7-52
Creating a Project
A project file is created.
1. Starting the Sysmac Studio: Start the Sysmac Studio. 3-3-1 Starting and Exit-
ing the Sysmac Studio
on page 3-9
2. Creating a Project: Create a project. 3-3-2 Creating a Project
File on page 3-11
Designing Tasks
The tasks, which are used to execute programs, are created.
1. Registering Tasks: Register the tasks in Tasks. 5-9 Task Settings on
page 5-109
2. Editing Tasks: Assign programs to the tasks. 5-9 Task Settings on
page 5-109
3. Editing Tasks: Design the I/O that are controlled by the tasks and the varia- 5-9 Task Settings on
bles that are shared between tasks. page 5-109
Testing Operation
Final debugging of the user program is performed using trial operation.
1. Debugging Programming with Data Traces: Execute data traces to check the 7-2-11 Data Tracing on
operation of the user program. page 7-52
Observe the following precautions when you start the Sysmac Studio or any of the Sup-
port Software that is provided with it.
• If you start the Sysmac Studio as a user without administrator rights, you may not be able to
use some functions due to a file access error. In this case, enable the User Account Control
(UAC) of Windows and restart the Sysmac Studio.
3
• If you use the simulation features of a Controller or HMI, log onto Windows as the administra-
tor or as a user with administrator rights and start the Sysmac Studio.
• Select All Programs - OMRON - Sysmac Studio - Sysmac Studio from the Windows Start Menu.
The Sysmac Studio starts and the following window is displayed. This window is called the Start page.
Additional Information
If there is unsaved data when you exit the Sysmac Studio, a dialog box will appear that asks if
you want to save the data.
Save the data if required. The Sysmac Studio will close after this operation.
Button Function
New Project Creates a project file.
Open Project Opens an existing project file.
2 Enter the project name (mandatory), author (optional), and comment (optional) in the
Project Properties Screen, select the device category, the device to use, and the version, and
then click the Create Button.
Property Description
Project name Enter the project name.
Property Description
Author Enter the author name. If this is the first time you are creating a project after in-
stalling the Sysmac Studio, the user name that you entered when you logged on-
to Windows is displayed.*1
Comment Enter a comment.
Type Select the project type.
• Standard Project
This type is used for a normal project.
• Library Project
This type is used to create a library project. Refer to 9-3 Creating and Using
Libraries on page 9-8 for information on libraries.
• IAG Project
This type is used to create an IAG to use with an NA-series PT. Refer to the
NA-series Programmable Terminal Software User’s Manual (Cat. No. V118)
for details.
*1. You can change the author name that is displayed when you create a project. Change it in the op-
tion settings. Refer to the 8-23 Sysmac Studio Option Settings on page 8-123 for details.
You can change the properties later. Refer to Editing Project File Properties on page 3-14, be-
low.
Additional Information
In the Sysmac Studio (64 bit), at the bottom left of the start page, Robot System – Open in
Emulation Mode is displayed. This feature is only available for projects that use Robot Inte-
grated CPU Units. For more information, refer to the Sysmac Studio Robot Integrated System
Building Function with Robot Integrated CPU Unit Operation Manual (Cat. No. W595).
If you select a Vision Sensor, specify the model of the Vision Sensor in the next dialog box and
then click the OK Button.
Adding Devices
Or, select the device directly from the Insert Menu. Example: Controller−NJ501.
3
The Add Device Dialog Box is displayed.
To add Vision Sensors, Displacement Sensors (Measurement Sensors), HMIs, or Slave Terminals, se-
lect them from the Insert Menu.
To change the target device, select a device from the list.
Changing Devices
Right-click the device icon and select Change Device from the menu. Or, select the Change Device
from the Controller Menu.
Select the device and then click the OK Button. The device is changed.
• If you change the device, the settings for functions that are not supported by the new model
will be lost.
• You cannot change the device for a Vision Sensor.
• You cannot change to a different category.
Controller Versions
If you select a Controller for the device, set the version.
You can set the version to the unit version of the Controller that you are using or to any earlier unit
version. You can program and make settings within the ranges that are supported for the unit version
that you set for the Controller. If you attempt to use functions that are not supported by the unit version
that you set, you will not be able to use them or errors will occur.
For example, if you set the version to 1.01 for an NJ-series Controller, you can use the Controller with-
in the ranges that are supported by unit version 1.01 of the Controller. In this case, you can transfer
the user program that you created to a Controller with unit version 1.02, but you cannot transfer it to a
Controller with a unit version of 1.00.
If you change the unit version, the settings for functions that are not supported by the new unit
version will be lost.
If the configuration of the EtherCAT network includes an EtherCAT slave that cannot be used by
the Controllers after changing model, the configuration and settings of the EtherCAT network
will be all cleared. In that case, create and set an EtherCAT network configuration again.
1 Click Open Project on the Start page and select the project file to edit.
Property Value
Type Select a standard project or a library project. Refer to 9-3 Creating and Using Li-
braries on page 9-8 for information on library projects.
Enable password Select this option to enable setting password protection for the project file. Refer
protection for the to 3-3-9 Password Protection for Project Files on page 3-23 for details.
project file
The project name is registered in the project properties and the Start page is displayed.
If you click the No Button, the Start page is displayed without saving the project.
You can check the name of the registered project if you click Open Project on the Start page.
1 Select Save from the File Menu. (Or press the Ctrl + S Keys.)
2 Change the project file name, and then click the Save Button.
Additional Information
(a)
(b)
Item Description
3
(a) Project Name Search Enter a text string. Then, the project list will be narrowed to
display projects with names that contain the text string you en-
2 Select a project from the list of project names and click the Open Button.
Additional Information
If you open a project that was created with Sysmac Studio version 1.01 or lower with version
1.05 or higher, a dialog box will appear for you to select the model of the CPU Unit. Select the
model of the CPU Unit that is actually connected.
1 Select Close from the File Menu to return to the Start page.
3 Select the project to export from the list of project names and click Export.
4 Specify a directory, enter a file name, select the file type, and then click the Save Button.
Extension Description
smc2*1 or smc One file contains all of the project data.
csm2*1 or csm*2 One file contains all of the project data. The file is smaller than the smc file. However,
the project is always built before the data is transferred to the Controller.
*1. Project files with this extension are supported by Sysmac Studio version 1.08 or higher.
*2. Project files with this extension are supported by Sysmac Studio version 1.04 or higher.
The trace data is not included in csm files exported from Sysmac Studio version 1.05 or higher
or in csm2 export files. Export any required trace data separately.
Additional Information
2 Specify a directory, enter a file name, and then click the Save Button.
The project is exported to a file.
If any EtherCAT slaves from other manufacturers are registered in a project, first save the
project file, and then select the smc2 or csm2 format and export the file.
If you import an exported project file to Sysmac Studio version 1.08 and save the project file,
the ESI for the slaves is lost.
1 Click Import.
2 Select a project file with an .smc2, .csm2, .smc, or .csm file name extension, and then click the
Open Button.
Additional Information
If you import a project that was created with Sysmac Studio version 1.01 or lower with version
1.05 or higher, a dialog box will appear for you to select the model of the CPU Unit. Select the
model of the CPU Unit that is actually connected.
3
Setting and Clearing Password Protection for Project Files
1 Select a project on the Start page. Then, click the Properties Button or click the Edit
Properties icon ( ).
The Project Properties Dialog Box is displayed.
2 Select the Enable password protection for the project file Check Box, enter the password, and
click the Save Button. The file is saved.
To clear the password protection, clear the selection of the Enable password protection for the
project file Check Box and click the Save Button. The file is saved.
• For the password, enter a string of 8 to 32 single-byte alphanumeric characters. The pass-
word is case sensitive.
• If you forget the password, you will no longer be able to open the project file, change the
properties of the project file, or import the contents of the project file. Be sure to record the
password in case you forget it.
• Password protection for project files does not apply to data that is transferred to the Control-
ler. To prevent reading data from the Controller, set operation authorities or data protection.
Additional Information
If you place password protection on a project that has more than one version, the same pass-
word protection will be placed on all versions in the project.
2 Select a project from the list of project names and click the Open Button.
1 Click Import.
2 Select a project file with an .smc2, .csm2, .smc, or .csm file name extension, and then click the
Open Button.
(a)
(b)
(c)
(d)
The project number is automatically added to the project that was saved and the project is dis-
played in a hierarchy for the project.
Additional Information
• A hierarchy is not displayed for the project when a project is first created or when there is
only one project number.
• The project numbers are displayed in order in the hierarchy with the newest project at the top.
• A new number is automatically added for the project number. You cannot change the project
numbers.
• Project properties are set for each project number.
1 Select the project with the desired project number from the project hierarchy and click the
Open Button.
Additional Information
You cannot overwrite a project that was opened for a specific project number. To make
changes, either save the project under a different name or save it for the most recent project
number.
You can go online with the Controller and upload the project even if there is no project file on the com-
puter.
Click Connect to Device.
3
3-3-12 Displaying and Registering Licenses
If you click the license in the product name column, detailed information is displayed in the
product detailed information column.
The number of days that remains for the trial edition is displayed under License.
3 Enter the license number, and then click the Register Button.
If the license is registered normally, a message appears asking you to restart the software.
You can use the project version control function to control the changes made to Sysmac Studio
projects.
To use the Sysmac Studio project version control function, you need to separately purchase a license
of the Sysmac Studio Team Development Option.
Refer to the Sysmac Studio Project Version Control Function Operation Manual (Cat. No. W589) for
details on the Sysmac Studio project version control function.
(4) (5)
(1)
Programming
Header
(3)
(6)
(8) (9) (10) (11) (12) (13)
(2)
(7)
Status Bar
Number Name
(1) Multiview Explorer
(2) Filter Pane
(3) Edit Pane
(4) Toolbox
(5) Search and Replace Pane
(6) Controller Status Pane
(7) Simulation Pane
(8) Cross Reference Tab Page
(9) Output Tab Page
(10) Watch Tab Page
(11) Build Tab Page
(12) Search and Replace Results Tab Page
(13) Differential Monitor Tab Page
You can also press the Alt Key to display the menu bar when it is hidden.
• Click the icons ( or ) in front of each item in the tree to expand or col-
lapse the tree.
• A pop-up menu is displayed if you right-click any data items that can be set.
Use this list and icon to switch the device to edit and add/delete devices.
Device List
Devices that are registered in the project are displayed.
Select the device to edit in the device list and configure the device or create a program.
You can display the device list in either of the following two ways.
Right-click the device icon and select Switch Device Control Display from the pop-up menu, or
Device Icon
The icon for the device that is selected in the device list is displayed.
3
You can add or change devices, or switch the display method of the device list in the pop-up menu
that appears when you right-click the device icon.
You can define how you want to use these marks, e.g., to indicate data develop-
ment status or developer assignments. You can also use them as filter conditions in
the Filter Pane that is described later in this section.
Error Icons
The error icon indicates when there is an error in the edited data.
Click this icon to display the item with the error in the Edit Pane.
You cannot download the data to the NJ/NX/NY-series Controller if an error icon is displayed.
You can search for only items with a specific color code or items with error icons to display a list with
only items that meet the search condition. This allows you to edit multiple items from a single list.
Click any item in the search result to display the item in the Edit Pane.
Additional Information
• You can use an option setting to change the number of tab pages in the Edit Pane that can
be displayed at a time. The default setting is 10, and the maximum display number is 20. Al-
so, you can set so that an old tab page that has not been used is closed automatically when
the maximum display number is exceeded. Refer to 8-23 Sysmac Studio Option Settings on
page 8-123 for details on the settings.
• When you perform any of the following operations, all of the tab pages that are not the target
of operation are closed automatically.
a) Online editing
b) Synchronization
c) Simulation
d) Setting the Setting Change during RUN Mode parameter in the Controller Setup
e) Uploading the results of data tracing
f) Displaying the Troubleshooting Dialog Box
g) Transferring all Controller data
• You can close the Edit Pane from the pop-up menu that appears when you right-click one of
the tabs.
To create a tab group, right-click any of the tabs to display the pop-up menu.
Menu com-
Description Remarks
mand
New Horizon- Select this command to divide the Edit Pane into You can display the pop-up menu
tal Tab Group upper and lower sections and move the selected when the current tab group has more
tab page to the tab group that is newly created. than one tab page.
New Vertical Select this command to divide the Edit Pane into You can display the pop-up menu
Tab Group left and right sections and move the selected tab when the current tab group has more
page to the newly created tab group. than one tab page.
Move to Next Select this command to move the selected tab You can display the pop-up menu
Tab Group page to the tab group below or to the right of the when there is a tab group below or to
current tab group. the right of the current tab group.
Move to Previ- Select this command to move the selected tab You can display the pop-up menu
ous Tab Group page to the tab group above or to the left of the when there is a tab group above or to
current tab group. the left of the current tab group.
Additional Information
• You can group tab pages only when the Edit Pane has tab pages.
• You can also move tab pages between tab groups by dragging the mouse. Refer to Docking
and Undocking on page 3-43 for the procedure.
1 Select Smart Project Search from the View Menu. Or, press the Ctrl + Shift + F Keys.
The Smart Project Search Dialog Box is displayed.
3 Double-click the desired item in the search result list. Or, press the Enter Key.
The Search Dialog Box is closed and the selected item is displayed in the Edit Pane.
To close the Search Dialog Box without selecting an item, click in a pane other than the Search
Dialog Box or press the Esc Key.
Additional Information
• You can enter English characters into the Search Box to search for item names that contain
words that start with the entered characters in capitals.
Example: If you enter is0 in the Search Box, an item named InitialSetting0 is displayed in the
search result list.
• You can search for the items displayed in the Edit Pane when online only when the Sysmac
Studio is online.
All of the other sections that are at the same level as the selected section are displayed.
2 Double-click the desired section in the related item list. Or, press the Ctrl + Up or Ctrl + Down
Keys to select the section and then press the Enter Key.
The related item list and Search Dialog Box are closed and the selected section is displayed in
the Edit Pane.
1 Select Recently Closed Windows from the View Menu. Or, press the Ctrl + Shift + H Keys.
The windows previously displayed in the Edit Pane are displayed in the thumbnail index of re-
cently closed windows.
The thumbnails of up to the 20 most recently closed windows are displayed in the order they
were closed from the upper left to the bottom right.
Select the window to display with the mouse or the Arrow Keys. You can select more than one
window if you click the windows while you hold down the Shift or Ctrl Key or if you press the
Arrow Keys while you hold down the Shift or Ctrl Key.
Additional Information
1 Select the target tab page in the Edit Pane and right-click on it, and select Jump to Multiview
Explorer from the pop-up menu, or select Jump to Multiview Explorer from the Edit Menu.
Or, select the tab page in the Edit Pane and press the Shift + Alt + L Keys.
You can expand or omit the display of objects by selecting Expand All or Collapse
All from the pop-up menu.
The Controller Status Pane shows the current operating status of the Controller. The Controller Status
Pane is displayed only while the Sysmac Studio is online with the Controller.
Additional Information
The Controller Status Pane is not displayed when the Sysmac Studio is offline.
Additional Information
The Simulation Pane is not displayed when the Sysmac Studio is online with the Controller.
3
Cross Reference Tab Page (8)
The Watch Tab Page shows the monitor results of the Simulator or online Controller.
You can monitor the current values of variables by inputting the variables directly or by dragging them
from a variable table or program rung.
The Build Tab Page shows the results of program checks and building.
Double-click any of the results to display the location of the program check error, program check warn-
ing, or building error in the Edit Pane of the Sysmac Studio so that you can edit it.
The Search and Replace Results Tab Page shows the results when Search All or Replace All is exe-
cuted.
Double-click any of the search/replace results to display the location in the Edit Pane of the Sysmac
Studio so that you can edit it.
You can detect the number of times the specified BOOL variable or BOOL member changes to TRUE
or FALSE and display the count in this tab page.
You can check if bits turn ON and OFF and the number of times that they turn ON and OFF.
1 Click and drag the title bar of a pane or the tab of a tab page.
Docking guides are displayed.
2 Release the mouse button when the pane or tab page is at any location other than the docking
guides.
The pane or tab page will become a floating window.
Docking Windows
1 Click and drag the title bar of the window or the tab of a tab page.
Docking guides are displayed in the locations where you can dock the window or tab page.
The docking guide icons that are displayed depend on the position of the mouse cursor. The
icons that are displayed are shown in the following table.
Icon Description
The window or tab page that you drag is aligned vertically or horizontally with the object
where the icon is displayed.
The window or tab page that you drag is placed in a tab group with the object where the
icon is displayed.
When you align the mouse cursor with a docking guide icon, a blue shaded area is displayed in
the window docking position.
2 Align the mouse cursor with any of the docking guide icons and release the mouse button.
The window is positioned at the docking position with the blue shaded area.
Here, “tool windows” refers to the window group of panes and tab pages that are not displayed
in the Edit Pane.
You can place windows that are in the same group into tab groups.
Additional Information
• When you drag a tool window, you can horizontally or vertically align it or overlap it in a tab
group with not only the main window, but also with other floating tool windows.
• You can group tab pages in the Edit Pane from the pop-up menu that appears when you
rightclick one of the tabs.
• You can use the following methods to switch between a floating and docked window.
a) Double-click the title bar of the window/pane or the tab of the tab page.
b) Right-click the title bar or tab and select Float/Dock from the menu.
• For the currently selected pane, the upper part of the title bar is displayed in light blue.
1 Press the Ctrl+Tab Keys when an edit window or a tool window is active.
The Change Display Dialog Box is displayed.
2 Hold down the Ctrl Key and press the Tab Key or an Arrow Key to select the desired object
name.
When you release the key, the Change Display Dialog Box is hidden and the focus moves to
the selected object.
The Toolbox is hidden and a Show/Hide Tab is displayed on the closest adjacent edge of the
main window.
If you move the mouse cursor over the Show/Hide Tab, the Toolbox is displayed. When you
move the cursor off the Show/Hide Tab, the Toolbox is hidden again.
2 To display the Toolbox again, click the Show/Hide Tab and then click the horizontal Pin Button.
(a) (b)
(c)
(f)
(d) (g)
(e)
(h)
(i)
1 In the Window Layout Template Management Dialog Box, click the Create New Template
Button.
1 In the Window Layout Template Management Dialog Box, select the template to update, and
then click the Update with Current Window Layout Button.
An update confirmation dialog box is displayed, which asks if you want to apply it.
Clicking the Yes button updates the target template with the currently displayed window layout.
1 In the Window Layout Template Management Dialog Box, select the template to apply to the
currently displayed window layout, and then click the Apply To Window Layout Button.
A confirmation dialog box is displayed, which asks if you want to apply it.
Clicking the Yes button displays the currently displayed window using the selected window lay-
out template.
Additional Information
Menu Submenu/command
File Close ---
Save
Save As
Save As New Number
Import
Export
Offline Comparison 3
Page Settings
Print
Exit
Edit Undo ---
Redo
Cut
Copy
Paste
Delete
Select All
Search and Replace
Jump
View Multiview Explorer ---
Toolbox
3D Visualizer
Output Tab Page
Watch Tab Page
Watch Tab Page (Table)
Cross Reference Tab Page
Build Tab Page
Search and Replace Results Tab Page
Simulation Pane
Differential Monitor
Variable Table
Variable Manager
Smart Project Search
Recently Closed Windows
Clear Recently Closed Windows History
Zoom Zoom In
Zoom Out
Zoom to Fit
Zoom Reset
Reset Window Layout ---
Menu Submenu/command
Insert Circuit Parts Line
N.O. Input
N.C. Input
OR with N.O. Input
OR with N.C. Input
Output
NOT Output
Function
Function Block
Insert Controller NJ101
NJ301
NJ501
NX102
NX1P2
NX701
NY512
NY532
Application Manager ---
Safety Network Controller NX
Drive ---
Slave Terminal EtherNet/IP Coupler or PROFINET Coupler
Vision Sensor FH
FQ-M
Measurement Sensor ZW
HMI NA5
Program Ladder
ST
Section
Function Ladder
ST
Function Block Ladder
ST
Debug Program Ladder
ST
Section
Axis Settings ---
Axes Group Settings
Cam Data Settings ---
Data Trace
Menu Submenu/command
Project Check All Programs ---
Check Selected Programs
Build Controller
Menu Submenu/command
Controller Communications Setup ---
Change Device
Online
Offline
Synchronization
Transfer To Controller
From Controller
Mode RUN Mode
PROGRAM Mode
Monitor ---
Stop Monitoring
Set/Reset Set
Reset
Forced Refreshing TRUE
FALSE
Cancel
Cancel All
MC Test Run Start
Stop
MC Monitor Table ---
SD Memory Card
Controller Clock
Release Access Right
Update CPU Unit Name
Security Setting of Operation Authority
ID for User Program Execution
CPU Unit Write Protection
Set/Release Data Protection
Temporary Release of Change Prohibition
Finish Temporary Release of Change Pro-
hibition
Temporary Release of Display/Change
Prohibition
Finish Temporary Release of Display/
Change Prohibition
Clear All Memory ---
Reset Controller
Menu Submenu/command
Simulation Run ---
Run in PROGRAM mode
Pause
Menu Submenu/command
Window Close ---
Float
Dock
New Horizontal Tab Group
New Vertical Tab Group
Move to Next Tab Group
Move to Previous Tab Group
Close All But This
Close All Except Active Device
Close All
Close Tab
Open Next Tab
Open Previous Tab
Help Help Contents ---
Instruction Reference
System Defined Variable Reference
Keyboard Mapping Reference
Manual Download
Online Registration
About Sysmac Studio
Pop-up Menus
Pop-up menus are provided to facilitate data editing in the panes.
Right-click the data item and select the command (e.g., Add, Rename, Copy, or Paste) from the pop-
up menu.
Entry Assistance
When you enter characters from the keyboard at the following times, the list of candidates that is dis-
played for selection is automatically narrowed.
Example: When you enter a variable name in the Ladder Editor, the variable names that you can
enter are displayed in a list when you click the mouse button.
• When you drag an ST statement (here, an IF statement) from the Structured Text Tools in the
Toolbox of the ST Editor, the keywords for the construct for the ST statement are automatically
entered.
Drag
3-7-2 Programming
Item Description Page
Instruction list (Toolbox) A hierarchy of the instructions that you can use is displayed in 3-4-4 Toolbox (4) on
the Toolbox. You can drag the required instruction to a program page 3-40
in the Ladder Editor or ST Editor to insert the instruction.
3-7-2 Programming
ing functions the Ladder Editor. Ladder Diagrams on
page 4-85
Inserting and delet- You can insert a circuit part in a ladder diagram to enable pro- 4-5-1 Programming
ing inline ST gramming in ST. This allows you to include ST in a ladder dia- Ladder Diagrams on
gram. page 4-85
Editing circuit parts You can copy and paste circuit parts. 4-5-1 Programming
Ladder Diagrams on
page 4-85
Inserting and delet- You can insert a jump label in the rung to jump to and then 4-5-1 Programming
ing jump labels specify that jump label when you insert a jump. Ladder Diagrams on
and jumps page 4-85
Inserting and delet- You can add bookmarks to the beginning of rungs and move be- 4-5-1 Programming
ing bookmarks tween them. Ladder Diagrams on
page 4-85
Rung comments You can add comments to rungs. 4-5-1 Programming
Ladder Diagrams on
page 4-85
Displaying rung er- When you enter a circuit part, the format is always checked and 4-5-1 Programming
rors any mistakes are displayed as errors. Ladder Diagrams on
If there are any errors, a red line is displayed between the rung page 4-85
number and the left bus bar.
Entry assistance When you enter instructions or parameters, each character that 3-6 Basic Editing Op-
you enter from the keyboard narrows the list of candidates that erations on page 3-57
is displayed for selection.
Displaying varia- You can display variable comments along with the variables in 8-23 Sysmac Studio
bles with com- the circuit parts of a ladder program. You can change the length Option Settings on
ments of the displayed variable comments to make them easier to page 8-123
read.
Element comment You can add an element comment on the ladder circuit parts. 4-5-1 Programming
Ladder Diagrams on
page 4-85
Rung comment list Displays a list of rung comments for a ladder program. Double- 4-5-1 Programming
click a comment in the list to go to the related rung. Ladder Diagrams on
page 4-85
3-7-5 Debugging
3-7-5 Debugging
Changing the present values You can change the present values of user-defined variables, 7-2-3 Changing
of variables system-defined variables, and device variables as required. Present Values and
You can do this in the Ladder Editor, ST Editor, Watch Tab Set/Reset Using
Page, or I/O Map. Forced Refreshing on
page 7-24
Forced refreshing Forced refreshing allows the user to refresh external inputs and 7-2-3 Changing
outputs with user-specified values from the Sysmac Studio. The Present Values and
specified value is retained even if the value of the variable is Set/Reset Using
overwritten from the user program. Forced Refreshing on
You can use forced refreshing to force BOOL variables to TRUE page 7-24
or FALSE in the Ladder Editor, Watch Tab Page, or I/O Map.
Online editing Online editing allows you to edit programs on systems that are 7-2-5 Online Editing
currently in operation. on page 7-40
Online editing can be used to edit only POUs and global varia-
bles. User-defined data types cannot be edited with online edit-
ing.
Cross Reference Tab Page Cross references allow you to see the programs and locations 7-2-4 Cross Referen-
where program elements (variables, data types, I/O ports, func- ces on page 7-36
tions, or function blocks) are used.
You can view all locations where an element is used from this
list.
3-7-6 Simulation
3-7-6 Simulation
debug the sequence control program and continuous control
program. MATLAB/® R2013a or higher is required.
Changing the You can change the execution speed. 7-3-1 Debugging with
simulation speed Program Simulation
on page 7-80
Task period simu- You can display the task periods. 7-3-1 Debugging with
lation Program Simulation
on page 7-80
Batch transfer of You can save the values of variables at specific times during 7-3-1 Debugging with
the present val- simulations in a file, or you can write the values of variables that Program Simulation
ues of variables were saved in a file back to the Simulator. This allows you to on page 7-80
write the initial values of variables, e.g., for test applications, be-
fore you start a simulation.
Integrated NS- You can simulate the linked operation of a sequence program 7-3-6 Integrated NS-
series PT simula- and an NS-series Programmable Terminal to debug the se- series PT Simulation
tion quence program and screen data offline. for Offline Debugging
of Sequence Control
and NS-series PTs on
page 7-112
Simultaneous You can simultaneously simulate sequence control and NA-ser- 7-3-5 Offline Debug-
simulation of ies PT operation, including displaying pages and subroutines ging with Sequence
Controller and created with Visual Basic and debugging the sequence pro- Control and NA-series
NA-series PT gramming. PT Simulator (Simulta-
neous Simulation of
Controller with NA-ser-
ies PT) on page 7-109
Setting the Creating 3D You can create a 3D equipment model at the control target to 7-2-11 Data Tracing
virtual equipment mod- monitor with 3D motion monitoring. on page 7-52
equipment els*1
3D Motion Moni- You set the axis variables for each element of the 3D equipment 7-2-11 Data Tracing
tor Display model, and then set the 3D equipment into motion according to on page 7-52
Mode*1 those axis motions.
Displaying 2D You can display the 2D paths of the markers for the projections 7-2-11 Data Tracing
paths*1 in the 3D display. on page 7-52
*1. Not supported by the Sysmac Studio (64 bit).
3-7-8 Communications
Item Description Page
Going online with a Controller An online connection is established with the Controller. 6-2 Going Online with
You also can transfer a project from the connected Controller to a Controller on page
the computer with a simple operation without creating a new 6-3
project or opening an existing project.
Checking for forced refreshing When you go offline, any forced refreshing is cleared. 6-2-7 Checking for
Forced Refreshing on
page 6-7
3-7-9 Maintenance
3
Item Description Page
Changing the operating There are two operating modes for NJ/NX/NY-series Control- 7-2-6 Changing the
3-7-9 Maintenance
mode of the Controller lers, depending on if control programs are executed or not. Operating Mode on
These are RUN mode and PROGRAM mode. page 7-45
Resetting the Controller The operations and status when the power supply to the Con- 7-5-5 Resetting the
troller is cycled are emulated. Controller on page
This can be performed only in PROGRAM mode. You cannot re- 7-148
set the Controller in RUN mode.
Clear All Memory The Clear All Memory Menu command is used to initialize the 8-6 Clearing Memory
user program, Controller Configurations and Setup, and varia- on page 8-31
bles in the CPU Unit to the defaults from the Sysmac Studio.
SD Memory Cards The following procedures are used to execute file operations for 8-1 SD Memory Card
the SD Memory Card mounted in the NJ/NX-series CPU Unit or Operations on page
the Virtual SD Memory Card of the NY-series Industrial PC 8-3
(hereafter called SD Memory Card), and to copy files between
the SD Memory Card and computer.
Formatting the SD The SD Memory Card is formatted. 8-1 SD Memory Card
Memory Card Operations on page
8-3
Displaying properties The properties of the selected file or folder in the SD Memory 8-1 SD Memory Card
Card are displayed. Operations on page
8-3
Copying files and fold- The selected file or folder in the SD Memory Card is copied to 8-1 SD Memory Card
ers in the SD Memory the SD Memory Card. Operations on page
Card 8-3
Copying files and fold- The selected file or folder in the SD Memory Card is copied to 8-1 SD Memory Card
ers between the SD the computer. Operations on page
Memory Card and the Or, the selected file or folder in the computer is copied to the SD 8-3
computer Memory Card.
FBD Programming You connect variables, functions, and function blocks with con-
necting lines to build networks. The FBD editor is used to enter
them.
Adding FBD You create FBD networks on the FBD editor to create algo-
Networks rithms.
Inserting and You insert and delete functions and function blocks on the FBD
Deleting editor.
Functions and
Function 3
blocks
Entry Assis- When you enter functions, function blocks, or parameters, each
Changing the Present You can change the present values of user-defined variables
Values of Variables and device variables as required. You can do this on the FBD
editor or Watch Tab Page.
Forced Refreshing The inputs from external devices and outputs to external devi-
ces are refreshed with a specified value on the Sysmac Studio.
The specified value is retained even if the value of the variable
is overwritten from the user program. You can use forced re-
freshing on the FBD editor or Watch Tab Page.
Cross References It is possible to see in which programs and in which place a 3
safety program variable is used.
Offline Debugging You can check if the control program logic works as designed in
Variable
Description
type
1 Press the Insert Key in the global variable table, or right-click in the global variable table and
select Create New from the menu.
2 Enter values for each item, and then press the Enter Key.
The variable is registered. Always set the variable name and the data type.
Refer to 4-1-9 Entering Variable Attributes on page 4-36 for information on entering values for
attributes.
4
For the Data Type cell, if you press the Ctrl + Space Keys or enter the first character of the
data type, a drop-down list is displayed.
Deleting Variables
1 Click the header on the row of the variable to delete to select the entire row.
2 Press the Delete Key. Or, right-click a row and select Delete from the menu. To delete a global
variable together with external variables that refer to the global variable, press the Ctrl + Shift +
Delete Keys, or select Delete (including external variables) from the pop-up menu.
If you select Delete (including external variables), all external variables that refer to the glob-
al variable will be deleted.
2 Press the Ctrl + C Keys. Or, right-click and select Copy from the menu.
3 Press the Ctrl + V Keys for the cell to which you want to paste the data. Or, right-click and se-
lect Paste from the menu.
The copied data is pasted to the target cell.
1 Click the header on the row of the variable to copy to select the entire row.
2 Press the Ctrl + C Keys. Or, right-click the row and select Copy from the menu. If you want to
copy data together with the data type definitions of variables, select Copy with Dependents.
3 Press the Ctrl + V Keys in the destination variable table. Or, right-click and select Paste from
the menu.
If you enter any invalid characters or out of range values, the cell is highlighted in red. An error
will occur when the program is checked. For information on restrictions on variable names, refer
to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial
Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558).
Additional Information
• If no variables are registered, There are no variables in the table. Click here to add. is dis-
played. Click to add a new variable.
• A global variable is registered automatically when you perform any of the following opera-
tions.
a) When you enter a new variable in the Variable Column of the I/O Map with Global
Variable specified in the Variable Type Column.
b) When you create a new interface variable between tasks.
c) When you create a new axis, axes group, cam, or cam definition in the Multiview Explorer.
• You can register new variables that are entered into the Ladder Editor or ST Editor as global
variables. Select the Select the local or global variable and register it Check Box in the
option settings to select the location in which variables are registered. Then, specify Global
as the variable type when you enter the variables. Refer to 8-23 Sysmac Studio Option Set-
tings on page 8-123 for details on the option settings.
• When you change the name of a registered global variable, you can also change at the same
time the name of the same variable where it is used in programs or external variables. Set
the Change the variable name used in programs Check Box in the option settings. Refer to
8-23 Sysmac Studio Option Settings on page 8-123 for details.
• If the same variable names exist when variables are copied and pasted from other variable
tables or spreadsheets, a dialog box that lists the source and destination variables is dis-
played. Select the variable to overwrite and execute the paste.
• If an NA-series PT is registered in the project, you can drag variables from the global variable
table to the NA-series PT Page Editor to add them as objects.
Refer to the NA-series Programmable Terminal Software User’s Manual (Cat. No. V118) for
details.
Selecting Rows
Click the header on the row, and the entire row is selected.
Hold down the Ctrl or Shift Key and click the headers of rows to select more than one row.
Moving Rows
You can drag and drop the grip at the left end of the row to change the order of the rows.
A sort icon is displayed in the title row and the relative column is sorted in ascending order. 4
2 To cancel sorting, right-click the title row cell for the column that you used to sort the variable
table and select Clear Sorting.
Additional Information
The sorting results are lost when you close the global variable table.
1 Right-click the title row cell for the column to use to filter the variable table and select Filtering.
2 Enter the text string and condition to use for filtering in the Filtering Dialog Box, and click the
OK Button.
An icon that indicates filtering is active appears in the title row and only the variables that meet
the specified condition are displayed.
3 To cancel filtering, right-click the title row cell for the column that you used to filter the variable
list and select Clear Filtering − Selected Column or All Columns.
Additional Information
• You can apply filtering to more than one column to restrict the variables that are displayed
even further.
• The filtering results are lost when you close the global variable table.
• If you copy variables while a filter is active, the variables that are hidden will not be copied.
1 Right-click the title row cell for the desired column and select Display Columns.
A list of the displayed columns is displayed.
Creating Variables
2 Select an I/O port in the I/O Map and enter a variable in the Variable Column.
To specify a variable table for the variable type, specify the variable type in advance.
Device variables are automatically assigned to the I/O ports for each slave or Unit. These de-
vice variables are also automatically registered in the variable table specified in the Variable
Type Column.
Menu Description
Create Device Vari- The variables are named automatically from a combination of the device names and
able the I/O port names.
Create Device Vari- The variables are named automatically from a combination of any prefixes or suffixes
able with Prefix and the I/O port names. When None is selected, the variables with the I/O port names
are generated automatically.
You create device variables with this method in the following cases.
• To eliminate the work that is involved in obtaining the device variable names.
• To automatically create device variables to use to access operating data and setup data for CJ-
series Special Units.
2 For each device whose name you can change, set a device name in the Edit Pane.
3 Select a slave, Unit, or one or more I/O ports in the I/O Map, right-click, and then select Create
Device Variable or Create Device Variable with Prefix from the menu.
To specify a variable table for the variable type, specify the variable type in advance.
When you select Create Device Variable with Prefix, specify Prefix, Suffix, or None in the
next dialog box.
Device variables are automatically assigned to the I/O ports for each slave or Unit. These de-
vice variables are also automatically registered in the variable table specified in the Variable
Type Column.
When you use an instruction with a UnitProxy input variable for a Unit on an NX-series Slave
Terminal, perform the following operation.
1. Right-click the Unit and select Display Node Location Port from the menu. The Node
Location Information row is displayed in the table.
2. Set a device variable.
Additional Information
4 Select a variable from a pull-down list in the I/O Map View to assign it to an I/O port.
Additional Information
To remove the variable assigned to an I/O port, clear the Variable Column or right-click the vari-
able and select Reset Assignment from the menu.
The device variable assignment is removed. However, removing the assignment does not de-
lete the variable from the variable table where it is registered.
Changes
Attribute Setting
to settings
Name Automatically generated variables: [device_name] + [I/O_port_name] Possible.
If entered manually, the variable name is simply the string you enter.
Data Type The data type must have the same size as the data type of the I/O port. Possible.
Initial Value None*2 Possible.
AT • Device variables for EtherCAT slaves: Not possi-
ECAT://node#[node_number]/[I/O_port_name] ble.
• Device variables for NX Units on CPU Rack:
IOBus://unit#[NX_Unit_number]/I/O_port_name
• Device variables for NX Units on EtherCAT Slave Terminal:
ECAT://node#[EtherCAT_Coupler_node_address, NX_Unit_number]/I/
O_port_name
• Device variables for CJ-series Units:
IOBus://rack#[rack_number]/slot#[slot_number]/[I/O_port_name]
• Device variables for built-in I/O port*1:
BuiltInIO://cpu/#[physical_port_number]/[I/O_port_name]
• Device variables for Option Boards*1:
BuiltInIO://opt/#[physical_port_number]/[I/O_port_name]
Retain • Device variables for NX Units: Not retained. Not possi-
• Device variables for EtherCAT slaves: Not retained. ble.
• Device variables for CJ-series Units assigned to the
Operation Data (CIO Area): Not retained.
Device variables for CJ-series Units assigned to the Setup Data (DM
Area): Retained.
• Device variables for built-in I/O port*1: Not retained.
• Device variables for Option Boards*1: Not retained.
Constant Yes for variables assigned to Setup Data (DM Area) for an I/O port that is Possible.
set to R (read-only). Other variables: None
Changes
Attribute Setting
to settings
Network Publish Do not publish. Possible.
Comment Enter a user-defined comment. Possible.
*1. This is available only for an NX1P2 Controller.
*2. Some Basic I/O Units have more than one access method for the same I/O port, such as bit string data
and BOOL data. If you use initial values for this type of I/O port, set the initial values for one of the ac-
cess types to None.
4
Display in I/O Map
Additional Information
• You can select any of the following items in the I/O Map to create a group of device variables
at one time.
Network line
Unit line
Additional Information
• To register a variable in any other variable table besides the global variable table, change the
variable table type in the Variable Type Column before selecting Create Device Variables.
If you do not specify anything in the Variable Type Column, the variables are automatically
registered in the global variable table.
If a variable of the same name already exists when you create a device variable, a "unique ID
number" is appended to the end of the variable.
• You can copy variables from the I/O Map and paste them into a spreadsheet (e.g., Excel). Or,
you can copy variables from a spreadsheet and paste them into the I/O Map. Copy the varia-
ble name, variable comment, and variable type columns (including the title row) on the
spreadsheet, and then select the first variable at which to paste the data on the I/O Map and
paste the data.
With Sysmac Studio version 1.05 or higher, you can paste the data on the I/O Map without
copying the title row. You can also copy and paste just the variable name column or the varia-
ble name and variable comment columns. To do so, display the desired columns of the I/O
Map. If pasting data to the I/O Map fails, the location where the paste failed is displayed on
the Output Tab Page.
Copying and Pasting Variables from the I/O Map into a Spreadsheet 4
If you paste the I/O Map data into a spreadsheet, the configuration is displayed as follows.
Data pasted in a spreadsheet is classified into four items.
(b)
(d)
(c)
Edit-
Name Meaning Remarks
ing
(a) Column header Displays the item for each col- No The first row only
umn.
(b) Device informa- Displays information on each No Variable information is write-protected
tion device. on the I/O Map.
(c) Port information Displays the port information No Consists of five data: Position (always
on each device. blank), port name, port description, read/
write attribute, and data type.
(d) Variable informa- Displays variable information Yes Consists of three data: Variable, variable
tion that is assigned to each port. comment, and variable type.
If more than one device is registered in the I/O Map, (b) Device information, (c) Port information,
and (d) Variable information are pasted by device.
Copying and Pasting Variables from a Spreadsheet into the I/O Map
When you paste data edited in a spreadsheet into the I/O Map, you need to follow the rules for pasted
data so that they are properly identified in the Sysmac Studio. Paste data according to the following
rules.
(a) When All I/O Map Data Including (a) Column Header Is Copied from a
Spreadsheet and Pasted into the I/O Map
1 Delete the row of (b) Device information for the first device under (a) Column header before
copying data.
If you copy data of multiple devices, copy the data without deleting rows of (b) Device
information of the second and subsequent devices.
2 Select the top port of the top device on the I/O Map and paste the data.
1 If you create a device configuration on the Sysmac Studio, the I/O Map is automatically creat-
ed. Display and right-click the I/O Map and select Expand All/Collapse All.
Ports for each device are displayed.
2 Select the overall I/O Map with the Ctrl + A Keys, copy it with the Ctrl + C Keys, select a cell on
the upper left corner in a spreadsheet, and then paste the data.
5 Select all data with the Ctrl + A Keys on the spreadsheet and copy the data with the Ctrl + C
Keys.
6 Paste the copied data into the I/O Map. Specify the top port of the top device as paste position.
7 If you change them to local variables, change the Variable Type to the (POU name) Internals.
2 Specify a port position to paste copied data on the I/O Map and paste the data.
1 Select a port to change the variable information on the I/O Map and copy the data with Ctrl + C
Keys.
3 Change the variable information, select the changed part, and copy it with the Ctrl + C Keys.
4 Select the target port on the I/O Map and paste the changed data.
If you change variable names in a spreadsheet, variables assigned to the port on the I/O Map
are deleted when the data is pasted. If you want to retain the variables, right-click the device
and select Reset Assignment from the pop-up menu.
Variable names and comments of ports whose data type is array cannot be properly pasted
from a spreadsheet into the I/O Map.
When you copy all I/O Map data including (a) Column header and paste the data into the I/O
Map, data of ports whose data type is array may be included. Pasting the data may fail in that
case.
Additional Information
Using the leftmost column in the figure below makes it easy to select a row of the port on the
I/O Map.
You can register variables that are used only within one POU (program, function, or function block).
The following variable groups exist for local variables.
POU type
Variable group for
Description Function
local variables Program Function
block
Internal variables Used to create local variables for use in programs Support- Supported. Supported.
and internal variables for use in functions or func- ed.
tion blocks.
Input/output varia- Used to create input variables, output variables, --- Supported. Supported.
3 Select the variable group from the side tabs in the local variable table and register the local
variable.
Additional Information
You can change the display position for the local variable table in the option settings. Refer to
8-23 Sysmac Studio Option Settings on page 8-123 for details.
You can also register new variables that are entered into the ST Editor as internal variables. Re-
fer to 4-5-2 Programming Structured Text on page 4-140 for the procedure.
Editing, Deleting, and Copying and Pasting Local Variables, and Selecting
and Moving Rows
4
You can edit, delete, copy, and paste local variables, and select and move rows with the same pro-
cedures as for global variables.
If you change the name of a local variable in the variable table, you can also change the name
of the variable in the program at the same time. Set the Change the variable name used in
programs Check Box in the option settings. Refer to 8-23 Sysmac Studio Option Settings on
page 8-123 for details.
1 Right-click the internal variable to move and select Move to Global from the pop-up menu.
The selected variable is registered in the global variable table and also moved from the internal
variables to the external variables.
1 Right-click the external variable to move and select Move to Internals from the pop-up menu.
The selected variable is moved from the external variables to the internal variables.
If you move an external variable to an internal variable, a dialog box is displayed to confirm
whether to delete the global variable that corresponds to the external variable. Delete a global
variable only after confirming that it is not used in any other POU.
1 Right-click the in-out variable group and select Apply inputs and outputs to the ladder
program from the pop-up menu.
A message box appears to confirm whether you want to update all functions and function
blocks called.
1 Right-click the return value variable group and select Apply return values to the ladder
program from the pop-up menu.
If you right-click on a function or a function block called on a ladder program and select Update
from the pop-up menu, change in in-out variables of functions or function blocks and return val-
ues of functions can be applied.
1 Right-click Axis Settings under Configurations and Setup - Motion Control Setup in the
Multiview Explorer and select Add - Axis Settings from the menu.
The MC_Axis000 Axis Variable is automatically added to the global variable table.
1 Right-click the Axis Variable to rename in the Multiview Explorer and select Rename from the
menu.
1 Right-click the Axis Variable to delete in the Multiview Explorer and select Delete from the
menu.
You can confirm that the Axis Variable was automatically deleted.
1 Right-click the Axis Variable to copy in the Multiview Explorer and select Copy from the menu.
2 Right-click Axis Settings in the Multiview Explorer and select Paste from the menu.
A copy of the Axis Variable is registered with Copy_1_of added to the front of the name of the
Axis Variable that was copied.
1 Right-click Axes Group Settings under Configurations and Setup - Motion Control Setup
in the Multiview Explorer and select Add - Axes Group Settings from the menu.
You can confirm that the MC_Group000 Axes Group Variable was automatically added.
1 Right-click the Axes Group Variable to rename in the Multiview Explorer and select Rename
from the menu.
1 Right-click the Axes Group Variable to delete in the Multiview Explorer and select Delete from
the menu.
You can confirm that the Axes Group Variable was automatically deleted.
1 Right-click the Axes Group Variable to copy in the Multiview Explorer and select Copy from the
menu.
2 Right-click the Axes Group Variable in the Multiview Explorer and select Paste from the menu.
A copy of the Axes Group Variable is registered with Copy_1_of added to the front of the name
of the Axes Group Variable that was copied.
1 Right-click Cam Data Settings under Configurations and Setup in the Multiview Explorer
and select Add - CamProfile from the menu.
1 Right-click the cam data variable to rename in the Multiview Explorer and select Rename from
the menu.
1 Right-click the cam data variable to delete in the Multiview Explorer and select Delete from the
menu.
You can confirm that the cam data variable was automatically deleted.
1 Right-click the cam data to copy in the Multiview Explorer and select Copy from the menu.
2 Right-click Cam Data Settings under Configurations and Setup in the Multiview Explorer
and select Paste from the menu.
A copy of the cam data variable is registered with Copy_1_of added to the front of the name of
the cam data variable that was copied.
1 Click Enter Function Block for the instance of the function block instruction created in the Lad-
der Editor.
When you set an instance name, the function block instance is registered as an instance varia-
ble in the local variable table.
• You can use system-defined variables as soon as you register the Controller on the Sysmac Studio.
• System-defined variable names start with an underbar, as shown below.
• You can select them from lists in the Ladder Editor or ST Editor.
• There are system-defined variables for each of the four function modules, as listed in the following
table.
Functions
Type of var-
Internal vari- Input varia- Output varia- In-out varia- External vari- Return val-
iable
ables bles bles bles ables ues
Name Supported. Supported. Supported. Supported. Supported. Supported.
Data Type Supported. Supported. Supported. Supported. Supported. Supported.
Initial Value Supported. Supported. Not support- Not support- Not supported. Not support-
ed. ed. ed.
AT Specifi- Not support- Not support- Not support- Not support- Not supported. Not support-
cation ed. ed. ed. ed. ed.
Retain Not support- Not support- Not support- Not support- Not supported. Not support-
ed. ed. ed. ed. ed.
Constant Supported. Supported. Not support- Supported. Supported. Not support-
ed. ed.
Network Not support- Not support- Not support- Not support- Not supported. Not support-
Publish ed. ed. ed. ed. ed.
Comment Supported. Supported. Supported. Supported. Supported. Supported.
In/Out Not support- Supported. Supported. Supported. Not supported. Not support-
ed. ed.
Edge Not support- Not support- Not support- Not support- Not supported. Not support-
ed. ed. ed. ed. ed.
For information on attributes, valid value ranges, and character restrictions, refer to the NJ/NX-series
CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial Panel PC / Industrial Box
PC Software User’s Manual (Cat. No. W558).
Name Attribute
Classi-
Data type Data type name
fication
Basic Boolean BOOL
data Bit strings BYTE, WORD, DWORD, and LWORD
types Inte- Signed SINT, INT, DINT, and LINT
gers Unsigned USINT, UINT, UDINT, and ULINT
Real numbers REAL and LREAL
Durations TIME
Dates DATE
Variable table
Data type
ARRAY[1..9,0..9,0..5] OF BOOL
Gives the first number of the elements in the third dimension of the array.
Gives the first number of the elements in the second dimension of the array.
Gives the first number of the elements in the first dimension of the array.
If the first array element number is 0, you can enter the variable as fol-
lows:
Basic_data_type[Number_of_elements]
Example: You can enter ARRAY[0..4,0..9] OF BOOL as BOOL[5,10].
Classi-
Data type Data type name
fication
Basic Data Array Varia- A method for specifying an array with any number of array elements.
data type speci- ble- This array can be used only for in-out variables of a function/function
types at- fica- length block.*2
tribu- tion array*1
tes • Specifying method
Specify the data type as follows.
ARRAY[*] OF ?
Specify * where each of the array element first number and last num-
ber is entered, and specify the data type of the array elements in ?.
Example: ARRAY[*] OF BOOL
You can enter ARRAY[*] OF BOOL as BOOL[*].
End point
Start point
Specify a value for the variable for one of the following situations when the Retain attribute is not
specified.
• When the power supply is turned ON
• When the operating mode is changed
• When you specify to initialize the value when the program is transferred
Enter a value directly or select an item from the list (the values in the list depend on the data
type).
If you do not enter an initial value, 0 is used as the initial value.
Select None for no initial value.
• Initial Values for Union Members: The initial values for union members cannot be edited and are
always 0.
• Enter the initial values for the elements of the array variable or the members of the structure vari-
able in the Initial Value Settings Dialog Box.
(2)
(5)
(5)
(4)
(6)
In this example, the initial value of the member Struct1[0,0].BoolMem1 is displayed at the inter-
section of the "[0,*]" row and "[*,0].BoolMem1" column.
2 Enter the initial values of the members, and then click the OK Button.
The initial values are set.
Additional Information
• You can change the display format of the Initial Value Settings Dialog Box in the option set-
tings to the format used in Sysmac Studio version 1.06 or lower.
For details on changing the display format, refer to 8-23 Sysmac Studio Option Settings on
page 8-123.
AT Specification Attribute
• When Specifying an Address in Memory Used for CJ-series Units with an NJ-series Controller:
Add a % character to the beginning of the addresses when specifying memory used for CJ-ser-
ies Units. This is shown in the following table.
When _sAXIS_REF or _sGROUP_REF is input in the Data Type input area, the button to show
AT Setting Dialog Box is displayed in the AT input area.
(a)
(b) 4
Retain Attribute
Specify whether to retain the value of the variable in the following cases.
• When power is turned ON after a power interruption
• When the operating mode changes to RUN mode
• When programs are transferred from the computer to the Controller
Select the check box when you want to retain the values.
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series
Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for details on the
conditions for retention of the retained variables.
Constant Attribute
• If you set the Constant attribute, you can set the initial value of the variable when it is download-
ed, but you cannot overwrite the value afterward.
Select the setting for the Network Publish attribute from the list. You can select from the following.
For the input/output variable group used in functions or function blocks, specify either an input vari-
able, output variable, or in-out variable from the list.
The Edge attribute makes a BOOL variable pass TRUE to a function block when the variable
changes from FALSE to TRUE or when it changes from TRUE to FALSE.
This attribute is for function block input variables only.
Select an attribute setting from the list. You can select from the following.
Comment Attribute
1 Click the Display Comment Settings Dialog Box Button in the comment entry cell.
2 Enter the comments for the elements and then click the OK Button.
This completes entering the comments.
• If you select the Use global variable comment Check Box in the option settings, you cannot
edit the comments for the corresponding variables that are registered as external variables in
the local variable tables.
• You can register comments for union variables or for array elements in union array variables
with Sysmac Studio version 1.07 or higher. However, if you open a project in which such
comments are registered on Sysmac Studio version 1.06 or lower and then open the Com-
ment Settings Dialog Box for the union variable or union array variable, the comments for the
array elements will be lost.
• You can register comments for structure variable members and for array elements of struc-
ture array variables with Sysmac Studio version 1.09 or higher. However, if you open a
project with such comments on Sysmac Studio version 1.08 or lower, you cannot edit the var-
iable comments. Also, if you open a project in which such comments are registered on Sys-
mac Studio version 1.06 or lower and then open the Comment Settings Dialog Box for the
structure variable or structure array variable, the comments for the structure variable mem-
bers or array elements will be lost.
• If you register a comment for a structure variable member and then change the name of the
member, the variable comment is cleared.
• For a variable-length array variable, you cannot enter a comment for an array element.
Additional Information
• You can globally switch the comments that are displayed. Refer to 8-16 Changing Variable
Comments and Data Type Comments on page 8-109 for the actual procedures.
• You can expand and close more than one level of elements and members displayed for array
variables and structure variables. Right-click a variable, element, or member and select
Expand All under the Selected Item or Collapse All under the Selected Item.
• You can also display the Comment Settings Dialog Box online. Select a variable from the var-
iable table and right-click to select Show Comment Setting Dialog from the pop-up menu.
Exporting Comments
1 Right-click in the view of the variable table that has the variable element comments you want to
edit, and select Export comment - All variables in this view (including element comments)
or Selected variables (including element comments) from the pop-up menu.
Additional Information
• The maximum number of rows is 65,536 for comments to be output to an xlsx format file. If
the number of rows is 65,536 or greater, comments are divided and exported into multiple
files that are serial-numbered automatically.
• Variable comments that are not displayed on screen due to the filtering function are not ex-
ported. 4
Editing Comments
2 Edit a comment.
You can add comments to variables and elements without comments. To delete an existing
comment, make the cell containing it blank.
A B C
1 Sysmac Studio Element Comments File Name Comment
2 max_elements_array root
3 max_elements_array[0] comment of 0
4 max_elements_array[1] comment of 1
5 max_elements_array[2]
6 max_elements_array[3]
7 max_elements_array[4]
8 max_elements_array[5]
Do not change the first row (header row) or data in the name column.
Additional Information
You can edit an xlsx format file with spreadsheet software that supports the Office Open XML
format such as Excel 2007 or later.
Importing Comments
Use the following procedure to import the xlsx format file that you edited to the original variable ta-
ble.
1 Right-click the target variable table and select Import comment from the pop-up menu.
2 Select the xlsx format file to import, and then click the Open Button. When comments were div-
ided and exported into multiple files, select all the files.
The import operation starts.
You cannot import the data while the filtering function is used. Cancel the filtering function, and
then execute the import operation.
(1)
(2)
(3)
2 Select the variable table to display in the variable table selection box.
The current contents of the variable table are displayed in the variable list.
1 Select the Show Usage Check Box in the Variable Manager Window.
The usage columns are displayed in the variable list.
Displayed Columns
Column Description
Use The number of locations in which each variable is used is displayed.
Using POUs The number of POUs in which each variable is used is displayed.
(This is displayed for global variables.)
I/O Mapping If a variable is assigned to I/O, the I/O name is displayed.
(This is displayed for global variables and internal variables.)
2 Clear the Show Usage Check Box to hide the usage columns.
Sorting Variables
You can sort the variable table in ascending or descending order according to any column.
1 Click the title row cell for the column to use to sort the variable list.
1 Right-click the title row cell for the column to use to filter the variable list and select Filtering.
2 Enter a text string to use for filtering in the text box, specify the condition, and click the OK
Button.
The variables that meet the specified condition are displayed in the variable list.
3 To cancel filtering, right-click the title row cell for the column that you used to filter the variable
list and select Clear Filtering.
Editing Variables
1 In the variable list, double-click the name or comment of a variable that can be edited or press
the F2 + Tab Keys to select the item to edit.
After you change the name or comment, press the Enter Key to apply the change.
The change is also applied to the source variable table.
Copying Variables
1 Right-click the variable to copy in the variable list and select Copy from the pop-up menu.
Select the variable table into which to paste the variable and paste the variable.
The variable is pasted.
Deleting Variables
1 Right-click the variable to delete in the variable list and select Delete from the pop-up menu.
The selected variable is deleted. The variable is also deleted from the source variable table.
• When you change or delete a variable in the Variable Manager, the change is applied directly
to the global variable table and local variable tables. You cannot undo this operation.
• If the results of editing a variable causes an error for that variable, the error is detected in the
source variable table. Error checking is not performed in the Variable Manager.
• Even if the contents of the global variable table or the local variable table that is displayed in
the Variable Manager is changed, the change is not shown in the Variable Manager. If you
attempt to change, copy, or delete a variable that no longer exists, an error message is dis-
played.
• To apply any changes that have been made in the global variable table or the local variable
table, click the Update Button in the Variable Manager.
Moving Variables
You can move a global variable or local variable to a local variable table or to the global variable table.
By moving a variable to the appropriate variable table according to the usage conditions of the varia-
ble, you can make POUs easier to reuse.
1 If a variable is used only in one POU, right-click the variable in the variable list and select Move
Variable to Local from the pop-up menu.
The selected variable is moved to the internal variables of the POU and it is deleted from the
global variable table.
The corresponding variable that is registered in the external variables of the POU is also delet-
ed.
1 Right-click the variable to move in the variable list and select Move Variable to Global from
the pop-up menu.
The selected variable is moved to the global variable table and it is deleted from the local varia-
ble table.
The variable that was moved is automatically registered as an external variable in the local var-
iable table.
• If the POU does not exist or if there are two or more POUs when you attempt to move a glob-
al variable to a local variable table, an error will occur and you cannot move it.
• To update the display in the Variable Manager for the results of moving a variable, select the
variable table in the variable table selection box or click the Update Button.
Searching Variables
1 Right-click anywhere in the variable list and select Search from the menu.
4
The Search Dialog Box is displayed.
1 Click the Delete Unused Variables Button in the Variable Manager Window.
The following confirmation message is displayed.
Item Description
Delete unused variables assigned to the Select this check box to delete unused variables assigned
ports on the I/O Map. to the ports on the I/O Map.
Delete unused variables published to the Select this check box to delete unused variables published
network. to the network.
4
Programs, Functions, and Function Blocks are displayed under POUs.
1 Right-click Programs under Programming - POUs and select Add - Ladder from the menu.
A program with the name Program1 is added (along with a section) under the Programs Layer.
Program0 is registered in advance.
The variable table and Ladder Editor are displayed in the Edit Pane. From here you can create
local variables and create ladder diagram rungs.
Variable table
Ladder Editor
Additional Information
To add a new section, right-click the ladder diagram program and select Add - Section from the
menu.
Registering ST Programs
1 Right-click Programs under Programming - POUs and select Add - ST from the menu.
Program1 is added under Programs. (ST programs do not have sections.) Program0 for a lad-
der diagram is registered in advance.
The variable table and ST Editor are displayed in the Edit Pane. From here you can create lo-
cal variables and create ST statements.
Variable table
ST Editor
1 Select the program to copy in the Multiview Explorer and press the Ctrl+C Keys. Or, right-click
the program and select Copy from the menu. If you want to copy data together with variables
that are referenced by the program and the data types of the variables, select Copy with
Dependents.
2 Select Programs in the Multiview Explorer and press the Ctrl+V Keys. Or, right-click Programs
and select Paste from the menu.
• When you delete a program, all local variables in that program and section data are deleted
with it.
• After you paste a program, check to be sure that the variables and data types are used cor-
rectly.
Additional Information
• You can change the name of a program or section. Right-click the section or program to re-
name and select Rename from the menu.
• If you copy and paste a program from a different project when the same name already exists,
you can select whether to overwrite or copy.
• You can insert a program between two programs. Right-click the program just after the loca-
tion where you want to insert the program and select Insert Above - Ladder or Insert
Above - ST.
For a detailed explanation of function blocks, refer to the NJ/NX-series CPU Unit Software User's
Manual (Cat. No. W501) or NY-series Industrial Panel PC / Industrial Box PC Software User’s
Manual (Cat. No. W558).
1 Right-click Function Blocks under Programming - POUs in the Multiview Explorer and select
Add - Ladder from the menu.
Ladder Editor
• To use a user-created function block definition in a ladder program, register at least one
BOOL input variable and one BOOL output variable in the function block definition. An error
will occur if you use a function block definition that does not have BOOL input and output var-
iables in a ladder program.
• When you delete a function block, all local variables and data in that function block are delet-
ed with it.
Additional Information
• You can also insert a function block between two function blocks. Right-click the function
block just after the location where you want to insert the function block and select Insert
Above - Ladder or ST.
• After you use a function block in a program (that is, after you have created an instance), you
can use that function block as a local variable data type for that program.
Registering Functions
The following procedure shows how to register a user-defined function. A ladder function is used as
an example.
Function instructions are registered in the Sysmac Studio in advance. You do not need to register
function instructions to use them.
You can register ST functions in the same way as described in this example.
1 Right-click Functions under Programming - POUs in the Multiview Explorer and select Add -
Ladder from the menu.
The variable table for the function and Ladder Editor are displayed in the Edit Pane. From here
you can create local variables and create ladder diagram rungs.
Ladder Editor
• To use a user-created function definition in a ladder program, register at least one BOOL in-
put variable and one BOOL output variable in the function definition. An error will occur if you 4
use a function definition that does not have BOOL input and output variables in a ladder pro-
gram.
Additional Information
• You can also insert a function between two functions. Right-click the function just after the lo-
cation where you want to insert the function and select Insert Above - Ladder or ST.
Displaying Properties
The properties of the POU are displayed. Use the following procedure to set the POU name, name-
space, version, and other POU properties.
Item Description
Name Displays the name that is currently set for the POU.
Item Description
Namespace*1 Displays the namespace that is currently set.
If this field is blank, the name is set as a global namespace.
Version*2 Displays the major and minor versions of the POU.
Author*2 Displays the name of the person that created the POU. If this is the first time you are
creating a POU after installing the Sysmac Studio, the user name that you entered
when you logged onto Windows is displayed.*3
Comment*2 Displays the comment for the POU.
*1. Refer to 4-4 Namespaces on page 4-79 for information on namespaces.
*2. The items that you enter here are displayed at the bottom of the Toolbox to describe the library ob-
ject when the function or function block is reused as a library object. Refer to 9-3 Creating and Us-
ing Libraries on page 9-8 for information on library objects.
*3. You can change the author name that is displayed when you create a POU. Change it in the option
settings. For details, refer to 8-23 Sysmac Studio Option Settings on page 8-123.
1 Right-click one of the following items in the Multiview Explorer and select Select and Copy
Multiple Items from the menu.
The figure below shows what are displayed on the menu when you right-click POUs, as an ex-
ample.
1 Right-click POUs in the Multiview Explorer and select Paste Multiple Items from the menu.
If there is unsaved data in the project when you select Paste Multiple Items, a message box
appears to confirm whether you want to save the project.
If a POU with the same name exists in the destination, the copied program is pasted with
“Copy_1_of_” added to the front of its program name.
If you select an item other than Do not include in Reference in the Select and Copy Multiple
POUs Dialog Box, the following occurs.
• When the POUs were copied with Include global variable and data type selected in
Reference
Not only the selected POUs but also referenced global variables and data types are regis-
tered.
If a variable or data type with the same name and different attribute already exists, the
Comparison before pasting dependents Dialog Box is displayed.
For details on the Comparison before pasting dependents Dialog Box, refer to 4-5-3 Com-
parison before Pasting Dependents on page 4-152.
• When the POUs were copied with Include POU, global variable, and data type selected in
References
Not only the selected POUs but also referenced functions, function blocks, global variables,
and data types are registered. If a global variable or data type with the same name and dif-
ferent attribute already exists, the Comparison before pasting dependents Dialog Box is
displayed.
For details on the Comparison before pasting dependents Dialog Box, refer to 4-5-3 Com-
parison before Pasting Dependents on page 4-152.
After you paste the POUs, make sure that you can use the variables and data types without
problems.
Additional Information
If you copy and paste multiple POUs to a different Controller at the same time, you can select
1 Right-click one of the following items in the Multiview Explorer and select Delete Multiple
Items from the menu.
The figure below shows what are displayed on the menu when you right-click POUs, as an ex-
ample.
2 Select the check boxes for the POU you want to delete in the tree displayed on the Delete
Multiple POUs Dialog Box.
A message box appears to confirm whether you want to delete the POUs.
1 Double-click Data Types under Programming - Data in the Multiview Explorer. Or, right-click
Data Types under Programming - Data and select Edit from the menu.
4
2 If, as in this example, no data types are registered, click the Data Type Editor. A data type reg-
istration line is displayed.
If you have already registered at least one data type, but you want to add more, press the In-
sert Key with the cursor inside the Data Type Editor. Or, right-click inside the Data Type Editor
and select Create New Data Type from the menu.
3 Enter values for each item, and then press the Enter Key.
4 Next, add a member. Right-click the data type you just registered and select Create New
Member from the menu.
5 Enter values for each item, and then press the Enter Key.
The new member is added to the structure data type.
4
Refer to Entering Data Type Attributes on page 4-77 for information on entering values for at-
tributes.
Creating Unions
After you register the data type, add members.
2 If, as in this example, no data types are registered, click the Data Type Editor. A data type reg-
istration line is displayed.
If you have already registered at least one data type, but you want to add more, press the In-
sert Key with the cursor inside the Data Type Editor. Or, right-click inside the Data Type Editor
and select Create New Data Type from the menu.
3 Enter values for each item, and then press the Enter Key.
4 Next, add a member. Right-click the data type you just registered and select Create New
Member from the menu.
5 Enter values for each item, and then press the Enter Key.
Creating Enumerations
After you register the data type, add members.
2 If, as in this example, no data types are registered, click the Data Type Editor. A data type reg-
istration line is displayed.
If you have already registered at least one data type, but you want to add more, press the In-
sert Key with the cursor inside the Data Type Editor. Or, right-click inside the Data Type Editor
and select Create New Data Type from the menu.
3 Enter values for each item, and then press the Enter Key.
4 Next, add a member (i.e., an enumerator). Right-click the data type you just registered and se-
lect Create New Member from the menu.
5 Enter values for each item, and then press the Enter Key.
Refer to Entering Data Type Attributes on page 4-77 for information on entering values for at-
tributes.
1 Click any cell on the line of the data type or member to delete to select the entire line.
2 Press the Delete Key. Or, right-click a row and select Delete from the menu.
1 Click any cell on the line of the data type or member to copy.
2 Press the Ctrl + C Keys. Or, right-click the row and select Copy from the menu.
3 Press the Ctrl + V Keys. Or, right-click and select Paste from the menu.
The data type or member is copied with _Copy added to the name of the data type or member
that was copied.
If you use another structure as a member of a structure, you cannot specify a structure that re-
sults in recursion or a loop. An error is detected during the program check.
Additional Information 4
If the same data type names or member names already exist when you copy and paste data
types or members from spreadsheets or other sources, a dialog box that shows a list of the
source and destination data types and members is displayed. Select the data types and mem-
bers to overwrite and execute the paste.
Base Type Enter a data type directly or select one from the list. However,
structures must be STRUCT and unions must be UNION.
Offset Type Select the type of offsets to use for structure members.
Refer to Specifying Offsets for Structure Members on page 4-78,
below, for details.
Offset Byte Set the offset of the member from the start of the structure varia-
ble. The current setting is displayed.
You can enter a byte offset when the offset type is set to User.
Enum Value Enter the integer value that corresponds to the enumerator.
Offset
Description
Type
NJ The optimum memory configuration for an NJ/NX/NY-series Controller is used for the fastest op-
eration. Normally it is not necessary to make any changes.
CJ The memory configuration of the CJ-series CPU Units is used. Suitable values are set for the
byte and bit offsets.
User This offset type allows you to set suitable values for the byte and bit offsets. You can set the byte
and bit offsets that are necessary to match the memory structure of the external device.
Version Information
A CPU Unit with unit version 1.01 or later and Sysmac Studio version 1.02 or higher are re-
quired to set offsets for structure members.
You cannot set initial values for variables that use structures for which member offsets are set.
If you specify initial values, an error will occur.
Additional Information
• You can globally switch the comments that are displayed. Refer to 8-16 Changing Variable
Comments and Data Type Comments on page 8-109 for the actual procedures.
4-4 Namespaces
Namespaces
Namespaces allow you to group and nest the names of data types, functions, and function block
definitions so that you can manage them. This reduces the chance of duplicated names and makes
the entities easier to access.
Use the following notation for names that use namespaces.
Device_A\Read_recipe
Name of Short name
4-4 Namespaces
namespace
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series
Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for details on
namespaces.
4
Version Information
Additional Information
Data Types
Set the namespace and create the data type under it.
1 Display the Data Type Editor and then click the Namespace Tree Button on the left edge of the
table.
The namespace tree is displayed.
Adding Namespaces
1 Right-click a namespace and select Create new child namespace from the menu.
Additional Information
You can change the names of the namespaces. Right-click a namespace and select Rename
from the menu or press the F2 Key.
Deleting Namespaces
1 Right-click the namespace to delete and select Delete from the menu.
The namespace is deleted.
When you delete a namespace, all of the namespaces at the levels below it and all data types
that belong to it are also deleted.
Additional Information
You can delete all namespaces except for global namespaces at the same time. Right-click a
global namespace and select Delete from the menu.
4-4 Namespaces
Register a data type using the normal data type registration procedure.
The data type is registered under the selected namespace.
Additional Information
You can delete, move, copy, and paste data types in the Data Type Editor for a namespace.
4
1 Right-click the function or function block definition and select Properties from the menu.
The properties of the function or function block definition are displayed.
2 Enter the namespace as text for the Namespace Field in the properties.
The fully qualified name of the function or function block definition is displayed in the Multiview
Explorer.
Additional Information
• You can set the name of the namespace in the editor for the function or function block defini-
tion.
Click the Namespace-Using Declaration Bar in the editor, and then enter the name of the
namespace in the Namespace Field.
The following section describes a special method for that you can use for namespaces.
Usage Declaration
When programming a ladder diagram or ST, you can declare a namespace for the POU in ad-
vance. This allows you to use the short names for function names and function block names.
1 Display the variable table in the Ladder Editor or ST Editor and click the Namespace − Using
Bar.
4-4 Namespaces
The Namespace and Using setting areas are displayed.
2 Enter the namespaces for the functions or function blocks to use in ladder programming or ST
programming.
Example: The Namespace1\NamespaceSub1\FN1 namespace for the function is declared in
the ST Editor.
This allows you to enter the short name in the ladder diagram or ST.
Example:
• An error will occur during the program check if all of the names of namespaces are not
unique when you enter the short names of function names and function block names after
you declare the use of more than one namespace. If that occurs, enter the fully qualified
names.
• When you specify a data type in a variable table, you must enter the fully qualified name even
if you have declared a namespace.
Additional Information
• You can enter the fully qualified names even if the use of a namespace is declared.
• When you use functions or function block definitions that are in the same namespace, you
can enter the short names even if you do not declare them.
• Backslashes (\) in names that use namespaces in the ST Editor may be displayed as Yen
symbols depending on the font that you use for the display. You can change the font in the
option settings. Refer to 8-23 Sysmac Studio Option Settings on page 8-123 for details.
4-5 Programming
The following sections describe how to enter programming code.
You can use either ladder diagrams (LD) or ST (structured text) to code the algorithms used in POUs
(programs, functions, or function blocks).
4-5 Programming
Programming a ladder diagram involves connecting circuit parts with connecting lines to build algo-
rithms. You can enter circuit parts and connecting lines in the Ladder Editor.
Programs 4
Refer to 4-2-2 Registering Programs on page 4-57 for the procedure to register a ladder dia-
gram program.
For information on registering ladder diagram functions or function blocks, refer to 4-2-3 Regis-
tering Function Blocks on page 4-60 or 4-2-4 Registering Functions on page 4-62.
Adding Sections
1 Select a ladder diagram program under Programming - POUs - Programs in the Multiview
Explorer.
2 Right-click the ladder diagram program and select Add - Section from the menu.
4-5 Programming
Select the section to change the order of under Programming - POUs - Programs in the Mul-
tiview Explorer.
Right-click an existing section and select Insert Above - Section. A new section is inserted
above the selected section.
Deleting Sections
1 Select the section to delete from a ladder diagram program under Programming - POUs -
Programs in the Multiview Explorer.
2 Right-click the section and select Delete from the menu. Or, select Delete from the Edit menu.
You can also press the Delete Key to delete the section.
1 Select the section to copy from a ladder diagram program under Programming - POUs -
Programs in the Multiview Explorer.
2 Press the Ctrl + C Keys. Or, right-click the section and select Copy from the menu. If you want
to copy data together with referenced variables and their data types, select Copy with
Dependents.
4-5 Programming
3 Press the Ctrl + V Keys. Or, right-click and select Paste from the menu.
4
• You cannot undo or redo actions performed on sections in the Multiview Explorer. After you
delete a section, you cannot restore it.
• Changes that you make to a program affect all sections under that program as well.
• After you paste a section, check to be sure that the variables and data types are used cor-
rectly.
Additional Information
To switch the display between different sections, click the tab for the desired section name.
4-5 Programming
Method (2) Right-click a connecting line and select Insert Circuit Part from the menu.
Method (3) Select a connecting line and press the shortcut key to insert a circuit part.
Method (4) Select a connecting line and then select a circuit parts from Insert - Circuit Parts on
the Main Menu.
4
Inserting and Deleting Program Inputs and Outputs
The procedures to insert the input that is shown in the following figure are given below.
Drag
Method (2) Right-clicking a Connecting Line and Selecting Insert Input from the Menu
Right-click the connecting line where you want to insert the input and select Insert Input from the
menu.
Method (4) Selecting the Location at Which to Insert the Input and Selecting Insert - Circuit
Parts - N.O. Input.
Select the location at which to insert the input and then select Insert - Circuit Parts - N.O. Input.
4-5 Programming
Inserting a Program Input in an OR Structure
There are five ways to insert an input in an OR structure.
Method (1) Drag an input from the Toolbox to the input that is above where you want to insert the
input.
Method (2) Right-click the input where you want to insert the OR input and select Insert Parallel
4
Input Above or Insert Parallel Input Below from the menu.
The procedures to insert the input that is shown in the following figure are given below.
Method (1) Dragging an Input from the Toolbox to the Input that Is Above Where You Want to
Insert the Input
Select Input in the Ladder Tools in the Toolbox and drag the input to the input that is above the
location where you want to insert it in the Ladder Editor.
Drag
Method (2) Right-clicking the Input Where You Want to Insert the OR Input and Selecting
Insert Parallel Input Above or Insert Parallel Input Below from the Menu
Right-click the input where you want to insert the OR input and select Insert parallel input below
from the menu.
Method (3) Dragging the Connecting Line from the Start Point to Insert the Input to the Con-
necting Line at the End Point
Drag the connecting line from the start point where you want to insert the input to the end point.
Drag
4-5 Programming
Select N.O. Input. Or, press the Enter Key.
Drag
Method (4) Selecting an Input and Pressing the W Key For a NOT input, press the X Key.
Select the input above the location where you want to insert the input and press the W Key.
Method (5) Selecting the Location at Which to Insert the Input and Selecting Insert - Circuit
Parts - OR with N.O. Input
Select the input above the location at which to insert the input and then select Insert - Circuit
Parts - OR with N.O. Input
The procedures to insert the output that is shown in the following figure are given below.
Drag
4-5 Programming
The output is inserted.
4
If you drop the output on a connecting line, the output is inserted in series.
Method (3) Selecting a Connecting Line and Pressing the O Key For a NOT output, press the
Q Key.
Select the output above the location where you want to insert the output and press the O Key.
Method (4) Selecting the Location at Which to Insert the Output and Selecting Insert - Circuit
Parts - Output.
Select the location at which to insert the output and then select Insert - Circuit Parts - Output.
The procedures to insert the output that is shown in the following figure are given below.
Drag
If you drop the output on a connecting line, the output is inserted in series.
Method (2) Dragging the Connecting Line from the Start Point to Insert the Output to the
End Point at the Right Bus Bar
Drag the connecting line from the start point where you want to insert the output to the right bus bar
at the end point.
4-5 Programming
Drag
Method (3) Right-clicking the Output Where You Want To Create the OR Structure in the Lad-
der Editor and Selecting Insert Parallel Output from the Menu
Right-click the output where you want to insert the OR output and select Insert parallel output
above or Insert parallel output below from the menu.
1 Select an input or an output, and then press the / Key. Or, right-click the input or output and
select Invert from the menu.
1 To set upward differentiation, right-click the input or output and select Diff Up from the menu.
To set downward differentiation, select Diff Down from the menu.
Click
2 Enter the variable name to use. If there are variable names with a usable data type, you can
also select from the variables displayed in the list.
4-5 Programming
4
1 Right-click a BOOL input variable name in the function block and select Toggle Negate from
the menu.
1 Right-click the input you want to delete and select Delete from the menu. Or, select the input
and press the Delete Key.
In this case, any variables assigned to the input are not deleted from the local variable table or
global variable table.
Deleting Outputs
1 Right-click the output you want to delete and select Delete from the menu. Or, select the output
and press the Delete Key.
In this case, any variables assigned to the output are not deleted from the local variable table
4-5 Programming
or global variable table.
Additional Information
You can specify the rung display width to align the positions of the right bus bars of rungs.
Specify the rung display width in the option settings. Refer to 8-23 Sysmac Studio Option Set-
tings on page 8-123 for details. 4
Local Variables
Method (1) Select a variable that is registered in the local variable table from the list in the Ladder Edi-
tor.
Method (2) Drag a variable from the local variable table of the POUs to the Ladder Editor.
Method (3) Enter a variable in the Ladder Editor (or the ST Editor) before you register the variable in
the local variable table.
The procedures to enter the variables that are shown in the following figure are given below.
Method (2) Dragging a Variable from the Local Variable Table of the POUs
Drag the variable you want from the local variable table to the input.
Drag
Method (3) Enter a variable in the Ladder Editor (or the ST Editor) before you register the varia-
ble in the local variable table.
Select a program input, click Enter Variable, and enter the variable directly.
Additional Information
• Members of derivative variables also appear in the list as long as they have the correct data
type.
• You cannot view addresses in memory for CJ-series Units or I/O ports in the Ladder Editor,
only the variable names. You also cannot see if a variable has an AT specification.
• The variable names of any new variables that you enter in the Ladder Editor are automatical-
ly registered in the local variable table. You can select the Select local or global variable
and register it Check Box in the option settings to specify the variable table in which the vari-
able names are registered. Refer to 8-23 Sysmac Studio Option Settings on page 8-123 for
details.
• You can identify the following types of variables in the Ladder Editor by their color.
a) Global variables: Red-purple
4-5 Programming
b) Local variables: Black
You can change the color of the global variables in the option settings.
• If you select the Show comment Check Box for variable comments in the option settings, you
can enter a variable comment when you enter a variable.
Inserting Rungs
You can use the following procedures to insert rungs.
Method (1) Select Rung under Ladder Tools in the Toolbox and then drag the rung to the be-
ginning of the rung in front of the location where you want to insert the rung.
Drag
Method (2) Select the start of a rung and press the R Key. (Press the Shift + R Keys to insert
a rung above the selected rung.)
Method (3) Right-click a rung and select Insert rung above or Insert rung below.
The procedures to insert the function block that is shown in the following figure are given below.
1 Select SendCmd under Communications in the Toolbox and then drag it to the location
where you want to insert it.
Drag
4-5 Programming
2 Click Enter Function Block at the top of the function block you inserted and enter an instance
name for the function block. If the function block instance is registered in the local variable ta-
ble, you can also select this instance.
4
The instance name is registered
1 Select Function Block under Ladder Tools in the Toolbox and then drag it to the location
where you want to insert it.
Drag
2 Click Enter Type Name inside the function block you inserted, press the Ctrl + Space Keys or
enter the first character, and then select a function block or function block instruction from the
drop-down list.
3 Click Enter Function Block in the function block you inserted and enter an instance name for
the function block. If the function block instance is registered in the local variable table, you can
also select this instance.
This completes the insertion of the function block. If you entered a new instance name, it is
registered in the local variable table.
For the following methods 3 and 4, you first must register a function block definition as a data
type in the local variable table.
1 Right-click a connecting line and select Insert Function Block from the menu.
2 Click Enter Function Block at the top of the function block you inserted and enter an instance
name for the function block. If the function block instance is registered in the local variable ta-
ble, you can also select this instance.
4-5 Programming
4
Method (4) Moving the Cursor to the Insertion Position and Pressing the F
Key
Select the connecting line at the insertion location and press the F Key.
An empty function block is added.
The rest of the procedure is the same as for method 3.
Additional Information
You can insert a function block by dragging the mouse between two connecting lines.
Select Function Block from the pop-up menu that is displayed when you release the mouse but-
ton.
Global Variables
Method (1) Select a variable that is registered in the global variable table from the list in the Ladder
Editor.
Local Variables
Method (1) Select a variable that is registered in the local variable table from the list in the Ladder Edi-
tor.
Method (2) Drag a variable from the local variable table of the POUs to the Ladder Editor.
Method (3) Enter a variable in the Ladder Editor (or the ST Editor) before you register the variable in
the local variable table.
The procedures to enter the variables that are shown in the following figure are given below.
4-5 Programming
Select the function block, click Enter Variable or press the Ctrl + Space Keys, and select a variable
from the list.
Method (2) Dragging a Variable from the Local Variable Table of the POUs
Drag the variable you want from the local variable table to the function block parameter.
Method (3) Entering Variable Names Directly in the Ladder Editor or ST Editor
Enter a variable name directly before you register the variable in the local variable table.
Additional Information
• Members of derivative variables also appear in the list as long as they have the correct data
type.
• You cannot view addresses in the Ladder Editor, only the variable names. You also cannot
see if a variable has an AT specification.
• The variable names of any new variables that you enter in the Ladder Editor are automatical-
ly registered in the local variable table. You can select the Select the internal or global
variable Check Box in the option settings and specify registering the variable in the global
variable table. Refer to 8-23 Sysmac Studio Option Settings on page 8-123 for details.
• If you enter a new variable on the Ladder Editor, the data type for the parameter where you
enter the variable is automatically entered. If the data type cannot be determined, a dialog
box is displayed for you to enter the data type.
• Examples are given below of the notation to use to enter constants (literals) for the parame-
ters of function blocks that you insert in a program.
a) data_type_name#base#numeric_value
4-5 Programming
Method (4) Move the cursor to the insertion position and press the I Key.
The procedures to insert the function that is shown in the following figure are given below.
4
Method (1) Dragging a Function Instruction from the Toolbox
Drag
1 Select Function from Ladder Tools in the Toolbox and then drag it to the location where you
want to insert it.
The function is inserted.
Drag
2 Click Enter Function in the function you inserted, press the Ctrl + Space Keys or enter the first
character, and then select a function or function instruction from the drop-down list.
Additional Information
You can connect multiple functions or function blocks together with connecting lines. For infor-
mation on the possible connection forms, refer to information on ladder diagrams in the NJ/NX-
series CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial Panel PC /
Industrial Box PC Software User’s Manual (Cat. No. W558).
1 Right-click a connecting line in the Ladder Editor and select Insert Function from the menu.
2 Enter the function name and select the specific function to use.
If you enter characters, registered functions that start with those characters are displayed.
Method (4) Moving the Cursor to the Insertion Position and Pressing the I
Key
1 Select the connecting line at the insertion location and press the I Key
An empty function is added.
The rest of the procedure is the same as for method 3.
Additional Information
You can insert a function by dragging the mouse between two connecting lines. Select Function
from the pop-up menu that is displayed when you release the mouse button.
4-5 Programming
Deleting Function Instructions and User-defined Functions
1 Right-click the function to delete and select Delete from the menu. Or, select the function and
press the Delete Key.
4
Additional Information
When you insert or delete circuit parts, connecting lines are automatically created to connect
the circuit parts together.
Global Variables
Method (1) Select a variable that is registered in the global variable table from the list in the Ladder
Editor.
Local Variables
Method (1) Select a variable that is registered in the local variable table from the list in the Ladder Edi-
tor.
Method (2) Drag a variable from the local variable table of the POUs to the Ladder Editor.
Method (3) Enter a variable in the Ladder Editor (or the ST Editor) before you register the variable in
the local variable table.
The procedures to enter the variables that are shown in the following figure are given below.
All variables with the correct data type are displayed in the list. The selected variable is entered into
the function.
Method (2) Dragging a Variable from the Local Variable Table of the POUs
Drag the variable you want from the local variable table to the function parameter.
Drag
4-5 Programming
The variable is entered.
Method (3) Entering Variable Names Directly in the Ladder Editor or ST Editor
Enter a variable name directly before you register the variable in the local variable table.
Additional Information
• Members of derivative variables also appear in the list as long as they have the correct data
type.
• You cannot view addresses in the Ladder Editor, only the variable names. You also cannot
see if a variable has an AT specification.
• The variable names of any new variables that you enter in the Ladder Editor are automatical-
ly registered in the local variable table. You can select the Select the internal or global
variable Check Box in the option settings and specify registering the variable in the global
variable table. Refer to 8-23 Sysmac Studio Option Settings on page 8-123 for details.
• If you enter a new variable on the Ladder Editor, the data type for the parameter where you
enter the variable is automatically entered. If the data type cannot be determined, a dialog
box is displayed for you to enter the data type.
• Examples are given below of the notation to use to enter constants (literals) for the parame-
ters of functions that you insert in a program.
a) data_type_name#base#numeric_value
1 Right-click the user-defined function or function block name in the ladder program and select
To Lower Layer. You can also double-click the name.
4-5 Programming
The contents of the function or the definition of the function block is displayed.
Additional Information
• You cannot use the To Lower Layer menu command to display the contents of a function or
the definition of a function block in the following cases.
a) The function or function block is defined in a library that is set so that you cannot display
the source.
b) The maximum number of tabs are already displayed in the Edit Pane.
• You can select the To Upper Layer menu command only from a function or function block
definition that you displayed with the To Lower Layer menu command. The To Upper Layer
menu command is valid only while the tab page for the contents of the function or the defini-
tion of the function block is displayed.
However, in the following cases, the contents of the original program is not displayed even if
you select the To Upper Layer menu command.
a) The original program is defined in a library that is set so that you cannot display the
source.
b) The maximum number of tabs are already displayed in the Edit Pane.
• If you display the same function block definition from more than one program and then select
the To Upper Layer menu command from the function block definition, the program where
you last selected the To Lower Layer menu command is displayed.
• If you select the To Lower Layer menu command while online, the contents of the function
block instance are displayed instead of the function block definition. If you then display the
same function block definition from a different instance, the display is overwritten. In that
case, you can select the To Upper Layer menu command only from the function block in-
stance where you last selected the To Lower Layer menu command.
• You can write up to 1,000 lines of code in an inline ST box. If you write more than 1,000 lines,
an error is detected during the program check or when the user program is built.
• You can insert only one inline ST box per rung. If you insert more than one, an error is detect-
ed during the program check or when the user program is built.
• You cannot insert any circuit parts between an inline ST box and the right bus bar. If you in-
sert one, an error is detected during the program check or when the user program is built.
Inserting Inline ST
1 Right-click the connecting line where you want to insert the inline ST and select Insert Inline
ST from the menu. Or, drag Inline ST under Ladder Tools in the Toolbox.
4-5 Programming
An inline ST box is inserted.
1 Right-click the inline ST box to delete and select Delete from the menu. Or, select the inline ST
box and press the Delete Key.
1 Right-click the inline ST box to copy and select Copy from the menu.
2 Right-click the connecting line where you want to paste the inline ST box and select Paste
from the menu.
4-5 Programming
Additional Information
You can drag an inline ST box in the Ladder Editor to move it. Drag the inline ST box to the
connecting line where you want to move it.
4
Copying and Pasting Circuit Parts
1 Right-click the input to copy and select Copy from the menu. Or, select the input and press the
Ctrl + C Keys. If you want to copy data together with referenced variables and their data types,
select Copy with Dependents.
2 Right-click the connecting line where you want to paste the input and select Paste from the
menu. To paste the input in an OR structure, right-click the input above the location where you
want the OR structure and select Paste from the menu.
1 Right-click the output to copy and select Copy from the menu. Or, select the output and press
the Ctrl + C Keys. If you want to copy data together with referenced variables and their data
types, select Copy with Dependents.
4-5 Programming
4
1 Right-click the function block instance to copy and select Copy from the menu. Or, select the
function block instance and press the Ctrl + C Keys. If you want to copy data together with
referenced variables and their data types, select Copy with Dependents.
2 Right-click the connecting line where you want to paste the function block instance and select
Paste from the menu. To paste the function block instance in an OR structure, right-click the
circuit part above the location where you want the OR structure and select Paste from the
menu.
If a circuit part is selected, the function block instance is pasted under that circuit part.
4-5 Programming
Right-click the function to copy and select Copy from the menu. Or, select the function and
press the Ctrl + C Keys. If you want to copy data together with referenced variables and their
data types, select Copy with Dependents.
If a circuit part is selected, the function is pasted under that circuit part.
After you paste a circuit part, check to be sure that the variables and their data types are used
correctly.
Additional Information
You can select more than one circuit part at the same time. Either drag the cursor around the
circuit parts to select, or click the circuit parts while holding down the Shift Key.
2 Release the mouse button at the new position for the connecting line.
A pop-up menu is displayed.
4-5 Programming
If you perform editing offline, you can change the data types of variables on the Ladder Editor.
1 Right-click a variable and select Edit Data Type from the pop-up menu.
2 Enter the new data type and press the Enter Key.
Editing Variables
Changing Variables
You can change the variables that are entered for program inputs, program outputs, and parame-
ters to other variables.
Right-click a program input, program output, or parameter, and select Edit from the pop-up menu.
1 Right-click a variable that is not registered and select Register in Variable Table from the
menu.
2 Select a variable type you want to register on the Select the variable type Dialog Box. If you
entered a variable for a parameter, the Enter the data type Dialog Box is displayed. Enter a
data type and press the Enter Key.
This completes the registration of a new variable in a local or global variable table.
4-5 Programming
Displaying and Editing Variable Comments
You can display and edit variable comments on the Ladder Editor.
• You can display the comments for the global variables instead of the comments for the exter-
nal variables. In the option settings, select the Use global variable comment Check Box under
the variable comments in the ladder information. If you select the above check box, you can-
not edit the comments of the external variables.
• You can display variable comments on more than one line. Specify the number of display
lines for the variable comments in the ladder information in the option settings.
When a comment does not fit in the display area, a part of comment that cannot be displayed
will be omitted. You can select the omitted part from beginning, middle, or end of the com-
ment in the option settings.
Show Tooltip
If you move the mouse over a variable that you entered or execute the Show Tooltip menu, supple-
mental information on the variable is displayed in the tooltip.
Attributes of vari-
Displayed information
ables
Name The variable name is displayed.
Data type The data type is displayed.
AT Entered is displayed if an address is allocated to the variable.
Refer to the variable table for details on the AT specification.
Initial value The set initial value is displayed.
Entered is displayed if the variable cannot be identified because the data type is the deriv-
ative data type.
Refer to the variable table for details on the initial value.
Retain The Retain attribute setting is displayed.
Constant The Constant attribute setting is displayed.
Network Publish The Network Publish setting is displayed.
Edge The differential type is displayed.
Comment The comment is displayed.
1 Right-click the beginning of the rung to jump to and select Insert Jump Label from the menu.
Or, drag a Label under Ladder Tools in the Toolbox to the beginning of the rung.
A jump label entry field is inserted.
4-5 Programming
2 Enter the name of the jump label.
1 Right-click the connecting line immediately before or after the output for the rung to jump from
and select Insert Jump from the menu. Or, drag a Jump under Ladder Tools in the Toolbox to
the connecting line.
All circuit parts to the right of where you insert a jump are deleted.
2 Click Enter Jump Label for the jump circuit part and enter the name of the label to jump to.
1 Right-click the jump you want to delete and select Delete from the menu. Or, select the jump
and press the Delete Key.
2 Select the connecting line to the left of the right bus bar and insert an output, function, or func-
tion block to construct the rung.
1 Right-click the jump label you want to delete and select Delete from the menu. Or, select the
jump label and press the Delete Key.
4-5 Programming
Entering Element Comments
Element comments can be set in the following circuit parts.
Inputs, coils, functions, function blocks, and jumps
4
Example:
Element comments can be used in projects for the NX102 CPU Unit with unit version 1.31 or
later and the NJ/NX/NY-series CPU Unit with unit version 1.19 or later.
Additional Information
You can show or hide element comments and specify the number of lines to display in the op-
tion settings. Refer to 8-23 Sysmac Studio Option Settings on page 8-123 for details.
1 Right-click the beginning of a rung and select Bookmarks - Toggle Bookmark from the menu.
2 To delete a bookmark for a rung, right-click the beginning of a rung where you have set a book-
mark and select Bookmarks - Toggle Bookmark from the menu just as you did to insert a
new bookmark.
The bookmark for the selected rung is deleted.
3 To delete all bookmarks at once, right-click the beginning of a rung and select Bookmarks -
Clear All Bookmarks from the menu.
All bookmarks are deleted.
1 Select the rung header and display the entry field with one of the following methods.
• Right-click and select Edit Rung Comment.
• Press the Enter Key.
• Double-click the left mouse button.
2 Enter a comment.
Additional Information
• You can change the Rung comment background color in the option settings. Refer to
8-23 Sysmac Studio Option Settings on page 8-123 for details.
• You can start a new line by pressing the Ctrl + Enter Keys.
4-5 Programming
1 Click the Rung Comment List Bar.
Or, right-click on the rung header and select Display Rung Comment List.
2 Double-click a comment.
Or, right-click and select Jump from the menu.
Place the mouse over the red line to view information on the rung error.
1 Right-click a program input, program output, or variable, and select the destination to jump to
from the menu.
4-5 Programming
4
2 The display will jump to the location of the relevant variable.
*1. This command is not displayed on the menu. Use the shortcut key (the Space Key). Shortcut keys
are also convenient for other menu commands. Refer to A-5 Shortcut Keys on page A-19.
Programs
Double-click an ST program under Programming - POUs - Programs in the Multiview Explorer.
Or, right-click the ST program and select Edit from the menu.
Refer to 4-2 Registering POUs on page 4-57 for the procedure to register a program.
The ST Editor for the program is displayed.
4-5 Programming
4
The aaa, bbb, and ccc variables are registered in the variable table in advance.
You can also register new variables in a variable table when you enter unregistered variable names
on the ST Editor. Refer to Registering Variables on the ST Editor on page 4-147 for details.
1 Enter the first letter of the variable ccc into the ST Editor.
A list of possible variable candidates is displayed in a list.
5 Select the variable aaa from the list of variable candidates and press the Enter Key.
The variable aaa is entered.
6 Enter a space and a + (plus) character and then enter the first letter of the variable bbb.
7 Select the variable bbb from the list of variable candidates, enter a semi-colon (;), and press
the Enter Key.
This completes the assignment statement.
Additional Information
You can use an option setting to prevent the automatic display of the candidate list when enter-
ing text in the ST Editor. Refer to 8-23 Sysmac Studio Option Settings on page 8-123 for the
setting procedure. Even if you prevent the automatic display, you can display the candidate list
by pressing the Ctrl + Space Keys.
1 Enter the first letter of the IF statement (i) into the ST Editor.
A list of possible candidates is displayed in a list.
4-5 Programming
The IF keyword is entered.
5 Delete ELSIF, THEN, and ELSE and then enter ccc := aaa ;.
This completes the IF construct.
Additional Information
• Press the Tab Key after entering the first keyword of a construct to automatically complete
the rest of the construct.
• If there is a problem with the format of a construct, a red wavy line is displayed to the right of
the statement keywords.
• You can also drag the control statements from the Structured Text Tools in the Toolbox to en-
ter them.
Entering the Function Name or Instance Name of the Function Block Di-
rectly into the ST Editor
Enter the function name or instance name of the function block directly into the ST Editor.
1 Enter the first letter of the instance name of the function or the function block into the ST Editor.
2 Select the function name or the function block instance name from the list and press the Enter
Key.
The selected function or function block instance is displayed. When you enter a left
parenthesis, a description of the parameters is displayed.
3 Either click a parameter marker that is displayed for the function or function block instance that
you entered, or press the Tab Key while the mark is still displayed.
A parameter is added.
4-5 Programming
Dragging a Function or Function Block from the Toolbox
Drag a function or function block from the Toolbox.
1 Drag the required function or function block from the Toolbox to the insertion location on the ST
Editor. 4
2 Click the variable registration mark and register new variables for the temporary variables or
replace the temporary variables with registered variables to complete the statement.
1 Right-click the user-defined function or function block name in the ST program and select To
Lower Layer.
The contents of the function or the definition of the function block is displayed.
2 To return from the displayed function or function block definition to the original ST program,
right-click on the function or function block definition and select To Upper Layer.
Additional Information
• You cannot use the To Lower Layer menu command to display the contents of a function or
the definition of a function block in the following cases.
a) The function or function block is defined in a library that is set so that you cannot display
the source.
b) The maximum number of tabs are already displayed in the Edit Pane.
• You can select the To Upper Layer menu command only from a function or function block
definition that you displayed with the To Lower Layer menu command. The To Upper Layer
menu command is valid only while the tab page for the contents of the function or the defini-
tion of the function block is displayed.
However, in the following cases, the contents of the original program is not displayed even if
you select the To Upper Layer menu command.
4-5 Programming
a) The original program is defined in a library that is set so that you cannot display the
source.
b) The maximum number of tabs are already displayed in the Edit Pane.
• If you display the same function block definition from more than one program and then select
the To Upper Layer menu command from the function block definition, the program where
you last selected the To Lower Layer menu command is displayed.
• If you select the To Lower Layer menu command while online, the contents of the function
block instance are displayed instead of the function block definition. If you then display the 4
same function block definition from a different instance, the display is overwritten. In that
case, you can select the To Upper Layer menu command only from the function block in-
Additional Information
You can select the Select local or global variable and register it Check Box in the option set-
tings to specify the variable table in which the variable names are registered. Refer to 8-23 Sys-
mac Studio Option Settings on page 8-123 for details.
2 Right-click an entered variable name and select Register in Variable Table from the menu.
3 Select a variable type you want to register on the Select the variable type Dialog Box.
4 Then, the Enter the data type Dialog Box is displayed. Enter a data type and press the Enter
Key.
This completes the registration of a new variable in a local or global variable table.
Additional Information
You can right-click in the ST Editor and select Generate All Pou Variables As Internals from
the pop-up menu to register all of the unregistered variables in the ST Editor as internal varia-
bles at a time. The variable is registered in the variable table and the data type is left blank.
Even if you select the Specify the data type Check Box in the option settings, a text box to
enter the data type is not displayed.
4-5 Programming
Right-click a variable and select Edit Data Type from the pop-up menu.
A dialog box is displayed for you to enter the data type.
Entering Constants
The following example shows how to assign the hexadecimal value FFFF to variable aaa.
Entering Comments
Enter (* at the beginning and *) the end of any text to be treated as a comment in the ST Editor. If
you only want to comment out a single line, enter a double forward slash (//) at the beginning of the
line.
Deleting ST Elements
2 Press the Delete Key or the Backspace Key to delete the text.
2 Right-click the text and select Copy from the menu. Or, select the text and press the Ctrl + C
Keys. If you want to copy data together with referenced variables and their data types, select
Copy with Dependents.
3 Right-click at the location where you want to paste and select Paste from the menu. Or, press
the Ctrl + V Keys.
The copied text string is pasted.
If you select Copy with Dependents and paste the text string into another ST program, not
only the text string but also variables that are referenced in the text string and the data types of
the variables are also added to the destination ST program.
If a variable or data type with the same name and different attribute already exists in the desti-
nation program, the Comparison before pasting dependents Dialog Box is displayed.
For details on the Comparison before pasting dependents Dialog Box, refer to 4-5-3 Com-
parison before Pasting Dependents on page 4-152.
Indenting
You can indent nested statements to make them easier to read.
1 Right-click at the beginning of the line to indent and select Increase Line Indent from the
menu. Or, press the Tab Key.
The indent moves the starting position of the characters on that line to the right.
2 To bring the indent back, right-click the text and select Decrease Line Indent from the menu or
press the Delete Key.
4-5 Programming
2 Enter a line number and press the Enter Key.
The cursor moves to the beginning of the line you entered. 4
Toggle Bookmarks
Right-click a line number in the ST Editor and select Toggle Bookmark from the menu.
A bookmark is displayed at the beginning of the line.
Refer to 11-2 Error Messages for Structured Text Checks on page 11-7 for information on errors.
• For information on ST input restrictions (restrictions on the number of operators, the number
of nested POU calls, and the number of nested conditional/iterative statements), refer to the
NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial
Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558).
• A single POU (program, function, or function block) can contain up to 10,000 lines of code.
• When you use a function block in the ST Editor, register the function block instance in the
variable table in advance. You cannot register a function block instance in the ST Editor.
• After you paste an ST element, check to be sure that the variables and their data types are
used correctly.
(c)
4-5 Programming
(d) 4
(e)
Item Description
(a) Data before pasting Displays existing data if any difference is detected.
The lines which contain any data differences are displayed in red.
(b) Data to paste Displays data to be pasted if any difference is detected.
(c) Detailed Comparison But- Displays the Detailed Comparison Window that contains difference details.
ton
(d) Overwrite all difference Overwrites all existing data that contain any differences with the data to be
Button pasted.
(e) Overwrite selected data Overwrites the existing data in the selected line with the data to be pasted.
Button
(f) Close Button The Dialog Box is closed.
Item Description
(a) Data before pasting Displays data that already exists.
The lines which contain any data differences are displayed in red.
(b) Data to paste Displays data that is to be pasted.
(c) Copy Selected Right to Overwrites the existing data in the selected line with the data to be pasted.
Left Button
(d) Copy All Right to Left Overwrites all existing data that contain any differences with the data to be
Button pasted.
(e) Back Button Returns to the Comparison before pasting dependents Dialog Box.
WARNING
Setting Description
Search what • Enter a search string.
• You can select from previous search strings in the list.
• If you select All or Variable name in the Look at Box, and enter the letters that are
included in the variable name or press the Ctrl + Space Keys, variable names are dis-
played as candidates in the list.
Replace with • Enter the string to replace the search string with.
• You can select from previous replacement strings in the list.
You cannot use wildcard characters. (If you try to use them, they are treated as normal
text strings.)
Look in Specify the range to search. You can select from the following.
Programming: All of the programming of the Controller is searched.
Checked elements: The item that is selected in the Select search and replace scope
Dialog Box is searched.
Current View: The current view is searched.
Selection: The range that is selected, which is a range of circuits of a ladder program, a
range of text lines of an ST program, or the like, is searched.
Look at Specify the items to search. You can search for text strings in the following items.
All: Searches all text strings (excluding variable comments on ladder)
Variable name: Searches all variable names.
Instructions: Searches instructions (including program inputs and outputs)*1
Variable comment on ladder: Searches variable comments on ladder.*2
Setting Description
Use Specify if you want to use wildcard characters.
Default: Do not use wildcard characters.
Wildcard: Use wildcard characters.
If you select to use wildcard characters, you can click the Button to the right to view a
list of characters used for wildcard characters. Select any of these characters to enter
them in the search string.
• If more than one device is registered in the project, the target of a search and replace is the
currently selected device only. Be sure to check the selected device in the device list for the
4
project before you perform a search and replace.
• If you set the Look in Box to the variable table, set the Look at Box to the variable name, and
Select the check boxes for the items to search, and then click the OK Button.
Enter a single-byte space between the instruction name and variable name.
Wildcards
You can use the following wildcard characters.
Search Options
Item Description
Match case When this option is selected, searches are case sensitive.
Match whole word When selected, only exact string matches are returned.
Invert NO/NC input Replaces N.O. with N.C. and N.C. with N.O. for all BOOL variables used in a ladder
diagram. (Output bits are not affected.)
Button Functions
Item Description
Search Next Performs a search according to the selected options.
Search Previous Performs a search in the reverse order of Search Next.
Search All Searches all items and displays the results in the Search and Replace Results Tab Page.
Replace Performs a replace according to the selected options.
Replace All Replaces all items and displays the results in the Search and Replace Results Tab Page.
Cancel Cancels the current search and replace operation.
4-6-4 Searching
2 Select Variable name in the Look at Field to search for variables.
To display all of the search results at the same time, click the Search All Button. Then, all
searched items in the search range are highlighted and the search results are displayed in the
Search and Replace Results Tab Page.
* For information on the Look in Field and search options, refer to 4-6-3 Items to Set on page
4-156.
Additional Information
• You can use shortcut keys to search. Refer to A-5-3 Searching and Replacing on page A-21
for details on the shortcut keys.
• If you display the Search and Replace Pane with the Ctrl + F Keys or the menu when the
cursor is on a circuit part in the Ladder Editor, the corresponding text string in the following
table is set as the search string.
4-6-5 Replacing
Use the following procedure to search and replace a text string.
1 Enter the search string that you want to replace in the Search what Field.
3 Set the Look in Field and Look at Field, and select search options as required.*
4 Click the Search Next Button to search for the string to replace.
5 If the string is found, click the Replace Button to replace the string.
* For information on the Look in Field, the Look at Field, and search options, refer to 4-6-3 Items to
Set on page 4-156.
2 Set the Look in Field and Look at Field, and select search options as required.*
1 Enter the search string that you want to replace in the Search what Field.
3 Set the Look in Field and Look at Field, and select search options as required.*
The targets of replacement for Replace All are strings within the range set in the Look in Field.
1 Enter the variable used in the input to replace in the Search what Field.
Additional Information
You can prevent specific warnings from being displayed. Refer to 8-23 Sysmac Studio Option
Settings on page 8-123 for details.
Refer to 11-1 Error Messages for Ladder Program Checks on page 11-2 or 11-2 Error Messages
for Structured Text Checks on page 11-7 for information on errors.
Building
The programs are automatically built when the user makes changes to them.
Progress of Building
The progress of building or rebuilding the programs is displayed in a progress bar at the lower right
of the window.
The build operation is aborted and a message that says it was aborted is displayed in the Output
Tab Page.
Rebuilding
A rebuild is used to build project programs that have already been built. All programs are built
again.
Additional Information
• The status of building is displayed for each of the following in the Output Tab Page.
a) Data types
b) Global variables
c) Cam data settings
d) Variable tables in POUs
e) Algorithms in POUs
• To redisplay all of the program errors on the Build Tab Page, execute the Check All
Programs command.
• You can change whether building is executed automatically. Refer to 8-23 Sysmac Studio Op-
tion Settings on page 8-123 for details.
Item Description
Compare data in The data items are compared top to bottom in the order that they are displayed in
order the Select Comparison Target Area.
Compare data Data items with the same names are compared when the same names exist both in
with the same the current project and the project to compare.
name If you select the Compare sections in order Check Box, only section data items
are compared top to bottom in the order that they are displayed in the Select Com-
parison Target Area.
3 Select the data to compare, and then click the Compare Button.
To select the data to compare, select the check boxes in both of the Controller project lists.
The comparison will start.
The comparison results are displayed in the Offline Comparison Window after the compari-
son is completed.
Additional Information
If the project accesses a library, you can select Referenced library in the Select Comparison
Target Box to compare the accessed library with the project that was used to create the library.
If you select the Compare data with the same name Option, the data items in the project to compare
are reordered in the same order as the current project.
The units for comparison that are shown in the Offline Comparison Window are listed in the following
table.
Lev- Detailed
Data Qty Remarks
el comparison
Project name 0 1 ---
Controller name 1 N ---
POU 2 1 ---
Programs 3 1 ---
Program 4 N --- Ladder programs
Variable table 5 1 Available Ladder programs
Section 5 N Available Ladder programs
Program 4 N --- ST
Variable table 5 1 Available ST
Program Body 5 1 Available ST
Functions 3 1 ---
Function 4 N --- Ladder programs
Variable table 5 1 Available Ladder programs
LadderBody 5 1 Available Ladder programs
Function 4 N --- ST
Variable table 5 1 Available ST
Program Body 5 1 Available ST
Function blocks 3 1 ---
FunctionBlock 4 N --- Ladder programs
Variable table 5 1 Available Ladder programs
LadderBody 5 1 Available Ladder programs
FunctionBlock 4 N --- ST
Variable table 5 1 Available ST
Lev- Detailed
Data Qty Remarks
el comparison
Program Body 5 1 Available ST
Data 2 1 ---
Data types 3 1 Available
Global variables 3 1 Available
Libraries 2 1 ---
The data from this level depends on
the structure of the library.
Additional Information
You can edit the project while the Offline Comparison Window is displayed.
If the data to compare increases or decreases as the result of editing a project while the Offline
Comparison Window is displayed, close and then reopen the Offline Comparison Window, se-
lect the data to compare, and then execute the comparison again.
4
Detailed Comparison
(c)
(d)
(a)
(b)
(e)
No. Description
(a) Programming from the currently open project.
(b) Programming from the selected project.
(c) Displays the next difference.
(d) Displays the relevant location in the Editor.
(e) Returns the display to the Comparison Results Dialog Box.
The detailed results of the comparison are displayed in the following background colors.
Double-click a row where the data is different or select the row and click the Jump Button to display
the corresponding program.
Procedure
1 Select the lines or rungs to merge in the Detailed Comparison Results Dialog Box and click the
Copy Selected Right to Left Button.
If you want to merge all of the differences, click the Copy All Right to Left Button.
The selected lines or rungs are copied from the project to which the current project was com-
pared to the current project.
If you clicked the Copy All Right to Left Button, all lines or rungs with differences are copied
from the project to which the current project was compared to the current project.
The results of copying from right to left are applied to the project when the Apply Button is
clicked. If you click the Back, Recompare, or Close Button before you apply the copy results,
the copy results will be lost.
Additional Information
To undo the results of copying right to left, click the Undo Selected Button or the Undo All
Button. You cannot undo the changes after you click the Apply Button.
WARNING
Check the parameters for proper execution before you use them for actual operation.
If the Controller model is changed from a CPU Unit with unit version 1.40 or later to a CPU Unit
with unit version earlier than 1.40, the unsupported EtherCAT settings are discarded.
1 Drag a slave from the Toolbox to the master in the EtherCAT Tab Page. Or, select the master
on the EtherCAT Tab Page, and then double-click the slave in the Toolbox.
The slave is added under the master.
2 As in step 1, drag a slave from the Toolbox to the slave to connect it to in the EtherCAT Tab
Page. Or, select the slave to connect to on the EtherCAT Tab Page, and then double-click the
slave in the Toolbox.
The slave is added under the selected slave.
Additional Information
5
• You can right-click a slave in the EtherCAT Tab Page and select Reset Node Address from
the menu to set the node address to the lowest node address that is not used by another
1 Right-click the first slave to move and select Cut from the menu.
2 Right-click the master or slave to which to connect the slaves that you cut and select Paste
from the menu.
The result is that the slaves are moved in the network.
If you delete or cut a slave that is assigned to an axis, the assignment to the axis is deleted. If
necessary, assign the slave to the axis again.
Additional Information
The cut/paste operation for slaves moves the selected slave and all the slaves that are connect-
ed after it.
1 Right-click the first slave to copy and select Copy from the menu.
2 Right-click the slave to connect the copied slaves to and select Paste from the menu.
A copy of the slave is pasted.
Additional Information
The copy/paste operation for slaves copies the selected slave and all the slaves that are con-
nected after it.
When you copy a slave, all settings except for the device name and node address are copied
with it. When you paste a slave, the device name and node address are automatically set to
values that are not used by other slaves.
1 Go online and right-click the master in the EtherCAT Tab Page and select Write Slave Node
Address.
The Slave Node Address Writing Dialog Box is displayed.
2 If the present value for the node address for a slave is 0 or if the same address is assigned to
more than one slave, set or correct the node address in the set value column and click the
Write Button.
(If the correct node addresses are set for all of the slaves, click the Cancel Button.)
3 Cycle the power supply to the slave for which Set value of the node address is changed.
The set node address becomes valid.
5 Right-click the master in the EtherCAT Tab Page and select Compare and Merge with Actual
Network Configuration.
7 The actual network configuration is duplicated in the Sysmac Studio network configuration, and
the Comparison results Column shows that everything in the configurations agree. (The net-
work configuration on the Sysmac Studio is created based on the actual network configura-
tion.)
The network configuration on the Sysmac Studio will be the same as the actual network config-
uration.
• In any of the following cases, the Compare and Merge with Actual Network Configuration
Dialog Box or the Slave Node Address Writing Dialog Box may not be displayed, but an er-
ror message or error dialog box may be displayed.
a) If there are slaves exceeding the maximum number.
b) If the wiring of communications cables between the master and slaves is not correct.
c) If there is a slave for which the node address is not set or the same address is set for
more than one slave in the actual network configuration.
According to the contents of the message, set the wiring or node address correctly and try
again. For details, refer to the NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual
(Cat. No. W505) or the NY-series Industrial Panel PC / Industrial Box PC Built-in EtherCAT
Port User’s Manual (Cat. No. W562).
• A warning dialog box is displayed if a Node Duplicated Address Error has occurred for the
network structure on the Sysmac Studio and you click the Apply actual network
configuration Button to automatically create the network configuration on the Sysmac Stu-
dio. If you click the Apply Button, any of the following configuration and settings that were
previously set on the Sysmac Studio are discarded: network configuration, master settings,
and any slave settings (including enable settings, PDO map settings, setting parameter set-
tings, backup parameter settings, device variable assignments in the I/O map, slave assign-
ments to Axis Variables registered in the axis settings, and master settings to control slaves
that are registered in the task settings).
• Even if you click the Apply actual network configuration Button, any lower-level networks
of the EtherCAT slaves (such as for an EtherCAT Slave Terminal) will not be applied to the
lower-level network configurations on the Sysmac Studio if those configurations do not match
or cannot be compared. You must perform compare and merge operations individually for
each lower-level network.
• When the compare and merge operation is performed, the synchronization between the Sys-
mac Studio and the Controller is lost. Synchronize the Sysmac Studio and Controller before
you perform any online operations for the slaves. Refer to 7-5-1 Transferring/Comparing Data
to/from the Controller on page 7-120 for information on the synchronization operation.
5
5-2-5 Setting Slave Parameters
Slave icon
Refer to the NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (Cat. No. W505) or NY-
series Industrial Panel PC / Industrial Box PC Built-in EtherCAT Port User’s Manual (Cat. No.
W562) for information on slave parameters that are not described here.
Make sure that the connections between the master and slaves are correct before you perform
this operation.
Additional Information
A Network Configuration Verification Error occurs if the serial number on the Sysmac Studio
and the serial number of the physical slave do not agree when the Serial Number Check
Method in the master settings is set to Setting = Actual device.
1 Double-click EtherCAT under Configurations and Setup in the Multiview Explorer. Or, right-
click EtherCAT under Configurations and Setup and select Edit from the menu.
The EtherCAT Tab Page is displayed in the Edit Pane.
2 Select the slave and then click the Edit PDO Map Settings Button in the Parameter Settings
Area on the right side of the tab page.
3 Select the PDO mappings that contain the entries to exchange information for in the PDO Map
List Area, and then click the OK Button.
You can add or delete PDO entries, change the order of PDO entries, or edit PDO entries for
which Editable is displayed in the Flag Column. Refer to the NJ/NX-series CPU Unit Built-in
EtherCAT Port User’s Manual (Cat. No. W505) or NY-series Industrial Panel PC / Industrial
Box PC Built-in EtherCAT Port User’s Manual (Cat. No. W562) for details.
The default PDO mappings are selected for each slave. The display color is changed for any
PDO mappings that are selected other than the default mappings and any PDO mappings for
which the default PDO entries have been edited so that you can distinguish them from the de-
fault settings.
1 Click the Edit Setting Parameters Button in the Parameter Settings Area for the slave.
The Edit Setting Parameters Dialog Box for the selected slave is displayed.
Additional Information
The parameters that are displayed in the Edit Setting Parameters Dialog Box are saved in the
CPU Unit as part of the overall EtherCAT settings.
Default settings are defined for each slave. Items with set values that are different from the de-
fault values are displayed in a different color so that you can distinguish them.
You can click the Return to Default Button to restore all set values that have changed on the
Sysmac Studio to the default values.
The settings in the CPU Unit are not restored to the default settings as soon as you click the
Return to Default Button.
1 Click the Edit Backup Parameter Settings Button in the Parameter Settings Area for the
slave.
The Edit Backup Parameter Settings Tab Page for the selected slave is displayed.
The settings that are displayed in the Edit Backup Parameter Settings Tab Page are saved in
non-volatile memory in the slaves. Refer to the manuals for the slaves for information on when
these settings are actually applied to slave operation.
Default settings are defined for each slave. Items with set values that are different from the de-
fault values are displayed in a different color so that you can distinguish them.
You can click the Return to Default Button to restore all set values that have changed to the
default values.
The settings that are saved in the slaves are not restored to the default settings as soon as you
click the Return to Default Button.
1 Right-click the master on the EtherCAT Tab Page and click Assign Drives to Axes.
1 Right-click the slave to export settings for and select Export Slave Settings from the menu.
Additional Information
All settings except for the device name and node address are saved in the EtherCAT slave pa-
rameter file. (That includes the settings that are made in the EtherCAT Drive Tab Page.)
1 Right-click the master or slave and select Import Slave Settings and Insert New Slave from
the menu.
2 Select the EtherCAT slave parameter file, and then click the Open Button.
The slave is added to the selected master or slave according to the settings in the parameter
file.
You cannot import slave settings that are exported from a CPU Unit with unit version 1.40 or
later into Sysmac Studio version 1.28 or lower.
1 Select the master in the EtherCAT Tab Page, right-click, and then select Display ESI Library
1 In the ESI Library Dialog Box, click the Install (File) Button or the Install (Folder) Button. To
install an individual ESI file, select Install (File), and to install all the ESI files in the folder at
one time, select Install (Folder).
The file selection dialog box or folder selection dialog box is displayed.
2 Select the ESI file or the folder in which ESI files are stored, and click the Open Button.
The ESI files are installed and the corresponding slaves are displayed in the ESI Library Dia-
log Box.
1 In the ESI Library Dialog Box, select the slave whose ESI file is to be uninstalled, and click the
Uninstall Button.
The dialog box to confirm execution is displayed.
To install and uninstall ESI files, you must log onto Windows as a user with administrator rights.
If an access permission confirmation dialog box is displayed by Windows, permit access to the
folder to continue.
Additional Information
• If you save or export a project that contains any EtherCAT slaves from other manufacturers
with Sysmac Studio version 1.09 or higher, the ESI for the slaves is saved in the project file.*1
When you import this type of project, the creation dates/times on the source ESI files for the
ESI saved in the project may be different from the creation dates/times of the ESI files instal-
led on the computer. If they are different, a dialog box is displayed to ask you if you want to
update the ESI saved in the project with the information from the ESI files on the computer.
Confirm that there is no problem in overwriting the ESI saved in the project with the informa-
tion from the ESI files installed on the computer. If there is no problem, update the informa-
tion.
*1. Refer to 3-3-7 Exporting a Project File on page 3-20 for the export procedure.
• To apply any changes in an ESI file to the Controller, you must update the Configurations and
Setup transfer data and then transfer it to the Controller. To update the transfer data, either
edit the Configurations and Setup or use the Update Configurations and Setup Transfer Data
menu command. You select Update Configurations and Setup Transfer Data from the
Tools Menu. Refer to 8-21 Updating the Configurations and Setup Transfer Data on page
8-121 for details.
1 Right-click the master in the EtherCAT Tab Page and select Export Configuration
Information.
2 Select the folder in which to save the CSV files of configuration information and click the OK
Button.
CSV files (comma delimited) that contain the EtherCAT network configuration information and
the EtherCAT Slave Terminal configuration information are saved in the selected folder.
Refer to 5-3-3 Exporting the EtherCAT Slave Terminal Configuration Information on page 5-35
for detailed information on the CSV file that contains the EtherCAT Slave Terminal configura-
tion information.
EtherCAT Configuration
CSV File
The slave information on the EtherCAT Tab Page and the positions of the slaves in the EtherCAT
configuration (paths and “connected from” slaves) are displayed. The items are described in the fol-
lowing table.
If the EtherCAT configuration does not fit on one page, it will be printed on multiple pages as shown
below.
Page 3 Page 4
FQ-M-series Vision Sensors are not supported by the Sysmac Studio (64 bit).
1 Right-click the Vision Sensor and select Edit from the menu.
Additional Information
Refer to the FQ-M-series Specialized Vision Sensor for Positioning User’s Manual (Cat. No.
Z314) for the setup procedures for a FQ-M-series Vision Sensor.
Refer to the Vision System FH/FHV Series Operation Manual for Sysmac Studio (Cat. No.
Z343) for the setting procedures for FH-series Vision Sensors.
Refer to the ZW-series Confocal Fiber Type Displacement Sensor User’s Manual (Cat. No.
Z332) for the setup procedure for a Displacement Sensor.
WARNING
If you set inappropriate parameters when you change the levels of NX Unit events,
unexpected machine operation may result. Confirm that the machine will not be ad-
versely affected before you transfer the data.
5
Precautions for Safe Use
• If any inappropriate parameters are set when you transfer the following settings, unexpected
machine operation may result. Confirm that the machine will not be adversely affected before
you transfer the data. Also, confirm that the Unit configuration, I/O allocations, and Unit oper-
ation settings are correctly set in the Slave Terminal before you start actual operation.
a) Communications Coupler Unit and NX Unit settings
b) Node address and Unit number settings for the Communications Coupler Unit and NX
Units
c) PDO map settings for the Communications Coupler Unit and NX Units
• If inappropriate Unit configuration information is transferred to the Slave Terminal, unexpect-
ed machine operation may result. Even if appropriate Unit configuration information is set,
confirm that the controlled system will not be adversely affected before you transfer the data.
• If you execute communications instructions for NX Units with inappropriate path information,
unexpected machine operation may result. Confirm that the path information is correct before
you start actual operation.
• After you import Communications Coupler Unit and NX Unit settings, confirm that the Unit
configuration, I/O allocations, and Unit operation settings are correctly set in the Slave Termi-
nal before you start actual operation.
Refer to the NX-series EtherCAT Coupler Units User’s Manual (Cat. No. W519) for details on Ether-
CAT Slave Terminals.
Opening the Slave Terminal Tab Page to Edit the EtherCAT Slave
Terminal Configuration
1 Double-click the EtherCAT Coupler Unit under EtherCAT in the Multiview Explorer. Or, right-
click the EtherCAT Coupler Unit and select Edit from the menu.
The Slave Terminal Tab Page is displayed in the Edit Pane.
Additional Information
You can open the Slave Terminal Tab Page from the EtherCAT Tab Page in the Edit Pane with
either of the following procedures.
• Right-click the EtherCAT Coupler Unit and select Edit Slave Terminal Configuration from
the popup menu.
• Click the Edit Slave Terminal Configuration Button in the network setting item list.
1 Drag an NX Unit from the Toolbox to the Slave Terminal Tab Page.
The NX Unit is added.
1 Right-click the Unit to delete and select Delete from the menu.
The Unit is deleted.
1 Right-click at any location where there are no Units and select Clear All from the menu.
All of the registered Units are deleted.
1 Right-click the Unit to move and select Cut from the menu.
2 Right-click at the location where you want to insert the Unit and select Paste from the menu.
The result is that the Unit is moved.
If you delete an NX Unit that is assigned to an axis, the assignment to the axis is deleted. Also,
if you move an NX Unit, the assignment to the axis may be deleted. If necessary, assign the NX
Unit to the axis again.
Additional Information
You can also move the Unit by dragging it to the location where you want to insert it. 5
2 Right-click at the location where you want to insert the Unit and select Paste from the menu.
The copied Unit is inserted.
Additional Information
When you copy and paste a Unit, all settings except for the device name and Unit number are
copied with it. A unique device name and Unit number are set automatically.
1 Right-click in the Slave Terminal Tab Page and select Show Model/Unit Name from the menu.
The model numbers and Unit names are displayed in boxes.
To return to appearance displays, select Show Model/Unit Name from the menu again to re-
move the checkmark.
1 Select a Unit on the Slave Terminal Tab Page. The Unit setting item list is displayed.
Use this list to allocate I/O and make the operation settings for the Unit.
1 Click the Edit I/O Allocation Settings Button in the Unit setting item list.
The I/O allocations are displayed so that you can edit them.
1 Select Disabled for the NX Unit mounting setting parameter in the Unit setting item list.
An icon is displayed to show that the Unit is disabled. 5
Additional Information
Regardless of whether the NX Unit mounting setting parameter is set to Enabled or Disabled,
the I/O allocation settings for the NX Unit are applied to the I/O data.
Operation changes as follows if the parameter is set to Disabled:
• If the NX Unit is not mounted, a Unit Configuration Verification Error does not occur, an NX
Unit number is assigned, and the input value is locked at 0.
• If the NX Unit is mounted, a Unit Configuration Verification Error will occur.
1 Double-click a Unit. Or, right-click the Unit and select Edit Unit Operation Settings from the
menu.
The Edit Unit Operation Settings Tab Page is displayed.
Additional Information
The specific parameters depend on the Unit. Refer to the user’s manual for the specific Unit for
details.
1 Right-click an NX Unit on the Slave Terminal Tab Page and select Export NX Unit Settings.
A Save File Dialog Box is displayed.
1 Right-click a Unit on the Slave Terminal Tab Page and select Import NX Unit Settings and
Insert New Unit.
A Select File Dialog Box is displayed.
1 Right-click an EtherCAT Coupler Unit on the Slave Terminal Tab Page and select Export All
NX Unit Settings.
A Save File Dialog Box is displayed.
1 Right-click an EtherCAT Coupler Unit on the Slave Terminal Tab Page and select Import All
NX Unit Settings.
A Select File Dialog Box is displayed. An error message is displayed if there is any registered
NX Unit. In this case, delete all the registered NX Units and select Import All NX Unit
Settings again.
Use the following procedures to change the model or unit version of an EtherCAT Coupler Unit or NX
1 Right-click the EtherCAT Coupler Unit on the EtherCAT Tab Page and select Change Model
from the menu.
The Units that you can change to are displayed in the Change Model Dialog Box.
Check the user program, data, and parameter settings for proper execution before you use
them for actual operation.
• If the unit version that you changed to is old and mounting an NX Unit registered in the Slave
Terminal is not supported by the Sysmac Studio, an unsupported Unit error occurs for the NX
Unit. Confirm that the model of the EtherCAT Coupler Unit after the change supports the NX
Units on the Slave Terminal before you change the model.
• Any settings in the EtherCAT Coupler Unit before the change that are not supported by the
EtherCAT Coupler Unit after the change will be lost when you change the model.
• If the performance of the EtherCAT Coupler Unit is different after changing the model, the tim-
ing of I/O may change.
1 Right-click the Unit for which to change the model in the Slave Terminal Tab Page and select
Change Model from the menu.
The Units that you can change to are displayed in the Change Model Dialog Box.
Check the user program, data, and parameter settings for proper execution before you use
them for actual operation.
• If you change the model of an NX Unit that is assigned to an axis, the assignment to the axis
is deleted. If necessary, assign the NX Unit to the axis again.
• Any settings in the NX Unit before the change that are not supported by the NX Unit after the
change will be lost when you change the model.
• If the performance of the NX Unit is different after changing the model, the timing of I/O may
change.
1 Go online, right-click in the Slave Terminal Tab Page and select Compare and Merge with
Actual Unit Configuration.
The actual Unit configuration is read and compared with the Unit configuration on the Sysmac
Studio. The results are displayed in the Compare and Merge with Actual Unit Configuration
Dialog Box.
Check the user program, data, and parameter settings for proper execution before you use
them for actual operation.
• If you automatically create the Slave Terminal configuration on the Sysmac StudioSysmac
Studio by clicking the Apply actual Unit configuration Button, any previously set Slave Ter-
minal configuration, Communications Coupler Unit settings, and NX Unit settings are discard-
ed.
To merge the Slave Terminal information without losing the current settings in the Sysmac
Studio, do not use the Apply actual Unit configuration Button, and use the compare and
merge operation to create the configuration. Refer to 7-5-1 Transferring/Comparing Data to/
from the Controller on page 7-120 for information on the compare and merge operation.
• When the compare and merge operation is performed for the actual Unit configuration, the
synchronization between the Sysmac Studio and the Controller is lost. Synchronize the Sys-
mac Studio and Controller before you perform any online operations for the Slave Terminal.
Refer to 7-5-1 Transferring/Comparing Data to/from the Controller on page 7-120 for informa-
tion on synchronization.
• If an NX Unit that is assigned to an axis is deleted as the result of a compare and merge op-
eration with the actual Unit configuration, the assignment to the axis is also deleted. If neces-
sary, assign the NX Unit to the axis again.
1 Go online, right-click in the Slave Terminal Tab Page, and select Get Serial Numbers of All
NX Units.
A dialog box is displayed to confirm reading the serial numbers.
Additional Information
If the NX Unit mounting setting parameter is set to Disabled, the serial number of the NX Unit is
cleared to 0.
2 Select the EtherCAT Coupler Unit Check Box under EtherCAT Slave Settings in the Synchro-
nization Window, and then click the Transfer To Controller Button.
The Slave Terminal configuration information is downloaded from the Sysmac Studio to the
Controller.
The EtherCAT Coupler Unit information and NX Unit information in the Slave Terminal configuration
are displayed.
The items are described in the following table.
Item Description
Upper device Displays the EtherCAT Coupler Unit information on the EtherCAT Tab Page.
Item Description
Node address Displays the node address of the EtherCAT Coupler Unit.
Device name Displays the device name of the EtherCAT Coupler Unit.
Device Displays information on the NX Units in the Slave Terminal configuration.
NX Unit number Displays the unit number of the NX Unit.
Device name Displays the device name of the NX Unit.
Model name Displays the model number of the NX Unit.
Unit version Displays the unit version of the NX Unit.
Input allocated data size Displays the total input data size in the I/O allocation settings of the NX Unit.
[bits]
Output allocated data Displays the total output data size in the I/O allocation settings of the NX Unit.
size [bits]
Additional Information
1 Double-click the Drive under Configurations and Setup - EtherCAT in the Multiview Explorer
or right-click the Drive and select Edit from the menu.
You can also display the Drive Settings Tab Page if you right-click the slave (3G3AX-MX2-ECT/
3G3AX-RX-ECT/3G3AX-RX2-ECT) in the topology display and select Drive Settings from the
menu.
1 Right-click the Drive under Configurations and Setup - EtherCAT in the Multiview Explorer
and select Parameters from the menu.
Button Function
Returns the selected parameter to the default setting.
1 Right-click the Drive under Configurations and Setup - EtherCAT in the Multiview Explorer
and select Online from the menu.
Additional Information
If you download the parameters to the Inverter in operation, the parameters will not be stored in
the non-volatile memory. Note that no error will be displayed in this case. To store the parame-
ters in the non-volatile memory, confirm that the Inverter is not in operation before you execute
the download.
The display of the drive values on the Parameters Tab Page are refreshed and the Comparison
Results Dialog Box is displayed.
If there are no differences, click the OK Button. The Comparison Results Dialog Box is closed.
2 If parameters with differences are displayed, click the Yes Button in the Comparison Results
Dialog Box.
The Comparison Results Dialog Box closes and only the parameters with differences are dis-
played.
In this status, you can transfer just the parameters with differences to the Drive or transfer
them from the Drive.
If you click the No Button in the Comparison Results Dialog Box, all parameters are displayed
and you can compare them again.
3 If only parameters with differences are displayed, click the Compare Button again.
The Parameters Tab Page returns to the status in which you can compare the parameters
again.
Option Settings
Use the following procedure to set the operation options for transferring parameters.
WARNING
• Check the parameters for proper execution before you use them for actual opera-
tion.
• If inappropriate parameters are set as a result of changing the event level of an NX
Unit error, unexpected system operation may result. Confirm that the system will not
be adversely affected before you transfer the parameters.
Additional Information
• For the NX701 CPU Unit and NY-series Industrial PCs, the CPU/Expansion Racks Tab Page
is not displayed because there is no Unit that can be mounted on them.
• For NX-series CPU Units and NY-series Industrial PCs, you can display their production infor-
mation from the Multiview Explorer. Go online with the Controller, right-click CPU Rack under
CPU/Expansion Racks and select Display Production Information.
5-5-1 CPU/Expansion Racks for the NX102 CPU Unit or NX1P2 CPU
Unit
The procedures to operate the CPU/Expansion Racks for the NX102 or NX1P2 CPU Unit are given
below.
You can mount NX Units*1 on an NX102 or NX1P2 CPU Unit.
*1. There are NX Units that cannot be used with NX102 or NX1P2 CPU Units. For details, refer to the NJ/NX-
series CPU Unit Software User's Manual (Cat. No. W501).
1 Double-click CPU Rack under Configurations and Setup - CPU/Expansion Racks in the
Multiview Explorer. Or, right-click CPU Rack and select Edit from the menu.
The CPU and Expansion Racks Tab Page is displayed in the Edit Pane.
1 Drag an NX Unit from the Toolbox to the location where you want to add it in the CPU and 5
Expansion Racks Tab Page. Or, double-click an NX Unit.
The NX Unit is added.
5-5-1 CPU/Expansion Racks for the NX102 CPU Unit or NX1P2 CPU Unit
1 Right-click the Unit to delete and select Delete from the menu.
The Unit is deleted.
1 Right-click any location where there are no Units and select Clear All from the menu.
All of the registered Units are deleted.
Moving NX Units
1 Right-click the Unit to move and select Cut from the menu.
2 Right-click the location where you want to insert the Unit and select Paste from the menu.
The Unit is moved.
If you delete an NX Unit that is assigned to an axis, the assignment to the axis is deleted. Also,
if you move an NX Unit, the assignment to the axis may be deleted. If necessary, assign the NX
Unit to the axis again.
Additional Information
You can also move the Unit by dragging it to the location where you want to insert it.
1 Right-click the Unit to copy and select Copy from the menu.
2 Right-click the location where you want to insert the Unit and select Paste from the menu.
The copied Unit is inserted.
Additional Information
When you copy a Unit, all settings except for the device name and unit number are copied with
it. The device name and unit number are automatically set to values that are not used by other
Units.
1 Right-click in the CPU and Expansion Racks Tab Page and select Show Model/Unit Name
from the menu.
The model numbers and device names are displayed in boxes.
To restore the previous view, select Show Model/Unit Name again to clear the selection.
1 Click the Button at the right end of the CPU Rack configuration.
5
Setting NX Units
5-5-1 CPU/Expansion Racks for the NX102 CPU Unit or NX1P2 CPU Unit
The following describes the NX Unit setting items that you can configure in the CPU and Expansion
Racks Tab Page.
1 Select the Unit to configure in the CPU and Expansion Racks Tab Page. The Unit setting item
list is displayed.
Configure the I/O allocation and Unit operation settings.
1 Click the Edit I/O Allocation Settings Button in the Unit setting item list.
The I/O allocations are displayed so that you can edit them.
1 Select Disabled for the NX Unit mounting setting parameter in the Unit setting item list.
An icon is displayed to show that the Unit is disabled.
Change the setting to Enabled in the Unit setting item list to enable the Unit again.
Additional Information
Regardless of whether the NX Unit mounting setting parameter is set to Enabled or Disabled,
the I/O allocation settings for the NX Unit are applied to the I/O data of the CPU Unit.
Operation changes as follows if the parameter is set to Disabled:
• If the NX Unit is not mounted, a Unit Configuration Verification Error does not occur, an NX
Unit number is assigned, and the input value is locked at 0.
• If the NX Unit is mounted, a Unit Configuration Verification Error will occur.
1 Double-click a Unit. Or, right-click the Unit and select Edit Unit Operation Settings from the
menu.
The specific parameters depend on the Unit. Refer to the user’s manual for the specific Unit for
details. 5
5-5-1 CPU/Expansion Racks for the NX102 CPU Unit or NX1P2 CPU Unit
Use the following procedure to save the NX Unit settings in a file with an NSF file name extension.
1 Right-click an NX Unit in the CPU and Expansion Racks Tab Page and select Export NX Unit
Settings.
A Save File Dialog Box is displayed.
1 Right-click a Unit in the CPU and Expansion Racks Tab Page and select Import NX Unit
Settings and Insert New Unit.
A Select File Dialog Box is displayed.
1 Right-click the CPU Unit in the CPU and Expansion Racks Tab Page and select Export All NX
Unit Settings.
A Save File Dialog Box is displayed.
1 Right-click the CPU Unit in the CPU and Expansion Racks Tab Page and select Import All NX
Unit Settings.
A Select File Dialog Box is displayed. An error message is displayed if there is any NX Unit. In
this case, delete all the registered NX Units and select Import All NX Unit Settings again.
1 Right-click the Unit for which to change the model in the CPU and Expansion Racks Tab Page
and select Change Model from the menu.
The Units that you can change to are displayed in the Change Model Dialog Box.
Check the user program, data, and parameter settings for proper execution before you use
them for actual operation.
• If you change the model of an NX Unit that is assigned to an axis, the assignment to the axis
is deleted. If necessary, assign the NX Unit to the axis again.
• Any settings in the NX Unit before the change that are not supported by the NX Unit after the
change will be lost when you change the model.
• If the performance of the NX Unit is different after changing the model, the timing of I/O may
change.
5-5-1 CPU/Expansion Racks for the NX102 CPU Unit or NX1P2 CPU Unit
2 Click the Apply actual Unit configuration Button to synchronize the Unit configuration in the
Sysmac Studio with the actual Unit configuration.
Check the user program, data, and parameter settings for proper execution before you use
them for actual operation.
• If you automatically create the CPU Rack configuration in the Sysmac StudioSysmac Studio
by clicking the Apply actual Unit configuration Button, any previously set CPU Rack config-
uration and NX Unit settings are discarded.
To merge the CPU Rack information without losing the current settings in the Sysmac Studio,
do not use the Apply actual Unit configuration Button, and use the compare and merge op-
eration to create the configuration. Refer to 7-5-1 Transferring/Comparing Data to/from the
Controller on page 7-120 for information on the operation to compare and merge with the ac-
tual network configuration in the Sysmac Studio.
• When the compare and merge operation is performed for the actual Unit configuration, the
synchronization between the Sysmac Studio and the Controller is lost. Synchronize the Sys-
mac Studio and Controller before you perform any online operations for the CPU Rack. Refer
to 7-5-1 Transferring/Comparing Data to/from the Controller on page 7-120 for information on
synchronization.
• If an NX Unit that is assigned to an axis is deleted as the result of a compare and merge op-
eration with the actual Unit configuration, the assignment to the axis is also deleted. If neces-
sary, assign the NX Unit to the axis again.
1 Go online, right-click in the CPU and Expansion Racks Tab Page, and select Get Serial
Numbers of All NX Units.
The Get Serial Numbers of All NX Units Dialog Box is displayed.
Additional Information
If the NX Unit mounting setting parameter is set to Disabled, the serial number of the NX Unit is
cleared to 0.
2 Select the CPU/Expansion Racks Check Box in the Synchronization Window and then click
the Transfer To Controller Button.
5-5-2 CPU Rack and Expansion Racks for NJ-series CPU Units
The procedures to operate the CPU Rack and Expansion Racks for NJ-series CPU Units are given
below.
You can mount CJ-series Units on an NJ-series CPU Unit.
1 Double-click CPU/Expansion Racks under Configurations and Setup in the Multiview Ex-
plorer. Or, right-click CPU/Expansion Racks under Configurations and Setup and select
Edit from the menu.
The Unit Editor is displayed in the Edit Pane.
Unit Informa- Displays device information for the selected Unit, such as the device name, model
tion number, rack number, slot number, unit number, number of unit numbers assigned,
response time, and error information.
Rack Informa- Click the tab to the right of a Rack to view its power consumption and size.
tion
1 Drag the Unit selected in the Model Selection Pane to the Unit Editor. Or, double-click the Unit.
The Unit is added.
1 Right-click the Unit to delete and select Delete from the menu.
1 Right-click the Unit to move and select Cut from the menu.
2 Right-click at the location where you want to insert the Unit and select Paste from the menu.
The result is that the Unit is moved.
Additional Information
You can also move the Unit by dragging it to the location where you want to insert it.
1 Right-click the Unit to copy and select Copy from the menu.
2 Right-click at the location where you want to insert the Unit and select Paste from the menu.
The Unit is pasted.
Additional Information
When you copy a Unit, all settings except for the device name and unit number (for a Special
Unit) are copied with it. The device name and unit number (for a Special Unit) are automatically
set to values that are not used by other Units.
Each Rack can contain a maximum of 10 Units.
1 Right-click the Unit and select Change Model from the menu.
The Change Model Dialog Box is displayed.
1 Right-click the Power Supply Unit and select Change Model from the menu.
The Change Model Dialog Box is displayed.
Creating Racks
1 Right-click at any location where there are no Units and select Add Rack from the menu.
The Rack is added.
5-5-2 CPU Rack and Expansion Racks for NJ-series CPU Units
Procedure to Delete All Racks and Units
1 Right-click at any location where there are no Units and select Clear All from the menu.
All Racks and Units are deleted.
The unit numbers, model names, and device names are displayed.
The rack width, current consumption, and power consumption are displayed.
1 Double-click a Unit. Or, right-click the Unit and select Edit Special Unit Settings from the
menu.
The Edit Special Unit Settings Tab Page for the selected Unit is displayed.
5-5-2 CPU Rack and Expansion Racks for NJ-series CPU Units
2 Edit the parameters, and then click the OK Button.
Additional Information
Default settings are defined for each Special Unit. Items with set values that are different from
the default values are displayed in a different color so that you can distinguish them.
You can click the Return to default Button to restore all set values that have changed on the
Sysmac Studio to the default values.
No checks are made to verify the logical consistency between data items in the Special Unit
Setup. Therefore, always check the logical consistency between all settings before transferring
the Special Unit Setup to the Controller and starting operation, especially when you perform
tasks such as enabling or disabling a setting from another setting. Depending on the settings,
logical inconsistencies could result in unintended operation.
For example, assume that setting item 1 specifies either defaults or user settings and that the
user settings start from setting item 2. Here, even if you set the user settings from item 2 on-
ward, the setting of setting item 1 will not be automatically changed to specify using the user
settings. In this case, if you do not also change the setting of setting item 1 to specify using the
user settings, the settings from items 2 onward will be ignored.
The settings for the Special Units in the CPU Unit are not restored to the default settings as
soon as you click the Return to default Button.
1 Right-click a Unit and select Save Special Unit Settings from the menu.
Additional Information
All settings except for the device name and unit number are saved in the Unit parameter file.
1 Right-click a Unit and select Read Special Unit Settings from the menu.
2 Select a Unit parameter file, and then click the Open Button.
5-5-2 CPU Rack and Expansion Racks for NJ-series CPU Units
The parameters are read from the file.
Additional Information
All settings except for the device name and unit number are saved in the Unit parameter file.
1 Go online, right-click anywhere in the Unit Editor where there is no Unit and select Compare
and Merge with Actual Unit Configuration.
The actual Unit configuration is read and compared with the Unit configuration on the Sysmac
Studio. The results are displayed in the Compare and Merge with Actual Unit Configuration
Dialog Box.
2 Click the Apply actual Unit configuration Button to synchronize with the actual Unit configu-
ration.
2 Select the CPU/Expansion Racks Check Box in the Synchronization Window and then click
the Transfer To Controller Button.
5-5-2 CPU Rack and Expansion Racks for NJ-series CPU Units
The CPU/Expansion Racks configuration information is downloaded from the Sysmac Studio to
the Controller.
Additional Information
The parameters of the Special Units in the configuration information for the CPU/Expansion
Racks are not subject to synchronization and are not downloaded to the CPU Unit for the de-
fault settings. To transfer the parameters of the Special Units in the configuration information for
the CPU/Expansion Racks, clear the selection of the Do not transfer the following. (All items
are not transferred.) -CJ-series Special Unit parameters and EtherCAT slave backup
parameters. Check Box and select the check box for the CPU Rack and Expansion Racks in
the Synchronization Window before you click the Transfer To Controller Button.
1 Double-click Operation Settings under Configurations and Setup - Controller Setup in the
5
Multiview Explorer. Or, right-click Operation Settings and select Edit from the menu.
1 Double-click Operation Settings under Configurations and Setup - Controller Setup in the
Multiview Explorer. Or right-click Operation Settings and select Edit from the menu.
The Basic Settings view is displayed on the Operation Settings Tab Page in the Edit Pane.
2 If the Basic Settings view does not appear, click the Basic Settings Button ( ).
Basic Settings
For details on the settings, refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No.
W501) or NY-series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No.
W558).
Additional Information
If there is a mistake in any set value, it is highlighted in red. Move your mouse over any location
for which an error is displayed to view the error message as a tooltip.
1 Double-click Operation Settings under Configurations and Setup - Controller Setup in the
Multiview Explorer. Or right-click Operation Settings and select Edit from the menu.
The Basic Settings view is displayed on the Operation Setting Tab Page in the Edit Pane.
2 Click the FINS Settings Button ( ) displayed on the Operation Settings Tab Page in the Edit
Pane.
FINS Settings
Additional Information
If there is a mistake in any set value, it is highlighted in red. Move your mouse over any location
for which an error is displayed to view the error message as a tooltip.
1 Click the Event Level Settings Button ( ) in the Operation Settings tab page of the Edit Pane.
The event name and event code are displayed. You can change the event level.
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series
Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for the Con-
troller events for which you can change the event levels and the NJ/NX-series Troubleshooting
Manual (Cat. No. W503) or NY-series Troubleshooting Manual (Cat. No. W564) for details on
the events.
Version Information
A CPU Unit with unit version 1.03 or later and Sysmac Studio version 1.04 or higher are re-
quired to change the event levels.
If you change the event level of a Controller error, the output status when the error occurs may
change. Confirm safety before you change an event level.
3 Select Operation Settings under the Controller Setup in the Synchronization Window and
then click the Transfer To Controller Button.
The settings are transferred.
Link Settings Set the baud rate for the EtherNet/IP port.
FTP Settings Select whether to use the FTP server, and set up the FTP server if it is re-
quired.
NTP Settings Select whether to use NTP (automatic time setting), and set up NTP if it is
required.
SNMP Trap Select whether to use SNMP traps (to detect network problems), and set up
Settings SNMP traps if they are required.
FINS Set- Make the FINS communications settings for the built-in EtherNet/IP port.
tings*1 Refer to FINS Settings on page 5-63 for details.
CIP*2 Select whether to use CIP routing, and set up CIP routing if it is used.
TCP/UDP Select whether to use the TCP/UDP message service, and set up the
message TCP/UDP message service if it is used.
service*3
*1. This is displayed only for an NJ-series Controller and NX102 or NX1P2 Controller.
*2. This is displayed only for an NY-series Controller.
*3. This is displayed only for an NX102 Controller.
Refer to the NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (Cat. No. W506) or
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (Cat. No.
W563) for a list of the settings.
1 Click the TCP/IP Settings Button ( ) on the Built-in EtherNet/IP Port Settings Tab Page.
The TCP/IP Settings view is displayed.
3 Select Built-in EtherNet/IP Port Settings under the Controller Setup in the Synchronization
Window and then click the Transfer To Controller Button.
The settings are transferred.
You cannot undo and redo operations in the Built-in EtherNet/IP Port Settings Tab Page.
Additional Information
• If there is a mistake in any set value, it is highlighted in red. Move your mouse over any loca- 5
tion for which an error is displayed to view the error message as a tooltip.
• If you select Obtain from BOOTP Server as the IP address acquisition method in the TCP/IP
1 Click the FINS Settings Button ( ) on the Built-in EtherNet/IP Port Settings Tab Page.
The FINS Settings view is displayed.
Category Description
FINS Node Address Settings Set the FINS node address.
FINS/UDP Set FINS/UDP communications.
FINS/TCP*1 Set FINS/TCP communications.
*1. This is not displayed for an NX1P2 CPU Unit.
Set
Setting Description Default Condition
value
Node address of Set the FINS node address. The 1 to 1 The IP Address- FINS
built-in EtherNet/IP FINS node address is determined 254 Address Conversion
port*1 by the IP Address-FINS Address Method must be set to
Conversion Method setting in the Combination or IP Address.
FINS/UDP settings.
*1. The target port varies depending on the model. Refer to the NJ/NX-series CPU Unit Built-in EtherNet/IP
Port User’s Manual (Cat. No. W506) for details.
FINS/UDP
• Combination
The address specified in the FINS node address setting
or in the IP address table is used.
• IP Address
The address set in the IP address table is used.
IP Address Table Set the table of corresponding IP addresses and FINS ad- FINS Blank The IP
dresses to determine the FINS addresses. node Addre
ad- ss-
dress: FINS
1 to Addre
254 ss
Conve
rsion
Metho
d
must
be set
to
Combi
nation
or IP
Addre
ss.
FINS/TCP
Set De-
Setting Description Condition
value fault
FINS/TCP Port Set the FINS/TCP port number. 1 to 9600 ---
Number 65535*
1
1 Double-click Built-in I/O Settings under Configurations and Setup - Controller Setup in the
Multiview Explorer. Or, right-click Built-in I/O Settings and select Edit from the menu.
The Built-in I/O Settings Tab Page is displayed.
Refer to the NX-series NX1P2 CPU Unit Built-in I/O and Option Board User's Manual (Cat. No.
W579) for details on the setting items.
1 Double-click Option Board Settings under Configurations and Setup - Controller Setup in
the Multiview Explorer. Or, right-click Option Board Settings and select Edit from the menu.
The Option Board Settings Tab Page is displayed.
Refer to the NX-series NX1P2 CPU Unit Built-in I/O and Option Board User's Manual (Cat. No.
W579) for details on the setting items.
2 To apply the configuration when the comparison results show a difference, click the Yes button.
The actual configuration is applied to the Option Boards in the Sysmac Studio.
1 Double-click Memory Settings under Configurations and Setup - Controller Setup in the
Multiview Explorer. Or, right-click Memory Settings and select Edit from the menu.
5
The Memory Settings for CJ-series Units Tab Page is displayed.
Additional Information
Configuring the memory used for CJ-series Units allows the use of variable memory according
to the set memory size. Refer to 8-4 User Memory Usage Monitor on page 8-23 for the check
procedure for the usage of variable memory.
1 Right-click Axis Settings under Configurations and Setup − Motion Control Setup in the
Multiview Explorer and select Add − Motion Control Axis or Single-axis Position Control
Axis*1 from the menu.
2 Double-click MC_Axis000(0).
The Axis Parameter Settings tab page is displayed in the Edit Pane. The basic parameters are
displayed on the initial display.
Additional Information
For an NJ-series CPU Unit with a unit version of 1.04 or earlier, select the Servo that is regis-
tered as the input device.
5 Click the buttons on the left side of the Axis Basic Settings Tab Page to complete different set-
tings. The parameters you can set for each button are given below.
Settings Buttons and Axis Parameters
Other Operation Set- Set the I/O for the Servo Drive.
tings
*1. This item is set for an NX701 Controller. The setting item is not displayed for an NJ-series Control-
ler.
*2. This is displayed only for an NX102 or NX1P2 Controller. In the default setting, All is selected if you
added Motion Control Axis or Single-axis position control only is selected if you added Single-
axis Position Control Axis.
Refer to the NJ/NX-series CPU Unit Motion Control User’s Manual (Cat. No. W507) or NY-
series Industrial Panel PC / Industrial Box PC Motion Control User’s Manual (Cat. No. W559)
for details on each setting.
If you change the detailed settings of the Axis Basic Settings Tab Page, make sure that the
device or machine performs the expected operation before you start actual operation. If the re-
lationship between the functions of the Motion Control Function Module and the EtherCAT slave
process data that is assigned to the axes are not correct, the device or machine may perform
unexpected operation.
Additional Information
Parameters that you change in the Axis Parameter Settings Tab Page are automatically updat-
ed in the Axis Setting Table.
1 Register the priority-5 periodic task in the Task Settings. Refer to 5-9-1 Registering Tasks on
page 5-109 for the task registration procedure in the Task Settings.
2 In the I/O Control Task Settings under the Task Settings, select the task for the priority-5 pe-
riodic task as the task for the slave/Unit assigned to the axis.
The priority-5 periodic task is set as the task to execute motion control.
• If you assign a slave/Unit to an axis, the task that is set in the Axis Basic Settings is given
priority over the task that is set in the I/O Control Task Settings under the Task Settings as
the task assigned to that slave/Unit.
To change the task assignment for a slave/Unit that is assigned to a task for an NX701 Con-
troller, change the task that is set for motion control in the Axis Basic Settings. The task in
the I/O Control Task Settings in the Task Settings for the slave/Unit is automatically
changed to the task that is set in the Axis Basic Settings.
• If you want to assign a different task in the I/O Control Task Settings in the Task Settings
for a slave/Unit that is assigned to an axis, clear the slave/Unit selection for the input device
or output device in the Axis Basic Settings first.
1 Right-click Axis Settings under Configurations and Setup − Motion Control Setup and se-
lect Axis Setting Table from the menu.
1 Right-click the cell to copy and select Copy from the menu.
2 Right-click the cell to paste in and select Paste from the menu.
Additional Information
Hold down the Ctrl or Shift Key and click cells to select more than one cell.
1 Right-click the axis name of the axis parameters to copy and select Copy Selected Columns
from the menu.
2 Right-click the axis name of the axis parameters to paste in and select Paste from the menu.
Adding an Axis
Right-click the axis name and select Add New Axis. A new axis is added to the right side of the
Axis Setting Table.
Additional Information
You can also copy an existing axis to add a new axis. Right-click the axis name from which to
copy the parameters and select Copy, and then right-click and select Add New Axis and
Paste the Settings.
2 Select either All or Basic Settings under Parameters to show at the top of the Axis Setting
Table.
2 Right-click anywhere in the Axis Setting Table and select Select Axes to Show from the menu.
The following Select Axes to Show Dialog Box is displayed.
NX701 Controllers
Any changes made in the Axis Setting Table are automatically updated in the Axis Parameter
Settings Tab Page.
Perform the following procedure with the Sysmac Studio connected online with a Controller.
1 Right-click Axis Settings in the Multiview Explorer and select Apply drive data to axis
settings from the menu.
1 Right-click Axes Group Settings under Configurations and Setup - Motion Control Setup
in the Multiview Explorer and select Add - Axes Group Settings from the menu.
3 Double-click MC_Group000(0).
The Edit Pane for Axes Group Basic Settings is displayed.
4 Click the buttons on the left side of the Axes Group Basic Settings Tab Page to change be-
Axes Group Operation Set the interpolated velocity, the maximum interpolated acceler-
5
Settings ation and deceleration, and the interpolated operation settings.
For details on each item, refer to the NJ/NX-series CPU Unit Motion Control User’s Manual
(Cat. No. W507) or NY-series Industrial Panel PC / Industrial Box PC Motion Control User’s
Manual (Cat. No. W559).
• If you are using an NX701 Controller, before selecting the priority-5 periodic task (MC2) for
motion control in the Axes Group Basic Settings, register the priority-5 periodic task in the
task settings. Refer to 5-9-1 Registering Tasks on page 5-109 for the task registration proce-
dure in the task settings.
• With an NX701 Controller, set the same task for motion control in the Axis Basic Settings
for the configuration axes and for motion control in the Axes Group Basic Settings. An error
will occur if they are not the same.
• With an NX701 Controller, if you need to change the tasks assigned for motion control in the
Axis Basic Settings of the configuration axes and the tasks assigned to the slaves and Units
that are assigned to the configuration axes, you can do so at the same time by changing the
task assigned for motion control in the Axes Group Basic Settings.
When you change the task that is set for motion control in the Axes Group Basic Settings, a
dialog box is displayed asking whether to change the tasks that are set for motion control in
the Axis Basic Settings of the configuration axes.
Yes Button: The tasks that are set for motion control for the configuration axes are
automatically changed. In the same way, the tasks that are set in the
task settings of the slaves and Units assigned to the configuration ax-
es are also changed.
No Button: Only the task that is set for motion control in the Axes Group Basic
Settings is changed. In this case, a mismatch error will occur for the
task that is set for motion control in the Axes Group Basic Settings
and the tasks that are set for motion control in the Axis Basic
Settings in the configuration axes.
Cancel Button: The change is canceled.
1 Right-click Cam Data Settings under Configurations and Setup in the Multiview Explorer
5
and select Add - CamProfile from the menu.
Cam table
properties
Cam nodes
Cam profile
curve
Enable the position graph display on the toolbar ( ) to display the graph.
Click the pointers that represent the start and end points of the curve ( ) and drag
them to the positions you want.
Note 1 If you drag a point to a location where it cannot be moved, the curve is not changed and
only the pointer moves.
2 You can perform this same operation for the velocity graph, acceleration graph, and jerk
graph.
Additional Information
The items that are set are described in the following tables.
Cam Nodes
Item Description 5
Master axis Enter the phase of the master axis.
Slave axis Specify the displacement of the slave axis for the master axis.
Cam Curves
Connection condi-
Curve shape Main applications
tion specification
Constant Not possible. Used to create a dwell range between a block start point and
block end point.
Straight Line Not possible. Used to move at a constant velocity.
Parabolic Not possible. Used to accelerate/decelerate at a constant rate or to restrict
the maximum acceleration/deceleration rate.
Modified Constant Not possible. Used for medium-velocity, high-load equipment.
Velocity
Modified Trapezoid Not possible. Used for high-velocity, low-load equipment.
Modified Sine Not possible. Used for high-velocity, medium-load equipment. Used to reduce
the effect on the motor for load variations.
Cycloidal Not possible. Used to suppress residual vibration even for a high acceleration
rate.
Trapecloid Not possible. Used to suppress residual vibration even for a high-velocity,
high-load equipment.
Connection condi-
Curve shape Main applications
tion specification
Reverse-Trapecloid Not possible. Used to accelerate smoothly.
Simple Harmonic Not possible. Used for low-velocity motion or non-stopping operation.
Double Harmonic Not possible. Used to accelerate relatively smoothly or for one-dwell motion.
Reverse-Double Not possible. Used to decelerate relatively smoothly.
Harmonic
NC2 Curve Not possible. Used to reduce the effect on the motor for load variations. Used
to suppress residual vibration.
Polynomic 3 Possible (Connect- Used to specify the velocity between a block start point and
ing Velocity). block end point.
Polynomic 5 Possible (Connect- Used to specify the velocity and acceleration rate between a
ing Velocity and block start point and block end point.
Connecting Accel-
eration).
Free Curve Possible (Connect- Used to accelerate/decelerate smoothly. Used to specify the ve-
ing Velocity). locity between a block start point and block end point.
Additional Information
• You can use only a free curve, straight line, or constant curve before and after a free curve.
• If free curves are connected to each other, you can specify a connection condition only for the
last point.
X-axis value
Shows or hides the maximum values for the velocity, acceleration/deceleration rate, and jerk
on the graph. These values are indicated by dotted blue lines.
Icon Description
Shows or hides the jerk graph.
Shows or hides the plot of the superimposed cam data when displaying superimposed
graphs. This icon can be used only when superimposed graphs are displayed.
Graph Operations
Rotate the mouse wheel to increase or decrease the scale.
• Rotate the mouse wheel in the center of the graph to zoom in or zoom out of the entire graph.
• Move your mouse over the X or Y axis and rotate the mouse wheel to increase or decrease the
scale of only the X or Y axis.
You can use a straight line or straight line with constant displacement only before and after a
free form curve.
3 Select the cam profile to transfer under Cam Data Settings in the Synchronization Window
and then click the Transfer To Controller Button.
The transfer starts.
1 Right-click Cam Data Settings under Configurations and Setup in the Multiview Explorer
and select Import from the menu.
2 Select the CSV file to import, and then click the Open Button.
The imported cam profile is registered under Cam Data Settings with a serial number added.
To import cam data settings, use a CSV file encoded with UTF-8 character codes.
1 Right-click the cam data settings to export and select Export from the menu.
2 Specify the file location and name, and then click the Save Button.
1 Right-click the cam profile for the cam table to export and select Export Cam Table to CSV
File from the menu.
2 Specify the file location and name, and then click the Save Button.
1 Right-click the cam profile for the cam table to export and select Transfer Cam Table
[Controller to File] from the menu.
2 Specify the file location and name, and then click the Save Button.
2 Specify the name of the file to transfer, and then click the OK Button.
3 To enable the cam table that was transferred, reset the Controller or cycle the power supply to
the Controller after you transfer the cam table.
• You must synchronize with the Controller before you can transfer a cam table from a file to
the Controller. Refer to Synchronizing (Uploading/Downloading after Automatic Verification)
on page 7-120 for more information on synchronizing.
• The number of cam data in the cam table that is transferred from a file to the Controller must
be the same as the number of cam data in the cam table in the Controller.
• The cam table that is transferred from a file to the Controller is not saved in the project on the
Sysmac Studio.
• You cannot use the Controller synchronization function to transfer to the project on the Sys-
mac Studio, a cam table that was transferred from a file to the Controller. To save a cam table
in the Controller to a file, select Transfer Cam Table [Controller to File] from the menu.
• If you perform verification after transferring a cam table from a file to the Controller, an incon-
sistency is not detected even if the contents of the cam table differs from the cam data set-
tings.
• If you synchronize the Controller data after you transfer a cam table from a file to the Control-
ler, you will need to transfer the cam table again.
• You cannot transfer a cam table from a file to the Controller when performing a simulation for
debugging.
1 Right-click the cam profile that is currently displayed and select Superimpose Cam Table from
the menu.
2 Select the CSV file that contains the cam table to superimpose, and then click the Open But-
ton.
The cam table from the CSV file is superimposed on the currently displayed position graph.
Version Information
A CPU Unit with unit version 1.08 or later and Sysmac Studio version 1.09 or higher are re-
quired to use this function.
1 Right-click the cam profile under Configurations and Setup - Cam Data Settings in the Multi-
view Explorer and select Create Cam Definition from the menu.
The cam definition is registered below the corresponding cam profile and displayed as follows:
Cam_definition_name(Cam_property_variable_name,Cam_node_variable_name)
The cam property variable and cam node variable are registered in the global variable table.
You can change the attributes of the cam property variable and cam node variable from the
Cam Definition Tab Page. You cannot edit them in the global variable table.
The cam definition variables are created with the Retain attribute set to Retained. This attribute
cannot be changed for cam definition variables. If the Controller’s limit for the number or data
size of retained variables is exceeded when a cam definition is created, creating the cam defini-
tion fails. Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-
series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for in-
formation on the limits to the number or data size of retained variables.
1 Right-click the cam definition to edit in the Multiview Explorer and select Edit from the menu.
Note You cannot change any attributes of the variables that are not given above.
Note You cannot change any attributes of the variables that are not given above.
The master axis unit setting, slave axis unit setting, maximum velocity, and maximum acceleration
are used only to display the cam profile curve graph.
The number of null cam data is always set to 0. You cannot change it in the cam definition. Use the
cam profile settings to change the number of null cam data.
The cam data that is created by the Generate Cam Table instruction is stored in the cam data
variable. The array size of the cam data variable is determined by the settings of the cam pro-
file.
Depending on the settings of the number of node points and phase pitch of the cam node varia-
ble, the size of the cam data that is created by the Generate Cam Table instruction may exceed
the array size of the cam data variable that was set with the cam profile, resulting in an execu-
tion error for the instruction.
Ensure that there is a sufficient number of null cam data in the cam profile settings so that the 5
cam data size created by the Generate Cam Table instruction does not exceed the size of the
cam data variable.
1 Right-click the cam definition to delete in the Multiview Explorer and select Delete from the
menu.
A confirmation dialog box is displayed.
3 Select the cam definition to transfer under Cam Data Settings in the Synchronization Window
and then click the Transfer To Controller Button.
The transfer starts.
When the transfer is completed, a dialog box to transfer the cam definition settings is dis-
played.
The cam definition settings are not applied to the cam definition variables merely by transferring
the cam definition and cam definition variables to the Controller. After you transfer the cam defi-
nition, you must perform the procedure in Writing Cam Definition Values on page 5-106.
1 While the Controller is online, right-click the cam definition in the Multiview Explorer and select
Transfer Cam Definition Values to Controller from the menu.
Additional Information
If you right-click Cam Data Settings or a cam profile in the Multiview Explorer and select the
transfer menu command, you can transfer all of the cam definition values under the selected
item to the Controller at the same time.
1 While the Controller is online, right-click the cam definition in the Multiview Explorer and select
Transfer Cam Definition Values from Controller from the menu.
Additional Information
1 Right-click the cam profile in the Multiview Explorer and select Apply Cam Profile Settings to
Cam Definitions from the menu.
The settings of the cam profile are applied to all cam definitions below the cam profile.
1 Right-click the cam definition in the Multiview Explorer and select Apply Cam Definition
Settings to Cam Profile from the menu.
1 Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
3 Click the Button to add a task and enter the task type.
The primary periodic task (execution priority 4) is registered by default and cannot be deleted.
You can register periodic tasks and event tasks. 5
Priority-16*2, -17, or -18 periodic task 1 periodic task with each priority
Priority-8 or -48 event task*3 A total of 32 event tasks
*1. This can be used only for an NX701 Controller.
*2. This cannot be used for an NX102 or NX1P2 Controller.
*3. A CPU Unit with unit version 1.03 or later and Sysmac Studio version 1.04 or higher are required.
1 Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
The Task Settings Tab Page is displayed in the Edit Pane.
2 If the Task Settings view does not appear on the Task Settings Tab Page in the Edit Pane,
click the Task Settings Button ( ).
3 Select the task name, period/execution conditions, task period exceeded detection, task execu-
tion timeout detection time, and variable access time [%] from the lists for the registered task.
For details on the settings, refer to the NJ/NX-series CPU Unit Software User's Manual (Cat.
No. W501) or NY-series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat.
No. W558).
Additional Information
Set the period of each periodic task to an integer multiple of the period of the primary periodic
task.
If you set the task period of a periodic task and then change the period of the primary periodic
task so that the task period of the periodic task is no longer an integer multiple, the period set-
ting for the periodic task is automatically changed to the nearest integer multiple that can be
set.
Example: If the period of the primary periodic task is set to 1 ms and the period of the priority-16
periodic task is set to 25 ms for an NJ-series CPU Unit and then the period of the primary peri-
odic task is changed to 2 ms, the period of the priority-16 periodic task is automatically changed
to 30 ms.
1 Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
2 Click the I/O Control Task Settings Button ( ) on the Task Settings Tab Page in the Edit
Pane.
Additional Information
You cannot change the task assignment for a slave/Unit that is assigned to an axis from the I/O
Control Task Settings under the Task Settings. To change the task, change the task that is
set for motion control in the Axis Basic Settings or clear the slave/Unit selection for the input
device or output device in the Axis Basic Settings before you change the task.
1 Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
2 Click the Program Assignment Settings Button ( ) in Task Settings Tab Page in the Edit
Pane.
Any program you assign must already be registered under Programming - POUs.
Button Description
Adds a line for an assigned program.
Moves the program on the line with the button up or down by one line to change the assigned
order.
Deletes the assigned program on the line with the button.
Additional Information
• You can also drag the program lines to change the order.
• When you change the assigned order or delete programs, you can select multiple continuous
lines. Either hold down the Shift Key and press the Up or Down Key, or hold down the Shift
Key and click the program lines with the mouse.
• You can expand and collapse the display of all of the programs that are registered in the
tasks. Right-click the task title bar and select Expand All or Collapse All from the pop-up
menu.
1 Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
2 Click the Settings for Exclusive Control of Variable in Tasks Button ( ) on the Task Settings
Tab Page in the Edit Pane.
3 Register variables that require exclusive control between tasks. Select the global variables for
which to specify a refreshing task. Then select the accessing task for the global variables.
Button Description
Adds a line for the global variable that tasks refresh.
2 Click the headers on the lines of the desired variables to select the entire lines and then right-
click to select Register to Settings for Exclusive Control of Variable in Tasks.
The Register to Settings for Exclusive Control of Variables in Tasks Dialog Box is dis-
played.
3 Click the combo box of tasks to update variable value to select a task that refreshes the varia-
bles.
5 Click the OK Button. 5-9-5 Settings for Exclusive Control of Variables in Tasks
When the registration is completed, the variables are registered to settings for exclusive control
of variables in tasks and the registration results are displayed in the Output Tab Page.
You can deregister a registered variable from the exclusive control settings through the
Settings for Exclusive Control of Variables in Tasks Page.
Additional Information
• If you apply this function to a variable already registered to the exclusive control settings, a
dialog box is displayed to confirm whether to overwrite the variable settings.
• You can detect network-published variables that are not registered in the settings for exclu-
sive control of variables in tasks during the program check or when the user program is built.
Refer to 8-23 Sysmac Studio Option Settings on page 8-123 for detail.
1 In the Ladder Editor, right-click a coil or an output parameter of a function or function block, and
then select Register to Settings for Exclusive Control of Variable in Tasks.
When the following conditions are met, Register to Settings for Exclusive Control of
Variable in Tasks of the pop-up menu is enabled.
• The circuit part variable is registered to both the global variable table and local variable table,
and is also not a system-defined variable,
• The POU is assigned to tasks, and
• The status is offline.
In Tasks to update variable value, a task to which the POU containing the specified circuit
part is assigned is displayed.
2 The check boxes of tasks to reference variable are all checked by default. To prohibit a task
from reading the variable, uncheck the check box.
You can deregister a registered variable from the exclusive control settings through the
Settings for Exclusive Control of Variables in Tasks Page.
6-1 Overview
Online Connections to a Controller
You must go online with the Controller or connect to the Simulator to communicate with them from
the Sysmac Studio.
The Sysmac Studio supports the following online connections for different applications.
Connection made
Online connection Application
to
Online connection Controller To perform debugging, startup, or normal maintenance, the
same project file as in the Controller is opened on the Sysmac
Studio and then an online connection is made. An online con-
nection is made based on the Communications Setup in the
project file.
Simulator connec- Simulator The Simulator is used to debug the user program offline. The
tion Communications Setup in the project file is not used.
Additional Information
Refer to 7-3 Offline Debugging on page 7-80 for information on connecting to the Simulator
and debugging operations.
6-2-1 Overview
To go online with a Controller, there are four types of hardware connections that can be used. These
are described in the following table.
6-2-1 Overview
nection via directly to the peripheral USB port on a Con-
USB troller and then a connection is made
through the Ethernet network to the built-in
EtherNet/IP port on another Controller.*2
*1. This is not displayed for NY-series Controllers and NX102 or NX1P2 Controllers.
*2. You cannot go online with a Controller through the port on a CJ-series EtherNet/IP Unit.
Item Description
Options Confirm the serial ID when going on- If you select this option, the names and serial IDs are
line. compared between the project and the Controller
when you go online to make sure that a connection is
made to the intended Controller.
Check forced refreshing when going When this option is selected, a check is made when
offline. breaking the connection for inputs or outputs that have
forced refreshing.
Response You can set the response monitoring time for communications with the Controller.
Monitor An error is displayed if a response is not received before this time expires.
Time • The time can be set to between 1 and 3,600 s.
Additional Information
1 Select Online from the Controller Menu. Or, click the Go Online Button ( ) in the toolbar.
The following message is displayed the first time you go online. 6
After you write the project name, this message is not displayed.
Do not reconnect the USB for at least 10 seconds after you disconnect it.
After you connect the USB cable, do not disconnect it until Windows detects the connection.
It may become impossible for Windows to detect when the cable is connected or disconnected,
which would effectively disable the USB port. If that occurs, restart the computer. Otherwise,
you will not be able to use the USB device until Windows recovers from the suspended status.
Additional Information
If the Windows firewall is enabled, a dialog box is sometimes displayed to confirm the connec-
tion the first time you go online with a Controller after you install the Sysmac Studio. In this
case, click the Allow access Button with the Public networks Check Box selected.
If you do not allow access, you cannot transfer EtherNet/IP connection settings or monitor
EtherNet/IP connections. Refer to the NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s
Manual (Cat. No. W506) or NY-series Industrial Panel PC / Industrial Box PC Built-in
EtherNet/IP Port User’s Manual (Cat. No. W563) for details.
1 Select Online from the Controller Menu. Or, click the Go Online Button ( ) in the toolbar.
The Communication Settings Dialog Box is displayed.
The IP address that is set in the Communications Setup Dialog Box is displayed to the right of
the remote connection methods.
Do not reconnect the USB for at least 10 seconds after you disconnect it.
After you connect the USB cable, do not disconnect it until Windows detects the connection.
It may become impossible for Windows to detect when the cable is connected or disconnected,
which would effectively disable the USB port. If that occurs, restart the computer. Otherwise,
you will not be able to use the USB device until Windows recovers from the suspended status.
Select Offline from the Controller Menu. Or, click the Go Offline Button ( ) in the toolbar.
The Sysmac Studio goes offline.
Additional Information
• Refer to 11-4 Error Messages for Sysmac Studio Operation on page 11-11 for corrections for
errors that occur when you go online.
• If operation authority is set in the Controller, a Verification Dialog Box is displayed when you
go online. Refer to 8-3-1 Operation Authority Verification on page 8-8 for details.
1 Start the Sysmac Studio and click Connect to Device on the Start page.
Settings are displayed.
Item Description
Device Select the type of device to connect to.
Connection type Select the method to use to connect to the Controller.
Connection set- If you selected a remote connection via USB or an Ethernet connection via a hub,
tings set the destination IP address.
Item Description
Operation after Select the operation to perform after connecting.
Connection • Transfer from The data is uploaded from the Controller if there is a project
Device in the Controller. If you select this check box, check boxes to
select the items to upload are displayed.
• CPU Unit The data in the CPU Unit, such as the pro-
grams, configurations, and settings, are
uploaded.
This data includes the EtherCAT connec-
tion settings (i.e., the tag data link set-
tings), but it does not include the data from
the CJ-series Units or EtherCAT slaves.
This data is always uploaded.
• CJ-series If you select this check box, the data from
Additional Information
For the author of the created project, the author name that is set in the option settings is set
automatically. Refer to 8-23 Sysmac Studio Option Settings on page 8-123 for details on the op-
tion settings.
Note For the functional differences between the Controller and Simulator, refer to A-3 Differences between the
Simulator and the Physical Controller on page A-9.
Overview
You can monitor the TRUE/FALSE status of program inputs and outputs and the present values of
variables in the Controller. You can monitor operation on the Ladder Editor, ST Editor, Watch Tab
Page, or I/O Map.
1 Double-click the ladder program or ladder function block under Programming in the Multiview
Explorer.
The rungs are displayed on the Ladder Editor in monitor status.
Yellow indicates
online status.
The TRUE/FALSE status of the connecting lines is displayed while the task is executed in RUN
mode.
Program output
Functions and
function blocks*1
*2
*1. While the task is in execution in RUN mode, a function block is always displayed in execution in
progress status regardless of the TRUE/FALSE status of the connecting line before it.
*2. The present values are displayed in parentheses to the left of input variables and to the right of out-
put variables.
The present values are displayed in parentheses to the left and right of in-out variables.
*3. The execution status cannot be displayed under the following conditions. In these cases, the circuit
part and the connecting lines after it are displayed in yellow.
• Inputs, functions, and function block instances from immediately after going online until the moni- 7
tored values are displayed
• Function block instances for which arrays with subscript variables are specified
7-2-1 Monitoring
• Inputs, functions, and function block instances that do not exist in the Controller when synchroni-
zation is not consistent
• Functions that meet the following conditions:
a) Some instructions that do not have an ENO output
Examples of instructions for which execution status cannot be monitored:
Timer (Hundred-ms Timer), Get**Clk (Get Clock Pulse Group), and comparison instruc-
tions, such as LT, EQ, and NE, when the comparison data is duration data, date data, time
of day data, or STRING data.
Examples of instructions for which execution status can be monitored:
TestABit (Test A Bit), TestABitN (Test A Bit Not), and comparison instructions such as LT,
EQ, and NE when the comparison data is BOOL data, bit string data, integer data, or RE-
AL data
b) All instructions in regions that are defined with the MC and MCR instructions
c) All user-defined functions
• POUs that use the P_PRGER variable
• Programs for which the value of the P_PRGER variable is TRUE
Additional Information
• If you use a variable for a subscript to specify an array element or member in an array varia-
ble, structure array variable, or union array variable, the present value is displayed as follows
(example for a two-dimensional array): Value_of_variable_element_or_member,
[subscript_value, subscript_value].
1 Double-click the ST program or ST function block under Programming in the Multiview Explor-
er.
The ST Editor is displayed.
Additional Information
If you use a variable for a subscript to specify an array element or member in an array variable,
structure array variable, or union array variable, the present value is displayed as follows (ex-
ample for a two-dimensional array): Value_of_variable_element_or_member, [subscript_value,
subscript_value].
You can set an option so that the present values of array subscripts are not displayed. Refer to
8-23 Sysmac Studio Option Settings on page 8-123 for details.
1 Go online and then double-click the function block definition on the Multiview Explorer. Or, dou-
ble-click the function block definition in the Edit Pane.
The Choose Instance Dialog Box is displayed. 7
2 Select the function block instance to monitor and click the Select Button. 7-2-1 Monitoring
The contents of the selected instance are displayed. The name of the selected instance is dis-
played on the tab.
1 Select Watch Tab Page from the View Menu. To display the Watch (Table), select Watch Tab
Page (Table).
The Watch (Project) 1 or Watch (Table) 1 is displayed.
To close a Watch Tab Page, click the Close Button for the tab page. To display a Watch Tab
Page, select Watch Tab Page from the View Menu again.
Additional Information
7-2-1 Monitoring
page 7-11 for the data types that
you can register.
AT*1 The address of an AT specification in ---
memory for CJ-series Units or an I/O
port is displayed.
Display format*1 The display format (decimal, hexa- Support- Refer to Changing the Display
decimal, etc.) of the present value ed. Format of a Present Value in the
and modify value is displayed. Watch Tab Page on page 7-15
for the data formats that you can
select.
*1. You can right-click the title row cell for the column to show and hide columns.
(k) (m)
(l)
(l)
(o) (n)
7-2-1 Monitoring
Structure Members to Display.
(n) Wrapping posi- You can set the position at which to Supported. This item and button are
tion wrap the present value table for a displayed only for a one-
one-dimensional array. Enter the dimensional array variable
wrapping position, and click the with a basic data type or a
Update Button. one-dimensional array
variable that is an enumer-
ation.
(o) Array element Used to jump to a specified element. Supported.
jump settings Enter the array subscripts and click
the Go to Button to move to the
specified element.
Method (1) Entering the Variable Name in the Name Cell in the Watch Tab
Page
1 Specify the device name and click the cell that says Input Name at the bottom of the Watch
Tab Page.
3 As you enter characters, a list of candidate variable names is displayed. Select the variable
name from the list.
The variable name is registered.
Method (2) Dragging Variables to the Watch Tab Page from an Editor or
Variable Table
The procedure to register variables from the ST Editor is given below. Go offline to perform this
procedure.
1 Select the required variable in the ST Editor and drag it to the cell that says Input Name at the
bottom of the Watch Tab Page.
Variable data
Format to enter Display
type
Basic data Variable name The specified variable is displayed.
types
Arrays array_variable_name If you register an array variable in a Watch Tab Page
(Table), the array elements are displayed in a tabular
format.
array_variable_name[number] The specified element is displayed.
array_variable_name[number- The elements in the specified range are compressed
number] on the display.
or
array_variable_name[num-
ber..number]
(range specification)
7
array_variable_name[integer_vari- The specified element is displayed.
7-2-1 Monitoring
able_name]*1*2
Structures structure_variable_name The structure members are compressed on the dis-
play.*3
In the Watch Tab Page (Table), the members are dis-
played in a tabular format.
structure_variable_name.mem- The specified member is displayed.*3
ber_name
Unions union_variable_name The union members are compressed on the dis-
play.*3
union_variable_name.mem- The specified member is displayed.*3
ber_name
POU instance POU_instance_variable_name The variables in the POU are compressed on the
of function or display.
function block POU_instance_variable_name. The specified variable is displayed.
variable_name_in_POU*4*5
Enumerations variable_name The specified variable is displayed.
*1. You can use a variable for an array subscript to specify an element for up to a three-dimensional array.
Example for a Three-dimensional Array: ArrayVar[index1,index2,index3] (The following are integer
variables: index1 to index3.)
*2. You can also use variables for subscripts to specify array elements and members in structure array vari-
ables and union array variables.
Changing the Display Format of a Present Value in the Watch Tab Page
If the Sysmac Studio is online with a Controller in Monitor Mode, the present value of a variable is
displayed when the variable name is registered. You can use the Display format Column to change
the display format of the present value. The display formats that you can select depend on the data
type.
Display Formats
7-2-1 Monitoring
Duration (- negative value) xxx d yy h zz m uu s vvv.vvvv ms (with no spaces)
xxx is the number of days, yy is the number of hours, zz is the number
of minutes, uu is the number of seconds, and vvv.vvv is the number of
milliseconds.
Leading zeros are not displayed.
If a number for one of the units is 0, 0 is displayed with the unit. Howev-
er, if there are no numbers on the left of a 0 number that are not 0, then
0 and the unit are not displayed.
Example for 5 minutes, 0 seconds, and 23 milliseconds
5m0s23ms
Date yyyy-mm-dd
Leading zeros are displayed.
Example for August 17, 2010
2010-08-17-13:00:05.00
Time of day hh:nn:ss.ss
Leading zeros are displayed.
Date and time yyyy-mm-dd-hh:nn:ss.ss
Leading zeros are displayed.
ASCII The values of variables are displayed in ASCII values.
Data type Display format (The default formats are set in bold text.)
BOOL Boolean, Decimal, Hexadecimal, String, or Binary
SINT Decimal, Boolean, Hexadecimal, or Binary
USINT Decimal, Boolean, Hexadecimal, or Binary
INT Decimal, Boolean, Hexadecimal, or Binary
UINT Decimal, Boolean, Hexadecimal, or Binary
DINT Decimal, Boolean, Hexadecimal, or Binary
UDINT Decimal, Boolean, Hexadecimal, or Binary
LINT Decimal, Boolean, Hexadecimal, or Binary
ULINT Decimal, Boolean, Hexadecimal, or Binary
BYTE Hexadecimal, Boolean, Decimal, Binary, or ASCII
WORD Hexadecimal, Boolean, Decimal, Binary, or ASCII
DWORD Hexadecimal, Boolean, Decimal, or Binary
LWORD Hexadecimal, Boolean, Decimal, or Binary
REAL Real
LREAL Real
TIME String (Time)
DATE String (Date)
TIME_OF_DAY String (Time of day)
DATE_AND_TIME String (Date and time)
STRUCT Depends on the data type of the members.
UNION Depends on the data type of the members.
STRING String
ENUM Decimal, String
Present Value Displays When Using a Variable for a Subscript to Specify an Array Element
If you use a variable for a subscript to specify an array element or member in an array variable,
structure array variable, or union array variable, the present value is displayed as follows (example
for a two-dimensional array): PV_of_variable_element_or_member, [subscript_value,
subscript_value].
1 Right-click the line of a variable name to delete on the Watch Tab Page and select Delete from
The variable name and the row it was displayed on are deleted.
Copying and Pasting Variable Names from the Watch Tab Page
1 Right-click the variable name to copy on the Watch Tab Page and select Copy (or press the 7
Ctrl + C Keys).
7-2-1 Monitoring
2 Right-click the row at which to insert the copied row on the Watch Tab Page and select Paste
from the menu (or press the Ctrl + V Keys).
The copied variable name is registered.
Additional Information
You can copy variable names from a Watch Tab Page and paste them into a spreadsheet (e.g.,
Excel).
1 Right-click the tab of a Watch Tab Page and select Add Watch Tab Page from the menu.
For the Watch (Project), you can add up to 20 Watch Tab Pages, for the Watch (Table), you
can add up to 10 Watch Tab Pages.
2 To delete a Watch Tab Page, right-click the tab of the Watch Tab Page and select Delete Tab
Page from the menu.
The specified Watch Tab Page and all variable names that are registered in it are deleted.
The display behavior of the Watch Tab Pages differs between Sysmac Studio version 1.19 or
lower (between version 1.10 and version 1.19) and Sysmac Studio version 1.20 or higher.
• Maximum number of tab pages
Display location
Registration lo-
in version 1.20 or Display location in version 1.22 or higher
cation of data
1.21
Watch (Project) The data is displayed in the Watch (Project) 1.
Watch Tab Page The data regis- Data registered in the Watch Tab Pages for devices are dis-
for each device - tered in the Watch played in the Watch (Project) 2, Watch (Project) 3, .... When
Watch Tab Page Tab Pages for all variables are not registered in the Watch (Project) for a
1, Watch Tab the devices are project saved using version 1.19 or lower, data in the Watch
Page 2, ... displayed in the Tab Pages such as the Watch Tab Page 1 and Watch Tab
Watch (Project) 1. Page 2 are displayed in the Watch (Project) 1, Watch
(Project) 2, ....
In the order in which the devices were registered and the
Watch Tab Pages were added in a project saved using ver-
sion 1.19 or lower, data for a maximum of 20 Watch Tab Pa- 7
ges including the Watch (Project) are displayed. Additional
data after the maximum number of Watch Tab Pages is
7-2-1 Monitoring
reached will be all displayed in the 20th page - the Watch
(Project) 20.
Watch (Table) The data that is registered in the Watch Tab Pages for each Controller is dis-
played in the Watch (Table) 1, Watch (Table) 2, ....
If a project that was saved in version 1.20 or higher is opened in version 1.19 or lower
1 Double-click I/O Map under Configurations and Setup on the Multiview Explorer.
The I/O Map is displayed.
The present values of the registered Unit I/O ports are displayed in the Variable Column.
The data types that are given in the following table can be monitored in the I/O Map.
• Data Types and Present Value Displays in the I/O Map
1 Select the display format from the Monitor Type Area in the I/O Map.
The present value in the Value Column changes to the specified display format.
Version Information
A CPU Unit with unit version 1.03 or later and Sysmac Studio version 1.04 or higher are re-
quired to use differential monitoring.
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial
Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for information on differential
monitoring.
1 Right-click the BOOL variable to register in the Differential Monitor in the Ladder Editor and se-
lect Add to Differential Monitor from the menu. Or, select Differential Monitor from the View
Menu or click the Differential Monitor Button ( ) on the toolbar.
The Differential Monitor is displayed.
(3) (4)
(1)
(2) (5)
(6)
1 You can drag variables from the Ladder Editor, the ST Editor, or a variable table to the Differen-
tial Monitor. You can also right-click the variables to monitor in the Ladder Editor and select
Add to Differential Monitor from the pop-up menu.
The variables for differential monitoring are registered.
You can also click the Add Variable Button in the Differential Monitor Tab Page to add variables.
1 Click the Start Differential Monitor Button ( ) in the Differential Monitor Tab Page.
Differential monitoring is started and the number of times the condition (change to TRUE or
change to FALSE) is met is displayed in the count list for each variable.
Additional Information
1 Click the Stop Differential Monitor Button in the Differential Monitor Tab Page during differential
monitoring.
Differential monitoring stops.
You can register variables for another Controller in the same project for differential monitoring.
However, only the variables for the Controller that is currently selected are actually monitored
when differential monitoring is executed.
WARNING
Sufficiently confirm safety before you change the values of I/O ports or variables
on the I/O Map when the Sysmac Studio is online with the CPU Unit. Incorrect op-
eration may cause the devices that are connected to Output Units to operate re-
gardless of the operating mode of the Controller.
CAUTION
• Always confirm the safety at the destination node before you transfer a user pro-
gram to a node or perform an operation that changes device variables.
Not doing so may result in injury.
• Sufficiently confirm safety before you change the values of variables on a Watch
Tab Page when the Sysmac Studio is online with the CPU Unit. Incorrect opera-
tion may cause the devices that are connected to Output Units to operate re-
gardless of the operating mode of the Controller.
Always confirm the safety of the system before you perform forced refreshing.
Additional Information
• Go online and select Monitor from the Controller Menu to enter monitor status before you
perform the following procedure.
• On the ST Editor, the procedure that is given below in Changing the Present Values of Varia-
bles on page 7-27 is used to set/reset BOOL variables.
• Procedure
1 Double-click the ladder program, ladder function, or ladder function block under Programming
in the Multiview Explorer.
2 Right-click the input or output and select Set/Reset − Set to change the input or output to
TRUE. Or, right-click the input or output and select Set/Reset − Reset to change the input or
output to FALSE.
The input or output in the Ladder Editor changes to TRUE or FALSE and the execution condi-
tion changes accordingly.
1 Select Watch Tab Page from the View Menu to display a Watch Tab Page.
The rungs are displayed on the Ladder Editor in monitor status.
3 Select TRUE in the Modify Column to change the variable to TRUE. Select FALSE in the
Modify Column to change the variable to FALSE.
The value in the Online value Column changes to TRUE or FALSE.
Additional Information
If the status of a BOOL variable that is used in a ladder diagram is changed, the execution sta-
tus in the Ladder Editor changes accordingly.
1 Double-click I/O Map under Configurations and Setup on the Multiview Explorer. The I/O
Map is displayed.
3 Enter TRUE in the Value Column to change the variable to TRUE. Enter FALSE in the Value
Column to change the variable to FALSE.
The status of the BOOL device variable changes to TRUE or FALSE and the value in the Value
Column in the I/O Map changes to TRUE or FALSE.
Procedure
1 On the Ladder Editor, right-click a variable and select Edit Variable Value or double-click the
present value that is displayed for a variable.
The present value is changed. 7-2-3 Changing Present Values and Set/Reset Using Forced Refreshing
If you use a variable for a subscript to specify an array element, a confirmation dialog box is
displayed for the element for which the present value is to be changed. Check the present val-
ues of the variable for the subscript to make sure that the present value of the correct element
will be changed before you click the OK Button.
Procedure
1 On the ST Editor, click the drop-down arrow for the present value of a variable.
A text box or combo box is displayed below the present value according to the data type of the
variable.
If you use a variable for a subscript to specify an array element, a confirmation dialog box is
displayed for the element for which the present value is to be changed. Check the present val-
ues of the variable for the subscript to make sure that the present value of the correct element
will be changed before you click the OK Button.
Procedure
1 Select Watch Tab Page from the View Menu to display a Watch Tab Page.
2 Move the cursor to the cell in the Modify Column on the Watch Tab Page, enter a value that is
compatible with the format that is given in the Display format Column, and then press Enter
Key. Press the Esc Key to cancel entering a value.
The present value is changed.
The format for entering a value in the Modify Column depends on the format that is given in the
Display format Column.
For details, refer to Display Formats under Changing the Display Format of a Present Value in
the Watch Tab Page on page 7-15.
If you use a variable for a subscript to specify an array element, a confirmation dialog box is
displayed for the element for which the present value is to be changed. Check the present val-
ues of the variable for the subscript to make sure that the present value of the correct element
will be changed before you click the OK Button.
Additional Information
If you enter an illegal value in the Modify Column, an error is detected and the cell is highlighted
in red.
Procedure 7
Refer to Monitoring in the I/O Map on page 7-19 for the formats to enter.
Additional Information
If the value is entered in the wrong format, an error occurs. The illegal values are highlighted in
red and an error icon is displayed. Place the mouse over the error icon to view the error details.
Forced Refreshing
Forced Refreshing
Forced refreshing allows the user to refresh external inputs and outputs with user-specified values
from the Sysmac Studio to debug the system.
Forced refreshing is executed not for the specified device variables, but for the I/O ports that are
assigned to the device variables.
The state that is specified with forced refreshing is retained until forced refreshing is cleared from
the Sysmac Studio. Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501)
or NY-series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for
details on holding and clearing status changes in the CPU Unit.
All forced refreshing is cancelled when a fatal error occurs, when a Clear All Memory operation is
performed, when the operating mode is changed, when power is interrupted, or when the project is
downloaded.
CAUTION
Sufficiently confirm safety at the connected slave or Unit before you change the
value of an I/O port or device variable.
Not doing so may result in injury.
• Confirm that no adverse effect will occur in the system before you use forced refreshing.
• Forced refreshing ignores the results of user program execution and refreshes I/O with the
specified values.
If forced refreshing is used for program inputs for which it is not supported, the program in-
puts will first take the specified values, but they will then be overwritten by the user program.
• Discrepancies in the forced status may cause unexpected operation of the controlled system.
1 Double-click the ladder program or ladder function block under Programming in the Multiview
Explorer.
The rungs are displayed on the Ladder Editor. 7-2-3 Changing Present Values and Set/Reset Using Forced Refreshing
2 Right-click the program input or output and select Forced Refreshing - TRUE. The input or
output is forced to TRUE. Right-click the program input or output and select Forced
Refreshing - FALSE. The input or output is forced to FALSE.
The input or output in the Ladder Editor changes to TRUE or FALSE and the execution condi-
tion changes accordingly.
An icon also appears by the input or output that represents its current forced value.
1 Right-click the program input or output to clear in the Ladder Editor and select Forced
Refreshing - Cancel.
The forced value for the selected input or output is cleared and the forced value icon disap-
pears.
The TRUE/FALSE value does not change.
Additional Information
To cancel the forced status of all inputs and outputs, right-click and select Forced Refreshing -
Cancel All.
3 Right-click the BOOL variable and select Forced Refreshing − TRUE from the menu. The I/O
port or memory address is forced to TRUE. Right-click the BOOL variable and select Forced 7
Refreshing - FALSE from the menu. The I/O port or memory address is forced to FALSE.
The present value is displayed in the Watch Tab Page as shown below.
• When you select TRUE: True
• When you select FALSE: False
An icon also appears by the BOOL variable that represents its current forced value.
1 Right-click the BOOL variable on the Watch Tab Page, and then select Forced Refreshing -
Cancel.
The forced value for the selected BOOL variable is canceled and the forced value icon disap-
pears.
The TRUE/FALSE value does not change.
Additional Information
To cancel the forced status of all BOOL variables, right-click and select Forced Refreshing -
Cancel All.
1 Double-click I/O Map under Configurations and Setup in the Multiview Explorer or right-click
I/O Map and select Edit from the menu.
3 Right-click the BOOL variable and select Forced Refreshing - TRUE from the menu. The I/O
port is forced to TRUE.
After you force the BOOL device variable to TRUE or FALSE, the value in the Value column in
the I/O Map changes to TRUE or FALSE to reflect that change.
An icon also appears by the BOOL device variable that represents its current forced value.
7
1 Right-click the BOOL I/O ports in the I/O Map, and then select Forced Refreshing - Cancel.
The forced value for I/O port of the selected BOOL device variable is cleared and the forced
value icon disappears.
The TRUE/FALSE value does not change.
1 Select Forced Refreshing - Cancel All from the Controller Menu to clear all of the forced re-
freshing.
Cross References
Cross references allow you to see the programs and locations where program elements of the Con-
troller are used.
You can view all locations where an element is used from this list.
The following elements can be cross-referenced.
• Variables
• Data types
• I/O ports
• Functions
• Function blocks
(a) (b) 7
(c)
Item Description
(a) Lock Button Click this button to lock the display of the referenced element and cross refer-
ence list. Click the button again to release the lock.
(b) Reference Target The referenced element that is currently selected is displayed. Or, you can di-
field rectly enter a variable name or variable member name as the reference target
in this field.*1
(c) Update Button This button is enabled only after the lock button is clicked and the display is
locked. When the Update Button is clicked, the cross reference list is updat-
ed.
(d) Cross reference The locations in which the referenced element is used are displayed. Refer to
list Cross Reference List Details on page 7-39, below, for details on items in the
list.
*1. Note that an error occurs if the following variables are entered. Also, an error occurs if the directly
entered element is not a variable.
• A variable in a POU that is protected with the display prohibition setting
• A variable in a library for which the Disable Source Display setting is used
• A variable in a library for which the Do Not Publish setting is used
Element Location
Var Global variable, axis • Global variable table
iabl variable, axes group • External variable tab in local variable tables (when you select external variables)
e variable, cam data • Input, output, I/O parameter of functions, or I/O parameter of function blocks on
variable, and exter- the Ladder Editor
nal variable • ST Editor
• Axis or axes group in the Multiview Explorer (when you select axis or axes group
variables)
• Cam profile in the Multiview Explorer (when you select cam data variables)
• Trace target variable table for data tracing
System-defined var- • Input, output, I/O parameter of functions, or I/O parameter of function blocks on
iable the Ladder Editor
• ST Editor
• Trace target variable table for data tracing
Internal variable, in- • Internal variable tab and in-out variable tab in local variable tables
put variable, output • Input, output, I/O parameter of functions, or I/O parameter of function blocks on
variable, and inout the Ladder Editor
variable • ST Editor
• Trace target variable table for data tracing (Note: Variables for functions are ex-
cluded.)
Return value for • Return value tab in local variable tables
functions • Input, output, I/O parameter of functions, or I/O parameter of function blocks on
the Ladder Editor
• ST Editor
I/O port I/O Map
Function • Ladder Editor
• ST Editor
• Function in the Multiview Explorer
Function block • Function block instance variable in local variable tables
• Ladder Editor
• ST Editor
• Function block in the Multiview Explorer
Data type Data Type Editor
Titles of items
7
Referenced element (a) (b) (c) (d)
Variable or I/O port Item Location Detail Reference
Contents of items
Description
(a) The name of the referenced element is displayed.
(b) Locations where the element is used (POU name, global variable, and I/O Map) are displayed. The data
type is displayed if the referenced element is a data type.
(c) If the referenced element is used in the Ladder Editor or ST Editor, the rung numbers or line numbers of
the usage locations are displayed.
(d) The specific location where the referenced element is used is displayed.
Additional Information
• If the cross references are for a structure variable member, union variable member, or array
variable element, the variable that contains the member or element is displayed in the cross
reference list in addition to the specified member or element.
• If a cross reference is for an input variable or output variable of a function block instance, the
function block instance is also displayed in the cross reference list.
• You can select Fixed Target Cross Ref. from the pop-up menu on the Ladder Editor or ST
Editor to lock the cross reference items and display the cross reference list.
• If the same variable is used in the Controller and an NA-series PT, after you display the NA-
series PT, the usage locations of the NA-series PT are also displayed in the cross reference
list for the Controller.
Online Editing
The online editing function is used to add to or change part of a program in the CPU Unit directly from
the Sysmac Studio.
You can select any of the following to perform online editing.
• Section and POU (function or function block) written in ladder diagrams
Additional Information
You can change the set values of timers and counters during online editing.
WARNING
• Check the user program for proper execution before you use it for actual operation.
If the program algorithm check is enabled, the program algorithm check is performed when on-
After you transfer the changes made during online editing, they are applied to the CPU Unit. Do
not turn OFF the power supply to the Controller while the changes are being applied.
While the changes are being applied, confirmation dialog boxes for the items that are transfer-
red and non-volatile memory backup dialog boxes are displayed.
If you turn OFF the power supply to the Controller while the changes are being applied, a major
fault level Controller error will occur when the power supply is restored. If an error occurs,
download the user program again.
1 Select Online Edit - Go to Edit Pane from the Project Menu. Or, right-click and select Online
Edit - Go to Edit Pane.
The section or ST program for which online editing is currently in progress is displayed in the
Edit Pane.
Operating Modes
There are two operating modes for NJ/NX/NY-series Controllers, depending on if control programs
are executed or not. These are RUN mode and PROGRAM mode.
Always confirm the safety of the system before you change the operating mode of the Control-
ler.
1 Select Mode - RUN Mode or PROGRAM Mode from the Controller Menu.
One of the following confirmation dialog boxes is displayed.
Changing from PROGRAM to RUN Mode Changing from RUN to PROGRAM Mode
2 Confirm that no problem will occur even if you change the operating mode, and then click the
7
Yes Button.
(f)
(g)
(h)
(i)
(j)
(k)
(r)
Basic View
7
Displayed information and indi-
Display item Remarks
cator colors
1 Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
1 Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
2 Click the Task Execution Time Monitor Button ( ) in the Edit Pane.
You can view the following information for all executing tasks: minimum values, average val-
ues, maximum values, set periods, exceeded periods, task execution times, and task period
exceeded counts.*1
With an NJ-series Controller, you can also monitor the task execution time ratio for the entire
Controller.
*1. The task period exceeded count is the number of times that the task execution time exceeded the
task period. This is not the same as the number of times a Task Period Exceeded Error occurred.
For details on the settings, refer to the NJ/NX-series CPU Unit Software User's Manual (Cat.
No. W501) or NY-series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat.
No. W558).
• The estimated times are not necessarily the same as the actual task execution times on the
physical Controller. Depending on the user program and I/O configuration, the execution
times on the physical control may exceed the estimated maximum value. Use the estimated
times as a guide in determining task periods.
• If you use tag data links, the execution times on the physical control may exceed the estimat-
ed values.
1 Go online.
2 Right-click Axis Settings under Configurations and Setup - Motion Control Setup on the
Multiview Explorer and select MC Monitor Table from the menu.
The Axis Status Monitor is displayed.
2 Right-click anywhere in the pane and select Select the Axes to Show from the menu.
The following dialog box is displayed.
NX701 Controllers
3 Select the axis you want to display in the Axis Status Monitor, and then click the OK Button.
Only the selected axes are displayed in the Axis Status Monitor.
Data Tracing
Data Tracing
You can use data tracing to sample variables without any additional programming.
You can choose between two trace methods: a triggered trace, where you set a trigger condition
and data is saved before and after that condition is met, or a continuous trace, in which continuous
sampling is performed without any trigger and the results are stored in a file on your computer.
However, you can still display data retrieved on the Sysmac Studio and save those results to a file
even if you use a triggered trace.
These same functions can be used with the Simulator as well.
1 Right-click Data Trace Settings under Configurations and Setup in the Multiview Explorer
and select Add - Data Trace from the menu.
2 Double-click DataTrace0 or right-click DataTrace0 and select Edit from the menu.
The Data Trace Tab Page is displayed.
If there are previous trace results, a confirmation dialog box is displayed to ask whether to load
Procedure
1 Click the Trace type Box and select either Single or Continuous.
Some data may not be sampled when using a continuous trace depending on your sampling
interval and communications status.
Procedure
1 Click the sampling interval selection box and select Every period of task, Time, or Use
sampling instruction.
2 If you select Every period of task, select the task you want to use as the sampling period in the
task box.
If you chose Time, enter a time in the Time field. The time you entered is automatically rounded
off to the nearest integer multiple of the period of the primary period task. (The maximum value
is 65,535 times the task period of the primary periodic task.)
Setting Triggers
• Setting Triggers
Procedure
7
3 Enter the variable name to use as a trigger.
5 Set the Post-trigger data ratio Slider to the position of the trigger within the sampled data.
If the ratio is set to 100%, all data is sampled after the trigger condition is met. If the ratio is set
to 0%, all data is sampled before the trigger condition is met.
Additional Information
• The trigger changes to TRUE when the Trigger ON Button ( ) is clicked or when the Data
Trace Trigger (TraceTrig) instruction is executed.
• You can also drag variables from the Variable Manager to the trigger condition area to regis-
ter them.
Procedure
• Continuous Trace Settings Dialog Box
4 Select from the following two actions to take when the size or time limit is reached.
• Stop tracing: Stops sampling.
• Delete old files: Continues sampling but deletes the oldest saved data to make room.
Procedure
• Trace Target Variable Table
2 Enter the variable name. Start typing in the field to see a list of variable candidates. Select the
variable you want to trace from this list.
Additional Information
• You can also drag variables to the registration area from a variable table, from the Variable
Manager, or from the trace target variable table of other data trace settings to register them.
• Drag the sampled variables to change the order in which they are displayed. Press the Shift
Key or Ctrl Key to drag more than one variable at the same time.
• You can display sampled variables in ascending or descending order of the following items.
a) Check box
b) Analog/digital
c) Variable name
Click the title of the corresponding column to change the order.
Procedures
Starting a Trace
7
1 Go online with the Controller.
If displaying a graph during tracing is enabled, the graph is drawn as soon as sampling starts.
Stopping a Trace
Additional Information
• If you select the Start tracing at switching from PROGRAM mode to RUN mode Check Box in
the Data Trace Tab Page, data tracing begins automatically the next time the Controller en-
ters RUN mode.
• You can perform more than one data trace at the same time. (The number of data traces de-
pends on the model of the CPU Unit.) You can change the trace number in the Data Trace
Setup Dialog Box to perform data tracing with different settings even if another trace is being
performed with a different number. With continuous tracing, you can run only one trace at the
same time. You cannot perform traces for other trace numbers from the same computer dur-
ing a continuous trace. (You can perform other traces from another computer.)
• If you attempt to start more than one data trace with the same trace number on the same
Controller, the data trace does not start even if you click the button.
• You can click the Upload Trace Data Button ( ) while the data trace is stopped if there is
sampled data on the Controller to upload the data trace settings (except for a continuous
trace) and data for the specified trace number. The graph for this data is displayed.
• Remain online during a continuous trace until you stop the trace. If you do go offline during a
continuous trace, go online and stop the current trace, and then start the continuous trace
again.
Switching Graphs
You can toggle between the three different types of graphs: a digital chart for BOOL data, an ana-
log chart for all other types of data, and a 3D Motion Monitor Display Mode for viewing the opera-
tion of motion axes. You can also view the digital and analog charts overlaid on top of each other.
Procedure
Click the required button.
Button Description
Displays and hides a digital chart for BOOL data.
Displays and hides the overlayed display of the digital and analog charts.
Displays and hides a 3D motion monitor results for the operation check of motion control
axes.
Additional Information
You can also select the display target in the dialog box that is displayed when you select
Settings from the menu button in the title row.
7
Changing the X Axis
Procedure
1 Select the data you want to use for the X axis in the X Axis Box.
The digital or analog chart is redrawn using the specified data as the X axis.
Procedure
3 You can change the display range for the Y axis for each variable. However, you cannot set the
Y offset.
Procedure
• This changes the scale of each axis. Zooming in and out along the X axis is reflected in both
the digital and analog charts.
• Click the Fit to Display Button ( ) to automatically scale the graph so that it completely fits
on the display.
Additional Information
You can also use the following methods to zoom in and out of the graph.
• Move your mouse over the axis you want to zoom in or zoom out, then scroll your mouse
wheel up or down to zoom in or out for that axis.
• Move your mouse over the graph and scroll your mouse wheel up or down to zoom in or out
both the X and Y axes centered on the position of the cursor.
• Hold down the Ctrl Key and drag the mouse to select a range to enlarge it.
Procedure
1 Click anywhere inside the chart. The mouse cursor changes into a move cursor.
Procedure
1 Enter values for the X offset and Y offset settings in the trace target variable table.
Cursor Display
A cursor is displayed to show the values of all variables at the specified X axis value.
Procedure
3 Drag the cursor to the left or right to display the values for different positions along the X axis.
The values for the variable at the cursor position are displayed.
Button Function
(1) Time Slider You can drag the slider to move the cursor. The left edge is the start of the trace data
and the right edge is the end.
(2) Playback The cursor moves automatically at the speed that is specified in the Speed Box.
(3) Pause The cursor stops where it is.
(4) Stop The cursor returns to the start.
(5) Frame Forward Moves the cursor to the next sampled point. Continue to click the button to continu-
ously forward the frame.
(6) Frame Reverse Moves the cursor to the previous sampled point. Continue to click the button to con-
tinuously reverse the frame.
Procedure
1 Click the Show Range Cursors Button to show or hide this cursor.
2 Select the variable for which to check the value in the table.
3 Drag the two cursors to the left or right to display the difference in values in the range between
the two cursors.
The distance between the two cursors (dx, dy) is shown on the graph.
Procedure
7
Changing the Graph Colors
You can change the colors of the lines on the graph.
Operation Procedure
1 Click the Switch layout Button on the Data Trace Settings Tab Page.
The display position of the table changes each time you click the button.
Procedure
2 Specify the file name and where you want to save the file.
• If you change any data trace settings after data tracing is completed and the graph is dis-
played and then export your data, the data exported will use different settings from when
those results were created. Do not change any settings before exporting the data.
• The exported CSV file of trace results is encoded in UTF-8 character codes.
Additional Information
• The trace number and the specified number of samples are not exported.
• The 3D equipment models are not exported.
Procedure
Additional Information
• If you import trace results when sampled variables are already registered or existing trace re-
sults are displayed, the sampled variables and the graphs are imported and added while oth-
er settings are not imported. Do not allow the total number of registered sampled variables
and sampled variables of imported trace results to exceed the maximum numbers that can be
registered. You cannot import data if the total number exceeds the limit.
• If you want to add data from a file to the trace results but the time axes are not the same,
enter an X axis offset to adjust the data accordingly.
2 Select the trace range for which to display the results from the list for the box.
The corresponding CSV file for the trace range is read and the graph is displayed.
• You cannot use the above procedure for CSV files that do not contain continuous trace data.
• Place all of the CSV files that contain the separated continuous trace data in the same folder.
Do not change the names of the CSV files that were created. If you do, they cannot be read
with the above procedure.
Additional Information
The last trace range is displayed in the Continuous Trace Range Selection Box immediately af-
ter the continuous trace is completed.
Procedure
2 Expand Data Trace Settings in the tree in the Print Tab Page and select the check box beside
the trace data you want to print.
• You can also display the path of a marker on the 3D equipment at the same time.
• You can also display a two-dimensional path marker for each projection of the 3D display.
This function is not supported by the Sysmac Studio (64 bit). The Display 3D Motion Monitor
Button is not displayed.
Additional Information
1 Add an axis to the Multiview Explorer and then set the parameters of the axis variable.
Refer to 5-7 Motion Control Setup on page 5-78 for the setting procedure.
4 Register the trigger setting and variables to trace for the data trace.
Refer to 7-2-11 Data Tracing on page 7-52 for the operating procedures for data tracing. 7
6 Start tracing the data with the data trace to sample the data.
Play Button
(a)
(b)
(c)
(e) (d)
Additional Information
• You can also perform 3D motion monitoring when the Sysmac Studio is connected to the
Simulator. When the Sysmac Studio is connected to the Simulator, perform steps 4 and 5 for
the Simulator instead of the Controller.
• You can export trace data to save it in a CSV file and then import the data later to check oper-
ation.
Refer to 7-2-11 Data Tracing on page 7-52 for the operating procedures to import and export
trace data.
• If 3D Motion Monitor is displayed on other Data Trace Tab Pages, the 3D motion monitor
graph is displayed only on the tab page with the focus. During that time, the following mes-
sage is displayed on the other Data Trace Tab Pages: The 3D Motion Monitor is displayed on
another view. Click this view to display the 3D Motion Monitor again here.
2D Path Display
The 2D paths of the markers for the projections in the 3D display are also shown.
The 2D path appears when you select X-Y, Y-Z, or X-Z in the box to switch between 3D/2D path
displays on the 3D Motion Monitor View.
• Optimizing Camera Position and Scale
The axis scale resolution and camera position are automatically optimized so that the entire path
fits onto the display.
• Viewpoint Manipulation Restrictions
On the 2D path display, you can only zoom in or zoom out. You cannot move or rotate your view-
point.
• Hidden Virtual 3D Machines
Even if virtual 3D machines are currently shown on the 3D path display, these virtual 3D ma-
chines are not shown on the 2D path display.
This is what appears when you select X-Z in the box to switch between 3D/2D path displays on the
3D Motion Monitor View. In this case, the horizontal axis is the X axis and the vertical axis is the Z
axis.
You can also use the following keyboard shortcuts to change how you want to change the view-
point.
Shift: Move
Ctrl: Rotate
Shift + Ctrl: Zoom In/Zoom Out
If your mouse has a mouse wheel, you can scroll the wheel up or down to zoom in and zoom out.
Displays
Click the Add Display Button ( ) to add another display that is the same as the current display.
2D Path Display
In the View Mode Box, change 3−D to X−Y, Y−Z, or X−Z to display the motion path on a 2D plane.
Even if you redisplay the 3D Motion Monitor View, the data is not updated until the trace data
loading button is clicked. Even if you change the 3D equipment model or otherwise redisplay
the 3D Motion Monitor, the 3D Motion Monitor display may not agree with the actual trace data.
To change the trace data, click the trace data loading button to update the display. 7
Additional Information
This function is not supported by the Sysmac Studio (64 bit). The Display 3D Motion Monitor
Button is not displayed.
Procedure
1 Start the data trace and click the Display 3D Motion Monitor Button ( ).
2 Click the Settings Button ( ) for the 3D equipment model in the 3D Motion Monitor View and
select Add from the menu.
3 Click the Overhead View Button ( ) in the Preview Area at the bottom of the 3D Equipment
Model Display.
The camera is positioned so that the entire device model can be seen from overhead in the
Preview Area.
4 Set the parameters, and then click the OK Button. The 3D equipment model is added.
The parameters are described below.
The 3D Equipment Model Window is made up of three sections. The procedures to set up
these sections are given below.
3D Machine Model
Parameter Settings
3D Machine Model List
Actual position in 3D
Machine selected for
preview
Additional Information
For an axes group in the Motion Control Function Module, select 2, 3, or 4 axes.
The following is an example of the parameter settings for an XYZ stage + rotational axis (upward)
3D machine.
Item Setting
X Stage: Length 1000
Y Stage: Length 1000
Rotate Axis: Rotate Direction CW (or CCW)
Corresponding axis settings Enter the following variables directly into the text boxes, or press the
Ctrl + Space Keys and select them from the list.
Axis MC_Axis000 for X stage,
Axis MC_Axis001 for Y stage,
Axis MC_Axis002 for Z axis,
Axis MC_Axis003 for rotational axis
Note The axes that you added in the previous section, Axis Settings for
3D Equipment Models, will appear in the boxes in the Value Col-
umn.
Present position 0,0,0
Orientation 0,0,0
Preview
The 3D machine you have set up appears in the 3D coordinate system (world coordinates). The
position and orientation of the 3D machine is determined by the coordinate values.
3D Space Size
You can change the coordinate axes of the 3D space and the size of the grid plane. If you change
Scale Resolution
You can change the scale resolution of the coordinate axes.
Unit
Select the coordinate axis scale unit from the following units: μm, nm, mm, cm, m, inches, or feet.
If you create a new 3D equipment model on Sysmac Studio version 1.14, the unit will be fixed
at millimeters.
Present Position
The position gives the home position where the 3D machine model is placed in the 3D coordinate
system (world coordinates) in the Preview Area. You can change this position by entering the differ-
ence (X, Y, Z) from the world coordinate home (0, 0, 0) where you would like the placement home
for the model to be. The position in the Preview Area is represented by two purple square pyra- 7
mids.
The rotation direction for a left-handed coordinate system is different for Sysmac Studio version
1.13 or lower and Sysmac Studio version 1.14 or higher.
• Sysmac Studio version 1.13 or lower: Left-handed coordinate system, right-hand thread di-
rection
• Sysmac Studio version 1.14 or higher: Left-handed coordinate system, left-hand thread direc-
tion
Therefore, if you open a 3D equipment model that was created on Sysmac Studio version 1.13
or lower on Sysmac Studio version 1.14 or higher, the sign of all orientation values is reversed.
Placement Home
Click the shape made up of two purple square pyramids in the Preview Area. The local axes (X, Y,
Z) are displayed. Drag these local axes with your mouse to place the object directly in the Preview
Area. Select between position and orientation to modify the actual position and angle of rotation of
the model.
Setting Example
In the following example, we add one orthogonal robot (XYZ + rotational axis) 3D machine and cre-
ate equipment made up of two orthogonal robots.
1 Click the Add Button ( ) in the 3D Machine Model List to add another 3D machine.
A new model is added to the 3D Machine Model List.
3 Move the position of the 3D machine 500 (mm) along the X axis. Enter 500 into the "X" text box
in the Present Position Area. Confirm that the 3D machine changed positions in the Preview
Area.
CAUTION
• Although the Simulator simulates the operation of the Controller, there are differ-
ence from the Controller in operation and timing. After you debug the user program
on the Simulator, always check operation on the physical Controller before you use
the user program to operate the controlled system.
Accidents may occur if the controlled system performs unexpected operation.
• The Simulator instructions are not processed on the physical Controller and all out-
puts from the instructions will be FALSE. After you debug the user program on the
Simulator, always check operation on the physical Controller before you use the
user program to operate the controlled system.
Accidents may occur if the controlled system performs unexpected operation.
• Simultaneous simulation for offline debugging of sequences and the HMI can be
performed to simulate the linked operation of the Controller and HMI. However,
there are differences in the operation and timing between this simulation and the
actual combination of the HMI and Controller. After you debug operation with the
simulation, always check operation on the physical Controller and HMI before you
use them in the actual system.
Accidents may occur if the controlled system performs unexpected operation.
Simulation Procedures
Use the following procedure to start the Sysmac Studio and connect to the Simulator.
The Simulation Pane is displayed below the Toolbox Pane on the right of the window.
3 Use the Sysmac Studio to set the Controller Configurations and Setup and create a program.
5 If you want to execute a specific task or only a part of a section or program, select the item for
simulation under Programming − Tasks in the Multiview Explorer. (Refer to Setting Simulation
Programs on page 7-82.)
7
6 Click the Run Button in the Simulation Pane. Or, select Run from the Simulation Menu.
7 After the Simulator is started and connected, the Online Indicator in the Controller Status Pane
is lit green and Simulator is displayed. In this status, the project is completely transferred to the
Simulator and RUN mode continues.
8 To stop the simulation, click the Stop Button in the Simulation Pane.
9 To end the simulation, click the Close Button (×) in the Simulation Pane.
You can start a simulation even if the user program exceeds the memory size. Check memory
usage before you transfer the user program to the Controller. Refer to 8-4 User Memory Usage
Monitor on page 8-23 for the confirmation procedure.
Additional Information
You can start the Simulator in PROGRAM mode during simulation execution. Select Run in
PROGRAM mode from the Simulation Menu.
Select Mode − RUN Mode from the Controller Menu to change to RUN mode after starting the
Simulator in PROGRAM mode.
Simulation Programs
You can set the task or programs to simulate. You can choose to simulate some or all of the pro-
grams in the user program.
A check box is displayed to the left of the names of programs listed under tasks in the Multi-
view Explorer to designate programs for simulation.
These check boxes are selected by default.
2 Clear the check boxes in the Multiview Explorer for any tasks, programs, or sections you do not
want to simulate.
Simulations are performed only for the selected tasks and programs.
Debug Programs
A debug program is program code used for offline debugging. This code contains instructions to
perform virtual input processing on inputs received from outside of the Controller, force user-de-
fined errors, and perform other such debugging tasks. 7
The debug program attributes can be set for each program. These programs can be executed only
on the Simulator. Simulation programs are treated as normal programs by the Simulator. Assign
1 Right-click the program to debug in the Multiview Explorer and select Settings For Debugging
- Enable from the menu.
3 Enter program code to test (virtual input processing, forcing user-defined errors to occur, etc.).
• After you have written a program as a debug program, you can right-click the debug program
and select Settings For Debugging - Disable to change the program to a normal program.
When SIMSEL_En turns ON, an external input signal is sent to LatchID (1) for axis 0.
You can check the operation of the debug program by performing a data trace.
Latched position
recorded.
• The estimated times are not necessarily the same as the actual task execution times on the
physical Controller. Depending on the user program, I/O configuration, and whether commu-
nications are used the execution times on the physical control may exceed the estimated
maximum value. Use the estimated times as a guide in determining task periods.
• With an NX-series Controller, you can display estimated values only for the primary periodic
task.
• You cannot display the estimated values on NY-series Controllers.
• You can calculate the estimated values for the priority-5 periodic task of an NX701 Controller
on paper. Refer to Estimating the Task Execution Time of the Priority-5 Periodic Task of an
NX701 Controller on page 7-91.
Additional Information
• The system services for NX701 Controllers are executed in parallel with other processes.
They are not displayed in the Task Execution Time Monitor because they do not affect the
task execution time.
• You can calculate the estimated values for the task execution time of an NY-series Controller
on paper. Refer to the NY-series Industrial Panel PC / Industrial Box PC Software User’s
Manual (Cat. No. W558) for details on the calculation method.
Additional Information 7
Perform the following operations before you calibrate for execution time estimation.
Procedure
2 Follow the instructions in the dialog box and click the Execute Button.
Calibration is started.
Approximately 10 minutes is required to complete calibration.
Additional Information
Exit all applications that are running on the computer except for the Sysmac Studio.
Other applications may affect the accuracy of estimates.
Procedure
1 Select Run in Execution Time Estimation Mode from the Simulation Menu.
The Simulation Pane is displayed and simulation is started in the Execute Time Estimation
Mode.
If the Unit has a hardware revision, a dialog box is displayed to select the hardware revision.
Select the hardware revision of the CPU Unit you will use.
2 Double-click Task Settings under Configurations and Setup in the Multiview Explorer.
The Task Settings Tab Page is displayed in the Edit Pane.
Item Description
Task Execution Time • Average and Maximum: The estimated, average and maximum execution
times for each task are displayed from when execution of the primary peri-
4 If you are using a CJ-series Unit with an NJ-series Controller, click the Expanded number of
I/O points for CJ-series Unit Button.
The Expanded Number of I/O Points for CJ-series Unit Dialog Box is displayed.
5 Create the user-defined variables for the specified CJ-series Special Units, enter the total size
of the expansion area for AT specifications (e.g., fixed I/O allocations for DeviceNet Units), and
the click the OK Button.
The size of the expansion areas is used to calculate the I/O refresh time for the specific CJ-
series Special Units.
6 If you are using tag data links, click the Built-in EtherNet/IP Button.
The Tag Data Link Settings Dialog Box is displayed.
Edit the parameters for the tag data links, and then click the OK Button.
The parameters that you set are used to calculate the tag data link service execution time.
If you are using a CJ-series EtherNet/IP Unit, click the Expanded number of I/O points for
CJ-series Unit Button and make the settings for the tag data links.
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) for information
on the parameters.
7 Make sure that the task execution times do not exceed the task execution processing times
(i.e., the task periods).
1 Right-click the master or a slave and select Calculate Transmission Delay Time of the 7
Master in the EtherCAT Tab Page.
2 The transmission delay times of PDO communications cycle 1 and PDO communications cycle
2 are displayed in the Output Tab Page.
Additional Information
You cannot select this menu command if there is an error in the EtherCAT configurations and
setup.
Procedure
The simulation speed on the computer will change between 0.1x and 1x.
Setting Breakpoints
Setting Breakpoints
You can set breakpoints to stop execution of a simulation, e.g., to see the status after a specific
program is executed.
Procedure
There are three ways to set breakpoints.
• Right-click an element in a ladder diagram rung or a specific line of ST code, and select
Breakpoints - Set/Clear Breakpoint. A breakpoint is added at the specified position in the pro-
gram.
• Select a ladder diagram element or line of ST code and select Simulation - Set/Clear
Breakpoint from the Main Menu.
• Select a ladder diagram element or line of ST code and click the Set/Clear Breakpoint Button in
the Simulation Pane.
2 Place your cursor on the line number of the line where you want to set a breakpoint in the ST
Editor.
Enabling/Disabling Breakpoints
You can disable breakpoints while maintaining their set positions and enable them back again.
The program continues to run without stopping even if it reaches disabled breakpoints during simula-
tion.
You can enable or disable breakpoints in the Ladder Editor or ST Editor.
1 Right-click an element in a ladder diagram rung or a specific line of ST code where a break-
point is set, and select Breakpoints - Enable/Disable Breakpoint from the pop-up menu.
The breakpoint is disabled and the breakpoint icon changes to the disabled status.
Conditional breakpoint
To enable the breakpoint again, select Enable/Disable Breakpoint from the pop-up menu
again.
Additional Information
You can also use the following method to enable or disable breakpoints.
• Select Enable/Disable Breakpoint from the Simulation Menu.
• Press the Ctrl + F9 Keys.
Step Execution
Step Execution
You can execute a program one line at a time in the ST Editor or one instruction at a time in a lad-
der diagram.
1 When offline or when you execute a program through the Simulator, click the Step Execution
Button in the Simulation Pane when the program is stopped or when it is paused at a break-
point.
2 Select Watch Tab Page from the View Menu. The Watch Tab Page is displayed so that you
can check for changes in the value of variables.
Additional Information
When offline or when you execute a program through the Simulator, click the Continuous Step
Execution Button in the Simulation Pane when the program is stopped at a breakpoint, paused,
or stopped during step execution.
The cursor moves to the next execution step in the ST Editor after a fixed period of time (1 second).
The time required to move to the next step depends on the program.
Click the Pause Button in the Simulation Pane when a simulation is in progress.
Step In Execution
Use the following procedure to perform step execution of source code inside a function or function
block.
When you execute a program through the Simulator, click the Step In Button in the Simulation
Pane when the program is at a function or function block instance when execution is stopped
for a breakpoint, paused, or stopped during step execution.
Click the Step Out Button in the Simulation Pane when the simulation is stopped in a function
block currently in step in execution.
One-period Execution
Use the following procedure to execute the current task for one period. This function pauses execution
at the start of the program in the next period.
When offline or when you execute a program through the Simulator, click the Execute One
Scan Button in the Simulation Pane when the program is stopped at a breakpoint, paused, or
stopped during step execution.
The Breakpoint Window is displayed with a list of the breakpoints that you have already set.
For this example, here we have entered a conditional expression of VarA = 13. (VarA is the
variable name.)
3 In the Edit Condition Area, enter the condition for breaking, and then click the Add Button.
4 Check to confirm that your conditional expression was added under List of Conditions, and
then click the OK Button.
1 Click the Pause Button in the Simulation Pane. Or, select Pause from the Simulation Menu.
2 Click the Transfer All Variable Present Values Button in the Simulation Pane. Or, select
Transfer All Variable Present Values from the Simulation Menu.
1 To display the Transfer All Variable Present Values Dialog Box, perform the first two steps in
the procedure to get the present variables.
3 Select the file that contains the saved variable values, and then click the Open Button.
The values of the variables that were saved in the file are written.
If you click the Run Button in the Simulation Pane, the simulation is restarted with the written
variable values.
If any of the variables that are saved in the selected file are different from the variables in the
program when the variable values are written, only the values of the variables that are in the
program will be written.
Additional Information
• You can use a text editor to edit the file that is saved. This allows you to delete unnecessary
variables so that you can write only specific variables.
• In Sysmac Studio version 1.17 or higher, the following restrictions apply to mutual use of data
between the Backup Variables and Memory and Transfer All Variable Present Values func-
tions.
a) Although the Backup Variables and Memory function supports the XML and CSV file for-
mats, the Transfer All Variable Present Values supports only the CSV file format.
This function is not supported by the Sysmac Studio (64 bit). You cannot create a 3D equipment
model.
Additional Information
Sysmac Studio (64 bit) version 1.40 or higher support 3D Simulation which enables to check
operations or motions of 3D equipment models and parts in 3D Visualizer. Refer to the Sysmac
Studio 3D Simulation Function Operation Manual (Cat. No. W618) for details and the conditions
of use on 3D Simulation.
Item Setting
Axis Use Used axis
Axis type Virtual servo or servo axis
Unit mm
Procedure
1 Add an axis to the Multiview Explorer and then set the parameters of the axis variable.
Refer to 5-7 Motion Control Setup on page 5-78 for the setting procedure.
4 Register the trigger setting and variables to trace for the data trace.
Refer to 7-2-11 Data Tracing on page 7-52 for the operating procedures for data tracing.
5 Execute a simulation.
Refer to Simulation Procedures on page 7-80 for the execution procedures.
6 Start tracing the data with the data trace to sample the data.
The following move synchronously: the cursor on the trace graph, the 3D machine model, and
the cursor in the 2D view.
Refer to 3D Motion Monitor Display Mode on page 7-66 for the operating procedures for 3D motion
monitoring.
The Setup Tab Page for the FQ-MS12x-ECT... is displayed for the Edit Pane. Make all of the
required setting. Refer to the FQ-M-series Specialized Vision Sensor for Positioning User’s
Manual (Cat. No. Z314) for the setup procedures.
After you complete setting up the FQ-MS12x-ECT..., change to RUN Mode to perform offline
debugging. Refer to the FQ-M-series Specialized Vision Sensor for Positioning User’s Manual
(Cat. No. Z314) for the setup procedures.
6 Manipulate the control bits in the sequence controls to execute measurements. The measure-
ment results are displayed in the Monitoring Area.
Refer to 5-2 EtherCAT Configuration and Setup on page 5-4 for details on the procedure to
register EtherCAT slaves.
The Setup Tab Page for the scene or system data is displayed in the Edit Pane. Make all of the
required settings. Refer to the Vision System FH/FHV Series Operation Manual for Sysmac
Studio (Cat. No. Z343) for the setup procedures.
3 Write the program to operate the device and build the program.
Refer to Section 4 Programming on page 4-1 for the programming procedures.
When the Simulator is connected, it creates an internal EtherCAT connection between the
NJ/NX/NY-series Controller and FH-series Sensor Controller and the NJ/NX/NY-series Control-
ler enters an Operational state.
Refer to 7-3-1 Debugging with Program Simulation on page 7-80 for the procedures to use the
Simulator.
7 Manipulate the control bits in the sequence controls to execute measurements. The measure-
ment results are displayed in the Monitor Window.
You can execute simulations of sensor control programs only for the Vision Sensor that you are
currently editing. You cannot perform simulations for more than one FH Vision Sensor at the
same time.
7
Additional Information
The data for one index is output to the file for each simulation cycle. When all of the data has
been output, the data is output again from the beginning.
Additional Information
This simulation can be used to check the behaviour of ZW control signals. Measurement proc-
essing for the control signals is not simulated. (This includes zero reset processing for the zero
reset signal and hold processing for timing signals.)
2 Select the NA-series PT for which to perform the simulation and click the OK Button.
The simulators for the Controller and NA-series PT will start.
The Simulation Pane has a button that is used dedicatedly for simultaneous simulation of the
Controller with an NA-series PT. Refer to Dedicated Window for Simultaneous Simulation with
NA-series PT on page 7-110 for information on this pane.
Refer to the NA-series Programmable Terminal Software User’s Manual (Cat. No. V118) for the
features of an NA-series PT that you can use in simultaneous simulation with the NA-series PT
Simulator.
3 To stop simultaneous simulation with the NA-series PT Simulator, click the Stop Button in the
Simulation Pane.
The NA-series PT Simulator is ended and simultaneous simulation with the NA-series PT Sim-
ulator is ended.
To execute simultaneous simulation with the NA-series PT Simulator again, select Run with
NA Simulator from the Simulation Menu.
(a)
(b)
(c)
Item Description
(a) Enable/Disable All Use this button to enable or disable all breakpoints that are set for the Con-
Controller Breakpoints troller at once.
Button
Enable/Disable All HMI Use this button to enable or disable all breakpoints that are set for the NA-
Breakpoints Button series PT at once.
NA Integrated Simulation Use this button to display the dedicated breakpoint window for simultaneous
Breakpoint Window But- simulation with an NA-series PT. Refer to NA Integrated Simulation Break-
ton point Window on page 7-111 for details.
(b) Simulation buttons for These buttons are the same as those in the Simulation Pane for Controllers.
Controllers Refer to the descriptions of the simulation buttons in Simulation Procedures
on page 7-80.
(c) Simulation buttons for NA- These buttons are the same as those in the Simulation Pane NA-series PTs.
series PTs Refer to the NA-series Programmable Terminal Software User’s Manual (Cat.
No. V118) for details.
If the CX-Designer is not running, the Start NS Integrated Simulation Dialog Box is displayed.
2 Click the Browse Button and select the CX-Designer project file to use in the integrated NS-
series PT simulation.
Then select the host name that was set in the CX-Designer Communications Setup Dialog Box
from the Host Name Box.
Refer to the CX-Designer User’s Manual (Cat. No. V099) for the procedures to create a CX-
Designer project file and for information on setting host names.
Refer to the CX-Designer User’s Manual (Cat. No. V099) for information on the capabilities of
4 To stop the integrated NS-series PT simulation, click the Stop Button in the Simulation Pane.
The integrated NS-series PT simulation stops.
To restart the integrated NS-series PT simulation, click the Run Button in the Simulation Pane,
or select Start NS Integrated Simulation from the Simulation Menu.
• If the CX-Designer is already running when the integrated NS-series PT simulation is started,
the project that is currently open in the CX-Designer will be used in the integrated NS-series
PT simulation.
Execution is not possible if the CX-Designer is already running in more than one window.
Start the CX-Designer only for the project for which you will execute the integrated NS-series
PT simulation.
7-3-7 3D Simulation
Sysmac Studio (64 bit) version 1.40 or higher provides the 3D Simulation function for checking opera-
tions or motions of 3D equipment models and parts on 3D Visualizer. To use the Sysmac Studio 3D
simulation, you need to additionally purchase a license of Sysmac Studio 3D Simulation Option.
Refer to the Sysmac Studio 3D Simulation Function Operation Manual (Cat. No. W618) for details on
the 3D simulation.
1 Double-click I/O Map under Configurations and Setup on the Multiview Explorer.
To perform this operation, the Units in the actual configuration must already be registered under
Controller Configurations and Setup − CPU/Expansion Racks.
1 Click cell for the I/O device in the Variable Column. Or, move the cursor to the cell and press
the F2 Key.
This places you in Edit Mode and displays a list of the global variables.
2 Select a global variable from the list. (Click the global variable or move your cursor to the varia-
ble you want to select and press the Enter Key.) The specified variable is displayed as shown
below.
You can also enter a variable directly. The list will be narrowed based on the text you enter so
that you can more easily find the variable you need.
• To display I/O ports, you must register the Units in advance in CPU/Expansion Racks under
Configurations and Setup in the Multiview Explorer. After registering a Unit, all I/O ports of that
Unit are registered automatically.
• Click the icons in the Port Column ( , ) to expand or collapse the display of I/O port configu-
ration for the CPU Rack, Expansion Rack, or Unit.
• For variables to appear in the selection lists, you must first register them in the global variable
table.
• You can also enter a variable directly from the I/O map to create a new global variable.
1 Double-click the Axis Variable under Configurations and Setup - Motion Control Setup -
Axis Settings in the Multiview Explorer. Or, right-click the Axis Variable and select Edit from
the menu.
2 The Basic Axis Settings ( ) are displayed. Enter the axis number, axis use, axis type, and
feedback information. You can select from the lists. Select the EtherCAT slave to assign from
the list in the Input device Text Box.
The specified variable is displayed as shown below.
• You must register the axis to use for the axis variable in advance under Configurations and
Setup - Motion Control Setup - Axis Settings in the Multiview Explorer. When you register
an axis, the variable for that axis is automatically registered as well.
• For the EtherCAT slave to appear in the list in the Input device Text Box, an EtherCAT slave
Axis Function Unit must be registered in advance under Configurations and Setup -
EtherCAT in the Multiview Explorer.
After registering an Axis Function Unit, the EtherCAT slave of that Unit is registered automat-
ically.
WARNING
CAUTION
• Sufficiently confirm safety at the connected slave or Unit before you change the val-
ue of an I/O port or device variable.
Not doing so may result in injury.
• Always confirm safety at the destination node before you transfer parameters or da-
ta from the Sysmac Studio to another node. 7
Not doing so may result in injury.
• Unexpected operation may result if you transfer inappropriate network configuration settings.
Even if appropriate network configuration settings are set, confirm that the controlled system
will not be adversely affected before you transfer the data.
• Always confirm the safety of the system before you change the operating mode of the Con-
troller.
• Always confirm safety at the destination node before you transfer parameters or data from
the Sysmac Studio to another node on the network configuration.
Not doing so may result in injury.
• Before you restart operation, make sure that the required data, including device variables, the
user program, and parameters, is transferred to a CPU Unit, Special I/O Unit, CPU Bus Unit,
or externally connected device that was replaced.
• After you transfer the user program, the CPU Unit is restarted and communications with the
EtherCAT slaves are cut off. During that period, the slave outputs behave according to the
slave specifications. The time that communications are cut off depends on the EtherCAT net-
work configuration. If the EtherCAT network configuration contains only OMRON EtherCAT
slaves, communications are cut off for a maximum of 45 seconds.
Before you transfer the user program, confirm that the system will not be adversely affected.
• If you transfer only selected programs from the programs that did not match for the synchro-
nization function, there is no way to check on the Sysmac Studio the integrity with the pro-
grams that you do not transfer. After you transfer the programs, confirm safety before you
change the CPU Unit to RUN mode.
Synchronizing
“Synchronize” means to automatically compare the data for the Sysmac Studio on the computer
with the data in the NJ/NX/NY-series Controller and transfer the data in the direction that is speci-
fied by the user.
Use the following procedure.
• Download: Select Synchronization from the Controller Menu, and then click the Transfer To
Controller Button.
• Upload: Select Synchronization from the Controller Menu, and then click the Transfer From
Controller Button.
Do not perform any other operations on the Sysmac Studio while the Synchronization Window
is active.
An error occurs and synchronization may be impossible.
Additional Information
• As shown above, the Synchronization Menu Command is used to both upload and download
data on the Sysmac Studio.
The following terms are used in the NJ/NX/NY-series Controller manuals:
a) Transferring data from the Sysmac Studio to the Controller: Download
b) Transferring data from the Controller to the Sysmac Studio: Upload
• Information on synchronization is updated in the project file when synchronization is per-
formed. After you perform synchronization, save the project file before you close it.
If you do not save the project file, a message that says that the program execution IDs are
different and that all data will be transferred is displayed the next time you perform synchroni-
zation.
1 Physically connect the computer to the Controller and then select Online from the Controller
2 Select Synchronization from the Controller Menu. (Or, click the Button on the toolbar.)
The Synchronization Window is displayed and verification of the user program and parameter
settings between the Sysmac Studio and the Controller is started.
You can press the Cancel Button to cancel the operation.
Verification Results
The verification results are displayed as shown below. When valid data is not present, - is dis-
played.
Column Item
Computer: Data Name Project name on the Sysmac Studio
Computer: Update Date The last time that the project was built on the Sysmac Studio
Controller: Data Name The project name on the NJ/NX/NY-series Controller
Controller: Update Date The last time that the project on the NJ/NX/NY-series Controller was built
Compare *1
*1. If there are differences in the synchronized data, a Button is displayed in the Details Column.
Refer to the following page for details.
Verification Units
The units for comparison that are shown in the Synchronization Window are listed in the following
table.
De-
tailed
Synchronization data name Level Qty com- Remarks
pari-
son
Controller name 1 1 None
EtherCAT Master Settings 2 1 None
EtherCAT Slave Settings 2 1 None
Slaves 3 N None The settings of the selected slaves
are transferred.
CPU/Expansion Racks*1 2 1 None
De-
tailed
Synchronization data name Level Qty com- Remarks
pari-
son
NX Units*2 4 N None
Units*3 4 1 None
Units*3 5 N None
Units*3 4 1 None
Units*3 5 N None
Controller Setup 2 1 None
Operation Settings 3 1 None
Built-in EtherNet/IP Port Settings 3 1 None
Built-in I/O Settings*4 3 1 None
De-
tailed
Synchronization data name Level Qty com- Remarks
pari-
son
FunctionBlock 4 N None Ladder programs
Variable table 5 1 Availa- Ladder programs
ble
LadderBody 5 1 Availa- Ladder programs
ble
FunctionBlock 4 N None ST programs
Variable table 5 1 Availa- ST programs
ble
Program Body 5 1 Availa- ST programs
ble
Data 2 1 None
Data Types 3 1 Availa-
ble
Global Variables 3 1 Availa-
ble
Libraries 2 1 None
The data from this level depends
on the structure of the library.
(The data that can be verified is
the same as the data that is giv-
en above.)
*1. This is displayed only for an NJ-series Controller and NX102 or NX1P2 Controller.
*2. This is displayed only for an NX102 or NX1P2 Controller.
*3. This is displayed only for an NJ-series Controller.
*4. This is displayed only for an NX1P2 Controller.
Gray Build not completed The project is not built or an error has occurred.
Non-synchronized This icon is displayed for parameters for CJ-series Special
data Units and EtherCAT slaves.
Repeating Verification
Click the Recompare Button to repeat the verification.
When trans-
Item Default Description
fer is enabled
Clear the present values of Not selected. Values written If this check box is selected, the
variables with Retain attribute to Controller present values of Retain variables
(Valid for Transfer to Control- are cleared after the data is down-
ler). loaded.
Do not transfer the program Not selected. Values written If this check box is selected, pro-
source (Valid for Transfer to to Controller grams are not displayed when they
Controller). All data will be re- are uploaded from another comput-
transferred when this operation er.
is charged.*1 However, variables and settings are
transferred even if this check box is
selected.
When trans-
Item Default Description
fer is enabled
Do not transfer the following. Selected. Transferred If this check box is selected, the fol-
(All items are not transferred) both direction lowing parameters and data are not
• NX Unit application data on transferred.
the CPU Rack*2 and CJ-ser- • CJ-series Special Unit and Ether-
ies Special Unit parame- CAT slave*5*6 parameters
ters*3 and EtherCAT slave • Unit operation settings and appli-
cation data for NX Units
backup parameters*4
• Unit operation settings and
NX Unit application data on
Slave Terminals.
Do not transfer the EtherNet/IP Selected. Transferred If this check box is selected, the
connection settings (i.e., the both direc- EtherNet/IP connection settings are
tag data link settings). tions not transferred. For information on
EtherNet/IP connection settings, re-
fer to the NJ/NX-series CPU Unit
Built-in EtherNet/IP Port User’s
Manual (Cat. No. W506) or NY-
series Industrial Panel PC /
Industrial Box PC Built-in
EtherNet/IP Port User’s Manual
(Cat. No. W563).
*1. When this check box is changed from Selected to Not selected without transferring the program
source to the Controller, all data is transferred.
*2. This is displayed only for an NX102 or NX1P2 Controller.
*3. This is displayed only for an NJ-series Controller.
*4. Data is not transferred if the data in the Controller and on the Sysmac Studio are not the same.
*5. Parameters for ZW-series Displacement Sensors are not transferred regardless of whether this
check box is selected or not. To transfer parameters for a Displacement Sensor, right-click the Dis-
placement Sensor and select Online from the pop-up menu. A Synchronization Dialog Box is dis-
played. Click the Transfer from Sensor or Transfer to Sensor Button to transfer the parameters.
*6. Parameters for FQ-M-series Vision Sensors and FH-series Vision Sensors are not transferred re-
gardless of whether this check box is selected or not. When the data is uploaded, the parameters
for Vision Sensors in the project are initialized. Connect the computer and Vision Sensor via Ether-
net to transfer the parameters for a Vision Sensor. Display the Online View from the Edit Menu of
the Vision Sensor, and then click the Transfer from Sensor or Transfer to Sensor Button. For an
FQ-M-series Vision Sensor, change to Setup Mode first.
2 Select the items to transfer from the verification results in the Details Area of the Synchroniza-
tion Window.
• If the data in the computer is correct Click the Transfer To Controller Button (download).
• If the data in the Controller is correct Click the Transfer From Controller Button (upload).
The Sysmac Studio data and Controller data will be the same after the transfer.
• If the data does not match when the comparison is completed, the only action that is possible
is to write the data that is required to make the data from the Sysmac Studio match that on
the NJ/NX/NY-series Controller. If any other write functions are executed at this time, an exe-
cution error occurs (you cannot change present values).
To continue, you must first clear this state. To do so, select Release Access Right from the
Controller Menu. 7
• If a program algorithm check was performed, the check boxes for the programs for which the
algorithm check was performed are selected to transfer the data regardless of the compari-
Additional Information
• If the following are the same, the program POUs can be transferred individually.
a) Data types
b) Global variables
c) All function block POUs
d) All function POUs
e) All libraries
Verification Details
You can perform detailed verifications for POUs (i.e., ST and ladder programs, functions, and func-
tion blocks).
Click the button in the Compare Column ( ) in the Synchronization Window.
Displays differences
in the next program.
Program in Program in
Sysmac Studio Controller
The differences in the program on the Sysmac Studio are displayed with the following background
colors.
Background
Meaning
color
No change The rung or line is the same on the Sysmac Studio and the Controller.
Red The rung or line exists on both the Sysmac Studio and the Controller, but there are dif-
ferences.
Green The rung or line exists only on the Sysmac Studio.
Blue The rung or line exists only in the Controller.
Additional Information
Confirm that the system will not be adversely affected before you transfer the parameters.
Additional Information
If the data being transferred from the computer to the Controller contains any setting that pre-
vents the CPU Unit from holding device output, a confirmation message is displayed. To enable
7
the CPU Unit to hold device output in this case, cancel the transfer, change the setting that pre-
vents the CPU Unit from holding device output back to the previous setting, and execute the
Safety process data communications between an NX-series Safety Control Unit and an
EtherCAT master or NX bus master
In the combination of CPU Units with unit version 1.13 or later and Sysmac Studio version 1.17 or
higher, when all of the following conditions are met
• The synchronization check item Do not transfer the following. (All items are not transferred.) is
selected.
• Only the following items have been changed since the previous synchronization.
Item
EtherCAT Backup Parameter Settings of EtherCAT slaves
CPU/Expansion Racks Special Unit Settings of CJ-series Units
I/O Map
Event Settings
Task Settings Program Assignment Settings
POUs Programs
Functions
Function Blocks
Data Data Types
Global Variables
Libraries
EtherNet/IP Connection Settings Built-in EtherNet/IP Port Settings
DB Connection Settings
If you change an item other than the above to cause a mismatch, the CPU Unit cannot continue
safety process data communications when transferring data from the computer to the Controller.
Additional Information
If the data being transferred from the computer to the Controller contains any setting that pre-
vents safety process data communications, a confirmation message is displayed. To continue
safety process data communications in this case, cancel the transfer, change the setting that
prevents continuing safety process data communications back to the previous setting, and exe-
cute the transfer again.
If the confirmation message still appears, use the following procedure to create the project data
again before you execute the transfer.
1. Export the current project. Refer to 3-3-7 Exporting a Project File on page 3-20 for the
export procedure.
2. Leaving the current project intact, launch another copy of the Sysmac Studio, con-
nect it to the Controller, and transfer data from the Controller to the computer. Go off-
line after the data is transferred. Refer to 6-2-8 Going Online without a Project on
page 6-8 for the procedure. A new project is now created. In the next step and later,
you will perform operations on the new project.
3. Apply the changes that you made under POUs and Data in the Multiview Explorer to
the project created in step (2). Perform offline comparison with the project created in
step (2) and the file that you exported in step (1) and use the merge function to apply
Safety process data communications between Safety Control Units through EtherNet/IP net-
work 7
When the following condition is met during use of the NX102 CPU Unit or NX-CSG Communication
Control Unit, in addition to the conditions specified in Safety process data communications between
Additional Information
If a CPU Unit with more than one built-in EtherNet/IP port is used and you apply changes in the
EtherNet/IP connection settings to the Controller, changes in the EtherNet/IP connection set-
tings for all ports are transferred at the same time.
1 Go online, right-click the device icon in the Multiview Explorer, and select Property from the
menu.
2 Select the Do not transfer the comments and the programming group information to the
controller Check Box in the Property Dialog Box that is displayed and click the OK Button.
• The setting of this option cannot be changed in the synchronization option settings in the
Synchronization Window.
• This option is different from the option settings on the Tools menu in that it must be set for
each Controller in every project.
• Even in the case any comment or programming group information is not transferred, use of
this option does not affect the operation of the Controller.
Additional Information
• If you select the Do not transfer the comments and the programming group information
to the controller Check Box and transfer the data to the Controller, the comments, element
comments, and programming group information will not be restored when you upload the da-
ta from the Controller.
• You cannot set this transfer option for library projects. The Property menu command is
grayed out. The transfer of comments in a library is controlled by the settings of this transfer
option for the Controller in the project that accesses the library.
Procedure to Display the Compare and Merge with Actual Network Config-
uration Dialog Box
1 Double-click EtherCAT under Configurations and Setup in the Multiview Explorer. Or, right-
click EtherCAT under Configurations and Setup and select Edit from the menu.
The EtherCAT Tab Page is displayed in the Edit Pane.
2 Right-click the master in the EtherCAT Tab Page and select Compare and Merge with Actual
Network Configuration.
The actual network configuration is read and compared with the network configuration on the
Sysmac Studio. The results are displayed in the Compare and Merge with Actual Network
Configuration Dialog Box.
Additional Information
• You can right-click a Unit in the actual configuration in the Compare and Merge Window and
select Apply actual network configuration to use the actual network configuration informa-
tion as the configuration information in the project.
If you use this menu command, all of the variable assignments for I/O ports and I/O allocation
settings in the task settings in the project will be cleared.
• Matched, Deleted, Added, Moved, and Node/port not matched are displayed in the
Comparison results Column to give the results of comparing the network configuration on
the Sysmac Studio with the actual network configuration.
The following items are compared.
a) Node addresses
b) Vendor IDs
c) Product codes
d) Revisions
e) Connection ports
The results that are displayed in the Comparison results Column have the following mean-
ings.
Matched: All of the comparison items match for the slave.
Deleted: The slave exists only in the network configuration on the Sysmac Studio.
Added: The slave exists only in the actual network configuration.
Moved: The slave is connected in a different order.
Node/port not matched: There is a difference in the connected Unit or connected port on
the connected Unit for the slave.
• Make sure that the communications cables between the master and slaves are connected
correctly before you perform this operation. The Compare and Merge with Actual Network
Configuration Dialog Box is not displayed if the connections are not correct. Refer to the
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (Cat. No. W505) or NY-series
Industrial Panel PC / Industrial Box PC Built-in EtherCAT Port User’s Manual (Cat. No. W562)
for information on the correct connection methods.
• The Compare and Merge with Actual Network Configuration Dialog Box is not displayed if
there is a slave in the actual network configuration for which the node address is not set or if
the same address is set for more than one slave in the actual network configuration. Make
sure that node addresses are set correctly for the slaves in the actual network configuration
before you perform this operation.
• When the compare and merge operation is performed, the synchronization between the Sys-
mac Studio and the Controller is lost. Synchronize the Sysmac Studio and Controller before
you perform any online operations for the slaves. Refer to 7-5-1 Transferring/Comparing Data
to/from the Controller on page 7-120 for information on the synchronization operation.
2 Click the Edit Backup Parameter Settings Button in the Slave Parameter Settings Area on
the right of the EtherCAT configuration.
The Edit Backup Parameter Settings Tab Page for the selected slave is displayed.
4 Click the Transfer from Slave Button to transfer the backup parameter settings from the slave
to the Sysmac Studio.
Click the Transfer to Slave Button to transfer the backup parameter settings from the Sysmac
Studio to the slave.
1 Double-click the EtherCAT Coupler Unit under EtherCAT in the Multiview Explorer. Or, right-
click the EtherCAT Coupler Unit under EtherCAT and select Edit from the menu.
The Slave Terminal Tab Page is displayed in the Edit Pane.
2 Right-click in the Slave Terminal Tab Page and select Compare and Merge with Actual Unit
Configuration.
The actual Unit configuration is read and compared with the Unit configuration on the Sysmac
Studio. The results are displayed in the Compare and Merge with Actual Unit Configuration
Dialog Box.
Additional Information
Matched, Removed, Added, Disabled, Compatible, and Not compatible are displayed in the
Result column to give the results of comparing the Unit configuration on the Sysmac Studio
with the actual Unit configuration. The following items are compared.
• Model numbers
• Unit versions
The results that are displayed in the Result Column have the following meanings.
Matched: All of the comparison items match for the Unit.
Removed: The Unit exists only in the Unit configuration on the Sysmac Studio.
Added: The Unit exists only in the actual Unit configuration.
Disabled: The Unit exists only in the Unit configuration on the Sysmac Studio and it is disabled.
Compatible: A replaceable Unit whose unit version in the actual Unit configuration is later than
the unit version in the Unit configuration in the Sysmac Studio.
Not compatible: A non-replaceable Unit whose unit version in the actual Unit configuration is
earlier than the unit version in the Unit configuration in the Sysmac Studio.
1 Drag a Unit in the actual Unit configuration in the comparison results on the Compare and
Merge with Actual Unit Configuration Dialog Box to the configuration on the Sysmac Studio.
The selected Unit is inserted into the configuration on the Sysmac Studio.
2 To synchronize the entire Unit configuration, click the Apply Actual Unit Configuration But-
ton.
The Unit configuration on the Sysmac Studio will be made the same as the actual Unit configu-
ration.
If the unit version of the Unit in the actual Unit configuration is not supported by the Sysmac
Studio when you select the Apply Actual Unit Configuration Button, you can replace it with
an earlier unit version.
However, the Unit may not operate properly depending on the unit version. In such a case, you
need to update the Sysmac Studio to have the same unit version for the Unit on the Sysmac
Studio and the Unit in the actual Unit configuration.
Additional Information
If the Unit in the actual Unit configuration and the Unit in the configuration in the Sysmac Studio
1 Right-click a Unit on the Slave Terminal Tab Page and select Edit Unit Operation Settings.
7
The Unit Operation Settings Tab Page is displayed for the selected Unit.
3 To change the settings in the actual Unit to match those on the Sysmac Studio, click the
Transfer to Unit Button. To change the settings on the Sysmac Studio to those in the actual
Unit, click the Transfer from Unit Button.
The settings are transferred and the comparison results will show that they are the same.
For details on the parameters and settings for each Unit, refer to the user’s manual for the spe-
cific Unit.
If you execute Transfer to Unit, the Unit is restarted after the data is transferred. At that time,
I/O communications with the communications master will stop. What is restarted depends on
the selected Unit and the unit version of the EtherCAT Coupler Unit. Refer to the NX-series
EtherCAT Coupler Units User’s Manual (Cat. No. W519) for details.
Additional Information
Instead of going online with the Controller, you can connect directly to the EtherCAT Coupler
Unit with a USB cable to transfer and compare the Unit operation settings. Refer to A-7 Directly
Connecting to an EtherCAT Slave Terminal on page A-53 for the procedure to connect directly
to the EtherCAT Coupler Unit.
1 Double-click CPU Rack under Configurations and Setup - CPU/Expansion Racks in the
Multiview Explorer. Or, right-click CPU Rack and select Edit from the menu.
The CPU and Expansion Racks Tab Page is displayed in the Edit Pane.
2 Right-click in the CPU and Expansion Racks Tab Page and select Compare and Merge with
Actual Unit Configuration.
The actual Unit configuration is read and compared with the Unit configuration on the Sysmac
Studio. The results are displayed in the Compare and Merge with Actual Unit Configuration
Dialog Box.
Additional Information
Matched, Removed, Added, Disabled, Compatible, and Not compatible are displayed in the
Result column to give the results of comparing the Unit configuration on the Sysmac Studio
with the actual Unit configuration. The following items are compared.
• Model number
• Unit version
The results that are displayed in the Result Column have the following meanings.
Matched: All of the comparison items match for the Unit.
Removed: The Unit exists only in the Unit configuration in the Sysmac Studio.
Added: The Unit exists only in the actual Unit configuration.
Disabled: The Unit exists only in the Unit configuration in the Sysmac Studio and it is disabled.
Compatible: A replaceable unit whose unit version in the actual Unit configuration is later than
the unit version in the Unit configuration on the Sysmac Studio.
Not compatible: A non-replaceable Unit whose unit version in the actual Unit configuration is
earlier than the unit version in the Unit configuration in the Sysmac Studio.
1 In the Compare and Merge with Actual Unit Configuration Dialog Box, drag a Unit in the
actual Unit configuration in the comparison results onto the configuration in the Sysmac Studio.
The Unit is inserted into the configuration in the Sysmac Studio.
2 To synchronize the entire Unit configuration, click the Apply Actual Unit Configuration But- 7
ton.
The Unit configuration in the Sysmac Studio is now the same as the actual Unit configuration.
If the unit version of the Unit in the actual Unit configuration is not supported by the Sysmac
Studio when you select the Apply Actual Unit Configuration Button, you can replace it with
an earlier unit version.
However, the Unit may not operate properly depending on the unit version. In such a case, you
need to update the Sysmac Studio to have the same unit version for the Unit on the Sysmac
Studio and the Unit in the actual Unit configuration.
Additional Information
If the Unit in the actual Unit configuration and the Unit in the configuration in the Sysmac Studio
have the same model number, but different unit versions, you can apply the unit version in the
actual Unit configuration to the Unit configuration in the Sysmac Studio. Right-click in the
Compare and Merge with Actual Unit Configuration Dialog Box and select Apply Actual
Unit Version from the menu.
1 Right-click a Unit in the CPU and Expansion Racks Tab Page and select Edit Unit Operation
Settings.
The Unit Operation Settings Tab Page is displayed for the selected Unit.
3 To change the settings in the actual Unit to match those on the Sysmac Studio, click the
Transfer to Unit Button. To change the settings on the Sysmac Studio to those in the actual
Unit, click the Transfer from Unit Button.
The settings are transferred and the comparison results will show that they are the same.
For details on the parameters and settings for each Unit, refer to the user’s manual for the spe-
cific Unit.
If you execute Transfer to Unit, the Unit is restarted after the data is transferred. At that time,
communications between the Unit and the CPU Unit will stop.
1 Right-click a Unit in the CPU and Expansion Racks Tab Page and select Compare operation
settings of all NX Units.
The comparison results are displayed in a dialog box.
If there are any Units whose Unit settings mismatch, the unit number and model of the Units
are listed.
Additional Information
Units for which the unit mounting setting is set to Disabled are not the target of comparison.
Procedure to Display the Compare and Merge with Actual Unit Configura-
tion Dialog Box
1 Double-click CPU/Expansion Racks under Configurations and Setup in the Multiview Ex-
plorer. Or, right-click CPU/Expansion Racks under Configurations and Setup and select
Edit from the menu.
The Unit Editor is displayed in the Edit Pane.
2 Right-click anywhere in the Unit Editor where there is no Unit and select Compare and Merge
with Actual Unit Configuration.
The actual Unit configuration is read and compared with the Unit configuration on the Sysmac
Studio. The results are displayed in the Actual Unit Configuration Compare and Merge Win-
dow.
3 Click the Apply actual Unit configuration Button to synchronize with the actual configuration.
If you select to unify to the actual Unit configuration, all of the settings for any Units that are
deleted as a result will be discarded (including the input response times, Special Unit settings,
device variable assignments in the I/O map, and control task assignments in the Task setup).
If the slot position of a Basic I/O Unit is different, first correct the Unit configuration on the Sys-
mac Studio so that the slot positions agree in the comparison and then specify unifying to the
actual Unit configuration.
7
Additional Information
1 Double-click a Unit in the Unit Editor, or right-click and select Edit Special Unit Settings.
The Edit Special Unit Settings Tab Page for the selected Unit is displayed.
3 To synchronize the Controller settings with the set values in the Sysmac Studio, click the
Transfer To Controller Button. This transfers the set values from your computer to the Con-
troller.
• Confirm the axis number carefully before you perform an MC Test Run.
• An MC Test Run operation involves motor operation. Refer to the operation manual before
you execute an MC Test Run. Be particularly careful of the following points.
a) Confirm safety around all moving parts.
b) When you click the Run Button, the motor begins actual operation at the specified veloci-
ty. Only begin motor operation if you are absolutely sure there is no danger if you start the
motor.
c) Always have an external emergency stop device available.
d) Sometimes you may be unable to stop the motor from your computer. Install an external
emergency stop device so that you can stop the motor immediately if needed.
e) Only operate the motor when you can clearly confirm the motor operation so that you can
react quickly in the case of any danger that may arise due to operation of the motor.
f) Perform test run operations after establishing EtherCAT communications.
g) A communications error will occur if you attempt to begin operations without EtherCAT
communications. Always establish EtherCAT communications first.
• Precautions during MC Test Run Operation
a) During test run execution, only the Sysmac Studio has any control of the operation. Any
commands from motion control instructions are ignored.
b) Make sure that you are operating the correct axis.
• Before you start an MC Test Run, make sure that the operation parameters are set correctly.
• If you transfer the axis parameters or slave parameters to the slave during an MC Test Run
from another copy of the Sysmac Studio, the MC Test Run will end when the transfer is com-
pleted and the axes will stop. This also applies if the parameters are transferred from the
Sysmac Studio running on a different computer.
Let’s look at an example that performs jogging of MC_Axis000 to demonstrate how to do a test run.
2 Go online.
3 Right-click MC_Axis000 under Configurations and Setup − Motion Control Setup − Axis
Settings on the Multiview Explorer and select Start MC Test Run from the menu.
5 Select the target axis (MC_Axis000) at the upper left of the MC Test Run View.
7 Click the Jogging Tab, and then perform the following operations.
• Click and hold the Rotate CW Button ( ). The motor rotates clockwise as long as you hold
the button.
• Click and hold the Rotate CCW Button ( ). The motor rotates counterclockwise as long as
you hold the button.
8 Right-click MC_Axis000 under Configurations and Setup - Motion Control Setup - Axis
Settings on the Multiview Explorer and select Stop MC Test Run from the menu.
Test Run Mode is left.
Function Description
Status Displays information about the status of an axis (ready to execute, axis disabled,
stopped, in a discrete motion, in continuous motion, homing, decelerating to a
stop, decelerating to a stop due to an error, home defined, and stopped at
home).
7
Motion Error List Displays a list of errors that have occurred in the motion control functions. The
Message Details Area gives details on the error and the Countermeasure and
Pattern Description
Jogging Jogs the Servomotor. This operation is only performed while the button is clicked
and held.
Absolute positioning Performs positioning towards the target position at the specified acceleration/
deceleration rate. Specify the target position as an absolute value.
If the rotary counter mode is used for an axis in the test run, you can select the
direction of rotation for the axis.
Relative Positioning Performs positioning towards the target position at the specified acceleration/
deceleration rate. Specify the target position as a relative value from the actual
position.
Homing Performs homing based on the homing settings in the axis parameters.
You can use the following functions to switch between different motions for the axis in operation.
Function Contents
Stopping Button Decelerates the axis in operation to a stop.
Servo ON/OFF Button Toggles the Servo ON and OFF.
Servo Drive Status Displays connected Servo parameters.
1 Go online and then double-click I/O Map under Configurations and Setup in the Multiview
Explorer. Or, right-click I/O Map under Configurations and Setup and select Edit from the
menu.
3 Check the input results from external devices that are connected to input devices.
7
The values of the corresponding devices on the I/O Map are changed. Make sure that the val-
ue of the intended device is changed correctly. If the value is not changed correctly, review the
3 In the Watch Tab Page, register the variables that are assigned to output devices. Refer to
7-2-1 Monitoring on page 7-4 for details on the procedure to register variables in the Watch Tab
Page.
4 Perform operations such as Set/Reset, present value change, and forced refreshing on varia-
bles that you registered in the Watch Tab Page. Refer to 7-2-3 Changing Present Values and
Set/Reset Using Forced Refreshing on page 7-24 for the procedures to execute Set/Reset,
present value change, and forced refreshing in the Watch Tab Page.
The results of the operations that you performed are input to external devices. Make sure that
the operation results are input correctly to the intended external device. If the results are not
input correctly, review the variable assignments to the device.
5 In the Watch Tab Page, register the variables that are assigned to input devices.
6 Check the input results from external devices that are connected to input devices.
The values of variables that you registered in the Watch Tab Page are changed. Make sure
that the variable values are changed correctly. If the values are not changed correctly, review
the variable assignments to the device. Refer to 7-2-1 Monitoring on page 7-4 for details on
monitoring in the Watch Tab Page.
You also cannot reset the Controller when connected to the Simulator.
Procedure
2 Confirm that no problem will occur even if you reset the Controller, and then click the Yes But-
Additional Information 7
After a reset is performed, the Sysmac Studio goes offline.
Restart an NX Unit
1 Right-click a Unit and select Restart NX Bus/NX Unit from the menu.
A restart confirmation dialog box is displayed.
Additional Information
• If NX Units are mounted on an NX102 or NX1P2 CPU Unit, right-clicking the CPU Unit and
then selecting Restart NX Bus/NX Unit, all the NX Units mounted on the CPU Unit are re-
started.
• Refer to 8-12-4 Maintenance Operations for EtherCAT Slave Terminals on page 8-69 for de-
tails on restarting NX Units on an EtherCAT Slave Terminal.
1 Right-click a Unit and select Edit Special Unit Settings from the menu.
The Special Unit Settings Tab Page is displayed.
Additional Information
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) for details on us-
ing the restart instruction in the user program.
8-12-1 Disconnecting a Slave from and Reconnecting a Slave to the Network ....... 8-61
8-12-2 Packet Monitoring.......................................................................................... 8-63
8-12-3 Diagnostic and Statistical Information ........................................................... 8-64
8-12-4 Maintenance Operations for EtherCAT Slave Terminals ............................... 8-69
8-13 Grouping for POUs and Global Variables .................................................. 8-71
8-13-1 Displaying the Programming Group Tab Page .............................................. 8-71
8-13-2 Grouping POUs ............................................................................................. 8-72
8-13-3 Grouping Global Variables ............................................................................ 8-75
8-14 Project Shortcut View .................................................................................. 8-79
8-14-1 Displaying the Project Shortcut View ............................................................ 8-79
8-14-2 Adding User Folders...................................................................................... 8-80
8-14-3 Renaming User Folders ................................................................................ 8-81
8-14-4 Copying and Pasting User Folders................................................................ 8-81
8-14-5 Cutting User Folders ..................................................................................... 8-82
8-14-6 Deleting User Folders.................................................................................... 8-82
8-14-7 Editing Comments on User Folders .............................................................. 8-83
8-14-8 Adding Shortcuts ........................................................................................... 8-83
8-14-9 Editing Items from Shortcuts ......................................................................... 8-85
8-14-10 Copying and Pasting Shortcuts ..................................................................... 8-86
8-14-11 Cutting Shortcuts........................................................................................... 8-87
8-14-12 Deleting Shortcuts ......................................................................................... 8-87
8-14-13 Editing Comments on Shortcuts.................................................................... 8-88
8-14-14 Jumping from a Shortcut to the Multiview Explorer ....................................... 8-88
8-15 Troubleshooting ........................................................................................... 8-90
8-15-1 Troubleshooting Dialog Box........................................................................ 8-90
8-15-2 Controller Errors ............................................................................................ 8-91
8-15-3 Controller Event Log...................................................................................... 8-95
8-15-4 User-defined Errors ....................................................................................... 8-99
8-15-5 User-defined Event Log............................................................................... 8-100
8-15-6 Event Setting Table ..................................................................................... 8-101
8-15-7 Displaying and Editing the Event Setting Table........................................... 8-103
8-15-8 Event Log Viewer ........................................................................................ 8-106
8-16 Changing Variable Comments and Data Type Comments ..................... 8-109
8-16-1 Exporting Comments................................................................................... 8-109
8-16-2 Editing the Comment File ............................................................................ 8-109
8-16-3 Importing Comment Files .............................................................................8-110
8-16-4 Switching the Displayed Comments.............................................................8-111
8-17 Exporting Global Variables ....................................................................... 8-112
8-17-1 Exporting Global Variables for the Network Configurator .............................8-112
8-17-2 Exporting Global Variables for the CX-Designer ..........................................8-112
8-18 Importing ST Programs ............................................................................. 8-113
8-19 Importing IEC 61131-10 XML Files ............................................................ 8-115
8-19-1 Importing Data..............................................................................................8-115
8-19-2 Compare before Importing ...........................................................................8-116
8-20 Importing Motor Sizing Tool Results........................................................ 8-119
8-21 Updating the Configurations and Setup Transfer Data .......................... 8-121
8-22 EtherNet/IP Connection Settings .............................................................. 8-122
8-23 Sysmac Studio Option Settings................................................................ 8-123
1 Select SD Memory Card from the Controller Menu when online. The SD Memory Card Win-
dow is displayed.
Toolbar
Status Bar
Properties (Alt + Enter) Used to display the properties and change the attributes*1 of the
selected file or folder (cannot be used when no file or folder is se-
lected or when more than one file or folder is selected).
Initialize SD Memory Card*2 Formats the SD Memory Card.
(Ctrl + Alt + A)
New Folder (Ctrl + Alt + F) Creates a new folder in the current location.
Rename (F2) Changes the name of the selected file or folder (cannot be used
when no file or folder is selected or when more than one file or
folder is selected).
SD Memory Card Backup (Alt Backs up the Controller data in the SD Memory Card.
+ Shift + B) *3
Compare SD Memory Card Compares the data in a backup file in the SD Memory Card to the
Backup (Alt + Shift + C) *3 Controller data.
Exit (Alt + F4) Ends SD Memory Card operations.
Address Bar
The address bar displays the current folder on the SD Memory Card. You can also specify the fold-
er you need.
Title Description
Name File/folder name (long file names)
Size Actual file size (Kbytes)
Type Type of file registered on the computer
Date Time and date the file was modified
Attribute R: Read only
Status Bar
The status bar displays information on the files in the current folder on the SD Memory Card. The
following items are displayed.
Item Description
Status Number of objects in the file list (number of files and folders)
Note SD Memory Card is not mounted or not formatted is displayed if an SD
Memory Card is not inserted, power is not supplied to the SD Memory Card , or
the SD Memory Card is not formatted.
Volume Label The volume label of the SD Memory Card*1
Free Area The size of free area in the SD Memory Card (KB)
*1. The volume label is not displayed for an NY-series Controller.
Displaying Properties
2 Specify the copy destination, and then click the Paste Button ( ).
The selected files or folders are copied.
Copying Files and Folders from the SD Memory Card to the Computer
1 Select files or folders in the SD Memory Card Window, and then click the Copy Button ( ).
2 Specify the copy destination in Windows Explorer, and then paste the files or folders (Ctrl + v).
The selected files or folders are pasted.
Copying Files and Folders from the Computer to the SD Memory Card
2 Specify the copy destination in the SD Memory Card Window, and then click the Paste Button
( ).
The selected files or folders are pasted.
• Multibyte characters (e.g., Japanese) cannot be used in the CPU Unit even if they can be
used on the computer.
• You can create up to 511 files in the root directory.
You cannot create this many files if you use MS-DOS 8.3 file names or long file names.
1 Select Controller Clock from the Controller Menu of the Sysmac Studio.
3 To set the clock in the Controller, set the clock information for the Controller and then click the
Apply Button for the date and time. Click the Synchronize with computer Button and then
click the Apply Button to synchronize the Controller’s clock information with the computer’s
clock information.
8
Precautions for Correct Use
Withe an NY-series Controller, you cannot set the time zone and apply the clock information of
the computer to the Controller. Refer to the NY-series Industrial Panel PC / Industrial Box PC
Software User’s Manual (Cat. No. W558) for details on the clock function of the NY-series Con-
troller.
An operation authority password is required to go online. If you pass password verification, you can
perform online operations according to your operation authority.
The Administrator sets a password for each operation authority. Users are notified of the operation
authority name and password according to their skills.
Verification of operation authority is performed when you access the Controller from another com-
puter, because the Operation Authority Verification Settings are transferred to the Controller and
stored there.
8
Password Setting Ranges
Item Description
2 Select the Enable the verification of operation authority Check Box and double-click
Administrator in the Operation authority Column.
3 Enter the Administrator’s password in the New password textbox. Enter the same password in
the confirmation field, and click the OK Button.
4 Set the default operation authority to use when the password is not entered.
The operation authority that is set here is used when entering the password is omitted during
verification when going online.
6 Click the Transfer To Controller Button to write the settings into the Controller.
A dialog box for completion of setting operation authority verification is displayed.
3 Use the same procedure as for a new password to set the password in the Setting of
Operation Authority Dialog Box.
1 Select the operation authority, enter the password, and click the OK Button.
Be careful when you enter the password in the Verification Dialog Box. The Sysmac Studio is locked
for 10 minutes if you enter the wrong password 5 times.
If you select an operation that cannot be used with the current authority, the following error message is
displayed and the operation is not performed.
Go online again and change the operation authority before you perform the operation.
Operation Lock
You can set a lock on verification to prevent user operations if there are no user operations for the time
that is specified in the Setting of Operation Authority Dialog Box.
This prevents the wrong user from mistakenly performing operations. If operation is locked, you need
to perform verification again.
Operation authority must be set to use the operation lock. It cannot be used alone.
2 Select the Enable Option in the Operation Lock Area, enter the Lock time, and click the
Transfer To Controller Button.
Sysmac Studio
Transfer 8
The CPU Unit can
execute the user
User program User program
program only when
• A user program execution ID can be set only one time for a user program.
• Record the user program execution ID to ensure you do not lose it.
• We recommend that you backup the project file before you set the user program execution
ID.
1 Select Security - ID for User Program Execution from the Controller Menu.
The User Program Execution ID for Program Dialog Box is displayed.
3 Enter the same ID in the User Program Execution ID (Confirmation) field, and then click the
OK Button.
2 Synchronize (download) the user program for which the user program execution ID is set.
• Be sure to record the user program execution ID to ensure you do not lose it. You cannot
change the user program execution ID even if you lose it.
• The user program execution ID that is set for the Controller is deleted by the Clear All Memo-
ry Operation.
1 Select Security - ID for User Program Execution from the Controller Menu.
The Set User Program Execution ID for Controller Dialog Box is displayed.
3 Cycle the power supply to the Controller to enable the setting in the Controller.
When power
is turned ON
Write-protected Write-protected
2 Select the Use Option for Write protection at startup in the Security Settings Area.
1 Select Security − CPU Unit Write Protection from the Controller Menu while online.
1 Select Security − CPU Unit Write Protection from the Controller Menu while online.
Data Protection
The data protection function allows you to set passwords for individual data units to restrict display-
ing, changing, and copying them (access restrictions). You can enter the password to temporarily
clear the protection from a data unit. Data protection is set and canceled offline.
Access Restrictions
Access restric-
Operation Remarks
tion
Display prohibi- The restricted data cannot be displayed. This restriction applies to jumping from oth-
tion er windows, displaying detailed compari-
son results, viewing search results, and
printing previews. 8
Change prohibi- The restricted data cannot be changed. This restriction also applies to online edit-
tion The data can be displayed but not ing and replacement operations.
Data Remarks
Cam settings Cam profiles Only change prohibition can be set.
Programs Ladder diagrams The restrictions apply to the local variable
ST tables.
Functions Ladder diagrams
ST
Function blocks Ladder diagrams
ST
Data Remarks
Libraries Ladder functions The protection settings for objects in ac-
with source code ST functions cessed libraries cannot be changed.
Ladder function blocks
ST function blocks
1 Select the data to protect, and then select Security − Set/Release Data Protection from the
Controller Menu. Or right-click the data to protect, and select Security − Set/Release Data
Protection from the menu.
The Data Protection Setting Dialog Box is displayed.
2 Select the Use data protection Check Box and select the access restrictions. Enter the pass-
word, and then click the OK Button.
Data protection is set and the icon on the protected data changes in the Multiview Explorer.
You will not be able to temporarily clear protection or remove the protection setting if you forget
the password. Protection settings are also transferred for synchronization operations. If you for-
get the passwords for protected data that was transferred to the Controller, you will no longer be
able to display or change the protected data. Record the password in case you forget it.
1 Perform the restricted operation for the protected data. If changing the data is restricted, right-
click the data and select Security − Temporary Release of Change Prohibition from the
menu.
The Temporary Release of Data Protection Dialog Box is displayed.
2 Enter the password that was set when data protection was set.
The access restrictions are temporarily cleared.
The following table gives the lengths of time for which the access restrictions are temporarily
cleared.
Access restric-
Length of time that protection is cleared
tion
Display prohibition While the project is open
Change prohibition While the project is open
or until Finish Temporary Release of Change Prohibition is selected from the
The Sysmac Studio is locked for 10 minutes if you consecutively enter the wrong password 5
times for the same Controller. The Temporary Release of Data Protection Dialog Box is dis-
played again in 10 minutes.
The icons for protected data change as shown in the following table.
8
Data Protected
ST
ST debugging programs
Cam profiles
Even if the access restrictions to prohibit displaying data are set, the dialog box to tem-
porarily clear data protection is not displayed for detailed comparison results, printing,
or printing previews.
For detailed comparison results, clear the protection before you execute the comparison opera-
tion.
For printing and printing previews, display the data from the Multiview Explorer and temporarily
clear protection before you use printing or print previews.
1 Select the data for which to cancel protection, and then select Security − Set/Release Data
Protection from the Controller Menu. Or right-click the data for which to cancel protection,
and select Security − Set/Release Data Protection from the menu.
The Temporary Release of Data Protection Dialog Box is displayed.
3 Clear the Use data protection Check Box and click the OK Button.
Data protection is cleared and the protection icon returns to the normal icon.
The values that are displayed for memory usage are estimates. Use them as guidelines for cur-
rent memory usage.
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series
Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for the restric-
tions on the size of the user program.
8-5 Printing
This section describes printing operations.
8-5 Printing
*2. This is displayed for NJ-series and NX102 or NX1P2 CPU Units.
Additional Information
• Refer to 8-15 Troubleshooting on page 8-90 for information on printing during troubleshoot-
ing. 8
• For device-specific printing functions other than those for Controllers, refer to the manual for
the device.
You can specify settings such as whether to print a cover page and table of contents, as well as the
margins and font when printing.
Margin Button Click to set the page margins and header/footer mar-
gins.
General
Margin
8-5 Printing
Header/Footer
Set the text to print in the header and footer. For each, you can specify the text to print at the left
side, center, and right side of the page.
8
You can use the following field codes in the header and footer.
Field
Item Printing example Remarks
code
Date &d 2015/02/24 The printing date is printed.
Time &t 16:38 The printing time is printed.
Page number &# 1 ---
Total pages &o 4 ---
Printed item &l I/O Map ---
Project name &j New Project ---
Controller name &v new_Controller_0 ---
Controller model &y NJ501-1500(1.09) The model and unit version of the Con-
name troller are printed.
Field
Item Printing example Remarks
code
POU name &p Program0 This is printed only on the pages where
POUs are printed.
Section name &s Section1 This is printed only on the pages where
sections are printed.
Font
Click the Font Setting Button and set the font to use when printing in the Font Setting Dialog Box
that is displayed. You can set the font type, style, effects, and size.
8-5-3 Printing
Use the following procedure to print.
4 Select the printer to use, and then click the Print Button.
The selected items are printed.
Printing Examples:
8-5 Printing
8
2 Select the check boxes for items to display in the print preview.
Items Cleared by the Command and Their Status after Clearing Memory
Data Status after Clear All Memory operation
User program One program is assigned to the primary periodic task (task period: 4 ms). The
program will be empty.
Controller configura- The default settings are restored.
tions and setup Security information (protection, verification, etc.) is also initialized.
Var- System-defined Depends on the type of variable
iabl variables
es Device variables Clearing the variable tables deletes the device variables.
• The Clear All Memory Operation can be performed only in PROGRAM mode.
• The Clear All Memory Operation cannot be performed when write protection of the CPU Unit
is set in the Security Settings. Clear the write protection of the CPU Unit and then perform the
Clear All Memory Operation.
• When the Clear All Memory command is executed, the value of the absolute encoder home
offset is cleared.
To retain the value of the absolute encoder home offset before the Clear All Memory opera-
tion, use the Controller backup function before you execute the Clear All Memory command.
To restore the previous value of the absolute encoder home offset after the Clear All Memory
operation, restore the file that were backed up with the Controller backup function. Refer to
8-9-1 Controller Backup Functions on page 8-41 for details on the Controller backup func-
tion.
• The details of NX Unit areas initialized in the Clear All Memory operation and the state after
initialization depend on the Unit. Refer to the user’s manual for the specific NX Unit for de-
tails.
1 Go online and select Clear All Memory from the Controller Menu.
The Clear All Memory Confirmation Dialog Box is displayed.
2 Check the areas to initialize. Select the check box to clear the event logs.
1 When the Controller is connected online, right-click on the target NX Unit and select Clear All
Memory.
The Clear All Memory dialog box is displayed.
For NX Units mounted on an NX1P2 CPU Unit, Memory All Clear operation cannot be per-
formed on an individual Unit basis. Clear all memory of the CPU Unit.
8-6-3 Clear All Memory Operation for the Units in a Slave Terminal
You can initialize the data in specified Units or all of the Units on a Slave Terminal.
1 Go online, right-click a Unit on the Slave Terminal Tab Page and select Clear All Memory. To
perform the Clear All Memory Operation for all of the Units, right-click the Communications
Coupler Unit and select Clear All Memory.
The Clear All Memory Dialog Box is displayed.
2 Check the areas to be initialized and then click the Execute Button. To clear the event log, se-
lect the Clear the event logs Check Box. To perform the Clear All Memory Operation for all of
the Units, select Coupler + NX Units for the Area Selection for Coupler.
A confirmation dialog box is displayed.
• Refer to the user’s manual for details on the specific Units for the areas that are initialized
and the status after initialization before the Clear All Memory Operation is performed.
• The Units are restarted after the Clear All Memory Operation is completed. This will cause I/O
communications with the communications master to stop. What is restarted depends on what
memory is cleared and the unit version of the EtherCAT Coupler Unit. Refer to the NX-series
EtherCAT Coupler Units User’s Manual (Cat. No. W519) for details.
8
3 Click the OK Button.
Dialog Box
The Production Information Dialog Box has the outline view and the detail view.
Click the Show Outline Button or the Show Detail Button to change between the outline and detail
views.
Output File
You can save production information to a file.
1 Click the Output file Button in the Production Information Dialog Box.
The Save File Dialog Box is displayed.
NX/NY-series Controllers
Use the following procedure to display the production information on the CPU Unit or Industrial PC. If
NX Units are mounted on it, the production information on the NX Units is displayed. For the NX1P2
CPU Unit, the production information on Option Boards is also displayed.
Display Method
1 Right-click CPU Rack under CPU/Expansion Racks in the Multiview Explorer and select
Display Production Information.
The Production Information Dialog Box is displayed.
Displayed Items
The following items are displayed.
Refer to the manual for the specific Unit for details on the displayed items.
NJ-series Controllers
Use the following procedure to display the production information on the CPU Unit and CJ-series Spe-
cial Units.
Display Method
1 Double-click CPU/Expansion Racks under Configurations and Setup in the Multiview Ex- 8
plorer. Or, right-click CPU/Expansion Racks under Configurations and Setup and select
Edit from the menu.
2 Right-click any location where there is no Unit in the Unit Editor and select Production
Information.
The Production Information Dialog Box is displayed.
Displayed Items
The following items are displayed.
Refer to the manual for the specific Unit for details on the displayed items.
Display Method
1 Double-click EtherCAT under Configurations and Setup in the Multiview Explorer. Or, right-
click EtherCAT under Configurations and Setup and select Edit from the menu.
The EtherCAT Tab Page is displayed in the Edit Pane.
2 Right-click the master in the EtherCAT Tab Page and select Display Production Information.
The Production Information Dialog Box is displayed.
Displayed Items
The following items are displayed.
• Model number and revision
• Serial number
• Hardware version
• Software version
Refer to the manual for the specific slave for details on the displayed items.
Display Method
1 Double-click the EtherCAT Coupler Unit under EtherCAT in the Multiview Explorer. Or, right-
click the EtherCAT Coupler Unit under EtherCAT and select Edit from the menu.
The Slave Terminal Tab Page is displayed in the Edit Pane.
2 Right-click in the Slave Terminal Tab Page and select Display Production Information from
the menu.
The Production Information Dialog Box is displayed.
Displayed Items
The following items are displayed.
• Model number and Unit version
• Lot number
• Serial number
• Hardware version
• Software version
• Total power-ON time
Refer to the manual for the specific Unit for details on the displayed items.
Function Description
Controller backup functions*1 You can back up, restore, or compare all of the data in the
Controller.
SD Memory Card backup functions*1 You can back up all of the data in the Controller to an SD
Memory Card mounted on an NJ/NX-series Controller or to
a Virtual SD Memory Card in an NY-series Controller, and
compare the data.
Variable and memory backup functions*2 You can back up and restore the contents of retained mem-
ory locations in the Controller.
Importing and exporting backup files You can import backup files from Controller backups or SD
Memory Card backups to projects on the Sysmac Studio or
export data from projects on the Sysmac Studio to backup
files.
*1. A CPU Unit with unit version 1.03 or later and Sysmac Studio version 1.04 or higher are required.
*2. The data that is backed up for variable and memory backup is included in the data that is backed up for
Controller backups.
Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial
Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for details on the backup func-
tions, the applicable models for the backup functions, and the data that is backed up and restored.
CAUTION
Always confirm safety at the destination node before you transfer a user program,
configuration data, setup data, device variables, or values in memory used for CJ-ser-
ies Units from the Sysmac Studio.
The devices or machines may perform unexpected operation regardless of the operat-
ing mode of the CPU Unit.
• The absolute encoder home offsets are stored in the Controller and backed up by a Battery
as absolute encoder information. If any of the following conditions is met, clear the absolute
encoder home offsets from the list of data items to restore, and then restore the data.
Then, define home again. If you do not define home, unintended operation of the controlled
system may occur.
a) The Servomotor or Servo Drive was changed since the data was backed up.
b) The absolute encoder was set up after the data was backed up.
c) The absolute data for the absolute encoder was lost.
• When you restore only part of the data that was backed up, confirm that no problems will oc-
cur if you do not restore all of the backup data. Otherwise, malfunction of the device may oc-
cur.
• If inappropriate backup data is set when you restore backup data to a Unit, unexpected ma-
chine operation may result. Confirm that the machine will not be adversely affected before
you transfer the data.
• The performance may be different if the hardware revisions are different. Before you transfer
the user program, data, and parameter settings to the CPU Units with the different hardware
revisions, check them for proper execution and then use them for actual operation.
Backing Up Data
1 Connect the Sysmac Studio to the Controller to back up, and then select Backup − Backup
Controller from the Tools Menu.
A dialog box is displayed for you to specify the folder in which to save the backup file.
3 Select the data to back up, and then click the Execute Button.
The backup is started.
When the backup is completed, a Verification Confirmation Dialog Box is displayed.
If you click the Yes Button, a dialog box is displayed to confirm the data to compare.
Refer to Verifying Data, below, for the verification procedure.
Additional Information
• The backup file name is automatically determined for the Controller for which the data is
backed up. You cannot change the file name.
• Backup files are not compatible between different series of Controllers.
Restoring Data
Before you restore data, change the operating mode of the Controller to PROGRAM mode.
1 Connect the Sysmac Studio to the Controller to restore, and then select Backup − Restore
Controller from the Tools Menu.
A dialog box is displayed to select the folder in which the backup file is saved to restore the
data.
• If the model number or unit version of the CPU Unit of the Controller is not the same as those
of the Controller from which the backup file was created, a confirmation dialog box is dis-
played. Confirm that the Controller is the correct one before you restore the data.
• If restoring the data results in changing the IP address of the EtherNet/IP port, communica-
tions may be disconnected. Confirm that the system will not be adversely affected even if the
IP address changes before you restore the data.
If the Sysmac Studio is connected to a Controller with unit version 1.14 or later, you can re-
move the IP address settings for the built-in EtherNet/IP port from the restore target data. To
do so, clear the IP address in Built-in EtherNet/IP Port Settings Check Box under Target
Data. Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-
series Industrial Panel PC / Industrial Box PC Software User’s Manual (Cat. No. W558) for
details.
• You cannot cancel the operation after you have started to restore the data.
Verifying Data
1 Connect the Sysmac Studio to the Controller for which to compare the data, and then select
Backup − Compare with Backup File from the Tools Menu.
A dialog box is displayed to select the folder in which the backup file is saved to compare the
data.
3 Select the data to compare, and then click the Execute Button.
The comparison is started.
The comparison results are displayed in the Output Tab Page after the comparison is complet-
ed.
Backing Up Data
1 In the SD Memory Card Window, display the folder in which to create the backup file and then
You cannot backup data when data is already being backed up, restored, or compared for the
same Controller. An error message is displayed and the process is not performed.
Additional Information
The backup file name is automatically determined for the Controller for which the data is backed
up. You cannot change the file name.
Verifying Data
1 In the SD Memory Card Window, display the file that contains the data to compare and then
• Store and manage the variable/memory backup file and the project file used to create it as a
set.
• You can also use the variable/memory backup file to restore memory from a copy of the
project file used to create it, or even if the name of the project file is changed.
• If you change a variable, delete a variable, or otherwise edit a backed up variable in the
project file used to create the backup, that variable is not restored to memory. The informa-
tion on variables or memory that was not restored is recorded as errors.
Additional Information
If you add members of structure variables and transfer them to a CPU Unit with unit version
1.10 or earlier, the present values of existing members of structure variables are initialized.
You can restore the present values of the members by backing up the present values of the
structure variables with a Retain attribute before you download the new members, and then se-
lecting the structure variables to restore afterward and restoring the present values. Select the
Present value of Retain attribute variables Check Box.
For CPU Units with unit version 1.11 or later, the present values of existing members of struc-
ture variables are retained. For details on the retention operation for present values, refer to the
NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial Panel
PC / Industrial Box PC Software User’s Manual (Cat. No. W558).
Backup Data
You can back up or restore following retained memory.
Backing Up Data
Procedure
1 Select Backup − Backup Variables and Memory from the Tools Menu on the Sysmac Stu-
dio.
2 Select the check boxes for the memory items to back up.
3 Click the View File Selection Dialog Button ( ). The Save As Dialog Box is displayed.
Specify the file path name and file name.
If you select the Present value of Retain attribute variables Check Box as a backup target,
you can select the target variables using the Select Variables Button. Refer to Selecting the
Retained Variables to Back Up on page 8-51 for details.
And if you select only the Present value of Retain attribute variables Check Box, besides
XML, you can select CSV as a file format.
You can change the values of the retained variable by editing the saved CSV file. Refer to Edit-
ing the Values of the Retained Variables That Were Backed Up on page 8-52 for details.
Additional Information
• To back up the data, the contents of the NJ/NX/NY-series Controller and the project must
match. If it does not match, stop the backup and synchronize the data to make it match.
• With Sysmac Studio version 1.05 or higher, you can start a backup when changes are added
after unifying the data by executing synchronization.
• With the following conditions, only the present value of a member with the largest data size
can be the union backup data.
a) Sysmac Studio version 1.25 or higher
b) Comparison results between contents of the projects in the Sysmac Studio and the
NJ/NX/NY-series Controller match.
Restoring Data
Restore Procedure
1 Select Backup − Restore Variables and Memory from the Tools Menu on the Sysmac Stu-
dio.
3 Click the View File Selection Dialog Button ( ). The File Selection Dialog Box is dis-
played. Specify the file path.
4 To select the retained variables for which to restore the present values, click the Select
Variables Button.
A list of retained variables is displayed in the Select Variables Dialog Box.
(d)
(e) (f)
Item Description
(a) Program The group to which the retained variables that are read from the backup file belong
(global variable table or programs) is displayed. These fields will be empty if the
programs were deleted from the project or the program names were changed since
the data was backed up.
(b) Name The names of the retained variables read from the backup file are displayed.
(c) Data type The data types of the retained variables in the backup file are displayed. Derivative
is displayed for array and structure variables.
(d) Check boxes Select the check boxes for the retained variables to restore.
(e) Select All The check boxes for all variables are selected.
(f) Clear All All of the selections are cleared.
If the restore operation fails, the data names of the data that was not restored are shown in the
Failed Item List Text Box.
Additional Information
• To restore the backup, the contents of the NJ/NX/NY-series Controller and the project must
match. If it does not match, stop the restore process and synchronize the data to make it
match.
• With Sysmac Studio version 1.05 or higher, you can execute a restore operation when
changes are added after unifying the data by executing synchronization.
• In Sysmac Studio version 1.17 or higher, the following restrictions apply to mutual use of data
between the Backup Variables and Memory and Transfer All Variable Present Values func-
tions.
a) Although the Transfer All Variable Present Values function outputs the values of all varia-
bles to a file, the Restore Variables and Memory function targets only the values of re-
tained variables.
1 Select the Present value of Retain attribute variables Check Box in the Backup Dialog Box.
The Select Variables Button is enabled.
(d)
(e) (f)
Item Description
(a) Program The group to which the retained variable belongs (global variable table or pro-
grams) is displayed.
(b) Name The names of the retained variables in the project are displayed.
(c) Data type The data types of the retained variables are displayed. Derivative is displayed for
array and structure variables.
(d) Check boxes Select the check boxes for the retained variables to back up.
(e) Select All The check boxes for all variables are selected.
(f) Clear All All of the selections are cleared.
3 Select the variables to back up, and then click the OK Button.
(a)
(b)
(c)
(d)
(e)
(f)
(h)
(g)
• Do not change anything other than the values of the variables. If you change anything else, it
may not be possible to restore the data.
• Enter the values of the variables within the predefined range and format for each data type. If
you enter any values incorrectly, you cannot restore the data. Refer to the NJ/NX-series CPU
Unit Software User's Manual (Cat. No. W501) or NY-series Industrial Panel PC / Industrial
Box PC Software User’s Manual (Cat. No. W558) for information on the ranges and formats
of the data types.
• Observe the following precaution if you change the values of TIME_OF_DAY variables in Ex-
cel.
The values of TIME_OF_DAY variables are saved in the following format in CSV files:
hh:mm:ss.tt (Where, hh: hours, mm: minutes, ss: seconds, and tt: milliseconds)
If you open a CSV file in Excel, the values of TIME_OF_DAY variables are displayed in the
following format:
mm:ss (Where, mm: minutes and ss: seconds)
If you save the file in this state, you will lose the data for hours and milliseconds, and an error
will occur for the TIME_OF_DAY variable when you restore the data. To prevent this, change
the display format for the values of TIME_OF_DAY variables to hh:mm:ss.tt before you save
the file.
In Sysmac Studio version 1.16 or lower, you can use only CSV files to restore data to different
Controller models. You cannot use XML files.
2 Select the folder that contains the backup file, and then click the OK Button.
The current project is closed and the data in the backup file is imported into a new project.
1 Open the project from which to export the backup file and select Backup − Export Backup
File from the Tools Menu.
The Browse for Folder Dialog Box is displayed.
2 Select the folder in which to save the file and click the OK Button.
The Export Setting Dialog Box is displayed.
Always confirm that the required data is included before you use a backup file that was export-
ed from a project to restore data to a Controller.
1 Place the target Controller online and select Controller − Transfer − To Controller from the
(a)
(b)
(c) (d)
Item Description
(a) Target data Displays the data to transfer.
(b) Options Select the transfer options. The options are the same as for the synchronization
operation. Refer to Uploading and Downloading Data on page 7-125 for details.
(c) Execute Button Starts transferring data to the Controller.
(d) Close Button Closes the Transfer to Controller Dialog Box.
1 Place the target Controller online and select Controller − Transfer − From Controller from
(a)
(b)
(c) (d)
Item Description
Calibrating NX Units
You can correct the characteristics of NX Analog I/O Units that will change over the years.
1 Go online, right-click an Analog Input Unit or Analog Output Unit in the CPU and Expansion
Racks Tab Page or Slave Terminal Tab Page, and select User Calibration from the menu.
The User Calibration dialog box is displayed.
2 Set the channel and calibration values and click the Write Button.
A confirmation dialog box is displayed. Click the Yes Button to write the calibration values.
Refer to the user’s manual for the specific Analog Input Unit or Analog Output Unit for details
on the setting values and operation of user calibration.
1 Right-click the slave in the EtherCAT Tab Page and select Disconnect/Connect Slave.
work
8-12-1 Disconnecting a Slave from and Reconnecting a Slave to the Net-
2 Click the Disconnect Target Slave and All Downward Slaves Button.
The selected slave and following slaves are disconnected.
The following confirmation dialog box is displayed if disconnection failed.
Additional Information
If you select a slave that has more than one output port and click the Disconnect Target Slave
and All Downward Slaves Button, all of the slaves that are connected after all of the output
ports will be disconnected.
You can remove the communications cables from the disconnected slaves.
Disconnecting a slave affects not only the selected slave but all of the slaves connected after
the output ports on the selected slave. When you disconnect slaves, all I/O refreshing for proc-
ess data communications for the slaves is stopped. Always confirm safety before you discon-
nect a slave.
1 Right-click the slave in the EtherCAT Tab Page and select Disconnect/Connect Slave.
Note 1. Select the Connect All Disconnected Slaves Button to reconnect all slaves that are currently
disconnected and to restart I/O refreshing through process data communications.
Note 2. Select Connect target slave and the downward slaves to reconnect the specified slave and
all slaves that are connected after its OUT port. I/O refreshing with process data communica-
tions is restarted.
Additional Information
When the EtherCAT configurations are synchronized, the status of the slaves are displayed in
the EtherCAT Tab Page with the following icons. These icons are not displayed if synchroniza-
tion is lost.
Icon Meaning
The slave exists on the actual network.
The slave is not connected and does not exist (i.e., is not connected) in the actual network.
(This icon could also indicate a slave that was connected in the location of a disconnected
slave without the node address set.)
Version Information
8
Packet monitoring can be used for a CPU Unit with unit version earlier than 1.40.
Procedure
1 Right-click the master in the EtherCAT Tab Page and select Display Packet Monitor.
The Packet Monitor Dialog Box is displayed.
4 Click the Save Packet Data Button to save the results of the monitoring.
The Save File Dialog Box is displayed.
1 Right-click the master in the EtherCAT Tab Page and select Display Diagnosis/Statistics
Information.
The Diagnosis/Statistics Information Tab Page is displayed.
(a) (b)
(c)
(d)
(e) (f)
Item Description
(a) Display data (Get Displays the list of dates and times at which you acquired the diagnostic
date) list and statistical information by clicking the Get Button. If you select a date
and time from the list, the display of the diagnostic and statistical infor-
mation for both master and slave are changed to the data for the select-
ed date and time.
(b) Get Button Acquires the master and slave diagnostic and statistical information from
the actual network configuration. The date and time of information ac-
2 Click the Get Button when you want to acquire diagnostic and statistical information.
The display of the master and slave diagnostic and statistical information is updated and the
date and time of acquisition is added to the Display data (Get date) list.
To display the master and slave diagnostic and statistical information that was already ac-
quired, select the date and time of acquisition from the Display data (Get date) list.
3 To save the master and slave diagnostic and statistical information, click the Output File But-
ton.
The file format selection dialog box is displayed.
4 Select the file format for saving data, enter any comment, and click the Next Button.
The Save File Dialog Box is displayed.
• The data of diagnostic and statistical information acquired with the Get Button are retained
only while the Diagnosis/Statistics Information Tab Page is displayed. When the
Diagnosis/Statistics Information Tab Page is closed, all data are discarded. Save the diag-
nostic and statistical information into a file as needed before you close the Diagnosis/
Statistics Information Tab Page.
• The maximum number of diagnostic and statistical information data items you can retain
while the Diagnosis/Statistics Information Tab Page is displayed is 100. To acquire more
data after the maximum number of retained data items is reached, close the Diagnosis/
Statistics Information Tab Page to discard the retained data, and then open the tab page
again to acquire new data.
• You cannot acquire the slave diagnostic and statistical information when the diagnosis/statis-
tics log of the Controller is in progress. To acquire the slave diagnostic and statistical informa-
tion, finish the diagnosis/statistics log, and then click the Get Button again. When the diagno-
sis/statistics log of the Controller is in progress, Auto logging is displayed in the Error
Frames Column in the slave diagnostic and statistical information table. Refer to the NJ/NX-
series CPU Unit Built-in EtherCAT Port User’s Manual (Cat. No. W505) or NY-series
Industrial Panel PC / Industrial Box PC Built-in EtherCAT Port User’s Manual (Cat. No. W562)
for details on the diagnosis/statistics log.
(a)
(b)
(c)
Item Description
(a) Master Diagnostic and Statistical In- Displays the master diagnostic and statistical information.
formation list
(b) Clear Master Diagnosis/Statistics Clears the diagnostic and statistical information saved in the
Information Button master.
(c) Show all items Check Box Select this check box to display all items of the master diag-
nostic and statistics information.
If the master diagnostic and statistical information is cleared, the display of the master diagnostic
and statistical information in the Diagnosis/Statistics Information Tab Page is cleared to zeros.
Also, the slave diagnostic and statistical information is acquired automatically and the display of the
Diagnosis/Statistics Information Tab Page is updated.
(a) (b)
Item Description
(a) EtherCAT Configuration dis- The EtherCAT Configuration of the project is displayed.
play An error icon that indicates the occurrence of an error is displayed for
the master or the slave where an error occurred. Place the mouse
over the error icon, and the current event is displayed in a tooltip.
(b) Slave Diagnostic and Statisti- Displays the slave diagnostic and statistical information.
8
cal Information list
(c) Clear Slave Diagnosis/ Clears the diagnostic and statistical information saved in the slave.
If the slave diagnostic and statistical information is cleared, the display of the slave diagnostic and
statistical information in the Diagnosis/Statistics Information Tab Page is cleared to zeros. Also,
the master diagnostic and statistical information is acquired automatically and the display of the
Diagnosis/Statistics Information Tab Page is updated.
• When the maximum number of acquired diagnostic and statistical information is reached, you
need to discard the acquired data to clear the diagnostic and statistical information. If you
need to save the data, output the file before you execute the clear command.
• You cannot clear the slave diagnostic and statistical information when the diagnosis/statistics
log of the Controller is in progress. Finish the diagnosis/statistics log, and then execute the
clear operation for the slave diagnostic and statistical information again. When the diagnosis/
statistics log of the Controller is in progress, Auto logging is displayed in the Error Frames
Column in the slave diagnostic and statistical information table.
• When you display the slave diagnostic and statistical information, make sure that the actual
EtherCAT network configuration agrees with the network configuration in the project. If the
network configurations do not agree, the slave diagnostic and statistical information display
will not be correct. If you execute the clear command for the slave diagnostic and statistical
information when the network configurations do not agree, the information may not be
cleared properly.
1 Select Tools - EtherCAT Diagnosis/Statistics Information Viewer from the main menu.
The diagnostic and statistical information file selection dialog box is displayed.
2 Select the target diagnostic and statistical information file, and then click the Open Button.
The EtherCAT Diagnosis/Statistics Information Viewer Dialog Box starts, and the selected
diagnostic and statistical information is displayed.
The displayed contents are the same as those displayed in the Diagnosis/Statistics Information
Tab Page.
Additional Information
• Data can be saved into a file from the EtherCAT Diagnosis/Statistics Information Viewer
Dialog Box in CSV format only.
• The following buttons are grayed out.
Get, Clear Master Diagnosis/Statistics Information, and Clear Slave Diagnosis/Statistics
Information
1 Click the Properties Button in the EtherCAT Diagnosis/Statistics Information Viewer Dialog
Box.
The Properties Dialog Box is displayed.
1 To restart all of the Units in the Slave Terminal, go online, right-click the Communications Cou-
pler Unit on the Slave Terminal Tab Page, and select Restart. To restart individual Units in the
Slave Terminal, go online, right-click the Unit to restart on the Slave Terminal Tab Page, and
select Restart.
The Restart Confirmation Dialog Box is displayed.
Example: When Restarting All of the Units in a Slave Terminal
Additional Information
A Communications Coupler Unit with unit version 1.2 or later is required to restart individual
Units.
NX Unit Calibration
Calibration can be performed to compensate for temporal changes in the characteristics of Analog
I/O Units.
Go online, right-click an Analog Input Unit or Analog Output Unit and select User Calibration.
Refer to 8-11 NX Unit Maintenance on page 8-60 for details.
To perform I/O wiring checks for Slave Terminals that are not connected to the Controller, connect
the Sysmac Studio directly to the Slave Terminal. Refer to A-7 Directly Connecting to an EtherCAT
Slave Terminal on page A-53 for details.
1 Select Programming Group Tab Page from View in the Main Menu.
Additional Information
After you perform any of the following operations, click the Update Button on the Programming
Group tab page to update the display.
• Adding a new group in the global variable table
• Switching a device
• Deleting a POU that is registered in a group
The Programming Group tab page can be used only in a standard project.
1 Right-click in the Programming Group tab page and select New group and add POUs.
3 Select the POUs you want to group, and then click the OK Button.
1 Right-click an existing group to rename and select Rename from the menu.
Ungrouping
1 Right-click an existing group to ungroup and select Ungroup from the menu.
The specified group is deleted from the Programming Group tab page.
1 Right-click the POU to remove from the group and select Remove from the group from the
menu.
8
Creating a New Group and Adding Global Variables
2 Right-click the header on the row of the global variable to select Add to new group under
Group Settings.
The message is displayed to notify that creation of the group and addition of the variables have
been completed.
Additional Information
After you create a new group, click the Update Button on the Programming Group tab page to
display the created group on the tab page.
1 Right-click the header on the row of a global variable you want to add, and then select Add to
existing group under Group Settings.
Click again the Group Filter Button to clear the group filter.
Once you clear the group filter, all global variables are displayed.
1 Right-click the header on the row of the global variable to remove, and then select Remove
from the group under Group Settings.
A confirmation dialog box for removing global variables from the group is displayed.
(a)
(c) 8
(d)
Series
(a) Configurations and Setup items
(b) Programming items
(c) Shortcut Root Folder
(d) User folder
(e) Shortcuts for Configurations and Setup items or Programming items
Additional Information
• If the project contains any of the following devices, the Project Shortcut View is displayed in
the default position. If the project contains none of the following devices, the Project
Shortcut View is not displayed.
a) Robot Integrated CPU Unit
b) Application Manager
• When the Sysmac Studio has gone online with the Controller without a project open, Project
Shortcut View is not displayed.
1 Right-click the user folder to rename and select Rename Folder from the menu.
2 You can now rename the user folder in the Edit Pane.
2 Right-click the copy destination folder and select Paste Folder or Shortcut from the menu.
Under the Shortcut Root Folder, or the selected user folder, the copied folder is pasted.
Additional Information
Refer to 8-14-4 Copying and Pasting User Folders on page 8-81 for how to add a user folder by copy-
ing it.
Additional Information
1 Right-click the user folder to delete and select Delete Folder from the menu.
Additional Information
1 Right-click the user folder, Configurations and Setup item, or Programming item on which to
enter a comment and select Edit Comment.
A dialog box is displayed for you to enter a comment.
1 Select the Configurations and Setup item or Programming item to jump to from a shortcut.
2 Right-click the user folder in which to add a shortcut and select Add Shortcut of Selected
Item from the menu.
It is displayed with an icon for the created Configurations and Setup item or Programming item
( ).
2 Right-click the Configurations and Setup item or Programming item for which to create a short-
cut and select Add Shortcut.
1 Right-click the shortcut to copy and select Copy Shortcut from the menu.
2 Right-click the copy destination folder and select Paste Folder or Shortcut from the menu.
Under the Shortcut Root Folder, or the selected user folder, the copied shortcut is pasted.
Additional Information
Refer to 8-14-11 Cutting Shortcuts on page 8-87 for how to add a shortcut by copying it.
Additional Information
Additional Information
1 Right-click the shortcut on which to enter a comment and select Edit Comment from the
menu.
2 Enter a comment.
The focus moves to the Configurations and Setup item or Programming item for the selected shortcut.
8-15 Troubleshooting
Overview of Troubleshooting
Troubleshooting is used to check the errors that occurred in the Controller, display corrections for
the errors, and clear the errors.
1 Select Troubleshooting from the Tools Menu while online. You can also click the
Troubleshooting Button in the toolbar.
The following Troubleshooting Dialog Box is displayed.
8-15 Troubleshooting
Item Description Remarks
Select the Display Target Selects the items to display for errors.
Level Displays the level of the error. When a Controller error is displayed,
this shows whether it is a major fault, a
partial fault, or a minor fault.
Observations and information events
can be checked in the Controller log.
Source Displays the location of the error.
8
Source Details
8-15 Troubleshooting
EtherCAT Communications port The error occurred in communications on the built-in
EtherCAT port on the Controller.
Master The error occurred in the master for the built-in
EtherCAT port on the Controller.
Node No. The error occurred in a slave connected to the built-
in EtherCAT port on the Controller.
NX Unit The error occurred in a Unit on a Slave Terminal
connected to the built-in EtherCAT port on the Con-
troller.
8
Motion Control Common items The error occurred in the Axis Common section of
Procedure
Changing to the Correction Display
1 Check the Details and Attached Information Areas to check the details and cause of an error.
2 Check the method to correct the error in the Action and correction Area.
3 Select the correction to make. If there is more than one correction, select one correction to ac-
tually perform.
If you select a correction that allows you to jump to the Correction View, the Jump to Error
Button is enabled.
Click Source.
8-15 Troubleshooting
8-15-3 Controller Event Log
You can display a log of Controller events (including Controller errors and Controller information).
(The logs in EtherCAT slaves are not displayed.)
The Controller event logs display information on events that have occurred. The information
that is displayed in the logs may not reflect the current status of the Controller or programs. Use
this information as reference only.
Additional Information
• To find out the timing of events that do not have time information in the NX Unit, select the NX
Unit in the Select the Display Target Area and check the order of occurrence of the events
with the numerical order of the entries.
• You can check the location of the event on the configuration of the EtherCAT network by
right-clicking in the Controller Event Log Tab Page and selecting Display EtherCAT
Configuration Information (Event Log) from the pop-up menu. For details, refer to the
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (Cat. No. W505) or NY-series
Industrial Panel PC / Industrial Box PC Built-in EtherCAT Port User’s Manual (Cat. No.
W562).
8-15 Troubleshooting
Controller Access Event C_[nnnn]A [nnnn]: Serial number C_0001A
Log
System Event Log for NX U[aaa]_[nnnn]S [aaa]: Unit number U063_0001S
Unit on CPU Rack [nnnn]: Serial number
Access Event Log for NX U[aaa]_[nnnn]A [aaa]: Unit number U063_0001A
Unit on CPU Rack [nnnn]: Serial number
CJ-series Unit Log R[aa]_SI[bb]_[nnnn]S [aa]: Rack number R01_SI02_0001S
[bb]: Slot number 8
[nnnn]: Serial number
EtherCAT Slave Log N[aaa]_[nnnn]S [aaa]: Node No. N001_0001S
1 Right-click the mouse over the target event log row, and select Show only ones newer than
the selected or Show only ones older than the selected.
Only the event logs with the dates corresponding to the selected menu option will be displayed.
2 Right-click the mouse over the event log row with the date to be used for specifying the range,
and select Show only ones newer than the selected or Show only ones older than the
selected.
According to the selected menu option, the display range of event logs will be narrowed down.
Repeat this to further narrow down the range of dates of event logs to be displayed.
3 To clear the narrowed-down results, right-click the mouse and select Clear the filter for 'Time'.
2 Select the file format for saving data, enter any comment, and click the Next Button.
The Save File Dialog Box is displayed.
The saved CSV file of the Controller event log is encoded in UTF-8 character codes.
8-15 Troubleshooting
Information Displayed for User-defined Errors and Functions
Item Description Remarks
Level Displays the event level categorized by You can change the name of the event
the event code. level in the Event Setting Table.
Group Displays the group registered in the
Event Setting Table.
Event Code Displays the event code. 8
Event Name Displays the event title registered in
the Event Setting Table.
Additional Information
Only the contents registered in the Language 1 Event Setting Table is shown in the User-de-
fined Error Tab Page. The contents registered for Languages 2 to 9 are not displayed.
The saved CSV file of the user-defined event log is encoded in UTF-8 character codes.
8-15 Troubleshooting
and the Create User-defined Information (SetInfo) instruction.
• You can register the items that are described below (event name, level, group, and details) for each
event code.
• You can register up to 5,120 events in the Event Setting Table.
• You can copy data created in Excel and paste it into the Event Setting Table.
• You can also directly edit the Event Setting Table.
8
Event Name
Register the title of each user-defined event.
Level
The level of user-defined event is automatically determined according to the event code as shown
in the following table.
The name of the level is registered according to the level.
Lev-
Event code Default title setting Remarks
el
1 to 5000 High User fault level 1 These event codes are used in the Create User-
5001 to 10000 ↑ User fault level 2 defined Error (SetAlarm) instruction.
10001 to 15000 ↑ User fault level 3
15001 to 20000 ↑ User fault level 4
20001 to 25000 ↑ User fault level 5
25001 to 30000 ↑ User fault level 6
30001 to 35000 ↑ User fault level 7
35001 to 40000 ↑ User fault level 8
40001 to 60000 Low User-defined Informa- These event codes are used in the Create User-
tion defined Information (SetInfo) instruction.
If the level name is not registered, “User Fault Level 1” to “User Fault Level 8” or “User-defined In-
formation” is displayed.
Group
Register the group names to indicate the location and type of each user-defined event.
Details
Register a detailed description of the user-defined event.
The contents registered in the Event Setting Table and the contents displayed in the Troubleshoot-
ing Dialog Box and on an HMI have the following relationship.
Parameters in the Event Setting Table
If you use more than one label on the NS-series PT, create more than one language table in the
Event Setting Table.
You can edit up to nine languages in the Event Setting Table.
8-15 Troubleshooting
8-15-7 Displaying and Editing the Event Setting Table
This section provides the procedures for displaying and editing the Event Setting Table.
A B C D E
1 Event Code Event Name Event Level Group Details
2 1 Error User fault Level 1 No.1 The in-furnace temperature is an expected value. Please urgent stop.
2 Right-click the part to copy and select Copy from the menu.
A B C D E
1 Event Code Event Name Event Level Group Details
2 1 Error User fault Level 1 No.1 The in-furnace temperature is an expected value. Please urgent stop.
3 Right-click the Event Settings Table and select Paste to paste the data.
A B C D E
8-15 Troubleshooting
1 Event Code Event Name Event Level Group Details
2 1 Error User fault Level 1 No.1 The in-furnace temperature is an expected value. Please urgent stop.
3 Use the same method as in Copying from Microsoft Excel to the Event Settings Table,
above.
Select and copy the target data that was created in Excel.
4 Right-click the Event Settings Table and select Paste to paste the data.
Additional Information
Multiple language tables in an Event Setting Table are used to add display contents for the
event registered for Language 1. You cannot use Language 2 to Language 9 to create more
events. (You cannot change the event code field.)
To add an event, set the event for Language 1 in an Event Setting Table.
Example: When Editing the Event Settings Table for Language 2 to Language 9
The contents registered for Language 1 is displayed.
2 Select the target controller event log file, and then click the Open Button.
The Event Log Viewer Dialog Box starts, and the selected controller event logs are displayed.
The displayed contents are the same as those of the controller event logs displayed in the
Troubleshooting Dialog Box.
Additional Information
8-15 Troubleshooting
• Data can be saved into a file from the Event Log Viewer Dialog Box in CSV format only.
• The Update Button and the Clear Button are grayed out.
The controller information and comments when the controller event logs were obtained are dis-
played in the Properties Tab.
8-16-1
1 Select the Controller from which to export the comments, and then select Comments for
Variables and Data Types (For switching) - Export from the Tools Menu.
The Properties are displayed.
2 Enter the file name, and then click the Save Button.
The comments are saved in a CSV file. 8
Additional Information
2 Enter the comment to switch to in the Comment 2 column. If the cell for comment 2 is left emp-
ty, the comment will be blank.
• Only array elements for which comments are registered are exported. Elements that have no
comments are not exported to the CSV file. To add or correct a comment of an element, ex-
port/import variable comments. Refer to Exporting/Importing Variable Comments on page
4-46 for details.
• Do not change the names of the items in the exported file. If you change these, you will not
be able to import the file.
1 Select the Controller to which to import the comments, and then select Comments for
Variables and Data Types (For switching) - Import from the Tools Menu.
2 Select the CSV file to import, and then click the Open Button.
A dialog box is displayed to confirm the import operation.
Click the OK Button. The comments are imported and the comments in the project are re-
placed with the comments in the CSV file.
If an error occurs while importing the comments, it is displayed in the Output Tab Page.
• When you import comments from a CSV file, all of the previous comments in the specified
Controller in the project are overwritten with the comments in the CSV file. You cannot undo
this operation.
Additional Information
Comments for variables and data types for which changes are prohibited with data protection
are not imported. To import these comments, temporarily release the data protection.
1 Select Option from the Tools menu. The Option Dialog Box is displayed.
If you open a project to which comments were imported from a CSV file on a version of the
Sysmac Studio that does not support switching comments, the comments will not be displayed
correctly.
Additional Information
The comments that are switched on the display can be edited as usual, i.e., in a variable table
or in the Data Type Editor.
Exported Variables
All global variables that are published to the network as inputs or outputs.
Export Procedure
1 When there are variables to export, select Export Global Variables − Network Configurator
from the Tools Menu
The Save Dialog Box is displayed.
2 Enter the file name, and then click the Save Button.
The CSV file is saved.
You cannot export global variables if the variable names are the same as address expressions
for OMRON CJ-series PLCs, as shown in the following table.
Memory area CIO Area DM Area Work Area Holding Area EM Area
Examples 1234 D1234 W12 H123 ED_1234 or E17_8
Exported Variables
All global variables that are published to the network as inputs, outputs, or publish only variables.
Export Procedure
1 When there are variables to export, select Export Global Variables − CX-Designer from the
Tools Menu
The global variables are copied to the clipboard.
Variables with the following data types cannot be exported: STRING arrays and ENUM.
Imported Data
You can import programs, functions, function blocks, data types, and global variables.
Importing Procedure
2 Select the XML file to import, and then click the Open Button.
The data is imported and the programs, functions, function blocks, data types, and global varia-
bles in the XML file are added to the project.
The items that are added by importing the data are displayed in the Output Tab Page.
Additional Information
You can create code for the OMRON Sysmac Studio with Simulink PLC Coder revision R2013a
or higher.
For information on the Simulink PLC Coder, refer to the Simulink PLC Coder User’s Guide from
MathWorks.
Version Information
This function can be used in projects for the NX102 CPU Unit with unit version 1.31 or later and
the NJ/NX/NY-series CPU Unit with unit version 1.19 or later.
Imported Data
You can import programs, functions, function blocks, data types, and global variables.
8
Importing Procedure
3 In the Select File Dialog Box, select the XML file to import, and then click the Open Button.
The screen return to the IEC 61131-10 XML Import Dialog Box, in which the path to the file that
you selected in the Select File Dialog Box is displayed as the import file.
If the project already has any data type, global variable, program, function, and/or function
block with the same name but with a different content, the Compare before importing Dialog
Box is displayed.
For details on the Compare before importing Dialog Box, refer to 8-19-2 Compare before Im-
porting on page 8-116.
Check the operation of the imported program for proper execution before you use it for actual
operation.
(c)
(d)
(f)
Item Description
(a) Data before importing Displays data before importing if any difference is detected.
The lines which contain any data differences are displayed in red.
(b) Data to be imported Displays data to be imported if any difference is detected.
(c) Detailed Comparison Button Displays the Detailed Comparison Window that contains difference de-
tails.
(d) Overwrite all difference But- Overwrites all lines that contain any differences with the data to be im-
ton ported. 8
(e) Overwrite selected data But- Overwrites the selected line with the data to be imported.
ton
Item Description
(a) Data before importing Displays data before importing.
The lines which contain any data differences are displayed in red.
(b) Data to be imported Displays data to be imported.
(c) Copy Selected Right to Left Overwrites the existing data in the selected line with the data to be import-
Button ed.
(d) Copy All Right to Left Button Overwrites all existing data that contains any differences with the data to
be imported.
(e) Back Button Returns to the Compare before importing Dialog Box.
Imported Data
You can import EtherCAT configurations and settings, Drive settings, axis settings, and axes group
settings.
Importing Procedure
1 Select Import Motor sizing tool Results from the Tools Menu.
3 Select the XML file to import, and then click the Open Button.
If the currently selected Controller does not match the Controller in the results of the Motor siz-
ing tool, a dialog box will appear to confirm whether to continue the import operation.
Additional Information
Refer to the Motor Sizing Tool Startup Guide (Cat. No. I820) for details on the Motor sizing tool.
To update the Configurations and Setup transfer data, select Update Configurations and Setup
Transfer Data from the Tools Menu.
If you edit the contents of the Configurations and Setup, the edited locations are transferred
when you execute synchronization. It is therefore not necessary to use this menu command.
To access the EtherNet/IP connection settings, select EtherNet/IP Connection Settings from the
Tools Menu.
If you export a project that includes EtherNet/IP connection settings, select the smc2/csm2 file
format. EtherNet/IP connection settings are not saved in project files exported to the smc/csm
file format.
2 Change the settings and then click the OK Button. The changes are applied.
9-1 Overview
The ability to reuse development assets is necessary to reduce development costs, shorten develop-
ment time, and reduce maintenance costs for production facilities.
With previous PLCs, information was exchanged with I/O devices through addresses that were as-
signed to the hardwired devices. These addresses were used to write the program. As a result, chang-
ing the addresses for device changes involved complex procedures to obtain new addresses, move
comments to new addresses, change addresses in the program, etc. This was inevitably accompanied
by mistakes.
The relationship between hardware and software was strong and the function modules were large, so
the affects of changes could not be absorbed by the modules.
With the NJ/NX/NY-series Controllers, information for hardwired I/O devices is handled in I/O devices
that are defined within the system. The programs are created based on these I/O devices and the vari-
ables that are assigned to them by the user. Even if devices are changed, it is often not necessary to
change the programs when the I/O devices that are defined within the system are changed, i.e., it is
only necessary to change the variable assignments to I/O devices.
The hardware-software function modules separate the I/O devices and variables, and the affects of
changes can be absorbed by the function modules.
This reduces the corrections that require complex procedures, which in turn reduces mistakes. Confir-
mation and correction work are also reduced to reduce the cost of development and development
time.
9-1 Overview
9
9
9-2-3 Adding Device Options
Creating a Library
You can create functions, function block definitions, and data types in a library file so that you can
reuse them.
Procedure
Use the following procedure to create a library.
1 Create a new project on the Start page. Select a library project as the project type, select a
Controller, and click the Create Button.
A project that can be used as a library is created.
2 Create functions, function block definitions, and data types using the standard programming
procedures.
Additional Information
Setting Up a Library
The properties of the library are set before the library file is created.
Property Description
Name Enter the name of the library.
Version Enter the version and revision of the library. 9
Author Enter the name of the creator of the library. (This setting is optional.)
Comment Enter the a comment for the library. (This setting is optional.)
9-3-1 Creating a Library
Company Enter the name of the company that created the library. (This setting is op-
tional.)
ID A unique ID that is used to access the library is displayed. The ID is auto-
matically created and cannot be changed.
Disable source display Specify whether to show or hide the source when the library objects are
reused. The source is not displayed if this check box is selected.
Attached files Specify the path to a file to attach to the library. The specified file is loaded
to the library file. You can attach more than one file.
Include the referenced If the current library project accesses another library, select whether to in-
library files clude the data from the accessed library in the library that you create.
• Parts Selection
Item Description
Include Select the objects (programs*1, functions, function block definitions, and
data types) to include in the library. Clear the check boxes of any objects
not to include in the library.
Data types are always included in the library.
Publish*2 You can allow Controllers that access the library to use the selected func-
tions and function block definitions. If you select check boxes, the selected
POUs are displayed in the Toolbox for the Controller and in entry candi-
dates displayed when programming. You can select a Publish Check Box
only when the corresponding Include Check Box is selected.
When the Publish Check Box for POU is cleared, the data types defined in
the library will not be published. However, for POU whose Publish check
box is selected, the data type used for its in-out variables or external varia-
bles will be published.
*1. You can select programs as library objects with Sysmac Studio version 1.06 or higher. You can-
not reference libraries that include programs with Sysmac Studio version 1.05 or lower. Also, you
cannot open or import projects that have libraries that include programs with Sysmac Studio ver-
sion 1.05 or lower.
*2. Caution is required to use the created library on Sysmac Studio version 1.13 or lower. Refer to
Version Information, below.
Version Information
Select the Publish Check Boxes for all library objects in the following cases.
• When you will use a library created on Sysmac Studio version 1.14 or higher on Sysmac Stu-
dio version 1.13 or lower
• When you will open a library saved on Sysmac Studio version 1.14 or higher on Sysmac Stu-
dio version 1.13 or lower
• When you will connect Sysmac Studio version 1.13 or lower to a Controller to which a project
that accesses a library created on Sysmac Studio version 1.14 or higher was downloaded
If there is even one library object for which the Publish Check Box was not selected, you can-
not access the library on Sysmac Studio version 1.13 or lower and you cannot open the library
project on Sysmac Studio version 1.13 or lower.
4 Select the folder in which to save the library file, enter the file name, and then click the Save
Button.
The library file is created.
Library Reference
Library Reference
You must register a library to use it in a project. The library file to use is read into the project.
(c) (f)
(g)
(d)
(e) (b)
9
9-3-2 Using a Library
Item Description
(a) Library View A list of the libraries that are currently accessed is displayed. Library prop-
erty information is displayed.
Click the ( ) Buttons to expand the tree and display the objects in the li-
braries.
An information icon appears at the left end of the library row if the library ID
included in the project does not match the ID of the reference library file.
(b) Interface View The data that you can access in the library parts is displayed.
(c) Create Reference Click this button to read a library file and add it to the project.
Button
(d) Delete Reference Click this button to remove a library from the list of accessed libraries.
Button
Item Description
(e) Update the libraries Click this button when the Include the referenced libraries into the
included in the project. Check Box is selected to update the libraries in the project with
project Button the content of the reference library file.
(f) Include the refer- If you select this check box and then save or export the project, the library
enced libraries into files that are accessed in the project will be included in the saved or export-
the project. ed data. You can select this setting for each Controller, which will be trans-
ferred together with the program to the Controller.
(g) Notify if the library ID If you select this check box and then save or export the project or transfer
included in the the user program to a Controller, the library ID included in the project will
project does not be checked against the ID of the reference library file at the following tim-
match with the refer- ings and a message will appear if they do not match.
ence library file ID. • When a saved project is opened
• When an exported project is imported
• When a program that was transferred to a Controller is uploaded
• When the backup file of a program that was transferred to a Controller is
imported
2 Click the Create Reference Button in the Library Reference Dialog Box.
A Refer to Library File Dialog Box is displayed.
3 Select the library file to read into the project and click the Open Button.
The library file is read so that you can use the library objects in the project.
• If the fully qualified name of a library object that you attempt to use already exists in the
project or in a library object that was previously read, an error occurs and the library object is
not read. Be sure that all names are unique.
• If both the short name of a library object and the company name in the library properties al-
ready exist for a library object that was previously read, an error occurs and the library object
is not read. Make sure that the names and company names are not duplicated between li-
brary objects.
• Note this if you do not select to include the referenced libraries into the project: If the library
ID included in a Controller is different from the reference library file ID, it may happen during
verification after transfer to the Controller that the POUs, variables, or data types that refer-
ence libraries mismatch.
Additional Information
• If the library properties are set to display the source, you can right-click a function or function
block definition in the Library View and select Display Source to display the source of the
function or function block definition.
• If data protection is set for a library object for which you try to display the source code, you
must enter the password for data projection.
• When you import library project files with the Include the referenced libraries into the
project. (Include the referenced libraries when saving the project in Sysmac Studio ver-
sion 1.17 or lower) Check Box selected, the save location for the reference library file de-
pends on the Sysmac Studio version.
1 Select the library, and then click the Delete Reference Button. Or, right-click the library and se-
lect Delete Reference from the menu.
1 Select the library to update in the Library View and click the Update the libraries included in
the project Button.
2 Check the difference from the reference library file and click the OK button to update the libra-
ries included in the project.
Additional Information
After updating the libraries, you may need to build the POUs, variables, or data types that refer-
ence libraries.
To use a library object, enter the name of the library object displayed in the Refer to Library File Dialog
Box.
Additional Information
If the library object name has a namespace, enter the name of the namespace before the li-
brary object name.
Example:
1 Display the library objects to add in the Toolbox of the Ladder Editor.
9
9-3-2 Using a Library
Version Information
To use this function, Sysmac Studio version 1.20 or higher and a CPU Unit with unit version
1.16 or later are required.
Sharing Target
You can share the following data.
• POUs (Programs, functions, and function blocks)
• Data types
• Global variables
Additional Information
POUs and global variables of the Safety CPU Unit are not shared.
Sharing Methods
Use the following sharing methods.
• Deriving a device from the sharing source Controller
Create a copy of the source Controller to share the target data. You can share either all of the
POUs, data types, and global variables at a time, or only the data that is already shared.
• Configuring the sharing settings for POUs, data types, and global variables individually
Share the POU, data type, and global variable data individually. To share a POU, copy the data from
the sharing source Controller to the sharing destination Controller. To share a data type or global
variable, overwrite the data in the sharing destination Controller with the data in the sharing source
Controller.
• You cannot use this function for library projects. In addition, you cannot change projects that
include any Controller that uses this function into library projects.
• When a Safety CPU Unit exists in the CPU rack, you cannot derive a device from the Control-
ler.
Additional Information
Registering a large number of derived devices (Controllers) in a project may result in low job
performance depending on your computer environment, because the Sysmac Studio consumes
a significant amount of computer memory.
If the number of derived devices in a project is likely to increase, use this function with Sharing
a Machine Project with EtherCAT Configuration on page 9-2.
1 With the deriving source Controller displayed in the Multiview Explorer, right-click the device
icon and select Derive Device - Share All Programming Data from the pop-up menu. Or, se-
lect Derive Device - Share All Programming Data from the Insert Menu. To share only the
data that is already shared, select Share Shared Programming Data.
9
9-4-2 Procedure to Share a Program
Configuring the Sharing Settings for POUs, Data Types, and Global
Variables
Use the following procedure to configure the sharing settings for POUs, data types, and global varia-
bles.
For POUs
The following example is for a program.
1 Right-click the target program in the Multiview Explorer and select Sharing setting between
devices from the pop-up menu.
(a)
(b)
Item Description
(a) Sharing target The selected data is displayed.
(b) Sharing destination All Controllers that are included in the project are displayed.
2 Select the check boxes for the Controllers whose data to share, and then click the OK Button.
You can select more than one Controller.
A dialog box is displayed to indicate that the sharing is completed.
• You cannot configure the sharing settings if a POU with the same name as that of the target
POU exists in Controllers in the sharing destination. If so, rename the POU in the Controllers
in the sharing destination, or delete the POU and configure the sharing settings again.
1 Right-click Data Types or Global Variables in the Multiview Explorer, and select Sharing
setting between devices from the pop-up menu. 9
The Sharing setting between devices Dialog Box is displayed.
9-4-2 Procedure to Share a Program
2 Select the check boxes for the Controllers whose data to share, and then click the OK Button.
You can select more than one Controller.
A confirmation dialog box is displayed, which asks whether to overwrite data.
• You cannot select Controllers that are already shared with another Controller in the Sharing
setting between devices Dialog Box. Their check boxes are disabled.
• To add a new Controller to the sharing destination of data, display the Sharing setting
between devices Dialog Box for the target data in the sharing source Controller and add it
there. Refer to Adding a Sharing Target Controller on page 9-22 for details.
• Among global variables, the following data is not the sharing target. This means that the data
in the sharing source is not copied.
a) Axis variables, axes group variables, cam data variables, and cam definition variables
b) AT values of variable attributes
• You cannot configure the sharing settings if a variable with the same name exists in the glob-
al variable table in the sharing target. Rename it to a unique name, and then try again.
• If a variable with the same name exists in the global variable table in the sharing destination,
all attributes except for the AT attribute will be overwritten.
• If an axis variable, axes group variable, cam data variable, or cam definition variable with the
same name as that of a user-defined variable in the sharing source exists in the sharing des-
tination, it will be registered with the same name as a different variable from the axis variable,
axes group variable, cam data variable, or cam definition variable. In this case, a duplicate
name error will occur. Rename the user-defined variable to a unique name.
• Variables that exist only in Controllers in the sharing destination will be deleted.
• The order of variables will not be shared.
Operations and Results for POUs, Data Types, and Global Variables
You can edit shared data from any Controller that shares it. Regardless of from which Controller you
edit shared data, the edited data is shared among the Controllers.
The table below describes the operations that you can perform on shared data and the results of the
operations.
Change Device
You cannot change Controllers in a sharing relationship to other Controllers with unit version 1.15 or 9
earlier. Cancel the sharing relationship before you change to other devices. Refer to Canceling a Shar-
ing Relationship on page 9-23 for the procedure to cancel a sharing relationship.
9-4-3 Editing Shared Data
Build
Build the project for each Controller. The building results are not shared and retained by each Control-
ler.
If shared data is changed by another Controller after building, you must rebuild the project.
Online
If you edit shared data, the changes made to the data will be shared with online Controllers that share
the data.
The table below describes the operations that you can perform online on shared data and the results
of the operations.
If you make changes to shared data from another Controller after matching it with the data of a
physical Controller, the data will not match with the data of the physical Controller.
Be careful that, if you make changes to shared data without being aware of the sharing relation-
ship among other Controllers, you will end up in having data in the Sysmac Studio that does not
match the data of Controllers connected online.
1 Right-click Data Types or Global Variables in the Multiview Explorer, and select Sharing
setting between devices from the pop-up menu.
The Sharing setting between devices Dialog Box is displayed.
2 Select the check boxes for the Controllers to add as a sharing target, and then click the OK
Button.
A confirmation dialog box is displayed and the selected Controller is added as a sharing target.
• You cannot configure the sharing settings if a POU with the same name as that of the target
POU for the Controller to add exists. If so, rename the POU in the Controllers in the sharing
destination, or delete the POU and configure the sharing settings again.
1 Right-click POUs, Data Types, or Global Variables in the Multiview Explorer, and select
2 Clear the check boxes for the Controllers to cancel the sharing relationship, and then click the
OK Button.
If the target is a data type or global variable, the sharing relationship is canceled.
If the target is a POU, a confirmation dialog box is displayed, which asks whether to delete the
target POU from the Controller simultaneously when canceling the sharing relationship.
9
9-4-4 Changing a Sharing Relationship
3 Click the Yes Button to delete the target POU. Click the No Button to leave the target POU.
The sharing of the target is canceled. If you click the Yes Button, the target POU is deleted.
Deleting a POU
You can delete a POU from the pop-up menu that appears when you right-click the target POU.
The table below describes the results when you delete a Controller in a sharing relationship.
Deleting a Controller
Deleting a Controller in a sharing relationship neither cancels the sharing relationship with other Con-
trollers in the sharing destination nor deletes the share data.
However, if there is only one Controller that has a sharing relationship with the deleted Controller, the
sharing relationship with the Controller is canceled.
Applicable Support
Model Unit name Relevant Manuals Cat. No.
Software
NX-ILM400 IO-Link Master Unit CX-ConfiguratorFDT IO-Link System Us- W570
GX-ILM08C er’s Manual
Applicable Support
Model Unit name Relevant Manuals Cat. No.
Software
CJ1W-DRM21 DeviceNet Unit CX-Integrator CX-Integrator Oper- W464
CJ1W-CRM21 CompoNet Master Unit ation Manual
(unit version 1.3 or later) Network Configurator CJ-series W495
CJ1W-EIP21 EtherNet/IP Unit with EtherNet/IP
unit version 2.1 or later Units Operation
Manual for
NJ-series CPU Unit
CJ1W-SCU22 Serial Communications CX-Protocol CX-Protocol Opera- W344
CJ1W-SCU32 Units tion Manual
CJ1W-SCU42
10
Observe the following precautions when you start the Sysmac Studio or any of the Sup-
port Software that is provided with it.
• Exit all applications that are not necessary to use the Sysmac Studio. For virus checker or
other software that could affect the startup and operations of the Sysmac Studio, take meas-
ures such as to remove the Sysmac Studio from the scope of virus checking.
• If any hard disks or printers that are connected to the computer are shared with other com-
puters on a network, isolate them so that they are no longer shared.
• With some notebook computers, the default settings assign the USB port to a modem or in-
frared communications. Refer to the user documentation for your computer and set the USB
port as a normal serial port.
• With some notebook computers, the default settings do not supply power to the USB port or
Ethernet port to save energy. There are energy-saving settings in Windows, and also some-
times in utilities or the BIOS of the computer. Refer to the user documentation for your com-
puter and disable all energy-saving features.
1 Select All Programs - OMRON - Sysmac Studio from the Windows Start Menu.
A list of the Support Software is displayed.
Additional Information
If there is unsaved data when you select Exit from the menu, a dialog box will prompt saving
the data before the Support Software is exited. Save the data if it is required. Refer to the rele-
vant manual for details.
Error lev-
Error message Cause Correction
el
A parameter is not entered for the Error Refer to the error message. Enter a parameter for the input.
input.
A parameter is not entered for the Error Refer to the error message. Enter a parameter for the output.
output.
A parameter of the MC instruction Error The MC or MCR number argument Correct the MC or MCR instruction
is invalid. Execute the program does not match the MC or MCR parameter.
check to correct the parameter. level number.
A variable not registered in the lo- Error A global variable is defined, but If you want to use the global varia-
cal variable table exists. the corresponding external varia- ble, register an external variable
To use a global variable, a corre- ble is not defined. that corresponds to the global vari-
sponding external variable must able.
be registered. If you want to use a variable other
Register it by right-clicking the var- than the global variable, correct
iable and selecting Register in the variable name.
variable table from the context
menu.
A variable not registered in the Error Refer to the error message. Register the variable in the varia-
variable table exists. ble table or enter the correct varia-
Register it by right-clicking the var- ble name.
iable and selecting Register in
variable table from the context
menu.
A variable whose data type is not Error Refer to the error message. Define the data type or enter the
defined is used. correct variable name.
Any item other than output cannot Error Refer to the error message. Remove any connections other
be connected after an output. than outputs after the output.
An element comment can contain Error Refer to the error message. Reduce the number of characters
up to 250 characters. in the element comment.
An exception such as memory Error An object file could not be created Reduce the sizes of the individual
shortage has occurred. due to insufficient memory. POUs as given below, e.g., by
separating individual POUs into
two or more POUs.
POUs that are ladder programs:
Separate the programs into two or
more sections.
Global variables: Use structures or
arrays to combine variables or use
local variables instead of global
variables whenever possible.
Any parameters other than WORD Warning Unintended operation may occur if Correct the usage of parameter
data may result in an unexpected you use a parameter that is not data types.
operation. WORD data.
Checks
on the program. gram.
Cannot jump into inside the FOR- Error You attempted to jump to a loca- Correct the usage of the FOR and
NEXT loop. tion inside a FOR ... NEXT con- NEXT instructions.
struct from outside the FOR ... 11
NEXT construct.
Contacts must not be connected to Error The input is connected to the right Correct the rung.
the right bus bar. bus bar.
Data may be lost during conver- Warning Some data may be lost in the con- Correct how the data is converted.
sion. version.
data_type_name cannot be con- Error You cannot convert the data to the Correct how the data is converted.
verted to data_type_name. specified data type.
Inline ST can contain up to 1,000 Error The Inline ST box contains more Reduce the number of lines in the
rows. than 1,000 lines. Inline ST box.
Invalid pair of data types. Execu- Error You cannot specify a combination Correct the usage of the data
tion result may be lost. of data types that may result in the types.
loss of execution results.
Invalid pair of input parameters. Error The specified combination of input Correct the usage of input param-
parameter data types is incorrect. eter data types.
It is not recommended to use glob- Warning You used a global variable in a Correct the usage of global varia-
al variables in a function. function. bles in functions.
instruction_name requires a vari- Error You specified a variable that does Correct the usage of the instruc-
able with the range specified. not have a range specification. tion, or specify the variable with a
range specification.
Literal cannot be used in an input Error A literal was specified for the pa- Correct the parameter on the input
parameter of a in-out variable. rameter on the input side for an in- side for the in-out variable.
out variable.
Literal format is wrong or the data Error The format of the literal is incor- Correct the usage of literals, in-
type is not available. rect, or you attempted to use a text cluding the format.
string literal as a different data
type.
member_name is not a member Error You specified an undefined mem- Define the member or correct the
of the data_type_name data type. ber name after the period. member specification.
No JUMP instruction specifies the Warning This warning is displayed when Correct the usage of jumps and la-
label in the same section. only a label is defined in a section. bels.
No need to round integer type vari- Warning Execution is not required for inte- Correct the usage of the integer
ables. ger variables. variables.
No value can be written to a literal. Error You attempted to output to a literal. Correct the output.
No value can be written to a varia- Error You specified a variable that can Correct the usage of the accessing
ble with Read Only attribute set in be accessed in the task as an out- tasks.
the task setting. put parameter.
No value can be written to a varia- Error You specified a variable with the Correct the usage of the Constant
ble with the Constant attribute. Constant attribute as an output pa- attribute for the variable.
rameter.
Error lev-
Error message Cause Correction
el
No value can be written to an input Error You attempted to write a value to Correct the usage of input varia-
variable. an input variable inside a function bles in functions and function
or function block. blocks.
No value can be written to input, Error You attempted to write a value to Correct the usage of variables of
output, or in-out variables of a the output variable, input variable, function block instances.
function block instance. or in-out variable of an instance
variable.
No value can be written to the Error You attempted to output a value to Correct the enumeration.
enumerated type of variables. an enumeration.
One rung can contain only one in- Error There is more than one Inline ST Correct the usage of inline ST.
line ST. box on the rung.
One rung can contain up to 1,000 Error Refer to the error message. Reduce the number of instructions
instructions. on the rung.
One section can contain up to Error You attempted to use more than Reduce the number of rungs in the
1,000 rungs. 1,000 rungs in one section. section.
Output parameter type does not Error The data type of the output param- Correct the output parameter or
match output variable type. eter does not match the data type output variable.
of the output variable.
Same name is already used for a Error Refer to the error message. Rename the variable or the label.
variable.
The actual argument is not a varia- Error A constant is specified for a pa- Specify a variable for the parame-
ble. rameter. ter.
The BREAK instruction is used Error Refer to the error message. Correct the usage of the BREAK
outside the FOR-NEXT loop. instruction.
The BREAK instruction must be Error Refer to the error message. Correct the usage of the BREAK
connected to the right bus bar. instruction.
The END instruction cannot be Error Refer to the error message. Remove the END instruction from
used in a function or function the function or function block.
block.
The END instruction must be used Error Refer to the error message. Correct the usage of the END in-
alone on a rung. The rung cannot struction.
contain any other elements.
The FOR instruction must be used Error Refer to the error message. Correct the usage of the FOR in-
alone on a rung. The rung cannot struction.
contain any other elements.
The MC instruction must be con- Error Refer to the error message. Correct the output of the MC in-
nected to the right bus bar. struction.
The MCR instruction must be used Error Refer to the error message. Correct the usage of the MCR in-
alone on a rung. The rung cannot struction.
contain any other elements.
The NEXT instruction must be Error Refer to the error message. Correct the usage of the NEXT in-
used alone on a rung. The rung struction.
cannot contain any other ele-
ments.
The RETURN instruction cannot Error The RETURN instruction was Remove the RETURN instruction
be used in a program POU. used in a program. from the program.
The RETURN instruction must be Error Refer to the error message. Correct the usage of the RETURN
used alone on a rung. The rung instruction.
cannot contain any other ele-
ments.
Checks
The array index is out of range. Error The literal used for the array sub- Correct the array definition or cor-
script is outside of the range of the rect the array subscript.
array.
The data type range is decreased Error You cannot convert the variable to Correct how the data is converted.
in the conversion from the specified data type. 11
data_type_name to
data_type_name.
The data_type_name data type is Error You attempted to use a variable Define the data type or enter the
not defined. with an undefined data type. correct variable name.
The downward differentiation con- Error The instruction does not support Correct the usage of the
dition cannot be specified for the the ~ condition. instruction_name instruction.
instruction_name instruction.
The function block definition name Error Refer to the error message. Enter a function block definition
is empty. name.
The function block name is not de- Error Refer to the error message. Define the function block or enter
fined. the correct function name.
The function name is empty. Error Refer to the error message. Enter a function definition name.
The function name is not defined. Error Refer to the error message. Define the function or enter the
correct function name.
The inline ST box must be con- Error Refer to the error message. Correct the usage of inline ST.
nected to the right bus bar.
The input parameter cannot be Error The in-out variable does not have Enter a parameter on the input
omitted for an in-out variable. a parameter on the input side. side for the in-out variable.
The input parameter types cannot Error Refer to the error message. Correct how the data is converted.
be converted to the output param-
eter types.
The input used as an internal bit is Warning Refer to the error message. Check the access relationships of
not written from others. the work bit input.
The instance is doubly used, Warning Refer to the error message. Correct the usage of the instance.
which may cause an unintentional
operation.
The instance variable is empty. Error Refer to the error message. Enter an instance variable.
The label is empty. Error No label was entered for a Jump Enter a label.
instruction (->>) or Label instruc-
tion.
The label specified for the jump Error A label for the jump target does Correct the usage of jumps and la-
destination does not exist in the not exist in the same section. bels.
same section.
The label specified for the jump Error Refer to the error message. Correct the usage of jumps and la-
destination is used more than bels.
once.
The member expression is invalid. Error The member expression is incor- Correct the member expression.
rect ( e.g., “(a..b)”).
Error lev-
Error message Cause Correction
el
The output is doubly used, which Warning Refer to the error message. Correct the usage of outputs.
may cause unintentional opera-
tion.
The output used as an internal bit Warning Refer to the error message. Check the access relationships of
is not referenced from others. the work bit output.
The rung cannot be branched be- Error Refer to the error message. Correct the rung before the MC in-
fore the MC instruction. struction.
The rung cannot be branched or Error Refer to the error message. Remove any branches or joins af-
converged after an output. ter outputs.
The rung is disjunct. Error There is a disconnection within a Correct the rung.
rung.
The upper limit of nesting levels Error Refer to the error message. Correct the usage of nesting.
(15) was exceeded.
The upward differentiation condi- Error The instruction does not support Correct the usage of the
tion cannot be specified for the the @ condition. instruction_name instruction.
instruction_name instruction.
There is no corresponding FOR in- Error A FOR instruction was not found in Correct the usage of the FOR and
struction in the same section. the same section as a NEXT in- NEXT instructions.
struction.
There is no corresponding MC in- Error You did not include the MC instruc- Correct the usage of the MC and
struction. tion that corresponds to the MCR MCR instructions.
instruction.
There is no corresponding MCR Error There is an MC instruction without Correct the MC structure between
instruction inside the FOR-NEXT an MCR instruction between the the FOR and NEXT instructions.
loop. FOR and NEXT instructions.
There is no corresponding MCR Error You did not include the MCR in- Correct the usage of the MC and
instruction. struction that corresponds to the MCR instructions.
MC instruction.
There is no corresponding NEXT Error A NEXT instruction was not found Correct the usage of the FOR and
instruction in the same section. in the same section as a FOR in- NEXT instructions.
struction.
There is no corresponding NEXT Error There is a FOR instruction without Correct the FOR structure be-
instruction inside the MC-MCR re- a NEXT instruction between the tween the MC and MCR instruc-
gion. MC and MCR instructions. tions.
Unsigned integers cannot be used Error You cannot use an unsigned inte- Correct the usage of unsigned in-
together with signed integers. ger with a signed integer or a real tegers, signed integers, and real
number. numbers.
When specifying an output param- Error The parameter on the output side Use the same parameter on both
eter of an in-out variable, it must for the in-out variable is not the the input and output sides for an
be same as input parameter. same as the parameter on the in- in-out variable.
put side.
When using the union data type, Error You attempted to use a union vari- Correct the usage of unions.
specify a member. able without a period.
You can only use the following Error You specified a data type that can- Correct the usage of inputs.
types for the input parameter. not be used for an input.
Checks
Error lev-
Error message Cause Correction
el
"(" is missing. Error Refer to the error message. Insert a left parenthesis.
")" is missing. Error Refer to the error message. Insert a right parenthesis.
11
"." is missing. Error Refer to the error message. Insert a period.
":" is missing. Error Refer to the error message. Insert a colon.
":=" is missing. Error Refer to the error message. Insert a colon and equals sign (:=).
";" is missing. Error Refer to the error message. Insert a semicolon.
"[" is missing. Error Refer to the error message. Insert a left bracket.
"]" is missing. Error Refer to the error message. Insert a right bracket.
A constant cannot be written. Error Refer to the error message. Correct the usage of constants.
A variable with Constant attribute Error Refer to the error message. Correct the usage of variables with
cannot be written. a Constant attribute.
A value is out of range. Error Refer to the error message. Correct the value.
Address cannot be allocated for Error Refer to the error message. Refer to the error message.
the variable variable_name.
Check the auto allocation option.
An I/O parameter is missing. All Error Refer to the error message. Set the I/O parameter.
I/O parameters must be set.
Array dimension or size does not Error Refer to the error message. Correct the usage of arrays.
match.
Array index is out of range. Error Refer to the error message. Correct the array index.
Bad Parameter - Variable is not Error Refer to the error message. Correct the parameter.
found.
Constant is missing. Error Refer to the error message. Insert a constant.
Conversion from source_data to Error Refer to the error message. Correct how the data is converted.
destination_data may cause data
loss.
Conversion from source_data to Error Refer to the error message. Correct how the data is converted.
destination_data is impossible.
"DO" is missing. Error Refer to the error message. Insert DO.
Definition of the function block Error Refer to the error message. Correct the function block defini-
definition_name is missing. tions.
Definition of the function Error Refer to the error message. Use the function
function_definition_name is function_definition_name.
missing.
Division by zero Error Refer to the error message. Correct the division operation.
Duplicate variable is specified for Error Refer to the error message. Correct the usage of the variables.
the function.
Duplicate variable is specified. Error Refer to the error message. Correct the variable.
'EN' or 'ENO' cannot be used as Error Refer to the error message. Correct the usage of the 'EN' and
an input/output variable. 'ENO' variables.
"END_CASE" is missing. Error Refer to the error message. Insert END CASE.
Error lev-
Error message Cause Correction
el
"END_FOR" is missing. Error Refer to the error message. Insert END FOR.
"END_IF" is missing. Error Refer to the error message. Insert END IF.
"END_REPEAT" is missing. Error Refer to the error message. Insert END REPEAT.
"END_WHILE" is missing. Error Refer to the error message. Insert END WHILE.
End of the comment is not found. Error Refer to the error message. Define the end of the comment.
End of the string is not found. Error Refer to the error message. Define the end of the text string.
Enumerated type identifiers are Error Refer to the error message. Correct the usage of ENUM enu-
read only. merators.
Failed to retrieve the information of Error Refer to the error message. Correct the variable name.
variable variable_name from
function block variable table.
Field specifier is missing. Error Refer to the error message. Correct the field specifier.
Function block I/O variable is read Error Refer to the error message. Correct the function block I/O vari-
only. able.
Global variable variable_name is Warning Refer to the error message. Correct the usage of the variables.
used.
Identifier is missing. Error Refer to the error message. Insert an identifier.
Invalid format. Error Refer to the error message. Correct the format.
Invalid value Error Refer to the error message. Correct the value.
Missing parameter. Error Refer to the error message. Correct the number of parameter
specifications.
member_name is not a member Error Refer to the error message. Correct the member_name mem-
of data_type_variable_name. ber of data_type_variable.
Negation is not supported by Error Refer to the error message. Correct the value or the data type.
data_type_variable_name data
type.
Numbers cannot be specified for Error Refer to the error message. Correct the usage of the NOT ex-
the NOT operation. pression.
"OF" is missing. Error Refer to the error message. Insert OF.
Output variable of the function is Error Refer to the error message. Correct the output variable.
invalid.
Read-only memory is specified as Error Refer to the error message. Correct the AT specification.
the AT address of the variable
variable_name No value can be
assigned to the variable.
String literal is too long. Error Refer to the error message. Correct the text string.
Strings are not currently support- Error Refer to the error message. Correct the text string.
ed.
Structure variables are not sup- Error Refer to the error message. Correct the usage method.
ported.
"THEN" is missing. Error Refer to the error message. Insert THEN.
"TO" is missing. Error Refer to the error message. Insert TO.
The AT address specified for the Error Refer to the error message. Correct the AT specification.
variable variable_name is invalid.
The FOR loop declaration contains Error Refer to the error message. Correct the parameter in the FOR
an invalid parameter. loop declaration.
The array index is invalid. Error Refer to the error message. Correct the array index.
The array is short of dimensions. Error Refer to the error message. Correct the array variable.
The constant is invalid. Error Refer to the error message. Correct the constant.
Checks
cannot be assigned a value. ables.
The operation is invalid. Error Refer to the error message. Correct the operation.
The operator_name operator is Error Refer to the error message. Correct the usage of the operator.
not supported by
data_type_name data type.
11
The output variable is invalid. Error Refer to the error message. Correct the output variable.
The output variable Error Refer to the error message. Correct the usage of the output
variable_name cannot be as- variables.
signed a value.
The statement is invalid. Error Refer to the error message. Correct the instruction.
The variable does not have Error Refer to the error message. Correct the variable size.
enough size.
The variable variable_name is not Error Refer to the error message. Correct the variable_name varia-
a parameter of the function. ble.
The variable variable_name is not Error Refer to the error message. Correct the usage of the variable
an in-out variable. attributes.
There are too many keywords. Error Refer to the error message. Reduce the number of keywords.
There must be at least one line of Error Refer to the error message. Insert at least one line of valid
valid code (excluding comments). code.
Too many dimensions for an array. Error Refer to the error message. Correct the array variable.
Too many parameters are speci- Error Refer to the error message. Correct the variable.
fied.
Too many variables are specified Error Refer to the error message. Correct the variable specifications.
for the function.
Two variable formats are mixed. Error Refer to the error message. Correct the variable notation.
"UNTIL" is missing. Error Refer to the error message. Insert UNTIL.
Usage mismatch in a variable of Error Refer to the error message. Correct the usage of the variables.
the function
Usage mismatch in function block Error Refer to the error message. Correct usage of the function block
variable variables.
Usage mismatch. ':=' cannot be Error Refer to the error message. Correct the usage.
used for an output parameter.
Usage mismatch. '=>' cannot be Error Refer to the error message. Correct the usage.
used for an I/O parameter.
Usage mismatch. '=>' cannot be Error Refer to the error message. Correct the usage.
used for an input parameter.
When using the union data type, Error You attempted to use a union vari- Correct the usage of unions.
specify a member. able without a period.
Error lev-
Error message Cause Correction
el
Variable concurrency may not be Error Refer to the error message. Change the Sysmac Studio option
ensured between tasks which ref- settings. Refer to 8-23 Sysmac
erence the network-published vari- Studio Option Settings on page
able. 8-123 for detail.
Register the network-published
variable to the Settings for Exclu-
sive Control of Variables in Tasks
to ensure concurrency of the varia-
ble value.
eration
Error lev-
Error message Cause Correction
el
£££ cannot be executed. Error • A cable is disconnected. • Check the cable connections.
Go offline and then go online 11
again, and then try again.
• Increase the response monitor-
ing time in the Communications
Setup.
• You used prohibited characters • Correct the volume label.
in the volume label.
• You used prohibited characters • Correct the name of the file or
when you created or renamed a folder.
file or folder.
• The SD Memory Card does not • Check the amount of available
have enough available space space required to copy the data,
for the copy operation. and the amount of available
space left on the SD Memory
Card.
• There is no SD Memory Card. • Insert the SD Memory Card.
• Power is not supplied to the SD • Insert the SD Memory Card
Memory Card. again.
• The protection switch on the SD • Turn OFF the protection switch
Memory Card is turned ON. on the SD Memory Card.
• A format operation is in prog- • Wait until the format operation is
ress. completed, and then try again.
• Other Support Software is cur- • Wait until the other Support
rently accessing the SD Memo- Software is finished, and then
ry Card. try again.
Error lev-
Error message Cause Correction
el
A communications error has oc- Error There was a communications error Check the Communications Setup,
curred between the Sysmac Studio and and then try again.
/The communication has been dis- the Controller. (For example, a ca-
connected. ble is disconnected.)
There was an error in a communi- • Check the cable connections
cations message. and go offline, then go online
and try again.
• Increase the response monitor-
ing time in the communications
settings.
• Wait for a while and then try
again (e.g., wait until downloads
from other Support Software are
completed).
An unexpected error occurred dur-
ing exclusive control of com-
mands.
An unexpected error occurred (in-
cluding inconsistent communica-
tions format).
A timeout occurred during the Check the following items:
Communications Setup test. • Cable connections
• The specified IP address
• The network connection and the
IP address setting for the local
area network in the Control Pan-
el on the computer
There was no response from the • Make sure the cables are con-
Controller. nected correctly.
• Increase the response monitor-
ing time in the Communications
Setup.
• Cycle the power supply to the
Controller.
An error occurred when exporting Error The file system is write protected, Make sure the write attribute of the
the project. or some other write error occurred. file system is set correctly.
A project could not be found in the Error The export file was not found. Specify the correct export file.
archive file.
An error has occurred in the MC Error You cannot execute the operation Identify and remove the Controller
Test Run. The MC Test Run is because of a Controller error. error, and then try again.
forced to end.
An error occurred while the Spe- Error The transfer operation for all pa- Check the power supply and wir-
cial Unit parameters were transfer- rameters timed out. ing, and then try again.
red.
An error occurred during backup Error Refer to the error message. Try again.
parameter transfer of EtherCAT
slaves.
An error occurred when importing Error The file system is read protected, Make sure the read attribute of the
the project. or some other read error occurred. file system is set correctly.
eration
Run. because of a Controller error. error, and then try again.
Cannot execute the test run. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Cannot read the axis variable Error There was a communications error Check the Communications Setup, 11
variable_name. between the Sysmac Studio and and then try again.
the Controller.
Cannot start monitoring the axis Error There was a communications error Check the Communications Setup,
status. between the Sysmac Studio and and then try again.
the Controller.
Data is broken. Error The data you attempted to read or
write is corrupted.
Error occurred when exporting Error The export failed due to some Make sure the contents of the file
project problem. and the write attribute of the file
system are correct.
Error occurred when importing Error The import failed due to some Make sure the contents of the file
project problem. and the read attribute of the file
system are correct.
Error while loading file Error The file could not be loaded. Check the file to see if it is corrupt-
ed.
Error while writing file Error The file could not be written to. Make sure that the file is not open
for any other application, and then
try again.
Export Failed Error You cannot write to the save loca- Save the data to a folder that you
tion. You do not have write rights can write to. Save the file under
for the save location. The file you another file name.
are trying to overwrite may be in
use by another application.
Failed to £££ due to out of mem- Error There is insufficient memory for Close the project, restart the Sys-
ory. Sysmac Studio processing. mac Studio, and execute the oper-
Please restart Sysmac Studio and ation again.
then try again.
Failed to add a Rack. Error You have reached the maximum Delete a Rack, and then try again.
number of Racks.
Failed to add a Unit. Error You have reached the maximum Add the Unit to another Rack, or
number of Units that you can add delete a Unit and try again.
to the Rack.
Error lev-
Error message Cause Correction
el
Failed to clear the error. Error A timeout occurred or an error re- • Check the cable connections.
sponse was received when you at- Go offline and then go online
tempted to reset a Controller error again, and then try again.
or user-defined error during trou- • Reset the access rights, and
bleshooting. then try again.
• A cable is disconnected. • Wait until the download for the
• You do not have the required other Support Software is finish-
access rights. ed, and then try again.
• A download is in progress for
other Support Software.
Failed to clear diagnosis/statistics Error The system is busy. Try again.
information. The communications timed out. Check the power supply and wir-
ing, and then try again.
Failed to clear the event log. Error A timeout occurred or an error re- • Check the cable connections.
sponse was received when you at- Go offline and then go online
tempted to clear the troubleshoot- again, and then try again.
ing event log or user-defined event • Increase the response monitor-
log or when you attempted to clear ing time in the Communications
all memory to clear the error log. Setup.
• A cable is disconnected. • Reset the access rights, and
• You do not have the required then try again.
access rights. • Release CPU Unit write protec-
• Write protection is enabled. tion, and then try again.
• A download is in progress for • Wait until the download for the
other Support Software. other Support Software is finish-
ed, and then try again.
Failed to communicate with the Error The system is busy. Try again.
EtherCAT slave or the NX Unit. The loads are OFF. Enable the loads, and then try
Process was aborted. again.
A major fault level Controller error Correct the error, and then try
occurred. again.
A partial fault level Controller error Correct the error, and then try
such as a CPU Rack bus error oc- again.
curred in a subsystem.
A Link OFF Error occurred. Check the power supply and wir-
ing of the first slave and then try
again.
Communications are not possible Check the power supply, wiring,
with the target slave. and slave’s node address, and
then try again.
The target slave is disabled. Enable the slave and perform syn-
chronization, and then try again.
The slave cannot be identified. Use the Compare and Merge with
Actual Network Configuration
menu command to make the con-
figurations match, synchronize the
data, and then try again.
Synchronization has not been per- Synchronize the data, and then try
formed. again.
eration
A major fault level Controller error Correct the error, and then try
occurred. again.
A Link OFF Error occurred. Check the power supply and wir-
ing of the first slave and then try
again. 11
Communications are not possible Check the power supply, wiring,
with the target slave. and slave's node address, and
then try again.
The target slave is disabled. Enable the slave and perform syn-
chronization, and then try again.
The slave cannot be identified. Use the Compare and Merge with
Actual Network Configuration
menu command to make the con-
figurations match, synchronize the
data, and then try again.
Synchronization has not been per- Synchronize, and then perform the
formed. operation.
A slave status change was detect- Make sure you are not performing
ed. any operations in other Support
Software, and then try again.
A change in the configuration was Try again.
detected.
Failed to delete a Rack. Error You cannot delete this Rack.
Failed to execute the command. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to extend the session. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to get a session. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to get actual Unit configura- Error A change in the configuration was Try again.
tion. detected.
The limit to the number of slaves Correct the wiring to reduce the
was exceeded. number of slaves to 192 or less,
and then try again.
The wiring is incorrect. Correct the wiring so that the input
and output ports are connected,
and then try again.
The system is busy. Try again.
The communications timed out. Check the power supply and wir-
ing, and then try again.
A Link OFF Error occurred. Check the power supply of the first
slave. Check the wiring. Try again
after you have solved the problem.
A system error occurred. Contact your OMRON representa-
tive.
Error lev-
Error message Cause Correction
el
Failed to get diagnosis/statistics Error The communications timed out. Check the power supply and wir-
information. ing, and then try again.
Failed to get packet data. Error The communications timed out. Check the power supply and wir-
ing, and then try again.
The system is busy. Try again.
The packet monitor was started al- Stop the packet monitor, and then
ready. try again.
The file could not be obtained. Make sure that you are not saving
the packet monitor results with an
instruction or from another tool,
and then try again.
Failed to get serial numbers. Error A change in the configuration was Try again.
detected.
The limit to the number of slaves Correct the wiring to reduce the
was exceeded. number of slaves to 192 or less,
and then try again.
The wiring is incorrect. Correct the wiring so that the input
and output ports are connected,
and then try again.
The system is busy. Try again.
The communications timed out. Check the power supply and wir-
ing, and then try again.
A Link OFF Error occurred. Check the power supply of the first
slave. Check the wiring. Try again
after you have solved the problem.
The actual device configuration Make sure that the device configu-
and the device configuration in the rations match, and then try again.
project do not match.
Failed to get the Controller config- Error The configuration information of Check the status of the power sup-
uration information. Check the the CJ-series Units could not be ply and wiring, and then try the op-
power supply and wiring for any obtained because of a communi- eration again.
abnormality, and retry. cations error.
eration
ing, and then try again.
The wiring is incorrect. Correct the wiring so that the input
and output ports are connected,
and then try again. 11
The system is busy. Try again.
A Link OFF Error occurred. Check the power supply of the first
slave. Check the wiring. Try again
after you have solved the problem.
Check that the slave information Vendor ID=0x{0,0:X8}, Product
on the right is provided in the ESI Code=0x{1,0:X8}, Revision Num-
file library. ber=0x{2,0:X8}
There are two or more slaves with Write a new slave node address to
the same node address in the ac- correct the problem.
tual device configuration.
There is a slave with an out-of- Write a new slave node address to
range node address in the actual correct the problem.
device configuration.
Communications failed. Check the power supply and wir-
ing, and then try again.
Failed to judge the condition. Sim- Error This error is displayed when the Execution pauses at the break-
ulation will stop at the breakpoint. condition for a breakpoint cannot point where the error occurred,
be evaluated due to an internal and this error message is dis-
communications error. played. Stop the simulation, and
* This does not mean that the re- then execute the simulation again.
sult of the evaluation is FALSE.
Failed to load the event log. Error A timeout occurred or an error re- • Check the cable connections.
sponse was received when read- Go offline and then go online
ing the event log for troubleshoot- again, and then try again.
ing. • Increase the response monitor-
• A cable is disconnected. ing time in the Communications
• A download is in progress for Setup.
other Support Software. • Wait until the download for the
• An I/O Bus Check Error occur- other Support Software is finish-
red, and reading the error log of ed, and then try again.
the CJ-series Unit was not pos- • Eliminate all high level errors,
sible. perform an error reset, and then
try to read the event log again.
Failed to lock the servo. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to monitor the status. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to read Controller Clock In- Error A timeout occurred when the • Check the cable connections.
formation. Clock Dialog Box was displayed. Go offline and then go online
(For example, a cable is discon- again, and then try again.
nected.)
Error lev-
Error message Cause Correction
el
Failed to read the file. Error You specified a file that is not a Specify a Unit Parameters File.
Unit Parameters File.
Failed to read the list of Controller Error A timeout occurred or an error re- • Check the cable connections.
variables and memory addresses sponse was received when you at- Go offline and then go online
for which forced refreshing is ac- tempted to read forced refreshing again, and then try again.
tive. values after going offline, or when • Increase the response monitor-
all forced refreshing was complet- ing time in the Communications
ed. Setup.
• A cable is disconnected. • Wait until the download for the
• A download is in progress for other Support Software is finish-
other Support Software. ed, and then try again.
Failed to read the serial ID. Error The serial ID could not be ob- There is no correction to be taken.
tained from the CPU Unit when (For example, noise caused the
online. error.)
Failed to read the status. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to cancel the forced refresh- Error A timeout occurred or an error re- • Check the cable connections.
ings for all of the specified varia- sponse was received when you at- Go offline and then go online
bles/memory in the Controller. tempted to cancel forced refresh- again, and then try again.
ing after going offline, or when all • Increase the response monitor-
forced refreshing was completed. ing time in the Communications
• A cable is disconnected. Setup.
• A download is in progress for • Wait until the download for the
other Support Software. other Support Software is finish-
ed, and then try again.
Failed to reset all axis errors. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to restore EtherCAT config- Error Add an ESI file that contains the Make sure that the device configu-
uration. device (ID) information. rations match, and then try again.
Failed to save file. Error You do not have the rights that are
required to load the file.
Failed to save the build results to Error There is insufficient memory for Close the project, restart the Sys-
the project due to out of memory. Sysmac Studio processing. mac Studio, and then build the
Please restart Sysmac Studio, and programs before you transfer them
then execute the build again. to the Controller.
Failed to start absolute positioning. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to start homing. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to start jogging. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to start packet monitoring. Error The communications timed out. Check the power supply and wir-
ing, and then try again.
Error The system is busy. Try again.
Failed to start relative positioning. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to start the MC Test Run. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Failed to stop jogging. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
eration
Failed to transfer to the controller. Error The upload failed (the specified file
does not exist).
Failed to transfer the parameters. Error There was a communications error Check the Communications Setup,
between the Sysmac Studio and and then try again.
the Controller. 11
Failed to transfer from the control- Error The download failed.
ler.
Failed to transfer. Error The communications timed out. Check the power supply and wir-
ing, and then try again.
The system is busy. Try again.
The loads are OFF. Enable the loads, and then try
again.
A major fault level Controller error Correct the error, and then try
occurred. again.
A Link OFF Error occurred. Check the power supply and wir-
ing of the first slave and then try
again.
Communications are not possible Check the power supply, wiring,
with the target slave. and slave's node address, and
then try again.
The target slave is disabled. Enable the slave and perform syn-
chronization, and then try again.
The slave cannot be identified. Use the Compare and Merge with
Actual Network Configuration
menu command to make the con-
figurations match, synchronize the
data, and then try again.
Synchronization has not been per- Synchronize, and then perform the
formed. operation.
A slave status change was detect- Make sure you are not performing
ed. any operations in other Support
Software, and then try again.
A change in the configuration was Try again.
detected.
Failed to transfer the EtherNet/IP Error Communications were blocked Change the Windows firewall set-
connection settings to/from the due to Windows firewall settings. tings to allow access. Refer to the
Controller. (Communication Error) NJ/NX-series CPU Unit Built-in
EtherNet/IP Port User’s Manual
(Cat. No. W506) or NY-series
Industrial Panel PC / Industrial Box
PC Built-in EtherNet/IP Port User’s
Manual (Cat. No. W563) for de-
tails.
Failed to unlock the servo. Error You cannot execute the operation Identify and remove the Controller
because of a Controller error. error, and then try again.
Error lev-
Error message Cause Correction
el
Failed to write Controller Clock In- Error A timeout occurred when you • Check the cable connections.
formation. clicked the button to apply the time Go offline and then go online
zone and clock settings in the again, and then try again.
Clock Dialog Box. (For example, a
cable is disconnected.)
Failed to write the Controller Error A timeout occurred or an error re- • Check the cable connections.
name. sponse was received when you at- Go offline and then go online
tempted to write the name of the again, and then try again.
Controller while online. • Increase the response monitor-
• A cable is disconnected. ing time in the Communications
• Write protection is enabled. Setup.
• A download is in progress for • Release CPU Unit write protec-
other Support Software. tion, and then try again.
• Wait until the download for the
other Support Software is finish-
ed, and then try again.
Failed to write the ID to the Con- Error A timeout occurred or an error re- • Check the cable connections.
troller. sponse was received when you at- Go offline and then go online
tempted to write the online user again, and then try again.
program execution ID to the Con- • Increase the response monitor-
troller. ing time in the Communications
• A cable is disconnected. Setup.
• RUN mode • Change to PROGRAM mode,
• Write protection is enabled. and then try again.
• A download is in progress for • Release CPU Unit write protec-
other Support Software. tion, and then try again.
• Wait until the download for the
other Support Software is finish-
ed, and then try again.
File operation failed. Error Refer to the error message.
Import Failed Error The CSV file is corrupted. Another If another application is using the
application is using the CSV file. CSV file, close that application,
and then try again.
Incorrect CSV format on line Error The CSV file format is incorrect. Specify a valid CSV file.
line_number.
Insufficient permissions. Error You do not have the read rights re- Make sure the read attribute of the
quired to read the file system stor- file system is set correctly.
ed in the project file.
One of the modules for executing Error For some reason, one of the mod- Restart the Sysmac Studio and
Sysmac Studio stopped. Exit Sys- ules for executing Sysmac Studio then execute the operation again.
mac Studio and try again. stopped.
Problem while reading CSV File Error The CSV file could not be loaded. Make sure that the file is not open
for any other application, and then
try again.
Sysmac Studio cannot be started Error A file that is necessary to start the Uninstall the Sysmac Studio and
because one or more system files Sysmac Studio is missing. then install it again.
are missing. Please uninstall the
Sysmac Studio, and then reinstall
it.
The command is not supported by Error The command does not exist.
the controller and device.
eration
The Controller was not found. Error A node at the specified IP address • Check the remote IP address in
was not found during the Commu- the Communications Setup.
nications Setup test. (A response
was received, but the specified IP 11
address was not found.)
The data of rung No. ££ is cor- Error The rung data was corrupted for Delete the corrupted rung and cre-
rupted. some reason. ate it again.
Delete the rung No. ££ and cre-
ate it again.
The entered value has an error. Error The value that was entered in one You can view the tooltip of any text
or more of the text boxes in the box with an exclamation mark to
current window is out of range. see how to correct the problem.
Follow the instructions to correct
the value as appropriate.
The file format is illegal. Error Refer to the error message.
The name has already been used. Error A data type with that name is al- Use a different name to define the
ready defined. data type.
The operation cannot be executed Error Refer to the error message.
because it is invalid.
The predefined keywords cannot Error This error is displayed when you Do not use reserved words for da-
be used for data type name. attempt to use a reserved word ta types.
(such as IF) for a data type name.
The system file could not be load- Error A file that is necessary to start the Restart the Sysmac Studio.
ed. Please restart Sysmac Studio Sysmac Studio cannot be read.
and then try again.
The target controller includes data Error An attempt was made to connect Use the newest version of the Sys-
not supported by the current ver- to a Controller with an unsupport- mac Studio.
sion of Sysmac Studio. Use the ed unit version.
latest version of Sysmac Studio. An NX Unit that is not supported is Use the newest version of the Sys-
included in the EtherCAT Slave mac Studio.
Terminal configuration information
in the connected Controller.
The target controller includes data Error If Library Data is also displayed, a Use the newest version of the Sys-
of functions that cannot be used in library in the Controller data was mac Studio.
Sysmac Studio. created with a version of Sysmac
Studio that is newer than the ver-
sion that is currently online.
The Controller includes a library Use the newest version of the Sys-
not supported by the current ver- mac Studio.
sion of Sysmac Studio.
1 Turn ON the power supply to the Controller or the Communications Coupler Unit and connect
the USB port on the Controller or the Communications Coupler Unit to the computer with a A
USB cable.
The USB driver is installed automatically after you connect the cable.
You may need to restart Windows after you install the USB driver. Restart Windows as instruct-
ed on the display.
1 Start the Device Manager from the Control Panel and, in Other devices, double-click
Unknown device.
The Unknown device Properties dialog box is displayed.
Procedure
3 Click the Modems Icon in the Device Manager and make sure that the following name is dis-
played.
For Controller: OMRON USB DirectLine
For Communications Coupler Unit: OMRON USB AbstractControl
2 Select the Ethernet interface card to use to connect the NJ/NX/NY-series Controller in the Di-
rect Ethernet Utility Dialog Box.
If any other application that uses the same network becomes unable to communicate and there
is no network card to switch, select the Disable the direct Ethernet connection function
Check Box and disable this feature.
The settings that you make with the Direct Ethernet Utility are used for Ethernet connections for
other OMRON software as well, not just for the Sysmac Studio. Make sure that you do not unin-
tentionally change the connected Controller when you change the Ethernet interface card.
Examples of other OMRON software: Network Configurator and CX-Integrator
Controller
Tasks Starting You start the Simulator from the Simulation Menu or the Simulation Pane. (You cannot
start it from the Controller Menu.)
Synchronization The data in the Simulator is synchronized when you go online with the Simulator. (There
is no need to perform synchronization after you start the Simulator.)
Exiting You exist the Simulator from the Simulation Menu or the Simulation Pane. (When you A
exist, the online connection is broken and the programs and other data are deleted from
the Simulator.)
Controller
nications instruc- • EC_StopMon
tions The instruction is processed normally, but the _EC_PktMonStop external variable re-
mains FALSE.
• EC_SaveMon
The instruction is processed normally, but the _EC_PktSaving external variable remains
FALSE.
A
• EC_CopyMon
Even if the file that is specified in the instruction exists, a File Does Not Exist error (error
NX701 Controller
Physical Controller
An NX701 Controller gives the highest priority to execution of the primary periodic task. Tasks other
than the primary periodic task are executed preferentially in order of the execution priority.
The priority-5 periodic task is executed in parallel with the primary periodic task. The priority-16 pe-
riodic task is executed after execution of the primary periodic task is completed.
IO
UPG
MC
IO
UPG
MC
IO
UPG
MC
IO
UPG
MC
IO
UPG
MC
High Primary
periodic task
Task period
MC
MC
MC
Priority-5 IO UPG IO UPG IO UPG
periodic task
Priority-8 UPG
event task
Task period
Priority-17 UPG
Low periodic task
IO: Indicates I/O refreshing (data outputs and then data inputs).
UPG: Indicates user program execution.
MC: Indicates motion control.
Controller
Execution Scheduling period of Simulator
priority
UPG
MC
UPG
MC
UPG
MC
High Primary
periodic task
A
Task period
UPG
MC
UPG
MC
Priority-5
Priority-8
event task
Task period
UPG
Priority-16
periodic task
Execution of event
task started.
Task period
Priority-17 UPG
Low periodic task
Physical Controller
For the NJ/NY-series Controllers and NX102 or NX1P2 Controllers, the tasks are activated every
primary period. The execution of a periodic task with a lower priority is interrupted to execute a task
with a higher priority (such as the primary periodic task).
An example for an NJ-series Controller is given below.
IO
UPG
MC
IO
UPG
MC
IO
UPG
MC
High Primary
periodic task
Task period
IO
UPG
UPG
IO
Priority-16
periodic task
Task period
UPG
Priority-17
Low periodic task
IO: Indicates I/O refreshing (data outputs and then data inputs).
UPG: Indicates user program execution.
MC: Indicates motion control.
Simulator
For the NJ/NY-series Controller and NX102 or NX1P2 Controller Simulator, tasks are executed ac-
cording to the scheduling policies of the Simulator. Execution of the user program cannot be inter-
rupted like it is in the physical Controller.
An example for an NJ-series Controller is given below.
UPG
MC
UPG
MC
High Primary
periodic task
Task period
UPG
UPG
Priority-16
periodic task
Task period
Priority-17 UPG
Low periodic task
Other
applications
Controller
cution of all tasks in that period is completed. If you access the clock time from a program, the op-
eration may be different.
Timer instructions are also evaluated at the same time, so the timers may time out at different
times. A
3. Differences in Operation When Task Execution Times Out
If a simulation is executed in Execution Time Estimation Mode and the execution time is used to
Additional Information
More processing time may be required depending on other applications running on the comput-
er. Do not run any unnecessary applications while the Simulator is running.
Note The number of "zeros" after INF, QNAN, IND will vary.
Exponents
Either two or three digits are given for exponents on the physical Controller. However, you must al-
ways give three digits for exponents on the Simulator. When you compare text strings, make sure that
the comparison data has the same number of digits.
Online Help
You can access online help from a Sysmac Studio menu to see instruction descriptions or to check
shortcut keys. There are four types of help.
Instruction Reference
The Instructions Reference describes the basic instructions and motion control instructions that you
can use with an NJ/NX/NY-series Controller. For each instruction, the same description as the one in
the following manuals is given.
NJ/NX-series Instructions Reference Manual (Cat. No. W502)
NJ/NX-series Motion Control Instructions Reference Manual (Cat. No. W508)
NY-series Instructions Reference Manual (Cat. No. W560)
NY-series Motion Control Instructions Reference Manual (Cat. No. W561)
Method (2) Displaying the Instructions Reference from the Ladder Editor or ST Editor
In the Ladder Editor or ST Editor, select an instruction that was previously entered or select an
instruction in the Instruction Navigator in the Toolbox, and then press the F1 Key.
The Sysmac Studio Instruction Reference Help is displayed for the selected instruction.
A-5-4 Online
Default key/shortcut key
Operation Menu command
setting
Going online Ctrl + W Controller − Online
Going offline Ctrl + Shift + W Controller − Offline
Changing to PROGRAM mode Ctrl + 1 Controller − Mode
− PROGRAM
Changing to RUN mode Ctrl + 3 Controller − Mode
− RUN
Synchronizing Ctrl + M Controller − Synchronization
Transferring Controller data from computer Ctrl + T Controller − Transfer − To Controller
to Controller
Transferring Controller data from Controller Ctrl + Shift + T Controller − Transfer − From Controller
to computer
Changing the selected program input or Ctrl + Shift + J Controller − Set/Reset
output to TRUE − Set
Changing the selected program input or Ctrl + Shift + K Controller − Set/Reset
output to FALSE − Reset
Forcing a selected input or output to TRUE Ctrl + J Controller − Forced Refreshing − TRUE
Forcing a selected input or output to FALSE Ctrl + K Controller − Forced Refreshing − FALSE
A-5-5 Simulation
Default key/shortcut key
Operation Menu command
setting
Executing a simulation F5 Simulation − Run
Pausing Ctrl + Alt + Break Simulation − Pause
Stopping Shift + F5 Simulation − Stop
Stepping in F11 Simulation − Step In
Step execution F10 Simulation − Step Execution
Stepping out Shift + F11 Simulation − Step Out
Displaying the Breakpoint Window Alt + F9 Simulation − Breakpoint Window
Setting/clearing a breakpoint at the cursor F9 Simulation − Set/Clear Breakpoints
position
Clearing all breakpoints Ctrl + Shift + F9 Simulation − Clear All Breakpoints
(a)
A
(b)
(d)
(e)
1 In the Setting Target Drop-down List of the Shortcut Key Customization Dialog Box, select
the device for which to set the shortcut key. In this example, select Controller.
The current shortcut key settings are displayed in the Command List.
3 Press the keys to assign as the shortcut key. In this example, press the Ctrl Key and then
press the W Key.
Ctrl + W is now displayed in the Enter a New Shortcut Key Box.
If the shortcut key that you enter in the Enter a New Shortcut Key Box has already been as-
signed to another command, the command will be displayed in the Command Currently
Assigned display area.
Additional Information
A
Available Shortcut Keys
1 Select the command for which to remove the shortcut key and click the Remove Shortcut
Keys Button.
The shortcut key assigned to the command is removed.
If the command has more than one shortcut key assigned, the Remove Shortcut Keys Dialog
Box is displayed.
2 Select the shortcut key to remove from the shortcut key list, click the Remove Button, and then
click the OK button.
The selected shortcut key is removed from the Command List.
Export
The export procedure is described below.
1 In the Shortcut Key Customization Dialog Box, click the Export Button.
The dialog box to specify the export destination is displayed.
2 Select the export destination folder and click the Save Button.
The current shortcut key assignment settings are saved in the file.
Import
The import procedure is described below.
1 In the Shortcut Key Customization Dialog Box, click the Import Button.
The dialog box to select the file to import is displayed.
2 Select the file from which to import shortcut key settings, and then click the Open Button.
The shortcut key settings are imported.
If Controller is selected from the Setting Target Drop-down List, you cannot change the following
shortcut key assignment as well.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SigPosLmt Simulate FB SIM_SigPosLmt_instance SIM_SigPosLmt_instance (
Positive SIM_SigPosLmt Axis :=Parameter,
Limit Input Axis Axis Enable :=Parameter,
Signal Enable Status Status =>Parameter,
Busy
Busy =>Parameter,
Error
ErrorID
Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or FALSE The positive limit input signal turns ON when
FALSE Enable changes to TRUE.
Output Variables
Valid
Name Meaning Data type Description
range
Status Input signal ON BOOL TRUE or TRUE when the input signal is ON.
FALSE
In-Out Variables
Valid A
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
Function
• When Enable changes to TRUE, a virtual positive limit input signal is created for the axis specified
by Axis.
• When Enable changes to FALSE, the positive limit input signal turns OFF for the axis specified by
Axis.
This instruction must be used only for simulation. Use it only in debug programs. If you use it in
a normal program, it is not executed on the physical CPU Unit, but it creates a virtual input sig-
nal. Debug programs cannot be executed on the physical CPU Unit.
Errors
An error occurs if there is no slave for the axis specified by Axis. The error code (0406 hex) is output
to ErrorID.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SigNegLmt Negative FB SIM_SigNegLmt_instance SIM_SigNegLmt_instance (
Limit Input SIM_SigNegLmt Axis :=Parameter,
Signal Axis Axis Enable :=Parameter,
Enable Status Status =>Parameter,
Busy
Busy =>Parameter,
Error
ErrorID
Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or FALSE The negative limit input signal turns ON
FALSE when Enable changes to TRUE.
Output Variables
Valid
Name Meaning Data type Description
range
Status Input signal ON BOOL TRUE or TRUE when the input signal is ON.
FALSE
Busy Executing BOOL TRUE or TRUE when the instruction is acknowledged.
FALSE
Error Error BOOL TRUE or TRUE while there is an error.
FALSE
ErrorID Error code WORD --- Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
In-Out Variables
Valid
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
*1. Specify an Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (The default axis variable
names are MC_Axis***.) or a user-defined variable that specifies the address of an Axis Variable.
Function
• When Enable changes to TRUE, a virtual negative limit input signal is created for the axis specified
by Axis.
• When Enable changes to FALSE, the negative limit input signal turns OFF for the axis specified by
Axis.
This instruction must be used only for simulation. Use it only in debug programs. If you use it in
a normal program, it is not executed on the physical CPU Unit, but it creates a virtual input
signal. Debug programs cannot be executed on the physical CPU Unit.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SigOrgProx Simulate FB SIM_SigOrgProx_instance SIM_SigOrgProx_instance (
Home Prox- SIM_SigOrgProx Axis :=Parameter,
imity Signal Axis Axis Enable :=Parameter,
Enable Status Status =>Parameter,
Busy
Busy =>Parameter,
Error
ErrorID
Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or FALSE The home proximity signal turns ON when
FALSE Enable changes to TRUE.
Output Variables
Valid
Name Meaning Data type Description
range
Status Input signal ON BOOL TRUE or TRUE when the input signal is ON.
FALSE
Busy Executing BOOL TRUE or TRUE when the instruction is acknowledged.
FALSE
Error Error BOOL TRUE or TRUE while there is an error.
FALSE
ErrorID Error code WORD --- Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
In-Out Variables
Valid
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
*1. Specify an Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (The default axis variable
names are MC_Axis***.) or a user-defined variable that specifies the address of an Axis Variable.
Function
• When Enable changes to TRUE, a virtual home proximity signal is created for the axis specified by
Axis.
• When Enable changes to FALSE, the home proximity signal turns OFF for the axis specified by Ax-
is.
This instruction must be used only for simulation. Use it only in debug programs. If you use it in
a normal program, it is not executed on the physical CPU Unit, but it creates a virtual input sig-
nal. Debug programs cannot be executed on the physical CPU Unit.
A
A-6-4 Simulate Immediate Stop Input Signal Instruction
This instruction creates a virtual immediate stop input signal.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SigEmerg- Simulate Im- FB SIM_SigEmergStop_instance SIM_SigEmergStop_instance (
Stop mediate SIM_SigEmergStop Axis :=Parameter,
Stop Input Axis Axis Enable :=Parameter,
Signal Enable Status Status =>Parameter,
Busy
Busy =>Parameter,
Error
ErrorID
Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or FALSE The immediate stop input signal turns ON
FALSE when Enable changes to TRUE.
Output Variables
Valid
Name Meaning Data type Description
range
Status Input signal ON BOOL TRUE or TRUE when the input signal is ON.
FALSE
Busy Executing BOOL TRUE or TRUE when the instruction is acknowledged.
FALSE
Error Error BOOL TRUE or TRUE while there is an error.
FALSE
ErrorID Error code WORD --- Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
In-Out Variables
Valid
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
*1. Specify an Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (The default axis variable
names are MC_Axis***.) or a user-defined variable that specifies the address of an Axis Variable.
Function
• When Enable changes to TRUE, a virtual immediate stop input signal is created for the axis speci-
fied by Axis.
• When Enable changes to FALSE, the immediate stop input signal turns OFF for the axis specified
by Axis.
This instruction must be used only for simulation. Use it only in debug programs. If you use it in
a normal program, it is not executed on the physical CPU Unit, but it creates a virtual input sig-
nal. Debug programs cannot be executed on the physical CPU Unit.
Errors
An error occurs if there is no slave for the axis specified by Axis. The error code (0406 hex) is output
to ErrorID.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SigExtLatch Simulate Ex- FB SIM_SigExtLatch_instance SIM_SigExtLatch_instance (
ternal Latch SIM_SigExtLatch Axis :=Parameter,
Input Signal Axis Axis Enable :=Parameter,
Enable Status LatchID :=Parameter,
LatchID Busy
Status =>Parameter,
Error
ErrorID
Busy =>Parameter,
Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Output Variables A
Valid
In-Out Variables
Valid
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
*1. Specify an Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (The default axis variable
names are MC_Axis***.) or a user-defined variable that specifies the address of an Axis Variable.
Function
• When Enable changes to TRUE, a virtual external latch input signal is created for the axis specified
by Axis.
• When Enable changes to FALSE, the virtual external latch input signal turns OFF for the axis speci-
fied by Axis.
This instruction must be used only for simulation. Use it only in debug programs. If you use it in
a normal program, it is not executed on the physical CPU Unit, but it creates a virtual input sig-
nal. Debug programs cannot be executed on the physical CPU Unit.
Errors
An error occurs in the following case.
• An error occurs if latch ID selection LatchID is not 1 or 2. The error code (0400 hex) is output to
ErrorID.
• An error occurs if there is no slave for the axis specified by Axis. The error code (0406 hex) is out-
put to ErrorID.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SetDrvAlm Simulate FB SIM_SetDrvAlm_instance SIM_SetDrvAlm_instance (
Drive Alarm SIM_SetDrvAlm Axis :=Parameter,
Axis Axis Execute :=Parameter,
Execute Done Done =>Parameter,
Busy
Busy =>Parameter,
Failure
Error
Failure =>Parameter,
ErrorID Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Execute Execute BOOL TRUE or FALSE The instruction is executed when Execute
FALSE changes to TRUE.
Output Variables
Valid
Name Meaning Data type Description
range
Done Done BOOL TRUE or TRUE when instruction execution is completed normally.
FALSE
Busy Busy BOOL TRUE or TRUE when the instruction is acknowledged.
FALSE
Failure Error end BOOL TRUE or TRUE when instruction execution is not completed normal-
FALSE ly.
Error Error BOOL TRUE or TRUE while there is an error.
FALSE
ErrorID Error code WORD --- Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
In-Out Variables
Valid
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
Function
• When Execute changes to TRUE, a virtual Drive alarm is created for the axis specified by Axis.
• Execute the MC_Reset (Reset Axis Error) instruction to reset the Drive alarm.
Errors
An error occurs if there is no slave for the axis specified by Axis. The error code (0406 hex) is output
to ErrorID.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SetDrvWarn Simulate FB SIM_SetDrvWarn_instance SIM_SetDrvWarn_instance (
Drive Warn- SIM_SetDrvWarn Axis :=Parameter,
ing Axis Axis Execute :=Parameter,
Execute Done Done =>Parameter,
Busy
Busy =>Parameter,
Failure
Error
Failure =>Parameter,
ErrorID Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Execute Execute BOOL TRUE or FALSE The instruction is executed when Execute
FALSE changes to TRUE.
Output Variables
Valid
Name Meaning Data type Description
range
Done Done BOOL TRUE or TRUE when instruction execution is completed normally.
FALSE
Busy Busy BOOL TRUE or TRUE when the instruction is acknowledged.
FALSE
Failure Error end BOOL TRUE or TRUE when instruction execution is not completed normal-
FALSE ly.
Error Error BOOL TRUE or TRUE while there is an error.
FALSE
ErrorID Error code WORD --- Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
In-Out Variables
Valid
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
*1. Specify an Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (The default axis variable
names are MC_Axis***.) or a user-defined variable that specifies the address of an Axis Variable.
Function
• When Execute changes to TRUE, a virtual Drive warning is created for the axis specified by Axis.
• A drive warning is automatically reset in the next cycle after the virtual warning.
This instruction must be used only for simulation. Use it only in debug programs. If you use it in
a normal program, it is not executed on the physical CPU Unit, but it creates a virtual input sig-
nal. Debug programs cannot be executed on the physical CPU Unit.
Errors
An error occurs if there is no slave for the axis specified by Axis. The error code (0406 hex) is output
to ErrorID.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SetVelocity Encoder Ve- FB SIM_SetVelocity_instance SIM_SetVelocity_instance(
locity Input SIM_SetVelocity Axis :=parameter,
Axis Axis Execute :=parameter,
Variables A
Input Variables
Output Variables
Valid
Name Meaning Data type Description
range
Done Done BOOL TRUE or TRUE when instruction execution is completed normally.
FALSE
Busy Executing BOOL TRUE or TRUE when the instruction is acknowledged. FALSE when
FALSE instruction processing is completed.
Failure Failure BOOL TRUE or TRUE when instruction execution is not completed normal-
FALSE ly.
* Always FALSE on Sysmac Studio version 1.03.
Error Error BOOL TRUE or TRUE while there is an error.
FALSE
ErrorID Error code WORD --- Contains the error code when an error occurs. A value of
16#0000 indicates normal execution.
In-Out Variables
Valid
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
*1. Specify an Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (The default axis variable
names are MC_Axis***.) or a user-defined variable that specifies the address of an Axis Variable.
Function
When Execute changes to TRUE, the current velocity of the axis that is specified by Axis is changed
to a virtual velocity.
This instruction must be used only for simulation. Use it only in debug programs. If you use it in
a normal program, it is not executed on the physical CPU Unit, but it virtually changes the cur-
rent velocity. Debug programs cannot be executed on the physical CPU Unit.
Errors
An error occurs if there is no slave for the axis specified by Axis. The error code (0406 hex) is output
to ErrorID.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SetActPos Write Actual FB SIM_SetActPos_instance SIM_SetActPos_instance(
Position SIM_SetActPos Axis :=Parameter,
Axis Axis Enable :=Parameter,
Enable Status SetPos :=Parameter,
SetPos Busy
Status =>Parameter,
Error
ErrorID
Busy =>Parameter,
Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or FALSE The instruction is executed while Enable is
FALSE TRUE.
SetPos Actual posi- LREAL Negative 0 Specifies the absolute value of the actual
tion number, position. (The unit is command units.)
positive num- In Rotary Mode, operation is performed with
ber, or 0 the shortest way specification.
Output Variables
Valid
Name Meaning Data type Description
range
Status Input signal ON BOOL TRUE or TRUE when the input signal is ON.
FALSE
In-Out Variables
Valid A
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
Function
While Enable is TRUE, the specified actual position is written to the process data object in Axis.
The drive emulator does not wrap the actual position while execution of this instruction is in progress.
When Enable changes to FALSE, the operating mode from before instruction execution is restored
and the actual position is updated.
• This instruction must be used only for simulation. Use it only in debug programs. If you use it
in a normal program, it is not executed on the physical CPU Unit, but it virtually changes the
actual position process data. Debug programs cannot be executed on the physical CPU Unit.
• If you use this instruction, place only one instruction in the user program for each axis. The
intended operation may not be achieved if you place more than one instruction in the user
program for the same axis.
• Make sure that the value that you write to the process data object does not exceed 32 bits
when converted to pulses by the electronic gear. If 32 bits is exceeded, the intended opera-
tion may not occur.
• If you use this instruction, assign a different instance for each axis. You cannot use the same
instance for more than one axis.
• Do not use this instruction for an encoder axis. The intended operation may not occur.
• This instruction updates the process data object data instead of the Servo Drive. Use it in the
task with the shortest control period.
• The following restrictions apply to the use of this instruction.
a) You cannot use it for a virtual axis.
b) You cannot use it while the Servo is OFF.
c) You cannot execute the MC_Home instruction or MC_SetPosition instruction during exe-
cution of this instruction.
d) Any changes to the axis parameters, such as the gear ratio, that are made with the
MC_WriteAxisParameter instruction are ignored by this instruction.
Errors
An error occurs and an error code is output in the following cases.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SetActVel Write Actual FB SIM_SetActVel_instance SIM_SetActVel_instance(
Velocity SIM_SetActVel Axis :=Parameter,
Axis Axis Enable :=Parameter,
Enable Status SetVel :=Parameter,
SetVel Busy
Status =>Parameter,
Error
ErrorID
Busy =>Parameter,
Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or FALSE The instruction is executed while Enable is
FALSE TRUE.
SetVel Actual veloci- LREAL Negative 0 Specifies the actual velocity. (The unit is
ty number, command units/s.)
positive num-
ber, or 0
Output Variables
Valid
Name Meaning Data type Description
range
Status Input signal ON BOOL TRUE or TRUE when the input signal is ON.
FALSE
Busy Executing BOOL TRUE or TRUE when the instruction is acknowledged.
FALSE
Error Error BOOL TRUE or TRUE while there is an error.
FALSE
Valid
Name Meaning Data type Description
range
ErrorID Error code WORD --- Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
Function A
While Enable is TRUE, the specified actual velocity is written to the process data object in Axis.
• This instruction must be used only for simulation. Use it only in debug programs. If you use it
in a normal program, it is not executed on the physical CPU Unit, but it virtually changes the
actual velocity process data. Debug programs cannot be executed on the physical CPU Unit.
• To use this instruction, you must map the process data object. An error will occur if you exe-
cute this instruction without mapping the object.
• If you use this instruction, place only one instruction in the user program for each axis. The
intended operation may not be achieved if you place more than one instruction in the user
program for the same axis.
• Make sure that the value that you write to the process data object does not exceed 32 bits
when converted to pulses by the electronic gear. If 32 bits is exceeded, the intended opera-
tion may not occur.
• If you use this instruction, assign a different instance for each axis. You cannot use the same
instance for more than one axis.
• Do not use this instruction for an encoder axis. The intended operation may not occur.
• This instruction updates the process data object data instead of the Servo Drive. Use it in the
task with the shortest control period.
• The following restrictions apply to the use of this instruction.
a) You cannot use it for a virtual axis.
b) You cannot use it while the Servo is OFF.
c) You cannot execute the MC_Home instruction or MC_SetPosition instruction during exe-
cution of this instruction.
d) Any changes to the axis parameters, such as the gear ratio, that are made with the
MC_WriteAxisParameter instruction are ignored by this instruction.
Errors
An error occurs and an error code is output in the following cases.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
FB/
Instruction Name Graphic expression ST expression
FUN
SIM_SetActTrq Write Actual FB SIM_SetActTrq_instance SIM_SetActTrq_instance(
Torque SIM_SetActTrq Axis :=Parameter,
Axis Axis Enable :=Parameter,
Enable Status SetTrq :=Parameter,
SetTrq Busy
Status =>Parameter,
Error
ErrorID
Busy =>Parameter,
Error =>Parameter,
ErrorID =>Parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Enable Enable BOOL TRUE or FALSE The instruction is executed while Enable is
FALSE TRUE.
SetTrq Actual torque LREAL Negative 0 Specifies the actual torque. (The unit is %.)
number, Specifies the target torque to output to the
positive num- Servo Drive in increments of 0.1%. Specify a
ber, or 0 percentage of the rated torque, i.e., the rat-
ed torque is 100.0%.
Output Variables
Valid
Name Meaning Data type Description
range
Status Input signal ON BOOL TRUE or TRUE when the input signal is ON.
FALSE
Busy Executing BOOL TRUE or TRUE when the instruction is acknowledged.
FALSE
Error Error BOOL TRUE or TRUE while there is an error.
FALSE
ErrorID Error code WORD --- Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
In-Out Variables
Valid
Name Meaning Data type Description
range
Axis Axis _sAXIS_REF --- Specifies the axis.*1
Function
While Enable is TRUE, the specified actual torque is written to the process data object in Axis.
Specify the target torque to output to the Servo Drive in increments of 0.1%.
When Enable changes to FALSE, the actual torque is not written.
A
Precautions for Correct Use
Errors
An error occurs and an error code is output in the following cases.
Refer to A-6-12 Detailed Information on Error Codes on page A-50 later in this manual for information
on error codes.
Event name Input Value Out of Range Event code 54010400 hex
Meaning An input parameter for an instruction exceeded the valid range for an input variable.
Or, division by an integer of 0 occurred in division or remainder calculations.
Source PLC Function Module Source de- Instruction Detection tim- At instruction
tails ing execution
Error attrib- Level Observation Recovery --- Log category System
utes
Effects User program Continues. Operation The relevant instruction will end according to specifi-
cations.
System-de- Variable Data type Name
fined varia- None --- ---
bles
Cause and Assumed cause Correction Prevention
correction An input parameter for an instruc- Check the valid range for the in- Set the value of the input parame-
tion exceeded the valid range for put variables of the instruction. ter to the instruction so that the
an input variable. Or, division by Make sure the input parameters input range is not exceeded.
an integer of 0 occurred in divi- are within the valid range and that
sion or remainder calculations. no division by 0 or remainder cal-
culation for 0 is performed.
Attached in- Attached Information 1: Error Location
formation Attached Information 2: Error Location Detail, Rung Number. For a program section, the rung number from
the start of the section is given. For ST, the line number is given.
Attached Information 3: Instruction Name and Instruction Instance Name Where Error Occurred. If there is
more than one instruction, all of them are given. If the instruction cannot be identified, nothing is given.
Attached Information 4: Expansion Error Code (ErrorIDEx)
Precautions/ If a program is changed after an error occurs, the attached information that is displayed may not be cor-
Remarks rect.
Event name Illegal Data Position Specified Event code 54010406 hex
Meaning A memory address or data size that was specified for the instruction is not suitable.
Source PLC Function Module Source de- Instruction Detection tim- At instruction
tails ing execution
Error attrib- Level Observation Recovery --- Log category System
utes
Effects User program Continues. Operation The relevant instruction will end according to specifi-
cations.
System-de- Variable Data type Name
fined varia- None --- ---
bles
Event name Process Data Object Setting Missing Event code 54013461 hex
Meaning The PDO mapping is not correct.
Source PLC Function Module Source de- Instruction Detection tim- At instruction
tails ing execution
Error attrib- Level Observation Recovery --- Log category System
utes
Effects User program Continues. Operation The relevant instruction will end according to specifi-
cations.
System-de- Variable Data type Name
fined varia- _MC_AX[*].MFaultLvl.Active BOOL Axis Minor Fault Occurrence
bles
Cause and Assumed cause Correction Prevention
correction The PDOs that are required for Map the PDOs that are required Map the PDOs that are required
the motion control instruction are for the instruction. for the instructions that are used.
not mapped. Refer to the Function section of Refer to the NJ/NX-series CPU
the relevant instruction for the re- Unit Motion Control User's
quired PDOs. Manual (Cat. No. W507) or NY-
series Industrial Panel PC /
Industrial Box PC Motion Control
User’s Manual (Cat. No. W559)
for the PDOs (Servo Drive set-
tings) that you must map for each
instruction.
The relevant instruction was exe- Some devices do not support the Refer to the manual for the target
cuted for a target device that relevant instruction. device and write the program so
does not have an object that sup- Refer to the manual for the target that unsupported instructions are
ports the instruction. device, check to see if the rele- not executed.
vant instruction is supported, and
correct the program so that un-
supported instructions are not
executed.
Attached in- Attached Information 1: Error Location
formation Attached Information 2: Error Location Detail, Rung Number. For a program section, the rung number from
the start of the section is given. For ST, the line number is given.
Attached Information 3: Instruction Name and Instruction Instance Name Where Error Occurred. If there is
more than one instruction, all of them are given. If the instruction cannot be identified, nothing is given.
Attached Information 4: Expansion Error Code (ErrorIDEx)
Precautions/ If a program is changed after an error occurs, the attached information that is displayed may not be cor-
Remarks rect.
1 Connect the computer to the EtherCAT Coupler Unit with a USB cable.
2 Create a project for an NJ/NX/NY-series Controller and create the configuration for an Ether-
CAT Slave Terminal. Refer to 5-3 EtherCAT Slave Terminal Configuration and Setup on page
5-25 for the procedures.
3 Right-click the Communications Coupler Unit on the EtherCAT Slave Terminal Tab Page and
select Coupler Connection (USB) − Online. Or right-click the Communications Coupler Unit
in the Multiview Explorer and select Coupler Connection (USB) − Online.
A dialog box to confirm the connection is displayed.
4 Check the EtherCAT Coupler Unit to connect to, and click the OK Button.
The Sysmac Studio goes online with the EtherCAT Slave Terminal.
Additional Information
You can also go online by selecting the Communications Coupler Unit in the Slave Terminal and
clicking the Online Button in the Coupler Connection (USB) item of the Unit setting item list.
1 Go online with the EtherCAT Slave Terminal, right-click the Communications Coupler Unit on
the EtherCAT Slave Terminal Tab Page and select Coupler Connection (USB) − Transfer to
Coupler. Or right-click the Communications Coupler Unit in the Multiview Explorer and select
Coupler Connection (USB) − Transfer to Coupler.
The Transfer to Coupler Dialog Box is displayed.
1 Go online with the EtherCAT Slave Terminal, right-click the Communications Coupler Unit on
the EtherCAT Slave Terminal Tab Page, and select Coupler Connection (USB) − Transfer
from Coupler. Or right-click the Communications Coupler Unit in the Multiview Explorer and
select Coupler Connection (USB) − Transfer from Coupler.
A Transfer Confirmation Dialog Box is displayed. Click the Yes Button to transfer the data.
If you execute Transfer to Coupler, the Unit is restarted after the data is transferred. At that
time, I/O communications with the communications master will stop.
1 Go online with the EtherCAT Slave Terminal, right-click the Communications Coupler Unit on
the EtherCAT Slave Terminal Tab Page and select Coupler Connection (USB) − Compare.
Or, right-click the EtherCAT Coupler Unit in the Multiview Explorer and select Coupler
Connection (USB) − Compare.
The data is compared. If it is the same, Slave Terminal settings matched is displayed.
If there are differences, a dialog box that shows the differences in the settings is displayed.
1 Place the Sysmac Studio online with the NJ/NX/NY-series CPU Unit or the EtherCAT Coupler
Unit.
2 Double-click the Communications Coupler Unit on the Slave Terminal Tab Page or right-click it
and select Edit Unit Operation Settings.
The Edit Unit Operation Settings Tab Page is displayed.
4 Click the Transfer to Unit Button for the Unit operation settings.
The prohibition setting is enabled after you go offline and then back online.
1 Disconnect the EtherCAT Coupler Unit from the NJ/NX/NY-series CPU Unit or EtherCAT net-
work and place the Sysmac Studio online with the EtherCAT Coupler Unit.
2 A Edit Unit Operation Settings Tab Page is displayed for the EtherCAT Coupler Unit.
4 Click the Transfer to Unit Button for the Unit operation settings.
• You can connect directly to the EtherCAT Coupler Unit even when the prohibition setting is
active as long as the EtherCAT Coupler Unit is not connected to the EtherCAT network.
• Sysmac Studio version 1.07 can be directly connected to the Coupler Unit even if the prohibi-
tion setting is active.
1 Go online with the EtherCAT Slave Terminal, right-click the Communications Coupler Unit on
the EtherCAT Slave Terminal Tab Page, and select Coupler Connection (USB) − Start I/O
Check. Or, right-click the EtherCAT Coupler Unit in the Multiview Explorer and select Coupler
Connection (USB) − Start I/O Check.
You can now check the I/O wiring.
Do not disconnect the cable when you change the values of I/O ports or variables from the I/O
Map with a direct connection to the EtherCAT Coupler Unit. To connect directly to a different
Coupler Unit, go offline, connect the cable to the other Unit, and go online again.
• An EtherCAT Coupler Unit with unit version 1.2 or later is required to use this function.
• Not all NX Units support this function. Refer to the NX-series Data Reference Manual (Cat.
No. W525) for details.
A
Refer to the NX-series EtherCAT Coupler Units User’s Manual (Cat. No. W519) for details on connect-
ing to the EtherCAT Coupler Unit and online operations.
Additional Information
The USB driver is installed when you connect the first time. Refer to A-1 Driver Installation for
Direct USB Cable Connection on page A-3 for details.
Additional Information
Refer to the manuals provided by the vendors of the MDP slaves and modules for information
on the MDP slaves, the modules that you can connect to the MDP slaves, and the settings.
1 Install the ESI files for the MDP slaves to use on the EtherCAT Tab Page.
Refer to 5-2-7 Installing and Uninstalling ESI Files on page 5-17 for the installation procedure
for ESI files.
The MDP slave groups and MDP slave models are displayed in the Toolbox.
1 Right-click the slave in the EtherCAT Tab Page and select Edit Module Configuration.
The Module Configuration Dialog Box is displayed.
2 Select the location at which to register a module and double-click the module to register in the
Toolbox. Or, drag the module from the Toolbox to the Module Configuration Dialog Box.
The module is registered.
You can delete, copy, paste, and move modules on the Module Configuration Dialog Box.
1 Go online, right-click one of the modules in the Module Configuration Dialog Box, and select
Compare and Merge with Actual Module Configuration.
The actual module configuration is read and compared with the module configuration on the
Sysmac Studio. The results are displayed in the Compare and Merge with Actual Module
Configuration Dialog Box.
A
1 Go online, right-click one of the modules in the Module Configuration Dialog Box, and select
Display Production Information.
The Production Information Dialog Box is displayed.
1 Select OMRON - Sysmac Studio - Tools - Language Switching Tool from the Windows Start
Menu. A
The Language Switching Tool starts.
Additional Information
• Changing the display language changes only the language that is displayed on the Sysmac
Studio. You cannot change the region that was selected at installation or the Windows region
or language setting (local setting).
• For program names, configuration names, and setting names, the language that was used
when the project was saved is displayed.
If you change between Controller models not listed here, the set values for functions that are not sup-
ported by the Controller that you change to are lost. In this case, the setting items unique to the model
that you change to are set to the default values.
If the configuration of the EtherCAT network includes an EtherCAT slave that cannot be used by
the Controllers after model change, the configuration and settings of the EtherCAT network will
be all cleared. In that case, create and set an EtherCAT network configuration again.
Controllers
Built-in • The IP Address settings in the • The IP Address - Port 1 and
EtherNet/IP TCP/IP settings are used as the IP Default Gateway settings in the
Port Settings Address - Port 1 and Default TCP/IP settings are used as the IP
Gateway settings. Address settings. The IP Address -
• The LINK Settings are used for the Port 2 settings are lost. A
LINK Settings - Port 1 settings. • Of the data registered for the IP
• The FINS settings are deleted. router table in the TCP/IP settings,
Controllers
EtherNet/IP TCP/IP settings are used as the IP and Default Gateway settings in the
Port Settings Address - EtherNet/IP Port and TCP/IP settings are used as the IP
Default Gateway settings. Address settings. The IP Address -
• The LINK Settings are used for the Internal Port 1 settings are lost.
LINK Settings - EtherNet/IP Port • Of the data registered for the IP
settings. router table in the TCP/IP settings,
A
• The FINS settings are deleted. any data that exceeds the upper lim-
• The internal port 1 is added in the
Controllers
The results of the change are dis-
played in the Output Tab Page.
EtherNet/IP Connection Set- • The connection settings in the Built- The connection settings in the Built-in
tings in EtherNet/IP Port Settings are EtherNet/IP Port Settings - Port 1
used for the Built-in EtherNet/IP settings are used for the Built-in
Port Settings - Port 1 settings. EtherNet/IP Port Settings. The Built-
A
in EtherNet/IP Port Settings - Port 2
settings are lost.
Controllers
Communications Cycle 1 for slaves
is set to the primary periodic task
period.
• If a task period that is unique to the
NX701 Controller is set, the task pe-
riod changes when the Controller
A
model is changed, so the value of
the PDO communications cycle
Controllers
period changes when the Controller
model is changed, so the value of
the PDO communications cycle
changes. Refer to Task Settings for
information on changes in the task
periods.
A
CPU/Expansion Rack Con- The Unit configuration and the setup The CPU/Expansion Rack configura-
figuration and Setup parameters for all Units are deleted. All tion and setup are added in the same
Controllers
Port Settings TCP/IP settings are used as the IP Address - Port 1 and Default
Address settings. The IP Address - Gateway settings.
Port 2 settings are lost.
• Among the data registered for the IP
router table in the TCP/IP settings,
any data that exceeds the upper lim-
A
it (8) for an NJ-series Controller is
lost.
Controllers
that are assigned to MC2 (priority-5
periodic task) in the NX701 Control-
ler change from _MC2_AX[£] to
_MC_AX[£].
• The Control Function parameter is
set to All.
A
Axes Group Settings The axes group settings do not • An error is displayed if the limit to
Controllers
riod changes when the Controller
model is changed, so the value of
the PDO communications cycle
changes. Refer to Task Settings for
information on changes in the task
periods.
A
CPU/Expansion Rack Con- The Unit configuration and the setup The Unit configuration and the setup
figuration and Setup parameters are used. An error is dis- parameters are used.
1 Select OMRON - Sysmac Studio - Tools - Sysmac Controller Log Upload Tool from the
A
Windows Start Menu.
The Sysmac Controller Log Upload Tool is displayed.
Click the Communications Test button to see if you can connect to the Controller.
The Controller log is uploaded from the Controller and the directory where the log files were
saved is displayed in the Status area.
4 Click the button labeled with the directory name in the Status area.
Additional Information
• To specify the target Controller, you can click the Browse button to display the Network
Browser Dialog Box and then select the target Controller in it.
• The log files that are uploaded by this tool do not contain any information that can be used to
identify you and they do not contain your project files (e.g., settings, configurations, and pro-
grams).
• The log files uploaded by this tool will not be sent from your computer to any external party
without your specific approval.
Version Information
A CPU Unit with unit version 1.10 or later is required to use this tool.
1 Select OMRON - Sysmac Studio - Tools - Sysmac Studio Error Report Generating Tool
from the Windows Start Menu.
The Sysmac Studio Error Report Generating Tool is displayed.
The error reports are saved and the name of the file that was created is displayed in the Status
area.
3 Click the button labeled with the created file name in the Status area.
If you select the check box for the project name in the Logs for reporting area, this tool will
create a file that contains your project file (e.g., settings, configurations, and programs). Confirm
that there are no problems in including your project information before you select this check
box.
If you do not check this check box, the files created by this tool do not contain any information
that can be used to identify you and they do not contain your project files.
Additional Information
The files created by this tool will not be sent from your computer to any external party without
your specific approval.
1 Select OMRON - Sysmac Studio - Tools - Sysmac Coupler Log Upload Tool from the Win-
dows Start Menu.
The Sysmac Coupler Log Upload Tool is displayed.
The Slave Terminal log is uploaded from the Slave Terminal and the directory where the log
files were saved is displayed in the Status area.
4 Click the button labeled with the directory name in the Status area.
1 Select Manual Download from the Help Menu of the Sysmac Studio. Or select All Programs
- OMRON - Sysmac Manual Download from the Windows Start Menu.
Internet Explorer 11 starts and displays the Sysmac Family Manual Download page.
Select the target product from Product Category and download manuals.
Index
Numerics communications...............................................................3-74
Communications Middleware..................................... 1-5, 2-3
2D Path Display...............................................................7-68 Communications Setup..................................................... 6-4
3D equipment models.......................................... 7-73, 7-100 connection methods.......................................................... 6-3
3D Motion Monitor Display Mode.................................... 7-67 Constant attribute............................................................ 4-44
3G3AX-MX2-ECT............................................................ 5-37 constants....................................................................... 4-149
continuous step............................................................... 7-95
A Controller..................................................................3-54, 6-2
Controller backup............................................................ 8-41
addresses.......................................................................... 1-2 Controller Configurations and Setup.......................... 3-4, 3-6
administrator......................................................................2-2 Controller errors.............................................. 1-3, 8-90, 8-91
administrator rights............................................................ 2-2 Controller event log................................................ 8-90, 8-95
AT Specification attribute................................................. 4-42 Controller models.............................................................. 1-6
attributes..........................................................................4-36 Controller Setup...............................................................5-63
authentication of user program execution IDs................. 8-15 Controller status....................................................... 1-3, 7-45
Auto Connection Project....................................................6-9 Controller Status Pane.................................................... 3-40
Automation Software......................................................... 1-5 CPU Rack and Expansion Rack Configuration of NJ-series
Axes Group Basic Settings..............................................5-87 Controllers..................................................................7-140
Axes Group Operation Settings.......................................5-87 creating a project........................................................3-3, 3-6
Axes Group Variables...............................................4-3, 4-30 creating Axes Group Variables........................................ 4-30
Axis Basic Settings.......................................................... 5-79 creating Axis Variables.................................................... 4-27
Axis Setting Table............................................................ 5-82 creating cam data variables.............................................4-32
Axis Status Monitor..........................................................7-50 creating data types.......................................................... 4-69
Axis Variables........................................................... 4-3, 4-27 creating function block instance variables....................... 4-35
creating global variables....................................................4-4
B creating local variables.................................................... 4-22
Cross Reference Tab Page............................................. 3-41
backing up variables and memory...................................8-46 cross references.............................................................. 7-36
backup............................................................................. 8-47 CX-ConfiguratorFDT..........................................................2-3
backup parameter settings.............................................. 5-12 CX-Designer............................................ 1-5, 2-3, 10-2, 10-3
Base Type attribute..........................................................4-77 CX-Integrator.....................................................1-5, 2-3, 10-2
Basic Settings View......................................................... 5-63 CX-One...................................................................... 2-2, 2-3
bookmarks..........................................................4-135, 4-151 CX-Protocol.......................................................1-5, 2-3, 10-2
breakpoints...................................................................... 7-92 CX-Server...................................................................1-5, 2-3
Build Tab Page................................................................ 3-42
building.......................................................................... 4-165 D
Built-in EtherNet/IP Port Settings.................................... 5-69
data protection.................................................................8-19
C data tracing...........................................................7-52, 7-100
Data Type attribute.......................................................... 4-38
calibrate for execution time estimates............................. 7-87 data type attributes.......................................................... 4-77
cam data..........................................................................5-89 data types........................................................................ 3-41
cam data variables................................................... 4-3, 4-32 debug programs.............................................................. 7-83
changing present values................................. 1-3, 7-24, 7-27 debugging........................................................................3-71
changing programming......................................................1-3 designing tasks...........................................................3-4, 3-7
checking I/O assignments............................................. 7-147 designing the user program........................................3-3, 3-7
checking I/O wiring........................................................ 7-146 device variables...............................................4-3, 4-11, 7-27
CJ1W-DRM21..................................................................10-2 diagnostic and statistical information...............................8-64
CJ1W-EIP21.................................................................... 10-2 Differential Monitor...........................................................7-21
CJ1W-SCU22.................................................................. 10-2 direct connection via Ethernet........................................... 6-3
CJ1W-SCU32.................................................................. 10-2 direct connection via USB................................................. 6-3
CJ1W-SCU42.................................................................. 10-2 direct Ethernet connection...............................................2-10
clearing memory.............................................................. 8-31 Direct Ethernet Utility........................................................ A-7
clock information................................................................8-7 DirectX...............................................................................2-3
comment........................................................................4-150
Comment attribute..................................................4-45, 4-78
disconnecting a slave from and reconnecting a slave to the inserting a program input in an OR structure...................4-93
network........................................................................ 8-61 inserting program outputs in an OR structure..................4-98
download....................................................................... 7-120 inserting program outputs in series in an AND structure. 4-96
DVD media...................................................................... 1-10 installation..................................................1-8, 2-2, 5-17, A-3
Instruction Reference...................................................... A-17
E
J
Edge attribute.................................................................. 4-44
Edit Menu........................................................................ 3-51 jump labels.................................................................... 4-132
Edit Pane......................................................................... 3-35 jumps............................................................................. 4-133
Edit Properties................................................................. 3-15
Element Comment..............................................4-135, 8-126 K
entering variables.......................................................... 4-103
Enum Value attribute....................................................... 4-78 Keyboard Mapping Reference........................................ A-18
enumerations...................................................................4-73
ESI files........................................................................... 5-17 L
estimating task execution times.......................................7-86
EtherCAT................................................................ 5-4, 7-132 ladder diagram and structured text....................................1-3
Ethernet connection via a hub........................................... 6-3 Ladder Editor..................................................................... 7-4
Ethernet interface card...............................................6-7, A-7 last modified.................................................................... 3-19
libraries.............................................................................. 9-8
Event Setting Table........................................................8-101
creating a Library........................................................... 9-8
I
exporting.............................................. 3-20, 5-15, 5-58, 7-64
using a Library..............................................................9-11
F license activation............................................................... 1-8
license certificate............................................................. 1-10
File Menu.........................................................................3-51 license number......................................................... 1-10, 2-5
Filter Pane....................................................................... 3-34 licenses............................................................. 1-4, 1-10, 2-5
FINS Settings.................................................................. 5-66 Limit Settings................................................................... 5-80
forced refreshing............................................. 6-7, 7-24, 7-30 Link Settings.................................................................... 5-69
FTP Settings....................................................................5-69 local variables...........................................................4-3, 4-22
function block instance variables..............................4-3, 4-35
function blocks........................................................................ M
.................1-2, 1-3, 3-41, 4-60, 4-106, 4-141, 4-144, 4-145
functions................. 1-2, 1-3, 3-41, 4-62, 4-141, 4-144, 4-145 maintenance.................................................................... 3-75
Map Settings....................................................................5-10
G members..........................................................................4-74
memory addresses............................................................ 1-2
G5 Series.........................................................................5-37 monitoring information..................................................... 3-74
global variables.......................................................... 4-3, 4-4 Motion Control Setup.......................................................5-78
Multiview Explorer........................................................... 3-32
H MX2 Series...................................................................... 5-37
troubleshooting.........................................................1-3, 8-90
U
unions.............................................................................. 4-71
Unit Conversion Settings................................................. 5-79
unit production information.............................................. 8-37
upload............................................................................7-120
USB device driver.....................................................2-7, 2-10
USB driver.........................................................................A-3
USB port............................................................................A-3
User Memory Usage Monitor...........................................8-23
user program execution ID................................................ 8-8
user-defined errors..........................................1-3, 8-90, 8-99
user-defined event log..........................................8-90, 8-100
V
Variable Manager.............................................................4-48
variable registration........................................................... 4-3
variables..... 3-41, 4-3, 4-36, 4-110, 4-115, 7-27, 7-115, 7-117 I
version of the CX-One....................................................... 2-2
View Menu....................................................................... 3-51
W
Watch Tab Page................................................ 3-42, 7-4, 7-8
Windows 10 (32-bit or 64-bit edition)..........................1-8, 2-2
Windows 7 (32-bit or 64-bit edition)............................1-8, 2-2
Windows 8 (32-bit or 64-bit edition)............................1-8, 2-2
Windows 8.1 (32-bit or 64-bit edition).........................1-8, 2-2
write protection of the CPU Unit............................... 8-8, 8-17
OMRON (CHINA) CO., LTD. © OMRON Corporation 2011-2021 All Rights Reserved.
OMRON ASIA PACIFIC PTE. LTD.
Room 2211, Bank of China Tower, In the interest of product improvement,
No. 438A Alexandra Road # 05-05/08 (Lobby 2),
200 Yin Cheng Zhong Road, specifications are subject to change without notice.
Alexandra Technopark,
Singapore 119967 PuDong New Area, Shanghai, 200120, China
Tel: (65) 6835-3011/Fax: (65) 6835-2711 Tel: (86) 21-5037-2222/Fax: (86) 21-5037-2200 Cat. No. W504-E1-39 1021