Chapter 5 Power Supply / CPU

2) Special data register for forced I/O

The contents of forced I/O setting is registered to special data register as below.

It is possible to use ‘forced I/O function’ to program.

Items

Special Device

All Forced I/O enable

M1910

Forced I/O enable by bit

D4700 ~ D4763

Forced I/O set data

D4800 ~ D4863

3)Force on/ off Processing timing and method

(1)Forced Input

After data have been read from input modules, at the time of input refresh the data of the junctions which have been set to force on/off will be replaced with force setting data to change the input image area. And then, the user program will be executed with real input data and force setting data.

(2) Forced output

 

 

When a user program has finished its execution

the output image area has the operation results. At

the time

of output refresh the data of the junctions which

have been set to force on/off will be replaced with

force se

tting data and the replaced data will be output. However, the force on/off setting does not change the output image area data while it changes the input image area data.

(3) Precautions

 

 

y Turning the

power off and on, changes of the operation mode or operation

by reset switch does not change

the

previous force on/off setting data. They remain within the CPU module

and operation is executed with

the

same

data.

 

y Forced I/O

data will not be cleared even in the STOP mode.

 

yWhen setting new data, disable every I/O settings using the setting data clear function and set the new data.

REMARK

-. For detailed operation, refer to the KGLWIN user’s Manual Chapter 7 ‘Force I/O setting.

5-26

Page 63
Image 63
LG Electronics 120S user manual Special data register for forced I/O, Force on/ off Processing timing and method