Sample Program For The Nj/Nx-Series; Sample Program Overwiew - Omron K6CM User Manual

Motor condition, monitoring device
Hide thumbs Also See for K6CM:
Table of Contents

Advertisement

8-4

Sample Program for the NJ/NX-series

This section describes the motor monitoring procedure using K6CM devices and NJ/NX-series.Control-
ler.
8-4-1

Sample Program Overwiew

The following processing can be executed using the sample program described here.
• Obtains measurement data of up to 100 K6CM devices with one PLC (NJ/NX series)
• Outputs the obtained measurement data as a CSV file to the SD Memory Card mounted on the PLC
The output CSV file name is determined from the date of data obtainment according to the internal
clock of the PLC.
(Example: file name: K6CM_20171208-1520.CSV in the case of 15:20 on December 8, 2017)
The following are the parameters that can be set in this sample program, what to prepare, the network
configuration example, and the output CSV file specifications.
Parameters that can be set in this sample program
Parameters
Number of data collection
devices [Units]
Communications retry
count [times]
Data collection cycle [sec]
What to Prepar and Network Configuration Example
 What to Prepare
K6CM devices (Any model, up to 100 Units in total can be connected.)
Switching hub (SW hub)
STP cable (for Ethernet communications)
K6CM Motor Condition Monitoring Device User's Manual (N219)
8 Monitoring and Setting Using the EtherNet/IP Devices
Initial
value
20
Set according to the number of K6CM devices to be used.
Up to 100 Units can be set.
1
Change as necessary.
Setting the number of retries is effective for communications failure due to irregular
external noise. However, since wait time occurs correspondingly, the setting of the
data collection cycle shown below will be affected.
30
If there is a K6CM device that does not respond to the communications, the follow-
ing wait time will occur at maximum. Therefore, it is necessary to set it to a value
larger than the expected maximum waiting time.
Maximum waiting time [sec] = (CIP timeout time × 4) × (1 + communications retry
count) × number of cycles+ CSV output time
CIP timeout time: 1 s (initial value)
CSV output time: about 3 s
Number of cycles: An integer obtained by dividing the number of data collection
devices by the number of parallel connection (initial value: 10) (The decimal point is
rounded up.)
Example: calculation with initial value
Maximum waiting time = (1 × 4) × (1 + 1) × (20 ÷ 10) + 4 = 20 s ->
The data collection cycle requires 20 s or more with a margin
Remarks
8
8 - 29

Advertisement

Table of Contents
loading

Table of Contents