Toshiba E6581830 instruction manual Program example for parameter writing

Page 43

E658130

6.6.Program example for parameter writing

Example 6 shows a ladder logic to chang the setting of f311 of station 1 inverter to 1 f311: Reverse-run prohibition reading code number: 2311H (hexadecimal) Reverse-run prohibition set data: 1 (decimal)

X0 X0F X1 SW80.0

( M0)

M0 X20

[ PLS M300]

M300

[ SET M301]

M301 X100F

[ MOV H2311 W102]

[ MOV K1 W103]

[ SET Y100F]

[ RST M301]

[ SET M302]

M302 X100F

[ MOV W2 D2]

[ RST Y100F]

[ RST M302]

Check the ready of the Station 1

Write f311 write code (2311H) to RWw2 and reverse-run prohibition setting

Turn on the instruction code execution

Read reply code (RWr2) to D2 when the Instruction code execution completion flag

Turn off the instruction code execution

[ END]

Example

Refer to 5.5.8 for detail.

- 42 -

Image 43
Contents CCL003Z Introduction Handling in general Table of Contents Overview Basic specificationsCC-Link Ver CC-Link VersionOutline Names and functionsSLD Connection cable Installation on inverterTerminating resistor DA,DB Connection of CC-Link master unit and inverterMaximum connection number of units Page RUN ERR LED indicatorRUN 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 X0F Program example for reading the inverter statusEND 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 Disconnection error of network cable Option errorUnusual diagnosis CPU How to check the error using the LEDsLine RUN CCL003ZTime Line ERR RUN TimeTime ERR Time RUNERR Line RUN ERR Time RUN