
13. INPUT/OUTPUT OF DATA
B–63523EN–1/03
1702
There are two methods of forcibly terminating input/output.
(1) Termination by a reset
Input/output can be terminated by a reset. In this case, however, slave
read/write stop signal ESTPIO is not output. Therefore, the
operation of the Power Mate is not terminated even if the Power Mate
is performing input/output. To terminate Power Mate operation,
create a ladder program so that ESTPIO is set to 1 upon the
occurrence of a reset.
(2) Termination using external read/punch stop signal EXSTP
(applicable only when data input/output function B based on the I/O
Link is used)
Input/output can be terminated by setting external read/punch stop
signal EXSTP to 1. In this case, slave read/write stop signal ESTPIO
is output, and all processing is terminated once the termination of
Power Mate input/output has been confirmed. See the timing chart
for the case where the Series 16i/18i/21i issues an alarm.
The PMC function instruction (WINDW) is used to set the program
numbers used with data input/output function B based on the I/O Link.
[Data] This function is a window function for specifying the program numbers
used to perform program input/output with the I/O device control
function via the I/O Link.
[Input data structure]
Top address +0 +2 +4 +6 +8 +10
Function
code
Completion
code
Data length Data number Data
attribute
Data
194 – 2 0 0 Program number
(‘–’ : Need not be set.)
Specify 0 in the data number and data attribute fields.
Specify 2 in the data length field.
Specify a desired two–byte program number (1 to 9999, –9999) in the data
field.
[Output data structure]
Top address +0 +2 +4 +6 +8 +10
Function
code
Completion
code
Data length Data number Data
attribute
Data
194 ? Input data Input data Input data Input data
[Completion codes]
0 : Normal termination
5 : Data other than 1 to 9999 or –9999 was specified.
The data length, data number, and data attribute fields are not checked.
For details of the PMC function instructions, refer to the “FANUC PMC
Programming Manual.”
D Stopping input/output
D Specifying the PMC
functions