Toshiba E6581830 instruction manual Program example for monitoring the output frequency

Page 42

E658130

6.5.Program example for monitoring the output frequency

Example 5 shows a ladder logic to read the output frequency of station 1 inveter to D1. Output frequency reading code number: 0001H (hexadecimal)

When the output frequency is 50Hz, D1 is 1388H (5000) (unit: 0.01Hz).

X0 X0F X1 SW80.0

( M0)

M0 X20

[ MOV H1 W100]

( Y100C)

X100C

[ MOV W1 D1]

[ END]

Check the ready of the station 1

Set monitor code (H0001) of output frequency to RWw0.

Turn on the monitor command (RY0C)

Read output frequency (RWr0) to D1

when the monitoring flag (RX0C) turns on.

Example 5

Refer to 5.5.11 for detail.

- 41 -

Image 42
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 Monitor Run and frequency operation commandBasic functions 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 00FCH Instruction Codes00EDH 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 PLS Program example for setting the operation commandsProgram example for setting the running frequency 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 CPUTime CCL003ZTime Line ERR RUN Line RUNERR Time RUN Time RUNERR Line RUN Time ERR