8
Programming
QE81WH4W
Chapter 8: Programming
This chapter explains about programming for QE81WH4W.
When you apply sample programs introduced in this chapter into the actual system, make sure to verify
in advance that there is no problem with the target system control.
Follow the procedure in Figure 8.1-1 to create a sample program using QE81WH4W.
The default setting allows you to use either GX Developer (see 7.5) or the sequence program to make
setting; however, if the setting is made for the first time by using GX Developer, the program for initial
setting can be eliminate, which will reduce time for scanning.
8.1 Programming procedure
Follow the procedure in Figure 8.1-1 to create a program for acquiring the measured data, alarm
monitoring, calculating periodical electricity amount using QE81WH4W.
Initial setting program
(Setting the phrase wire method, primary voltage, and
primary current)
Measured data acquisition program
(Acquiring the electric current, electric energy amount, etc.)
Error monitoring program
(Monitoring the error status and output in case of error
occurrence)
Do you make the initial setting
manually on the GX Developer?
No
Yes
Data acquisition clock (Xn8) is ON ?
No
Program for periodic electric energy function
(Instruction as to whether or not to measure the periodic electric
energy)
Alarm monitoring function program
(Acquiring the alarm status and output in case of alarm
occurrence)
Creating a program for the
function as needed
Creating a program for the
function to be used
Finish
Start
Yes
Figure 8.1-1 Programming chart
8 - 1