4 general-purpose i/o mode – Yaskawa JAPMC-MC2300 User Manual

Page 66

Advertising
background image

4.4 General-purpose I/O Mode

4.4.1 Motion Parameters That Can be Used in General-purpose I/O Mode

4-6

4.4 General-purpose I/O Mode

Set the fixed parameter No. 0 (Selection of Operation Modes) to 4 to select the general-purpose I/O mode.
In general-purpose I/O mode, the following functions are enabled.

• General-purpose DO outputs (6 points/axis)
• General-purpose AO outputs (2 channels/axis)
• General-purpose DI inputs ( 6 points/axis)
• General-purpose AI inputs (2 channels/axis)
• Counter input (1 channel/axis)

4.4.1 Motion Parameters That Can be Used in General-purpose I/O Mode

In general-purpose I/O mode, the following motion parameters can be used.

Fixed Parameters

Setting Parameters

No.

Name

Description

Default Value

0

Selection of Operation
Modes

4: General-purpose I/O mode

1

2

Function Selection Flag 2

Bit 3: Analog Adjust Not Ready Warning Mask
(0: Disable/1: Enable)

0

Bit 4: PG Wire Breaking Down Status Mask (0: Disable/1: Enable)

0

20

Hardware Signal Selection 1

Bit 0: A/B Pulse Input Signal Polarity Selection
(0: Positive logic/1: Negative logic)

0

Bit 1: C Pulse Input Signal Polarity Selection
(0: Positive logic/1: Negative logic)

0

22

Pulse Counting Mode
Selection

0: Sign mode

∗1

1: Sign mode

∗2

2: Up/Down mode

∗1

3: Up/Down mode

∗2

4: A/B mode

∗1

5: A/B mode

∗2

6: A/B mode

∗4

6

Register

No.

Name

Description

Default Value

OW

00

Run Command Setting

Bit 4: Latch Detection Demand (0: OFF/1: ON)
Used to set or cancel latch detection

0

Bit F: Alarm Clear (0: OFF/1: ON)

0

OW

04

Function Setting 2

Bits 0 to 3: Latch Detection Signal Selection

0: DI_5 (DEC/EXT)
1: DI_2 (ZERO/HOME LS)
2: Phase-C Pulse input signal

0

OW

1A

General-purpose AO1

Setting range:

−32768 to 32767

Setting unit: 1 = 0.001 V

0

OW

1B

General-purpose AO2

Setting range:

−32768 to 32767

Setting unit: 1 = 0.001 V

0

OL

48

Zero Point Position in
Machine Coordinate
System Offset

Used as the counter current position offset.
Setting unit: 1 = 1 reference unit (pulse only)

0

OW

5D General-purpose DO

Bit 0: General-purpose DO_0 (0: OFF/1: ON)

0

Bit 1: General-purpose DO_1 (0: OFF/1: ON)

0

Bit 2: General-purpose DO_2 (0: OFF/1: ON)

0

Bit 3: General-purpose DO_3 (0: OFF/1: ON)

0

Bit 4: General-purpose DO_4 (0: OFF/1: ON)

0

Bit 5: General-purpose DO_5 (0: OFF/1: ON)

0

Advertising