Example Of The Command Mode Setting - Toshiba TOSVERT VF-AS1 Function Manual

Hide thumbs Also See for TOSVERT VF-AS1:
Table of Contents

Advertisement

5.2. Example of the command mode setting

The following explains a program to write various data to the inverter.
The following program changes the operation mode of station 1 inverter to CC-Link operation.
Operation mode writing code number : 2003H (Hexadecimal number)
The reply code at the time of instruction code execution is set to D2.
M9036
X0000 X000F X0001 X0020 M200
M302
Write setting Inverter running
M303
M115
M9036
Stores reply code to D2 when the instruction code execution completion.
D2 = 0000H.........Normal
Command mode setting
Code number : 2003H
Setting data
CC-Link operation set data : 0000H (Hexadecimal number)
[ FROM H0000 H00E0 K4M100 K2 ]
M201
[ MOV
[ MOV
[ TO
H0000 H01E2 D100 K2]
[ FROM H0000 H02E2 D2 K1]
[ TO H0000 H0160 K4M200 K2]
0001H.........Write mode error
0002H.........Parameter selection error
0003H.........Setting range error
0000H : Terminal input enabled
0001H : Operation panel input enabled
(including LED/LCD option unit)
0002H : 2-wire RS485 communication input
0003H : 4-wire RS485 communication input
0004H : Communication option input
Reads the remote input (RX00 to RX1F)
data of buffer memory to M100 – M131.
[ PLS
M302 ]
[ SET
M303 ]
H2003 D100]
Writes command mode writing code (2003H)
H0004 D101]
to RWw2 and set data (0004H) to RWw3.
[ SET
M215 ]   Switches on the instruction code execution
request (RY1F).
Reads reply code (RWr2) to D2 when the instruction
code execution completion (RX1F) switches on.
[ RST
M215 ]
Switches off the instruction code execution
[ RST
M303 ]
request (RY1F).
Writes M200 – M231 data to the remote outputs
(RY00 to RY1F) of buffer memory.
Normal completion of instruction code execution.
Execution improper error.
(Write protected during operation)
Unregistered code number was set.
Set data is outside the permissible data
range.
22  −
− 
E6581288①

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tosvert vf-as1 cc-linkCcl001z

Table of Contents