3-2 Input Signal Description

3

I/O INTERFACE

3-6

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.

 

PRM7

DI used to specify point numbers

DI used to specify speed

Speed setting method

 

100 (default setting)

DI7 to DI0 (256 points)

Not specified

100%

NORMAL mode

 

 

 

 

1 to 99

DI6 to DI0 (128 points)

DI7

Speed setting pattern 2

(SERVICE mode disabled)

0

DI5 to DI0 (64 points)

DI7, DI6

Speed setting pattern 1

 

SERVICE mode enabled

100 (default setting)

DI6 to DI0 (128 points)

Not specified

100%

1 to 99

DI5 to DI0 (64 points)

DI6

Speed setting pattern 3

 

 

 

 

 

 

Example of point number setting

DI No.

DI7

DI6

DI5

DI4

DI3

DI2

DI1

DI0

Point No.

(27)

(26)

(25)

(24)

(23)

(22)

(21)

(20)

P0

OFF

OFF

OFF

OFF

OFF

OFF

OFF

OFF

 

 

 

 

 

 

 

 

 

P1

OFF

OFF

OFF

OFF

OFF

OFF

OFF

ON

 

 

 

 

 

 

 

 

 

P3

OFF

OFF

OFF

OFF

OFF

OFF

ON

ON

 

 

 

 

 

 

 

 

 

P7

OFF

OFF

OFF

OFF

OFF

ON

ON

ON

 

 

 

 

 

 

 

 

 

P15

OFF

OFF

OFF

OFF

ON

ON

ON

ON

 

 

 

 

 

 

 

 

 

P31

OFF

OFF

OFF

ON

ON

ON

ON

ON

 

 

 

 

 

 

 

 

 

P63

OFF

OFF

ON

ON

ON

ON

ON

ON

 

 

 

 

 

 

 

 

 

P127

OFF

ON

ON

ON

ON

ON

ON

ON

 

 

 

 

 

 

 

 

 

P254

ON

ON

ON

ON

ON

ON

ON

OFF

 

 

 

 

 

 

 

 

 

P255

ON

ON

ON

ON

ON

ON

ON

ON

 

 

 

 

 

 

 

 

 

Example of point movement speed setting

Speed setting pattern 1

DI7

 

DI6

Movement speed

OFF

 

OFF

100%

OFF

 

ON

PRM41

ON

 

OFF

PRM42

ON

 

ON

PRM43

Speed setting pattern 2

 

 

 

 

 

DI7

Movement speed

OFF

100%

 

ON

PRM7

Speed setting pattern 3

 

 

 

 

 

DI6

Movement speed

OFF

100%

 

ON

PRM7

*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.

Page 34
Image 34
Yamaha SRCP manual General-purpose input DI0 to DI7, PRM7