background image

   Related Manuals

12

Sysmac Library User’s Manual for EtherCAT N-Smart Series Library (W549)

NY-series IPC Machine 
Controller Industrial Box 
PC Hardware User's 
Manual

W556

NY512-



Learning the basic specifi-
cations of the NY-series 
Industrial Box PCs, includ-
ing introductory information, 
designing, installation, and 
maintenance. Mainly hard-
ware information is pro-
vided

An introduction to the entire NY-series system is 
provided along with the following information on 
the Industrial Box PC.
Features and system configuration
Introduction
Part names and functions
General specifications
Installation and wiring
Maintenance and inspection

NJ/NX-series CPU Unit 
Software User’s Manual

W501

NX701-



NX102-



NX1P2-



NJ501-



NJ301-



NJ101-



Learning how to program 
and set up an NJ/NX-series 
CPU Unit.
Mainly software informa-
tion is provided

The following information is provided on a Con-
troller built with an NJ/NX-series CPU Unit.
CPU Unit operation
CPU Unit features
Initial settings
Programming based on IEC 61131-3 language 
specifications

NY-series IPC Machine 
Controller Industrial 
Panel PC / Industrial Box 
PC Software User’s 
Manual

W558

NY532-



NY512-



Learning how to program 
and set up the Controller 
functions of an NY-series 
Industrial PC

The following information is provided on 
NY-series Machine Automation Control Software.
Controller operation
Controller features
Controller settings
Programming based on IEC 61131-3 language 
specifications

NJ/NX-series Instruc-
tions 
Reference Manual

W502

NX701-



NX102-



NX1P2-



NJ501-



NJ301-



NJ101-



Learning detailed specifica-
tions on the basic instruc-
tions of an NJ/NX-series 
CPU Unit

The instructions in the instruction set (IEC 
61131-3 specifications) are described.

NY-series Instructions 
Reference Manual

W560

NY532-



NY512-



Learning detailed specifica-
tions on the basic instruc-
tions of an NY-series 
Industrial PC

The instructions in the instruction set (IEC 
61131-3 specifications) are described.

NJ/NX-series CPU Unit 
Motion Control User's 
Manual

W507

NX701-



NX102-



NX1P2-



NJ501-



NJ301-



NJ101-



Learning about motion con-
trol settings and program-
ming concepts of an 
NJ/NX-series CPU Unit.

The settings and operation of the CPU Unit and 
programming concepts for motion control are 
described. 

NY-series IPC Machine 
Controller Industrial 
Panel PC / Industrial Box 
PC Motion Control 
User’s Manual

W559

NY532-



NY512-



Learning about motion con-
trol settings and program-
ming concepts of an 
NY-series Industrial PC.

The settings and operation of the Controller and 
programming concepts for motion control are 
described. 

NJ/NX-series Motion 
Control Instructions Ref-
erence Manual

W508

NX701-



NX102-



NX1P2-



NJ501-



NJ301-



NJ101-



Learning about the specifi-
cations of the motion con-
trol instructions of an 
NJ/NX-series CPU Unit.

The motion control instructions are described. 

NY-series Motion Control 
Instructions Reference 
Manual

W561

NY532-



NY512-



Learning about the specifi-
cations of the motion con-
trol instructions of an 
NY-series Industrial PC.

The motion control instructions are described. 

NJ/NY-series NC Inte-
grated Controller User’s 
Manual

O030

NJ501-5300
NY532-5400

Performing numerical con-
trol with NJ/NY-series Con-
trollers.

Describes the functionality to perform the numer-
ical control. Use this manual together with the 

NJ/NY-series G code Instructions
Reference Manual

 (Cat. No. O031) when pro-

gramming.

Manual name

Cat. No.

Model numbers

Application

Description

Содержание SYSMAC-XR005

Страница 1: ...Sysmac Library User s Manual for EtherCAT N Smart Series Library W549 E1 06 SYSMAC XR005...

Страница 2: ...ed for damages resulting from the use of the information contained in this publication Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for O...

Страница 3: ...meters for an OMRON E3NW Sensor Communications Unit an EtherCAT type You can use this library to reduce manpower of programming when implementing the processing for a Sensor Communications Unit This m...

Страница 4: ...n what to do and what not to do to ensure proper operation and performance Additional Information Additional information to read as required This information is provided to increase understanding or m...

Страница 5: ...3 Manual Structure Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...

Страница 6: ...f Precautionary Information 8 Symbols 8 Cautions 9 Precautions for Correct Use 10 Related Manuals 11 Revision History 14 Procedure to Use Sysmac Libraries 15 Procedure to Use Sysmac Libraries Installe...

Страница 7: ...5 CONTENTS Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...

Страница 8: ...purchase price of the non complying Product provided that in no event shall Omron be responsible for warranty repair indemnity or any other claims or expenses regarding the Products unless Omron s ana...

Страница 9: ...anies shall not be responsible for the user s programming of a programmable Product or any consequence thereof Data presented in Omron Company websites catalogs and other materials is provided as a gu...

Страница 10: ...ing 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 shoc...

Страница 11: ...Read all related manuals carefully before you use this library Emergency stop circuits interlock circuits limit circuits and similar safety measures must be provided in external control circuits Check...

Страница 12: ...and EtherCAT slaves or stop the Eth erCAT communications until the processing for this function block ends normally or ends in an error During a restore do not use the measurement data for the E3NW to...

Страница 13: ...Learning the basic specifi cations of the NX series NX1P2 CPU Units includ ing introductory information designing installation and maintenance Mainly hard ware information is pro vided An introductio...

Страница 14: ...n NJ NX series CPU Unit The instructions in the instruction set IEC 61131 3 specifications are described NY series Instructions Reference Manual W560 NY532 NY512 Learning detailed specifica tions on t...

Страница 15: ...al Cat No O030 when programming Sysmac Studio Version 1 Operation Manual W504 SYSMAC SE2 Learning about the operat ing procedures and func tions of the Sysmac Studio Describes the operating procedures...

Страница 16: ...umber on the front and back covers of the manual Revision code Date Revised content 01 April 2015 Original production 02 December 2015 Corrected mistakes 03 July 2016 Added compatible models Changed t...

Страница 17: ...15 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549 Procedure to Use Sysmac Libraries...

Страница 18: ...ries Version Information To use Sysmac Libraries you need the Sysmac Studio version 1 14 or higher 1 Start the Sysmac Studio and open or create a new project in which you want to use Sysmac Libraries...

Страница 19: ...an NJ NX series CPU Unit or an NY series Industrial PC the device icon is displayed in the Multiview Explorer 3 Add the desired Sysmac Library to the list and click the OK Button The Sysmac Library f...

Страница 20: ...All Programs from the Main Menu 1 Start the Sysmac Studio and open a project in which any old version Sysmac Library is included 2 Select Project Library Show References Precautions for Correct Use If...

Страница 21: ...Procedure to Use Sysmac Libraries Installed Using the Installer Sysmac Library User s Manual for EtherCAT N Smart Series Library W549 4 Add the desired Sysmac Library to the list and click the OK Butt...

Страница 22: ...s you need the Sysmac Studio version 1 14 or higher 1 Start the Sysmac Studio and create a new project in which you want to use Sysmac Libraries 2 Connect the computer to the CPU Unit or the Industria...

Страница 23: ...uploaded Sysmac Stutio to the specified folder on the computer if they are not present However the Sysmac Studio does not install library files to the specified folder on the computer if they are pre...

Страница 24: ...Procedure to Use Sysmac Libraries Uploaded from a CPU Unit or an Industrial PC 22 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...

Страница 25: ...23 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549 Common Specifications of Function Blocks...

Страница 26: ...for enable type function blocks Common input variables and output variables used in functions and function blocks are as follows Definition of Input Variables and Output Variables Variable I O Data t...

Страница 27: ...when the processing ends in an error the processing is in progress or the execution condition is not met Done BOOL OK Done The variable changes to TRUE when the processing ends normally It is FALSE wh...

Страница 28: ...ErrorID Error Code and ErrorIDEx Expansion Error Code The error codes are retained even after Error changes to FALSE but ErrorID is set to 16 0000 and ErrorIDEx is set to 16 0000 0000 when Execute ch...

Страница 29: ...Series Library W549 Aborted Execution Errors Busy Done CommandAborted Error 16 00000000 16 0000 ErrorID ErrorIDEx Execute Busy Done CommandAborted Error 16 0000 16 0000 ErrorID 16 00000000 16 00000000...

Страница 30: ...ontrol amount for motion control temperature control etc Enabled is FALSE when the value of CalcRslt Calculation Result is incorrect In such a case do not use CalcRslt In addition after the function b...

Страница 31: ...nual for EtherCAT N Smart Series Library W549 Errors Busy Enabled Error 16 0000 16 0000 16 0000 ErrorID ErrorIDEx Enable ErrorID ErrorID ErrorID ErrorID 16 00000000 16 00000000 ErrorID ErrorID ErrorID...

Страница 32: ...our levels For details on nesting refer to the CPU Unit software user s manual You cannot use the upward differentiation option for this function block Execute type function blocks cannot be re execut...

Страница 33: ...ary User s Manual for EtherCAT N Smart Series Library W549 Individual Specifications of Function Blocks Function block name Name Page Backup_E3NW E3NW Parameter Backup P 32 Restore_E3NW E3NW Parameter...

Страница 34: ...sy Error ErrorID ErrorIDEx Function Block and Function Information Item Description Library file name OmronLib_EC_E3NW_V1_2 slr Namespace OmronLib EC_E3NW Function block and function number 00015 Sour...

Страница 35: ...put 0 2 0 s 1 to 65535 0 1 to 6553 5 s 0 to 65535 0 1 s 0 2 0 s Done Done Output TRUE Normal end FALSE Error end execution in progress or execution condition not met TRUE or FALSE Busy Executing Outpu...

Страница 36: ...an Bit strings Integers Real num bers Times durations dates and text strings BOOL BYTE WORD DWORD LWORD USINT UINT UDINT ULINT SINT INT DINT LINT REAL LREAL TIME DATE TOD DT STRING Execute OK NodeAdr...

Страница 37: ...nstalled in C OMRON Data Attachement when libraries are installed Extract the ZIP file for the applicable series and save the files in an SD memory card A backup file is binary data that has the name...

Страница 38: ...changes to TRUE when Execute changes to TRUE When backup file creation is ended Done changes to TRUE If an error occurs when execution of the function block is in progress Error changes to TRUE and Bu...

Страница 39: ...nce manual for the maximum number of instructions that can be executed at the same time An error will occur in the following cases Error will change to TRUE a No object list file exists b The EtherCAT...

Страница 40: ...roduct Code of the backup target node Use object lists that match the ProductCode of the backup tar get node 16 3C0F 16 00000003 Unsupported Sensor Amplifier Unit A Sensor Amplifier Unit that is not s...

Страница 41: ...from the file or directory specified for the function block Or change the file name of the file to write 16 140B 16 00000000 Too Many Files Open The maximum number of open files was exceeded when open...

Страница 42: ...ot write pro tected Also confirm that the same instance is not being executed and that parameters are not being restored to the same node 2 Execute BACKUP_E3NW_instance 1 Make sure that the target sla...

Страница 43: ...b EC_E3NW Backup_E3NW RESTORE_E3NW_instance OmronLib EC_E3NW Restore_E3NW InitTrigger BOOL FALSE BackupTrigger BOOL FALSE Backup execution condition RestoreTrigger BOOL FALSE Restore execution conditi...

Страница 44: ...Backup_E3NW 42 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...

Страница 45: ..._EC_MBXSlavTbl ARRAY 1 N 1 OF BOOL 1 N 192 for NJ501 NJ301 and NJ101 N 512 for NX701 Message Communications Enabled Slave Table _Card1Ready BOOL SD Memory Card Ready Flag Name Data type Default Commen...

Страница 46: ...AND _EC_MBXSlavTbl TargetSlave TRUE AND _Card1Ready TRUE AND BackupBusy FALSE AND RestoreBusy FALSE THEN RestoreOperatingStart TRUE RestoreOperating TRUE END_IF RestoreLastTrigger RestoreTrigger Initi...

Страница 47: ...rIDEx Function Block and Function Information Item Description Library file name OmronLib_EC_E3NW_V1_2 slr Namespace OmronLib EC_E3NW Function block and function number 00016 Source code published not...

Страница 48: ...t Time Input 0 2 0 s 1 to 65535 0 1 to 6553 5 s 0 to 65535 0 1 s 0 2 0 s Done Done Output TRUE Normal end FALSE Error end execution in progress or execution condition not met TRUE or FALSE Busy Execut...

Страница 49: ...if the revision of the backup source device is either the same as or older than the revision of the restore destination device If the revision of the backup source device is newer than the revision of...

Страница 50: ...k is in progress Error changes to TRUE and Busy Executing changes to FALSE You can find out the cause of the error by accessing the values output to ErrorID Error Code and ErrorIDEx Expansion Error Co...

Страница 51: ...number of instructions that can be executed at the same time An error will occur in the following cases Error will change to TRUE a The EtherCAT master is not in a state that allows message communicat...

Страница 52: ...y Card is recognized It is FALSE when the SD Memory Card is not recognized TRUE Can be used FALSE Cannot be used _EC_MBX_SlavTbl Message Communica tions Enabled Slave Table Array 1 512 OF BOOL This ta...

Страница 53: ...ration of the restore target node 16 3C10 16 00000005 Unsupported Device The device is not supported by this function block Check that the specified device is an E3NW Unit 16 0400 16 00000000 Input Va...

Страница 54: ...target slave is not in an operating condition Check the status of the target EtherCAT slave Make sure that the target slave is in a usable status 16 1802 16 00000000 EtherCAT Time out Communications w...

Страница 55: ...0E N 1 80 hex 2 RW A OK OK OK OK 400F N 1 80 hex 1 RW A OK OK OK OK 400F N 1 80 hex 2 RW A OK OK OK OK 4010 N 1 80 hex 1 RW A OK OK OK OK 4010 N 1 80 hex 2 RW A OK OK OK OK 4011 N 1 80 hex 1 RW A OK O...

Страница 56: ...Restore_E3NW 54 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...

Страница 57: ...55 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549 Appendix...

Страница 58: ...s Attributes of Function Blocks and Functions Attributes of Libraries Function Blocks and Functions No 1 1 These numbers correspond to the numbers shown on the screen images in the next section Referr...

Страница 59: ...tions on the Sysmac Studio Library Reference Dialog Box Toolbox Pane Ladder Editor a Library Reference Dialog Box When you refer to the libraries the library information is displayed at the locations...

Страница 60: ...olbox Pane The text by OMRON which is shown on the right of the library name 1 indicates that this library was provided by OMRON c Ladder Editor Place the mouse on a function block and function to dis...

Страница 61: ...the memory capacity of the user s Controller Customizing the data types to suit the user defined data types Note that you can access only function blocks and functions whose Source code published not...

Страница 62: ...Referring to Function Block and Function Source Codes 60 Sysmac Library User s Manual for EtherCAT N Smart Series Library W549...

Страница 63: ......

Страница 64: ...IL 60169 U S A Tel 1 847 843 7900 Fax 1 847 843 7787 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 Contact www ia omron...

Отзывы: