-31-
7.5 Notes on Programming Monitoring Software
7.5.1 How to Speed up the Scan Time
When monitoring multiple units of the controller, set the program so that the requisite minimum pieces
of data such as Data item 0080H or 0100H (PV), Data item 0081H or 0101H (OUT1 MV), Data item
0085H or 0106H (Status flag), can be read. For other data, set the program so that they can be read
only when their set value has changed.
This will speed up the scan time.
7.5.2 How to Read the Set Value Changes Made by Front Keypad Operation
If any set value is changed by the keypad operation, the controller sets 0085H or 0106H (Status flag,
215: Change in key operation) to “1 (Yes)”.
There are 2 methods of reading the set value changes made by front keypad.
(1) Reading method 1
1
On the monitoring software side, check that 0085H or 0106H (Status flag, 215: Change in key
operation) has been set to “1 (Yes)”, then read all set values.
2
Clear 0085H or 0106H (Status flag, 215: Change in key operation), by writing Data item 0070H or
00FFH (Key operation change flag clearing) to 0001H (Clear key operation change flag).
If 0070H or 00FFH (Key operation change flag clearing) is written to 0001H (Clear key operation
change flag) during the setting mode of the controller, Error code 5 (35H, Shinko protocol) or
Exception Code 18 (12H, Modbus protocol) will be returned as a negative acknowledgement. And
0085H or 0106H (Status flag, 215: Change in key operation) cannot be cleared.
Set a program so that all set values can be read when a negative acknowledgement is returned.
3
Read all set values again after acknowledgement is returned.
(2) Reading method 2
1
On the monitoring software side, check that 0085H or 0106H (Status flag, 215: Change in key
operation) has been set to “1 (Yes)”, then write 0070H or 00FFH (Key operation change flag
clearing) to 0001H (Clear key operation change flag).
2
Set the program depending on the acknowledgement or negative acknowledgement as follows.
When acknowledgement is returned;
Consider it as settings completed, and read all set values.
When Error code 5 (35H, Shinko protocol) or Exception code 18 (12H, Modbus protocol) is returned
as a negative acknowledgement;
Consider it as still in setting mode, and read the requisite minimum pieces of data such as 0080H
or 0100H (PV), 0081H or 0101H (OUT1 MV), 0085H or 0106H (Status flag), then return to Step
1
.
Thus, programs which do not affect the scan time can be created using the methods described above,
even if set values on the monitoring software will not be updated until settings are complete.
7.5.3 How to Read PID Parameters after AT Finishes
While AT is performing, this controller sets 0085H or 0106H (Status flag, 211: During AT) to “1 (During
AT)”.
After AT is finished, PID parameters are updated.
On the monitoring software side, check that 0085H or 0106H (Status flag, 211: During AT) has been set
to “0 (OFF)”, then read parameters such as P, I, D, ARW.
7.5.4 Note When Sending All Set Values Simultaneously
• When changing alarm types at 0023H or 0006H (A1 type), 0024H or 0007H (A2 type), A1 value or A2
value will default to 0 (zero).
First, send the selected alarm type, then send each alarm value.
• When changing input types at 0044H or 0002H (Input type), the set values such as SV1, OUT1
proportional band, A1 value will be initialized.
First, send the selected input type, then send other set values.