Mitsubishi Electronics Q64TCRTN Network Card User Manual


 
315
CHAPTER 7 PROGRAMMING
7
7.2 When Using the Module in a Standard System Configuration
7.2.1 Standard control (such as auto tuning, self-tuning, and error code read)
(f) Program example
Program that changes the setting/operation mode
Program that stops the auto tuning when an alert is detected
Program that reads the PID constants from E
2
PROM
Program that reads an error code
Program that changes the set values (SV) and the alert set value 1
Change to the setting mode or
the operation mode.
CH1 Auto tuning instruction: OFF
CH1 E
2
PROM's PID constants read
instruction: Requested
Read bit data from b7 to b0 of E
2
PROM's
PID constants read/write completion flag to
M20 to M27.
CH1 E
2
PROM's PID constants read
instruction: Not requested
Output a write data error code to
Y60 to Y6F.
Error reset instruction: ON
Error reset instruction: OFF
Change CH1 Set value (SV) setting
to 250 .
Change CH1 Alert set value 1 to
300 .
Return CH1 Alert set value 1 to 250 .
Return CH1 Set value (SV) setting
to 200 .