7 - 22
7 Setting and procedure for operation
QE81WH4W
7.6.5 Debugging
program
QE81WH4W provides a test function so that you can debug a program with no input of voltage or
current. Pseudo-value can be stored into the buffer memory. For detailed explanation for the test
function, refer to 4.2.5.
Test function stores pseudo-values for setting value and error information as well as
measured value. If you use these data to control the sequence program that controls
external devices, there is a chance that erroneous control may occur. For safety of
external devices, use this function after disconnecting the device.
Caution
(1) Setting intelligent function of the module switch
1)
In the “I/O assignment setting” of 7.6.1, click the Switch setting button to display the
dialog box of “I/O module, intelligent function module switch setting”. (
refer to section
7.7.2.
)
2)
The intelligent function module switch setting displays switches 1 to 5; however, only the
switch 5 is used for this purpose. Switch setting is configured using 16-bit data.
Setting is as follows:
Switch 5: “1”
3)
When the setting is completed, click the End button.
4)
From the “Online” menu, select “Write to PLC” to display the dialog box of Write to PLC,
and then execute the writing to PLC parameter. After resetting the CPU module, the value
will become effective.
(2) Starting the test function
1)
Reset the CPU module.
2)
QE81WH4W starts in the test function mode. All LEDs are turned on. Pseudo-values are
set effective in the buffer memory.
(3) Finishing the test function (Move back to the measuring mode)
1)
Following 1) and 2) in step (1), configure the intelligent function switch setting as shown
below.
Switch 5: “0”
2) Following 3) and 4) in step (1), complete the setting and write the data into PLC.
3)
Reset the CPU module, then the operation goes back to the measuring mode.