
67
10. Installation of Modbus Serial Network
A network typically has a Master that “manages” com-
munication by means of “commands,” and Slaves that
carry out these commands.
CFW modules is considered Slaves to the network
master, which is usually a supervision terminal or a
PLC.
It is positively identified by means of a node address
(ID) set on rotary switches (tens + units).
A maximum of 99 CFW, modules can be installed in a
serial network, with node address selectable from “01”
to “99”ì.
CFW modules has a ModBus serial (Serial 1) and, op-
tionally (see order code) a Fieldbus serial (Serial 2) with
one of the following protocols: Modbus RTU, Profibus
DP, CANopen, DeviceNet e Ethernet Modbus TCP.
The MODBUS RTU port 1 has the following factory set-
tings (default):
Parameter
Default
Range
ID
1
1...99
BaudRate
19,2Kbit/s
1200...115kbit/s
Parity
None
parity/odd parity/none
StopBits
1
-
DataBits
8
-
The following procedures are indispensable for the
Modbus protocol.For the other protocols, see the spe-
cific manuals.
The use of rotary switches (A...F) letters is for particular
procedures described in the following paragraphs.
Here are the tables showing them:
Procedure
Positions
of Rotary
Switches
Description
Tens Units
AutoBaud
0
0
It enables to set the
correct BaudRate value
automatically detecting
the master transmission
frequency
Autobaud Serial 1 Sequence
Adapt the serial communication speed and parity of
the CFW modules to the connected supervision termi-
nal or PLC.
Green LED L1 “STATUS” mentioned in the procedure
can vary its behavior based on parameter Ld.1, which
is set to a default value of 16.
Procedure
1. Connect the serial cables for all modules on the net-
work to serial 1 and to the supervision terminal.
2. Set the rotary switch on the CFW modules to be
installed, or on all modules present in case of first
installation, to position “0+0”.
3. Check that the green “STATUS” LEDs flash at high
frequency (10Hz).
4. The supervision terminal must transmit a series of
generic “MODBUS” read messages to the network.
5. The procedure is over when all of the green L1 “STA-
TUS” LEDs on the CFW modules flash at a normal
frequency (2Hz) (if parameter 197 Ld.1 = 16 as de-
fault).
The new speed parameter is saved permanently in
each CFW; therefore, the “AUTOBAUD SERIAL 1” se-
quence does not have to be run at subsequent power-
ups.
When the rotary switch is turned, the green “STATUS”
LED stays on steadily for about 6 seconds, after which
it resumes normal operation and saves the address.
INSTALLATION OF
SERIAL NETWORK 1
ModBus
SETTING
THE NODE
ADDRESS
OPERATIVE
FUNCTION
NO
The serial network communication
speed is the same as for
CFW.
?
YES
“AUTOBAUD”
SERIAL 1
SEQUENCE
Green “STATUS” LED
flashes at 10 Hz
Содержание CFW
Страница 2: ...ii...