Toshiba E6581830 Laptop Docking Station User Manual


 
E658130
- 40 -
6.3. Program example for setting the operation commands
Example 3 shows a ladder logic to give a forward command to station 2 inverter.
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.1
M0
X20
( M0)
(Y1020)
Check the ready of the Station 2
Forward rotation command (RY20)
Example 3
X100D M302
X0
X0F X1
( M0)
SW80.0
M0
X20
[ PLS M300]
M300
[ SET M301]
M301
X100D
[ MOV K5000 W101]
[ SET Y100D]
[ RST Y100D]
[ RST M302]
[ END]
[ RST M301]
[ SET M302]
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