6. PROGRAMMING EXAMPLES

PROGRAMMING EXAMPLES

This chapter provides programming examples which control the inverter with sequence programs.

 

Item

Program Example

Refer to Page

6.1

Reply code definitions

List of codes checked after completion of instruction code execution

32

6.2

Reading the inverter status

Reading the inverter status from the buffer memory of the master

33

station

 

 

 

6.3

Setting the operation mode

Selecting the CC-Link operation mode

34

6.4

Setting the operation commands

Commanding the forward rotation and medium speed signals

35

6.5

Setting the monitoring function

Monitoring the output frequency

36

6.6

Reading a parameter value

Reading the value of Pr. 7 "acceleration time"

38

6.7

Writing a parameter value

Setting "3.0 seconds" in Pr. 7 "acceleration time"

39

6.8

Over of the Functions

Setting to 50.00Hz

40

"acceleration time"

 

 

 

6.9

Reading the alarm definitions

Reading the inverter alarms

42

6.10

Inverter reset

Resetting the inverter

44

System configuration for programming example

PLC

 

 

 

 

 

 

 

 

 

X0020

Power

 

CPU

 

Master

 

Input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

station

module

 

 

 

 

supply

 

 

 

 

 

 

 

 

(X/Y00 to 1F)

(X20 to X2F)

 

 

 

 

 

 

 

Station 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Station 1

 

 

 

 

 

Inverter

Inverter

 

 

 

 

 

(1 station

(1 station

 

 

 

 

 

occupied)

occupied)

 

 

 

 

 

FR-E5NC

FR-E5NC

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31