DOC1099364

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

No.

DOC1099364
(NN70156000)

Operation Manual
supplementary material

NAME

Programming Examples

MODEL/ Series/ Product Number

Step Motor Controller


(Servo/24 VDC)
JXC51/JXC61

The descriptions in this instruction manual are for “programming examples” only.
For details on how to use the JXC51/61, please refer to the JXC51/61 instruction manual.
Table of Contents
1. Safety Instructions ................................................................................2

2. Outlines of Product ...............................................................................4

3. Programming Example ...........................................................................5


3.1 PLC memory allocation examples.................................................................................. 5
3.2 Power on to Return to origin .......................................................................................... 6
3.3 Positioning operation ......................................................................................................... 8
JXC51/61 Controller
1. Safety Instructions
These safety instructions are intended to prevent hazardous situations and/or equipment damage.
These instructions indicate the level of potential hazard with the labels of "Caution", "Warning" or
"Danger".
They are all important notes for safety and must be followed in addition to International Standards
(ISO/IEC)*1), and other safety regulations.
*1) ISO 4414: Pneumatic fluid power -- General rules relating to systems.
ISO 4413: Hydraulic fluid power -- General rules relating to systems.
IEC 60204-1: Safety of machinery -- Electrical equipment of machines .(Part 1: General requirements)
ISO 10218: Manipulating industrial robots -Safety.
etc.

Caution indicates a hazard with a low level of risk which, if not avoided,
Caution could result in minor or moderate injury.
Warning indicates a hazard with a medium level of risk which, if not
Warning avoided, could result in death or serious injury.
Danger indicates a hazard with a high level of risk which, if not avoided,
Danger will result in death or serious injury.

Warning
1. The compatibility of the product is the responsibility of the person who designs the
equipment or decides its specifications.
Since the product specified here is used under various operating conditions, its compatibility with
specific equipment must be decided by the person who designs the equipment or decides its
specifications based on necessary analysis and test results. The expected performance and safety
assurance of the equipment will be the responsibility of the person who has determined its compatibility
with the product. This person should also continuously review all specifications of the product referring
to its latest catalog information, with a view to giving due consideration to any possibility of equipment
failure when configuring the equipment.
2. Only personnel with appropriate training should operate machinery and equipment.
The product specified here may become unsafe if handled incorrectly. The assembly, operation and
maintenance of machines or equipment including our products must be performed by an operator who is
appropriately trained and experienced.
3. Do not service or attempt to remove product and machinery/equipment until safety is
confirmed.
1. The inspection and maintenance of machinery/equipment should only be performed after measures to
prevent falling or runaway of the driven objects have been confirmed.
2. When the product is to be removed, confirm that the safety measures as mentioned above are
implemented and the power from any appropriate source is cut, and read and understand the specific
product precautions of all relevant products carefully.
3. Before machinery/equipment is restarted, take measures to prevent unexpected operation and
malfunction.
4. Our products cannot be used beyond their specifications. Our products are not developed,
designed, and manufactured to be used under the following conditions or environments.
Use under such conditions or environments is not covered.
1. Conditions and environments outside of the given specifications, or use outdoors or in a place
exposed to direct sunlight.
2. Use for nuclear power, railways, aviation, space equipment, ships, vehicles, military application,
equipment affecting human life, body, and property, fuel equipment, entertainment equipment,
emergency shut-off circuits, press clutches, brake circuits, safety equipment, etc., and use for
applications that do not conform to standard specifications such as catalogs and operation manuals.
3. Use for interlock circuits, except for use with double interlock such as installing a mechanical
protection function in case of failure. Please periodically inspect the product to confirm that the
product is operating properly.
JXC51/61 Controller
1. Safety Instructions
Caution
We develop, design, and manufacture our products to be used for automatic control equipment,
and provide them for peaceful use in manufacturing industries.
Use in non-manufacturing industries is not covered.
Products we manufacture and sell cannot be used for the purpose of transactions or certification specified
in the Measurement Act.
The new Measurement Act prohibits use of any unit other than SI units in Japan.

Limited warranty and Disclaimer/Compliance Requirements


The product used is subject to the following "Limited warranty and Disclaimer" and "Compliance
Requirements".
Read and accept them before using the product.

Limited warranty and Disclaimer


1. The warranty period of the product is 1 year in service or 1.5 years after the product is delivered,
whichever is first.2)
Also, the product may have specified durability, running distance or replacement parts. Please
consult your nearest sales branch.
2. For any failure or damage reported within the warranty period which is clearly our responsibility, a
replacement product or necessary parts will be provided.
This limited warranty applies only to our product independently, and not to any other damage
incurred due to the failure of the product.
3. Prior to using SMC products, please read and understand the warranty terms and disclaimers
noted in the specified catalog for the particular products.
2) Vacuum pads are excluded from this 1 year warranty.
A vacuum pad is a consumable part, so it is warranted for a year after it is delivered.
Also, even within the warranty period, the wear of a product due to the use of the vacuum pad
or failure due to the deterioration of rubber material are not covered by the limited warranty.

Compliance Requirements
1. The use of SMC products with production equipment for the manufacture of weapons of mass
destruction (WMD) or any other weapon is strictly prohibited.
2. The exports of SMC products or technology from one country to another are governed by the
relevant security laws and regulation of the countries involved in the transaction. Prior to the
shipment of a SMC product to another country, assure that all local rules governing that export are
known and followed.

Caution
SMC products are not intended for use as instruments for legal metrology.
Products that SMC manufactures or sells are not measurement instruments that are qualified by
pattern approval tests relating to the measurement laws of each country.
Therefore, SMC products cannot be used for business or certification ordained by the measurement
laws of each country.
2. Outlines of Product
Please read the following terms and conditions carefully before creating a program based on this
document and use it only if you agree to the terms and conditions below.
The following terms and conditions apply only if you agree to the terms and conditions below.

【Terms of Use】
- By using this document, you agree to the following terms and conditions.

- The use of this material constitutes your agreement to the following terms and conditions.

- This material is provided as reference material for the creation of programs. The final conformity of
the program is not guaranteed.

- The final conformity of the program is not guaranteed. Conformity evaluation is the responsibility of
the customer.

- The company assumes no responsibility for any results or damages resulting from the use of
programs created with reference to this document.

- The company assumes no responsibility for any results or damages resulting from the use of
programs created with reference to this document.
3. Programming Example
3.1 PLC memory allocation examples
Examples of PLC memory allocation for controller I/O signals (JXC input, JXC output), internal relays,
and timers are shown below.

PLC Output relay JXC Input signal PLC Input relay JXC Output signal
The start address Y00 IN0 The start address X00 OUT0
Y01 IN1 X01 OUT1
Y02 IN2 X02 OUT2
Y03 IN3 X03 OUT3
Y04 IN4 X04 OUT4
Y05 IN5 X05 OUT5
Y06 SETUP X06 BUSY
Y07 HOLD X07 AREA
Y08 DRIVE X08 SETON
Y09 RESET X09 INP
Y0A SVON X0A SVRE
Y0B - X0B *ESTOP
Y0C - X0C *ALARM
Y0D - X0D -
Y0E - X0E -
Y0F - X0F -

Internal relay Signal name (Return to Origin position) Internal relay Signal name (positioning operation) Timer
M00 Operation preparation complete M10 St_No.1 instruction T00 3s Timer
M01 Servo ON instruction M11 St_No.1 instruction in progress T01 30ms Timer
M02 Homing instruction M12 IN0 input T02 30ms Timer
M03 Homing start M13 St_No.1 ready
M04 Setup input M14 Positioning operation instruction
M05 Homing M15 Positioning operation start
M06 SETUP input complete M16 DRIVE input
M07 Homing completed M17 Positioning operation in progress
M08 - M18 Positioning operation complete
M09 - M19 -
M0A - M1A -
M0B - M1B -
M0C - M1C -
M0D - M1D -
M0E - M1E -
M0F - M1F -

For details on JXC input and output signals, refer to “9.2.3 Parallel I/O Signal Details” in the JXC51/61
Operation Manual.
3.2 Power on to Return to origin
Procedure for power-on and return to origin

- Procedures- - Timing chart Power on to Return to origin -


1) ***Checking operation preparation*** Power
24V
0V

Apply the power. SVON


T00 ON
OFF
Input T01
↓ SETUP

2) *ALARM is turned ON. BUSY ON


OFF

*ESTOP is turned ON. SVRE


SETON
↓ Output


INP ・
3) ***Servo ON operation*** ・
*ALARM
SVON is turned ON.
*ESTOP
↓ OFF
External Lock
ON
4) SVRE is turned ON. Electric actuator
The time taken for SVRE output to Speed 0mm/s

turn on depends on the electric


Re t urn t o origin
actuator type and the operating
conditions. (20 sec. or less) After the reset, the If the electric actuator is within
The electric actuator with lock is controller will be turned ON. the "In position" range, INP will
unlocked. be turned ON but if not, it will
↓ remain OFF.

5) ***Origin return operation***


The "*ALARM" and "*ESTOP" are expressed as negative-logic circuit.
SETUP is turned ON.
↓ T00: 3s timer (system initialization time + position data read time)
6) BUSY is turned ON. T01: 30ms timer (recommended value)
(The electric actuator moves.)

7) SETON and INP are turned ON.
When the BUSY output is turned OFF, the return to origin operation has been completed.
【Sample ladder for power-on to return to origin】
***Checking operation preparation***

X0B X0C T00


3s
Setting
*ESTOP *ALARM 3s Timer
T00 M00

3s Timer Operation preparation complete

***Servo ON operation*** External Input


M00 M01 Y0A

Operation preparation complete


Servo ON instruction SVON
***Origin return operation***
M02 External input X06 X0A M07 M03
(rising edge)

Homing instruction BUSY SVRE Homing completed Homing start


M03 M06 M04

Homing start SETUP input complete Setup input


M03 X06 M07 M05

Homing start BUSY Homing completed Homing


M05 T01
30ms
Setting
Homing 30ms Timer
T01 M06

30ms Timer SETUP input complete

M05 X06 X08 X09 M07

Homing BUSY SETON INP Homing completed


***PLC Output Signal***
M04 Y06

Setup input SETUP


END

END
3.3 Positioning operation
Procedure for positioning operation

- Procedures- - Timing chart Positioning operation -


1) ***Step data No.1 instruction***
Input step data No. (IN0 to IN5) Input the step data no. Scan the step data no.

↓ Output the 24V


Power
step data no. 0V
2) ***Positioning Operation*** ON
IN0~5
OFF
DRIVE is turned ON.
Input SVON ・
(OUT0 to OUT 5 is turned off) T02 s
Output the ・
Min15m step data no.
DRIVE
→Scan the step data number (from IN0 to IN5).
ON
Then, if DRIVE is turned OFF, the step data OUT0~5 OFF

number will be output (from the output BUSY


OUT0 to OUT5). Output SVRE

SETON
3) BUSY is turned ON.
INP
(The positioning operation starts.)
OFF
External Lock
↓ ON

4) When INP turns ON and BUSY turns OFF, the Electric actuator
Speed 0mm/s
positioning operation will be completed.

If the electric actuator is within


the "In position" range, INP will
be turned ON but if not, it will
remain OFF.

T02: 30ms timer (recommended value)


【Sample ladder for positioning operation】

***Step data No.1 instruction***


M10 External input M17 M11
(rising edge)

St_No.1 instruction Positioning operation in progress St_No.1 instruction in progress

M11 M12

St_No.1 instruction in progress IN0 input


T02
30ms
Setting

30ms Timer
T02 M13

30ms Timer St_No.1 ready


***Positioning Operation***
M14 External input M17 M15
(rising edge)

Positioning operation instruction Positioning operation in progress Positioning operation start

M15 M13 M16

Positioning operation start St_No.1 ready DRIVE input


M15 X06 M18 M17

Positioning operation start BUSY Positioning operation complete Positioning operation in progress

M17

Positioning operation in progress

M17 X06 X09 M18

Positioning operation in progress BUSY INP Positioning operation complete

***PLC Output Signal***


M12 Y00

IN0 input IN0


M16 Y08

DRIVE input DRIVE


END

END
Revision history
First edition: October 2024

4-14-1, Sotokanda, Chiyoda-ku, Tokyo 101-0021 JAPAN


Tel: + 81 3 5207 8249 Fax: +81 3 5298 5362
URL https://www.smcworld.com

Note: Specifications are subject to change without prior notice and any obligation on the part of the manufacturer.
© 2020 SMC Corporation All Rights Reserved

You might also like