Toshiba E6581830 instruction manual Programming examples

Page 36

E658130

6.Programming examples

This chapter provides programming examples which control the inverter with the PLC.

 

 

 

 

Item

 

 

 

Programming Example

 

Refer to Page

 

6.1

 

Reading the inverter status

 

Reading the inverter status from the buffer

 

- 38 -

 

 

 

memory of the master station.

 

 

 

 

 

 

 

 

 

 

 

 

6.2

 

Setting the command mode

 

Command mode from CC-Link is confirmed.

 

- 39 -

 

6.3

 

Setting the operation commands

 

Commanding the forward rotation.

 

- 40 -

 

6.4

 

Setting the reference frequency

 

Setting to 50.00Hz.

 

- 40 -

 

6.5

 

Setting the monitoring function

 

Monitoring the output frequency.

 

- 41 -

 

6.6

 

Writing a parameter value

 

Setting the f311 [Reverse-run prohibition

 

- 42 -

 

 

 

selection] to [1 : Prohibit reverse run].

 

 

 

 

 

 

 

 

 

 

 

 

6.7

 

Reading a parameter value

 

Reading the parameter f311.

 

- 42 -

 

6.8

 

Reading the the fault record

 

Reading the fault record

 

- 44 -

 

6.9

 

Inverter reset

 

 

Resetting the inverter.

 

- 45 -

System configuration for programming example

 

 

 

 

 

 

Master unit

 

 

 

Station 1

Station 2

 

 

 

 

 

 

 

 

 

 

Inverter

Inverter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PS

Q02

QJ61

 

Input

Output

 

 

 

 

 

Unit

CPU

BT11N

 

Unit

Unit

 

 

 

 

 

 

 

 

(X/Y00

 

(X20

(Y30

 

 

 

 

 

 

 

 

to 1F)

 

to X2F)

to 3F)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0020

Y30

CC-Link communication cable

The example of CC-Link communication network composition

CPU

Mitsubishi Electric Corp.

Q02CPU

Master unit

Mitsubishi Electric Corp.

QJ61BT11N

Input module

Mitsubishi Electric Corp.

QX40

Output module

Mitsubishi Electric Corp.

QY40P

CC-Link dedicated cable

Kuramo Electric Corp.

FANC-110SBH

Inveter

Toshiba

TOSVERT VF-S15(2 uints)

 

 

One station is occupied

CC-Link option

Toshiba

CCL003Z(2 units)

- 35 -

Image 36
Contents CCL003Z Introduction Handling in general Table of Contents Basic specifications OverviewCC-Link Version CC-Link VerNames and functions OutlineSLD Installation on inverter Connection cableTerminating resistor Connection of CC-Link master unit and inverter DA,DBMaximum connection number of units Page LED indicator RUN ERRRUN Initial setting FunctionsCommunication parameters for CCL003Z C101CC-Link function setting Station number setting Baud rate settingCC-Link extended setting Run and frequency operation command Basic functionsMonitor Writing and reading the parameterI/O signal list One station is occupied CC-Link Ver.1 c122=0 RAMDouble setting is selected CC-Link Ver.2 c122=1 Quadruple setting is selected CC-Link Ver.2 c122=2Octuple setting is selected CC-Link Ver.2 c122=3 Trip history Detail of input and output signals RYnF Instruction code execution request120 OFF ST = on On ST = OFFRemote Register Assignment Instruction code 3 It is the same as instruction code 1 Monitor code RWwn is set Signal Description Instruction Codes 00EDH00FCH 00FDHEx A900 A900H, C123 C123H Details of an error code Fault record display example Description of reply code Reply codeDescription of monitor code Description of input terminal information Description of output terminal informationProgramming examples SB0 SW0RWr0 Program example for reading the inverter status X0FEND Program example for setting the operation mode Program example for setting the operation commands Program example for setting the running frequencyPLS SETProgram example for monitoring the output frequency Program example for parameter writing Program example for parameter reading Program example for trip information reading MOVProgram example for resetting the inverter at inverter error Instructions Option error Disconnection error of network cableUnusual diagnosis How to check the error using the LEDs CPUCCL003Z Time Line ERR RUNTime Line RUNTime RUN ERR Line RUNERR Time RUN Time ERR