Toshiba E6581830 instruction manual Program example for trip information reading, Mov

Page 45

E658130

6.8.Program example for trip information reading

Example 8 shows a ladder logic to read the trip information of station 1 inverter to D1.

Trip history No. 1, No. 2 reading code number: 74H (hexadecimal)

The reply code at the time of instruction code execution is set to D2.

X0

 

 

X0F

 

 

X1

 

SW80.0

 

( M0)

 

 

 

 

Check the ready of the Station 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M0

 

 

 

 

X20

 

 

 

 

 

 

 

 

 

 

[ PLS

 

M300]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M300

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ SET

M301]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M301

 

X100F

 

 

 

 

 

 

 

 

 

 

 

 

Write trip history No.1, No.2 read

 

 

 

 

 

 

[ MOV H74

W102]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

code (H74) to RWw2.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ SET

 

Y100F]

 

 

 

Turn on the instruction code execution

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

request (RY0F)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ RST

 

M301]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M302

 

X100F

 

 

 

 

 

 

 

 

 

[ SET

 

M302]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ MOV

W2

D1]

 

Read alarm data (RWr3) and reply code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(RWr2) to D1 and D2 when the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ MOV

W3

D2]

 

 

 

instruction code execution completion

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

flag (RX0F) turns on.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[ RST

Y100F]

 

 

 

Turn off the instruction code execution

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

request (RY0F)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[RST M302]

[ END]

Example

For example of trip information

 

 

 

 

 

 

 

 

 

Read dara: 2D0EH

 

 

 

 

 

 

 

 

 

 

 

 

b15

 

 

 

 

 

 

b8 b7

 

 

 

 

 

 

b0

 

0

0

1

0

1

1

0

1

0

0

0

0

1

1

1

0

(2DH)

Past trip code

e-13(Error code: 2DH)

" Over speed fault "

(0EH)

Current trip code

ol2(Error code: 0EH)

" Motor overload "

Refer to 5.5.9 for detail.

}

- 44 -

Image 45
Contents CCL003Z Introduction Handling in general Table of Contents Overview Basic specificationsCC-Link Ver CC-Link VersionNames and functions OutlineSLD Installation on inverter Connection cableTerminating resistor DA,DB Connection of CC-Link master unit and inverterMaximum connection number of units Page LED indicator RUN ERRRUN 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 Program example for reading the inverter status X0FEND 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 Option error Disconnection error of network cableUnusual diagnosis CPU How to check the error using the LEDsTime Line ERR RUN CCL003ZTime Line RUNERR Line RUN Time RUNERR Time RUN Time ERR