User`s manual
29
FX3U Series Programmable Controllers
User’s Manual - MODBUS Serial Communication Edition
5 Communication Setup
5.2 Example of communication setup
1
Outline
2
Specifications
3
System
Configuration
4
Wiring
5
Communication
Setup
6
Related
Devices and
Comm. Status
7
MODBUS
Standard
Commands
8
Master
Specification
9
Slave
Specification
10
Creating
Programs
Parameters for a Slave using Channel 1:
The ladder code for setting the Slave parameters can be expressed as follows:
Device Name Description
D8400 Communication Format
For Descriptions, refer to Chapter 6.
D8401 Protocol
D8411 Message to Message Delay
D8414 Slave Node Address
D8415 Communication Status Information Setup
D8416 Communication Status Device Range Setup
M8411
MODBUS Serial
Communication Setup
MOV
H1097 D8400
MOV
H11 D8401
MOV
K10 D8411
0
Program for setting up a MODBUS Slave
The communication
format is set.
MOV
H1 D8414
MOV
H11 D8415
MOV
K100 D8416
b15 b0
0001 0000 1001 0111
1 0 9 7
8bit / Even / 1-bit / 19200bps / RS485
The protocol is set.
b15 b0
0000 0000 0001 0001
0 0 1 1
MODBUS Slave / RTU Mode
Message to Message Delay: 10ms
Slave Node Address: Slave Number 1
The Communication
Status Information
Setup is set.
b15 b0
0000 0000 0001 0001
0 0 1 1
Store Counter and Log to D Devices
Communication Status Device Range Setup:
Storage Head Device = D100