E658130

6.3.Program example for setting the operation commands

Example 3 shows a ladder logic to give a forward command to station 2 inverter.

X0 X0F X1 SW80.1

( M0)

M0 X20

(Y1020)

Check the ready of the Station 2

Forward rotation command (RY20)

Example 3

6.4.Program example for setting the running frequency

Example 4 shows a ladder logic to chang the running frequency of station 1 inverter to 50.00Hz

Set frequency: 5000 (decimal)

X0

 

 

X0F

 

 

X1

 

SW80.0

 

( M0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M0

 

 

 

 

X20

 

 

 

 

 

 

 

 

[ PLS

 

M300]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M300

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ SET

 

M301]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M301

 

X100D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ MOV K5000

 

W101]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[

SET

Y100D]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ RST M301]

M302

X100D

 

 

 

 

 

 

 

 

 

[ SET M302]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ RST

Y100D]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ RST

 

M302]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ END]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Check the ready of the station 1

Write set frequency to

Turn off the frequency setting command RAM (RY0D)

Turn off instruction frequency writing (RY0D), when instruction frequency writing completion flag (RX0D) is turned on.

Example

- 40 -

Page 41
Image 41
Toshiba E6581830 Program example for setting the operation commands, Program example for setting the running frequency