Sysmac Automation Overview
Sysmac Automation Overview
Sysmac
System for Machine Automation Control
Instruction
Advanced Axes Additional Execution Ethernet Protocols
Functions Time I/O
Model
NJ101-1000 2 2 0
-
NJ101-9000 0 0 0 1,2
or 3,3 ns 3MB
64
NJ101-9020 0 0 0 4ms
SQL Client*
NJ101-1020 2 2 0
NJ301-1100 15 4 0 -
NJ301-1200 15 8 0 - 2 ns 5 MB
NJ501-4400 32 32 0 8 robots
NJ501-4500 64 64 0 8 robots
NX102-9000 0 0 4 2 ports
Extension
3 max Extension
Extension
10 CJ cards max
Network Model
Serial (RS422/485/232) SCU22/32/42
Can CORT21
CompoNet CRM21
DeviceNet DRM21
EtherCat (slave) ECT21
Ethernet IP EIP21
Profinet IO PNT21
Profibus (master) PRM21
Profibus (slave) PRT21
USB Port
Memory Card
SD SDHC
CPU unit
processor
Quad Core i7
(2.3GHz)
Motion core #1
• 5 axes at 125 us
• 50 Axes at 250 us . . . Axis N I/O node
Axis 1 Axis 2 Axis 3 Axis 4
• 125 Axes at 500 us
• 250 Axes at 1 ms
Drive Drive Drive Drive
Memory Card
SD SDHC
*: Power Supply/Distribution Slices NX-PF, N-XPD, NX-PC occupy 1 slice and consume power from the NX Bus.
Memory Card
SD SDHC
14 Inputs 24 Inputs
10 Outputs 16 Outputs
IO Bus Power
card Required
16 stations EtherCAT max
(NX-PF0730)
*: Power Supply/Distribution Slices NX-PF, N-XPD, NX-PC occupy 1 slice and consume power from the NX Bus.
Additional IO Additional NX
Bus Power Card Bus Power Card
*
No IO Bus on NX1P X
This is why PF0630 is required
Breaks connection to
prior bus
Ethernet/IP
EtherNetIP is an industrial network which uses Ethernet.
One EtherNetIP follows ODVA specifications (Open DeviceNet
Factory Vendor Association), like DeviceNet.
Automation
Network The Ethernet port supports all usual protocols like FTP, NTP,
SNMP but also special protocols using socket
functionnalities (UDP & TCP)
EtherCAT
EtherCAT is the emerging standard proving to be the fastest
One industrial network. Based on ethernet, Ethercat assures
deterministic data transmission
Machine
Network As an open standard, EtherCAT allows connection of various
types of devices: Motion, Invertors, Vision, Input/Output
slaves etc…
Master
HDR 2
HDR 2
HDR 1
Ethernet Header ECAT HDR PLC Data 1 NC Data PLC Data 2 CRC
• Assembling data in the frame is done by the slaves, not the master.
• No switch needed
EtherCAT Software
• Conforms to CoE -CiA402 (Drive Profile) • Completely integrated in Sysmac Studio
• Distributed Clock(synchro < 1µs) • Intuitive
Rotary Motor
• High precision (encoder 20 bit)
• IP67 for all motor and connectors
• wide range motor (50 to 15 kW) Safety
• conforms to ISO13849-1
PL-D
Motor Power
Designed
for easy
24VDC (CPU)
wiring
Indicators & Node
Setting
USB
port
Built-in
I/O Terminals brake relay
Power
Motor Connectors
Cable
Rotary Motors
• High Precision (23 bit absolute encoder)
• IP67
• 100W to 3 kW
Connectivity
• EtherCAT for tracking
• Ethernet for setup and monitoring
Software
• Completely Integrated in Sysmac Studio
• Intuitive
• Trending & logging
1 Box PC 2 Panel PC
OR
External
Connection
Box IPC
+ Industrial
Touch Screen
Panel IPC
Monitor
PC and Screen are two separate components with an PC and Screen are one
external connection integrated item
Windows +
1 Windows 2 Machine Controller
Client
Software
Customer
Sysmac Software/HW
Controller
Runtime
Windows
Hypervisor
Configuration
EtherCat
I/O
Axes
Tasks Tool box
Toolbox
etc … FunctionsSlaves
EtherCat & FB
CJ Cards
Programs
Function Blocks
Functions
Status
Run/Stop
Simulator
Control
ADVANCED PROGRAMMING
Program Simulation
- Test the program
- Simulates the axes
- Estimate the cycle time
- Debugging tools available
3D Simulation
- Visualize the behavior of the axes
- Simulates I / O at the same time
- Displays current device data in real time
CPU Errors CJ Bus Errors Network Errors Motion Errors Machine Events Safety Errors Historical Errors
Supported OS
• Windows 7 (32 & 64 bits)
• Windows 8 (32 & 64 bits)
• Windows 10 (32 & 64 bits)
Installed Software:
Online: Right-click on
CPU and select Compare
and Merge.
Sysmac Studio: CPU Rack I/O Configuration
• Once unit are defined, you can change the name
• This name will be re-used when you let Sysmac Studio create the variables names
automatically
Sysmac Studio: EtherCat Network
There are two methods to add slaves to the EtherCat network
1.Offline :
Drag and drop slaves from the toolbox onto the network configuration
Sysmac Studio: EtherCat Network
2. Online, comparing project configuration with the actual hardware :
Right-click on master, choose “Compare and Merge”
Sysmac Studio: EtherCat Network
The project is compared with the actual network
Click Apply actual network configuration to import all the new settings into your project
(you can also drag and drop individual items from right to left)
Attention ! This method reads the devices on the network, and their
identities.
It is also possible to use Sysmac Studio to allocate station number by software setting, but rotary
switches must be set to 0 0
Sysmac Studio: EtherCat Network
To upload parameters from a slave, double-click on it, then select online
Sysmac Studio: EtherCat Network
All Local I/O, Ethercat Slaves, and CJ I/O Cards tags are avaiable here.
1.Manually :
Sysmac Studio: I/O Map
Input/Output Variables
Project Synchronization
To upload, download, or compare your project with the controller you need to
‘synchronize’
Before downloading you must check (F7) and build (F8) your program
Synchronization
Next step will ‘synchronize’ Sysmac Studio project with NJ controller program:
Project Syncrhonization
Select Library
when you create
your project
Function
Block
MonFB
Programs
Parameters
Sysmac Studio
Backup
Variables
Restore
Configuration
of Cards
OR
EtherCat config and
Slave Parameters
81
Backup & Restore
Sysmac Studio allows backing up the entire
contents of the NJ to a .DAT file
Backup
Restore
• Via system variables
• By Sysmac Studio *
*Only Backup
JPV / Omron France
Backup & Restore
Details:
• Backup/Comparison:
In PROGRAM or RUN mode Backup
• Restore:
Just with DIP switch and cycling power
Restore
• The data to restore can be limited through the
RestoreCommand.ini file created during the backup.
Restore
Project
Program
Function
Function Block
5 levels of security:
Multiple Robots/Kinematic
Up to 8 Delta-3 robots on
control integrated in the NJ
the same controller
CPU
94
Robotics
• Up to 64 axes of motion
• CPUs for 16, 32 & 64 axes
• Up to 8 Robots
• Native EtherCAT & EtherNet/IP ports
• Standard IEC 61131-3 programming
Application Application
Packaging Pick & Place
NJ Robotique
95
Robotics
96
Robotics
TypicalArchitecture
NJ
NX Safety NA
FH
NX I/O
1S/G5
MX2
Delta
E6
97
Robotic Functions 10 FB’s for robotics
MC_SetKinTransform
MC_InverseKin
98
Robotic Functions
MC_DefineCoordSystem
For defining user coordinate systems (UCS) based on
the machine coordinate system (MCS). Up to 16
coordinate systems can be used.
99
Robotic Functions
MC_DefineToolTransform
For Defining Tool Coordinate
Systems (TCS) based on the
machine coordinate system (MCS).
Up to 16 tools can be used.
100
Robotic Functions
MC_GroupMon
MC_MoveTimeAbsolute
101
Robotic Functions
MC_GroupJog
102
Robotic Functions
MC_SyncLinearConveyor
Start Tracking a Conveyor with the
robot.
Point
A Point
B
103
Robotic Functions
MC_SyncLinearConveyor
Configurable: Work in time to ensure the same pace
of the robot regardless of the location of the piece to
take.
104
Robotic Functions
MC_SyncLinearConveyor
The phases make it possible, for example, to synchronize the
trajectory of the robot with the opening / closing of the
vacuum. You can move the positions of the robot while it is in
tracking
105
Robotic Functions
MC_SyncOut
Used to interrupt tracking.
You can decide to return Z axis
with/without tracking
Point A
Point B
106
Robotic Functions
MC_GroupSyncMoveAbsolute
Allow to manipulate the robot to execute
complex track like for cames, spline,
helicoid, etc…
Robot Axes
Positions generated each
scan of the CPU
Profile
Generator (X,Y,Z) (α, β, γ)
(Custom user
function or virtual
axes)
107
JPV / Omron France
Tasks and Priorities
Programs/Task allocation
We must separate:
Primary Task
Tâche Primaire
T16
Tasks T16,T17,T18 can be executed
T17
during several Primary task periods
T18
NJ System Service System
Services
System Variables
The Primary Task has exceeded the fixed 1ms execution time
Simple warning
The Error LED flashes RED
Program Execution
Stops!
ERROR LED is Solid
red
! • USB Communications
! • Ethernet Communications
(Sysmac Studio, HMI, but not EIP Tag DataLinks)
• Auto-diagnostic
Executes in
parallel !
I/O Refresh
IO performed in the primary task. UPG
But Ethercat slave I / O and some exchanges
User Program
with CJ special cards can be refreshed
System services are
in task 16
treated in the 4th period
If the user program grows, and the primary period is too short
some services will no longer be run!
Example
OK
< 50%
1- Cycle Power
Fatal Error !
4 ms
When a task does not have exclusive control over a variable, the
variable is refreshed only once at the start of processing
An instruction to write the global variable from a task that does not have exclusive control will
generate an error at compile time.
T16 executes
T16 T16
a lock with the
interrupts continues
T17 same index
execution
Echanges Tag IP
Variables globales
151
Sysmac Studio: Capture Function
NJ controller ETC master can capture all EtherCatframes
154
JPV / Omron France
Sysmac: Ethernet/IP
Available services with the built-in Ethernet port.
• FTP Server
• Socket Services
(Data send/receive using ever UDP or TCP)
Devices in this
Project
Devices(EDS)
192.168.250.1
EtherNet/IP
Controller 1
DataToPLC2
Controller 2
192.168.250.2
PLC02_Data
192.168.250.1
EtherNet/IP
Controller 1
DataFromPLC2
Controller 2
192.168.250.2
PLC02_Data
V680S
Modbus TCP
Libraries related to
Modbus RTU and ModbusTCP
can be dowloaded from :
http://support-omron.fr
Controller 1
192.168.250.1
Ethernet
SQL
162
COLUMN_NAME DATA_TYPE
1 PRODUCT_ID VARCHAR2 (20 BYTE)
2 LINE VARCHAR2 (20 BYTE)
3 OPERATOR_ID VARCHAR2 (20 BYTE)
4 COLOR VARCHAR2 (20 BYTE)
5 WEIGHT NUMBER
6 TIMESTAMP TIMESTAMP(6)
7 QUALITYPASS NUMBER
Principal
Connect
Base SQL Ready
!
Enable/Disable
After and IP
Address change,
the security
certificates need
to be renewed
Need SD Card
for Logging
OPC UA Configuration
https://www.unified-automation.com/downloads/opc-ua-clients.html
… Communicates with
many clients
Publication:
Air Pressure
Subscription:
Ventilation Control
Air Pressure Subscription:
Publication: Ventilation Control
Ventilation Status
Ventilation Status
Temperature
Humidity
Air Pressure
Quality of service
• MQTT offers 3 levels of QoS :
– QoS0: no acknowledgment of receipt
– QoS1: with acknowledgment of receipt
– QoS2: with acknowledgment of receipt reconfirmed by MQTT Server
identifier
With QoS1 and QoS2, the message is saved until the acknowledgment arrives
Subscription
•Access to SD Card
•6 Simultaneous Connections Max
•Access to files in Binary & Ascii Mode
•Simple Configuration in Studio
Advantages:
• Resolution: nanosecond!
Advantage:
• Enable very high precision operations
IN
OUT
Station N°
(1 to 192)
Power Supply NX- NX- NX- Sortie NX- Sortie NX- NX-
for NX BUS PF0630 PC030 PC020 NPN PC010 PNP TBX01 PD1000
Discontinuité électrique
NX Comm
Bus
Galvanic Isolation
Electrical Isolation
NX-IO BUS
An overload is signalled
automatically by
Sysmac Studio
All cards have filtering function, sliding average, gain / offset, out-of-area detection. 4-20 mA input
resistance: 2 and 4 points = 250 Ω, 8 points = 85 Ω
Single Ended
Differential
Ch Part
Card Signal Type
Number
resolution1/8000 2 NX-DA2203
250 µs/ch 4 NX-DA3203
4-20 mA
resolution1/30000 2 NX-DA2205
Analog 10 µs/ch 4 NX-DA3205
Output resolution 2 NX-DA2603
1/8000 250 µs/ch 4 NX-DA3603
+/- 10 V
resolution1/30000 2 NX-DA2605
10 µs/ch 4 NX-DA3605
All analog output boards deliver a preset current / voltage signal in the event of a fault
1.Asynchronous (Free-Run)
2.Synchronized (Sync)
217
Refresh Mode
The EtherCat cycle is asynchronous to the NX I/O bus
cycle of the NX boards mounted on the NX-ECC Tcycle Tcycle Tcycle
coupler. Multiple refreshes are removed during an NJ NJ NJ
Free-Run EtherCat cycle. I/Os are not refreshed at the same time
across the network NX I/O NX I/O NX I/O
Asynchronous
218
SYNC0 and the Primary Task
219
Distributed Clock(DC)
Start: 0 End: 25
220
NX IO: Cycle E/S standard
224
I/O Mapping Time Stamp
225
IO-Link
Compatibility
IO-Link is compatible with any
standard non-IO-Link sensor, to
allow a great flexibility in the
management of the sensor / Predictive Maintenance
actuator fleet Malfunction, unstable detection can be
reported to the maintenance
department automatically
• In IO-Link mode, signals are transmitted by UART using non-shielded cables at baud
rates of 4.8K, 38.4K or 230K baud at a max distance of 20m—compatible with
regular M12 sensor cables and connectors!
Bi-Directional
Communications
IO-Link
Standard I/O,
Unidirectional
SIO
• In Standard IO Mode, Inputs/Outputs are compatible with standard 2/3 wire sensors
NX-ILM400 (IP20)
• 4 Channels
• Push In Terminals
• Works with EtherCat & EtherNet/IP
Couplers
GX-ILM08C (IP67)
• 8 Channels
• M12 Connectors
• EtherCat Slave
3 Types of information
• Process Values, etc .. (Periodic) Photo Sensor
EtherNetIP E3Z-□-IL□
• Parameter settings etc. (Async)
SysmacStudio • Events (Alarms etc) (Async)
CX-Configurator-FDT Proximity Sensor
NJ/NX E2E-□-IL□
IODD
Maître IO-Link Proximity Sensor
NX-ILM400 E2EQ-□-IL□
Device Description File
NX_WriteObj
NX_ReadObj Color Sensor
E3S-DCP21-IL□
EtherCAT
Third Party
Productivity Improvements
No signal noise
• Analog measurement value is 01100101
10010011
sent by digital
communications
Detection Zone
Too Far Precise Detection
• Thresholds are set in the sensor
Too Close
• A drift in the detection range prevents fouling or sensor
wear
• Thresholds can be changed on the fly to fit the product to
control
231
IO-Link Function Blocks
Available on www.support-omron.fr
• E3S, E3Z Omron Photo Sensors
• Generic Read/Write
232
JPV / Omron France
Sysmac Safety Hybrid Solution
+ +
Multiple Safety Controllers Possible
NX1 NX-CSG320
NX-SL5
NX-1
NX-SL5
Backup
NX-ECC restore
NX-SL3
NX-SL3
NX-ECC
GI-SMD1624 GI-SMD1624
GI-SID1224 GI-SID1224
PFH PFH PFH PFH PFH PFH PFH PFH PFH PFH
3.1 E-10 3.0 E-10 5 E-11 5 E-11 1.4 E-9 1.5 E-9 1.4 E-9 1.6 E-9 1.3 E-9 8.5 E-11
512KB 2 MB 2 MB 4 MB
256 I/O 1024 I/O 1024 I/O 2048 I/O 4 Inputs 8 Inputs 2 Outputs 4 Outputs 12 Inputs PNP 12 Inputs
32 Conn 128 Conn PNP PNP PNP PNP 4 Outputs PNP PNP
Backup Backup 2 Test Pulse Outputs Max 2A per output 12 Test Pulse Outputs
Restore Restore Total 2A max Max 2A per Output
by SD by SD Total 2A max
GI-SMD1624 GI-SID1224
Safety Inputs (PNP) 12 12
Safety Outputs (PNP) 4 X
Test Pulse Qty. 12 12
IP Degree IP-20 IP-20
NX-EIC202 Yes, No No No
coupler
local I/O
slices only
Safety Controller
omron NX-ECC201
SL3300 OD ID SIH SOD OD
NX-Safety
NX-S-RI/O
Auto
industrial.omron.eu J.Plassa
JPV / Omron France
Sysmac Safety:
Steps for Safety Program Validation
FS TS
Power ON FS TS
VALID RUN
VALID RUN
DEBUG
DEBUG
Starting CPU
Safety Program
Mode PROGRAM NO
validate YES RUN mode
Transfer Validation.
program Transfer
FS TS FS TS
into program
RUN RUN
main VALID VALID
into
memory DEBUG DEBUG
permanent
memory
DEBUG Mode
Stop Mode Start Operational Mode
Stop
PROGRAM Mode
Transfer
program
into
main
memory
DEBUG Mode
RUN Mode
Validation.
Transfer
program
into
permanente
memory
Debug Mode
245
Sysmac Safety
Input wiring(potential-free Contacts)
PL e / SIL 3
PL c / SIL 1 PL d / SIL 2
Configuration
Wiring
247
Sysmac Safety
Drag
Drop
250
Sysmac Safety
Configuring a dual channel input
251
Sysmac Safety
252
Sysmac
Characteristics
Very fast CMOS Camera
High speed controller
12M pixel Camera
Function Shape Search III
Quad Core Parallel Processor
EtherCAT & Sysmac Studio
•SD Card
SDHC
•RS-232C/422
•Power supply
Click
Inspected shape
(green)
<image >
Vision: Color Filter
Add
Extract
Color
Filter Tool
Vision: Color Filter
Set the parameter following a procedure below
Click and
drag on
image to Use
auto-set Sliders to
HSV adjust
ranges HSV
ranges
Vision: Calibration
Convert from pixels to real-world coordinates and correct for skew
Thank You!