• 沒有找到結果。

Special data registers

11 Check the operation of the reverse rotation limit switch

2. Special data registers

The following table shows the related special data registers. Note that Y000, Y001, Y002, and Y003 are devices that determine the pulse output destinations.

*1. Y002 is not available in FX3G PLC (14-point and 24-point type) and FX3S/FX3GC PLC.

*2. Y003 is available only when two high-speed output special adapters are connected to the FX3U PLC.

*3. Only available for FX3UC PLC Ver. 2.20 or later and FX3S/FX3G/FX3GC/FX3U PLC.

Device number

Function Data length

Initial

value Refer to

Y000 Y001 Y002*1 Y003*2

D8340

Low-order D8350

Low-order D8360

Low-order D8370

Low-order Current value

register (PLS) 32-bit 0 Subsection 4.4.1 D8341

High-order D8351

High-order D8361

High-order D8371 High-order

D8342 D8352 D8362 D8372 Bias speed

(Hz) 16-bit 0 Subsection

4.2.6 D8343

Low-order D8353

Low-order D8363

Low-order D8373

Low-order Maximum

speed (Hz) 32-bit 100,000 Subsection 4.2.5 D8344

High-order D8354

High-order D8364

High-order D8374 High-order

D8345 D8355 D8365 D8375 Creep speed

(Hz) 16-bit 1000 Subsection

4.2.4 D8346

Low-order D8356

Low-order D8366

Low-order D8376

Low-order Zero return

speed (Hz) 32-bit 50,000 Subsection 4.2.3 D8347

High-order D8357

High-order D8367

High-order D8377 High-order

D8348 D8358 D8368 D8378 Acceleration

time (ms) 16-bit 100 Subsection 4.2.7

D8349 D8359 D8369 D8379 Deceleration

time (ms) 16-bit 100 Subsection 4.2.8

D8464 D8465 D8466 D8467

CLEAR signal device specification

*3

16-bit - Subsection 4.3.4

FX /FX /FX /FX /FX PLC User's Manual - Positioning Control Edition

Built-in Positioning Functions 6.2 DOG Search Zero Return (DSZR Instruction)

6.2.3 Function and Operation

 For details on the maximum speed, bias speed, acceleration time, and deceleration time, refer to Subsection 4.2.5 to Subsection 4.2.8.

*1. X000 to X005 for FX3S PLC.

1) For , specify the point signal (DOG) input device number. To specify the logic of this near-point signal (DOG), turn the "DOG signal logic reverse" relay on or off as shown in the following table.

• Detection of (the rear end and the front end of) the near-point signal (DOG) will be affected by the input filter and the scan time of the sequence program.

Secure 1 scan time or more from the rear end of the DOG to turning ON of the zero-point signal.

Pulse output destination device

"DOG signal logic

reverse" relay Description

= Y000 M8345

OFF: Positive logic (Turning on the input will turn on the near-point signal.)

ON: Negative logic (Turning off the input will turn on the near-point signal.)

= Y001 M8355

= Y002 M8365

= Y003 M8375

Command

input FNC150

DSZR S1 S2 D1 D2

Maximum speed Initial value: 100,000Hz

Zero return speed Initial value: 50,000Hz Deceleration

time

Bias speed Initial value: 0Hz

Acceleration time

Creep speed Initial value:

1,000Hz

CLEAR signal Zero-phase signal (X000 to X007)*1

1 ms or less 20 ms + 1 scan time (ms) S2

Current value register = "0"

Initial value:

100 ms Initial value:

100ms

DOG S1

Front end Rear end

S1

D1 D1 D1 D1

FX /FX /FX /FX /FX PLC User's Manual - Positioning Control Edition

Built-in Positioning Functions 6.2 DOG Search Zero Return (DSZR Instruction)

A

Comm

on Items

Functions Positioning

B

Built-in

Apx.

Connection Example

2) For , specify the zero-phase signal input number in the range of X000 to X007*2. To specify the logic of this zero-phase signal, turn the "Zero-point signal logic reverse" relay on or off as shown in the following table.

If the same input is specified for both the near-point signal and the phase signal, the logic of the zero-phase signal will be specified by the device of the near-point signal (DOG), and not by one of the following devices. In this case, the operation will be performed at the front and rear ends of the near-point signal (DOG) without using the zero-phase signal. This is similar to the operation of the ZRN instruction.

*2. X000 to X005 for FX3S PLC.

3) For , specify a pulse output number in the range of Y000 to Y003.

4) For , specify the rotation direction signal output device number.

When a high-speed output special adapter is used as a destination for pulse output on a FX3U PLC, use the output shown in the following table for rotation direction signals.

When a built-in transistor output is used as a destination for pulse output on a FX3S/FX3G/FX3GC/FX3U/ FX3UC PLC, use transistor output for signals rotation direction.

The rotation direction ON/OFF status of the specified device is shown in the following table.

During instruction execution, however, do not use the output for other purposes.

5) Zero return direction

To specify the zero return direction, turn "zero return direction specification" relay on or off as shown in the following table.

Pulse output destination device

"Zero-point signal logic

reverse" flag Description

= Y000 M8346

OFF: Positive logic (Turning on the input will turn on the near-point signal.)

ON: Negative logic (Turning off the input will turn on the near-point signal.)

= Y001 M8356

= Y002 M8366

= Y003 M8376

High-speed output special

adapter connection position Pulse output Rotation direction output

1st adapter = Y000 = Y004

= Y001 = Y005

2nd adapter = Y002 = Y006

= Y003 = Y007

ON/OFF status of device

specified by Rotation direction (increase/decrease current value) ON Forward rotation (Outputting pulses from will increase the

current value.)

OFF Reverse rotation (Outputting pulses from will decrease the current value.)

Pulse output destination device

"Zero return direction

specification" relay Description

= Y000 M8342

To perform zero return in the

forward rotation direction: Turn on the relay.

To perform zero return in the

reverse rotation direction: Turn off the relay.

= Y001 M8352

= Y002 M8362

= Y003 M8372

S2

D1 D1 D1 D1

D1 D2

D1 D2

D1 D2

D1 D2

D1 D2

D2

D2

D1 D1

D1 D1 D1 D1

FX /FX /FX /FX /FX PLC User's Manual - Positioning Control Edition

Built-in Positioning Functions 6.2 DOG Search Zero Return (DSZR Instruction)

6) CLEAR signal output

This instruction can output the CLEAR signal after stopping at the origin.

If it is necessary to output the CLEAR signal at the completion of zero return, turn on the "CLEAR signal output function enable" relay (see the following table).

Use an FX3UC PLC Ver. 2.20 or later and FX3S/FX3G/FX3GC/FX3U PLC to specify the CLEAR signal output device.

a) If it is not necessary to use the CLEAR signal device specification function, or if an FX3UC PLC below Ver. 2.20 is used.

b) If it is necessary to use the CLEAR signal device specification function:

Turn on the "CLEAR signal device specification function enable" relay to specify the CLEAR signal output device (output Y) for the pulse output destination device using the CLEAR signal device specification register.

 For an example program, refer to Subsection 4.3.4 or Subsection 4.5.1.

7) Zero return speed

Use the devices shown in the following table to set the zero return speed. Be sure to set the zero return speed so that the relation with the other speeds is "bias speed  zero return speed  maximum speed".

- If "zero return speed > maximum speed", the operation will be performed at the maximum speed.

8) Creep speed

Use the devices shown in the following table to set the creep speed. Be sure to set the creep speed so that the relation with the other speeds is "bias speed  creep speed  maximum speed".

Pulse output destination device

Status of "CLEAR signal output function

enable" relay

Status of "CLEAR signal device specification function

enable" relay

CLEAR signal device number

= Y000 M8341=ON M8464=OFF Y004

= Y001 M8351=ON M8465=OFF Y005

= Y002 M8361=ON M8466=OFF Y006

= Y003 M8371=ON M8467=OFF Y007

Pulse output destination device

Status of "CLEAR signal output function

enable" relay

Status of "CLEAR signal device specification function

enable" relay*1

CLEAR signal device specification register

= Y000 M8341=ON M8464=ON D 8464

= Y001 M8351=ON M8465=ON D 8465

= Y002 M8361=ON M8466=ON D 8466

= Y003 M8371=ON M8467=ON D 8467

Pulse output

destination device Bias speed Zero return speed Maximum speed Initial value

= Y000 D8342 D8347,D8346 D8344,D8343

50,000(Hz)

= Y001 D8352 D8357,D8356 D8354,D8353

= Y002 D8362 D8367,D8366 D8364,D8363

= Y003 D8372 D8377,D8376 D8374,D8373

Pulse output

destination device Bias speed Creep speed Maximum speed Initial value

= Y000 D8342 D8345 D8344,D8343

1,000(Hz)

= Y001 D8352 D8355 D8354,D8353

= Y002 D8362 D8365 D8364,D8363

= Y003 D8372 D8375 D8374,D8373

D1 D1 D1 D1

D1 D1 D1 D1

D1 D1 D1 D1

D1 D1 D1 D1

FX /FX /FX /FX /FX PLC User's Manual - Positioning Control Edition

Built-in Positioning Functions 6.2 DOG Search Zero Return (DSZR Instruction)

A

Comm

on Items

Functions Positioning

B

Built-in

Apx.

Connection Example