2-2 general-purpose input (di0 to di7), I/o interf ace, 2 input signal description – Yamaha SRCP User Manual

Page 34

Advertising
background image

3-

6

3

I/O INTERF

ACE

3-2 Input Signal Description

3-2-2 General-purpose input (DI0 to DI7)

These general-purpose inputs are available to users for handling data input in a program.
These inputs are usually connected to sensors or switches. These inputs can also be directly con-
nected to a PLC output circuit.

As a special function during execution of an ABS-PT or INC-PT point movement command, these
general- purpose inputs can be used to specify the point numbers and movement speed.
The number of general-purpose input (DI) points used to specify the point numbers and speed differs
depending on whether SERVICE mode is enabled or disabled and also on the PRM7 (I/O point
movement command speed parameter) setting.
For example, when PRM7 is 100 in normal mode (SERVICE mode disabled), the point numbers
should be input in binary code with DI0 to DI7 to specify P0 to P255 as shown in the table below.
If PRM7 is 0 in normal mode (SERVICE mode disabled), then point numbers should be input with
DI0 to DI5 in binary code to specify P0 to P63 as shown in the table below. The movement speed is
specified as 100% when both DI6 and DI7 are off. In other cases, it is set to the speed specified by the
parameter. (See "5-2 Parameter Description".) Also see the tables below for more details.

NORMAL mode

(SERVICE mode disabled)

SERVICE mode enabled

PRM7

100 (default setting)

1 to 99

0

100 (default setting)

1 to 99

DI used to specify point numbers

DI7 to DI0 (256 points)

DI6 to DI0 (128 points)

DI5 to DI0 (64 points)

DI6 to DI0 (128 points)

DI5 to DI0 (64 points)

DI used to specify speed

Not specified

DI7

DI7, DI6

Not specified

DI6

Speed setting method

100%

Speed setting pattern 2

Speed setting pattern 1

100%

Speed setting pattern 3

DI No.

Point No.

P0

P1

P3

P7

P15

P31

P63

P127

P254

P255

DI7

(2

7

)

OFF

OFF

OFF

OFF

OFF

OFF

OFF

OFF

ON

ON

DI6

(2

6

)

OFF

OFF

OFF

OFF

OFF

OFF

OFF

ON

ON

ON

DI5

(2

5

)

OFF

OFF

OFF

OFF

OFF

OFF

ON

ON

ON

ON

DI4

(2

4

)

OFF

OFF

OFF

OFF

OFF

ON

ON

ON

ON

ON

DI3

(2

3

)

OFF

OFF

OFF

OFF

ON

ON

ON

ON

ON

ON

DI2

(2

2

)

OFF

OFF

OFF

ON

ON

ON

ON

ON

ON

ON

DI1

(2

1

)

OFF

OFF

ON

ON

ON

ON

ON

ON

ON

ON

DI0

(2

0

)

OFF

ON

ON

ON

ON

ON

ON

ON

OFF

ON

Example of point number setting

DI7

DI6

OFF

ON

OFF

ON

Movement speed

100%

PRM41

PRM42

PRM43

OFF

OFF

ON

ON

Speed setting pattern 1

DI7

Movement speed

100%

PRM7

OFF

ON

Speed setting pattern 2

DI6

Movement speed

100%

PRM7

OFF

ON

Speed setting pattern 3

Example of point movement speed setting

* DI7 functions as the SERVICE mode input when the SERVICE mode function is enabled.

In this case, DI0 to DI6 can be used as the general-purpose inputs.

Advertising