PROGRAMMING EXAMPLES

2)To continuously change the running frequency from PLC

When the frequency setting completion (example: RX2D) switches on, make sure that the reply code in the remote

register is 0000H and change the set data (example: RWw5) continuously.

3)Program example for writing data to E2PROM Modify the above program as follows:

Change the frequency setting command from RY2D to RY2E.

Frequency setting completion RX2D RX2E

<Timing chart for write to RAM>

<Timing chart for write to E2PROM>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RY2D

 

 

 

 

 

 

 

RY2E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Note 2)

RWW5

 

 

 

 

RWw5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Note1)

 

 

 

 

 

Inverter

Inverter

 

 

running

 

 

 

 

 

 

 

running

 

 

 

 

 

 

 

 

 

 

frequency

 

 

 

 

frequency

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reflected on inverter

 

 

 

 

 

 

 

 

 

 

 

 

at the point when RY2E

 

 

 

 

 

 

 

 

 

 

 

 

switches on

Note: 1. For E2PROM, write is made only once when RY2E is switched on.

2. If the set data is changed with RY2E on, it is not returned on the inverter.

41