Toshiba E6581830 instruction manual Program example for reading the inverter status, X0F, End

Page 39

E658130

6.1.Program example for reading the inverter status

Example 1 shows a ladder logic to read the inverter status.

Y30 of the output unit is turned on when inverter of station 2 is forward running

X0

X0F

X1

SW80.1

 

 

( M0 )

Check the ready of the station 2

 

 

 

 

 

 

 

 

 

 

M0

X1020

 

 

 

 

( Y30 )

Turn on the relay of output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

unit (Y30)

 

 

 

 

 

 

 

 

 

 

 

 

[END]

 

 

 

 

 

 

 

 

 

Example

 

 

 

 

 

 

 

 

 

 

 

 

 

Remote input

b15

 

 

 

b8

b7

 

 

 

 

 

b0

 

 

 

 

 

 

 

 

 

 

 

Station1

RX0 to RXF

0

0

0 0 0 0

* * 0

00 0 00 0 00

0

00

0

00

00

10

RX10 to RX1F

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Station 2

RX20 to RX2F

 

 

 

 

 

[Inverter

 

 

 

 

 

RX30 to RX3F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Inverter status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b0: Forward running

 

 

 

 

 

 

 

 

 

 

 

 

b1: Reverse running

 

 

 

 

 

 

 

 

 

 

 

 

b2: Output terminal 1

 

 

 

 

 

 

 

 

 

 

 

 

b3: Output terminal 2

 

 

 

 

 

 

 

X0:

Module error

 

 

 

b4: Output terminal 3

 

 

 

 

 

 

 

 

 

 

b5: Failure FL

 

 

 

 

 

 

 

 

X1:

Host data link status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0F:

Module ready

 

 

 

b6: PI control OFF

 

 

 

 

 

 

 

SW80.1: Station 2 ready

 

 

 

b7: Acceleration/deceleration pattern selection (1 or 2)

 

 

 

 

 

 

b8: Emergency stop

 

 

 

 

 

 

 

 

 

 

 

 

b9: Coast stop

 

 

 

 

 

 

 

 

 

 

 

 

 

b10: Alarm

 

 

 

 

 

 

 

 

- 38 -

Image 39
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 Writing and reading the parameter Run and frequency operation commandBasic functions MonitorRAM 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 00FDH Instruction Codes00EDH 00FCHEx 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 SET Program example for setting the operation commandsProgram example for setting the running frequency PLSProgram 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 LEDsLine RUN CCL003ZTime Line ERR RUN TimeTime ERR Time RUNERR Line RUN ERR Time RUN