Installation manual

Chapter 6 Programming
6-67
6.9 DIO control
The Digital Input/Output (DI/O) board is equipped as the standard system for PA. The
PA library is provided only for the DI/O control of this board. Channel numbers are as
follows:
The Digital Input/Output (DI/O) board is directly controlled by the motion control section.
Its input/output control can be performed by setting data in the designated area, from the
operation control section.
Port No. channel No.
DP_PORT1 DC_CH1
DC_CH2
DC_CH3
DC_CH4
DC_CH5
DC_CH6
DC_CH7
DC_CH8
System Reservation
DP_PORT2 DC_CH1
DC_CH2
DC_CH3
DC_CH4
DC_CH5
DC_CH6
DC_CH7
DC_CH8
Tool 1
DP_PORT3 DC_CH1
DC_CH2
DC_CH3
DC_CH4
DC_CH5
DC_CH6
DC_CH7
DC_CH8
Tool 2
DP_PORT4 DC_CH1
DC_CH2
DC_CH3
DC_CH4
DC_CH5
DC_CH6
DC_CH7
DC_CH8
Tool 3
Input/output libraries are as follows:
pa_inp_dio Digital input (Input with 32 ch.units)
pa_oup_dio Digital output (Output with 32 ch.units)
pa_get_dio Digital input (Input with 1 ch.unit)
pa_set_dio Digital output (Sets with 1 ch.unit)
pa_rst_dio Digital output (Resets with 1 ch.unit)