Chapter 6 Function of CPU Module
6
-
8
6.4.2 Forced On/Off Execution Point and Execution Method
(1) Forced Input
Input replaces the data of contact point set as forced On/Off from the data read in input module at the time
of input refresh with the forced setting data and updates the input image area. Therefore, the user program
operates with actual input data while the forced setting area operates with forced setting data.
(2) Forced Output
Output replaces the data of contact point set as forced On/Off from the data of output image area having
the operation result, at the time of output refresh after completion of user program operation execution,
with the forced setting data and makes prints in output module. In case of output other than input, the data
of output image area does not change by forced On/Off setting.
(3) Notices in using forced I/O function
y
It operates from the point setting ‘enable’ of each input/output, after setting the forced data.
y
It is available to set the forced input even if actual I/O module is not built-in.
y
Even if there are power Off -> On, change of operation mode or operation by reset key, On/Off setting data
set in before is kept in CPU module.
y
Forced I/O data shall not be cleared even in Stop mode.
y
If you want to set the new data from the beginning, clear all settings by using ‘Delete all’ before using.
6.5 Direct I/O Operation
By making Refresh for I/O contact point with using ‘IORF’ instruction, it enables to read the state of input contact
point directly during program execution and use it for operation, and also this is used when printing out the result
of operation directly in output contact point.
Notes
1) For further information of IORF instructions, please refer to XGK Instruction manual.
2) If IORF instruction is used, the value is applied immediately, and it is used prior to Forced I/O.