Offline Debugging of the Sensor Control Program and Sensor Operation
186
ZW-7000/5000
User's Manual
6-4
Offline Debugging of the Sensor Control Program and Sensor Operation
If an EtherCAT system is configured, you can perform a linked simulation between the sequence control of an
NX/NJ-series Controller and the operation of an ZW Sensor.
The sensor control program can be debugged offline using measurement results saved by the data trace
fu
nction
.
Simulation is possible only on the Standard Edition of the Sysmac Studio.
Registering the ZW as an EtherCAT Slave
You use the Sysmac Studio (Standard Edition) to add the ZW to the EtherCAT slave configuration.
Refer to the Sysmac St
udio Version 1 Operation Manual (Cat. No. W504) for details on registering slaves.
Only simplified procedures are provided here.
• Opening the Edit EtherCAT Configuration Tab Page
Multi view Explore : [Configurations and Setup] | [EtherCAT] (Doub
le-click)
• Registering a Slave Offline (Building the Ne
twork Configuration)
1
Use either of the following methods to add an ZW slave to the master.
• Drag [ZW-C7000
□
] from the [Toolbox] to the master in the Edit Network Configuration Tab Page, and then
drop or double-click.
Sensor measurement and other operation cannot be simulated. The measurement result
acquired previously by the
data trace function is output.
Computer
EtherCAT online connection
ZW Sensor Simulator
NJ-series Controller Simulator (virtual Controller)
Measurement result file
saved by data trace function
Sysmac Studio
Operations That Are Possible with Simulation
Sysmac
Studio
Simulator
connection
User
program
(3) Outputting measurement results to the
storage area in the NJ-series Controller
(2) Acquisition of measured value
from file
(1) TIMING input and control
command