EasyManua.ls Logo

Vigor VS Series - Page 296

Vigor VS Series
484 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
290
RS- 232 RS- 485
1
2
M
3
FNC
149
M B U S
S1
S2
n
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S1
S2
n
S1 : the communication table that describes the data
receiving and transmitting
S2 : the working area for the instruction that occupies
4 registers
n : to designate the communication port, 1~5 =
CP1~CP5
MBUS ACCESS_MBS_EQUIP D100 K1
X20
S1
S2S1
n
Using a Table Code Q0~Q31 (V, Z index modiable) or a Table Nickname (by user-dened 16 English characters)
M9104
M9114
M9124
M9134
M9144
M9143
M9103
M9113
M9123
M9133
Operand
Devices
MODBUS Communication Instruction
S2 occupies 4 components
For the VS1 series, n = 1~2; for the VS2 or VSM series, n= 1~3; for the VS3 series, n= 1~5
The VS Series PLC uses this instruction to transmit or get the designated data via its Communication Port
CP1~CP5 with other peripherals which use the MODBUS ASCII or RTU protocol.
The CP1~CP5 are multi-functional communication ports. Each port can choose an appropriate communication
type from its various functions. When this instruction is using a port, should choose the “Application type:” become
the “MODBUS Master”. Regarding the application type selection and related parameter setting, please specify it
from the programming software Ladder Master S and at the “Project” -- “COM Port Setting”.
As shown in the gure below, connect the PLC with other device(s) by the RS-232 or RS-485 wiring. Furthermore,
to set a unique station number (1~247) for every device and make the other parameters identical. Besides, use the
Ladder Master S to open the project of the VS series PLC and write this MBUS instruction in the Master PLC's
program, then set the port's “Application type:” as the “MODBUS Master” also to set the communication parameters
in that window. After that, edit the MODBUS communication table to designate data transferring actions. Moreover,
to load this project to the Master PLC. Following these procedures, the purpose of data delivery between the PLC
and peripherals can be reached.
VS series
PLC
A device with
MODBUS
protocol
VS series
PLC
A device with
MODBUS
protocol
A device with
MODBUS
protocol
Digital scale /
Display board /
Barcode reader
MODBUS
Master
Inverter
Temperature
controller
MODBUS
Master
When X20 = “ON”, the MBUS instruction starts execution. According to the contents described in the
ACCESS_MBS_EQUIP” communication table, it proceeds data write or read actions to the appointed peripherals,
while the D100~D103 will be occupied to store the state of instruction execution.
When the contents of the communication table specied by the are execution completed from beginning to end,
the M9104 will be “ON” for a Scan Time then the procedure will start over again from the rst item set of the table.
When the X20 turns from “ON” to “OFF”, this instruction stops and the data sharing immediately stop but data
which has transferred previously will still remain.
The related special devices are summarized below: ( : Means read only.)
Description
Relay ID No.
CP1 RS / LINK / MBUS instruction on communication abnormal ag.
CP1 LINK / MBUS instruction on execution table complete once ag.
CP2 RS / LINK / MBUS instruction on communication abnormal ag.
CP2 LINK / MBUS instruction on execution table complete once ag.
CP3 RS / LINK / MBUS instruction on communication abnormal ag.
CP3 LINK / MBUS instruction on execution table complete once ag.
CP4 RS / LINK / MBUS instruction on communication abnormal ag.
CP4 LINK / MBUS instruction on execution table complete once ag.
CP5 RS / LINK / MBUS instruction on communication abnormal ag.
CP5 LINK / MBUS instruction on execution table complete once ag.

Table of Contents