Toshiba E6581830 Program example for setting the operation commands, Pls, Set, Rst

Page 41

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 -

Image 41
Contents CCL003Z Introduction Handling in general Table of Contents Overview Basic specificationsCC-Link Ver CC-Link VersionSLD Names and functionsOutline Terminating resistor Installation on inverterConnection cable DA,DB Connection of CC-Link master unit and inverterMaximum connection number of units Page RUN LED indicatorRUN ERR Functions Initial settingC101 Communication parameters for CCL003ZBaud rate setting CC-Link function setting Station number settingCC-Link extended setting Basic functions Run and frequency operation commandMonitor Writing and reading the parameterRAM I/O signal list One station is occupied CC-Link Ver.1 c122=0Quadruple setting is selected CC-Link Ver.2 c122=2 Double setting is selected CC-Link Ver.2 c122=1Octuple setting is selected CC-Link Ver.2 c122=3 Trip history RYnF Instruction code execution request Detail of input and output signals120 On ST = OFF OFF ST = onRemote Register Assignment Instruction code 3 It is the same as instruction code 1 Monitor code RWwn is set Signal Description 00EDH Instruction Codes00FCH 00FDHEx A900 A900H, C123 C123H Details of an error code Fault record display example Reply code Description of reply codeDescription of monitor code Description of output terminal information Description of input terminal informationProgramming examples SW0 SB0RWr0 END Program example for reading the inverter statusX0F Program example for setting the operation mode Program example for setting the running frequency Program example for setting the operation commandsPLS SETProgram example for monitoring the output frequency Program example for parameter writing Program example for parameter reading MOV Program example for trip information readingProgram example for resetting the inverter at inverter error Instructions Unusual diagnosis Option errorDisconnection error of network cable CPU How to check the error using the LEDsTime Line ERR RUN CCL003ZTime Line RUNERR Line RUN Time RUNERR Time RUN Time ERR