Omron CP1L CPU Getting Started Manual page 150

Cp1l cpu unit
Hide thumbs Also See for CP1L CPU:
Table of Contents

Advertisement

DM Area Setup
• DM Fixed Allocation Words for Modbus-RTU Easy Master
Serial Port 1: Command
FUNCTION
Slave
Setting
address
code
Address
D32300
D32301
Value
00
01
00
00
00
Inverter slave address: 1 (Hex)
Inverter data write: 10 (Hex)
For number of bytes, use 9 bytes from
upper D32303 to upper D32307
• Operation Command (Register No.0001 Hex) allocation and details for Inverter
For this example, only operation command (No.0 bit) will be used.
• With Modbus-RTU easy master function, CRC-16 checksums do not need to be
DM settings from D32300 to D32305 are set before the execution of the ladder
program.
D32306 and D32307 do not need to be set explicitly. They are modified by MOV
instructions, and are used to change, start, and stop frequency commands.
Communication
data bytes
D32302
D32303
10
00
09
00
Register No. for starting data write:0001
(start writing to inverter at register No.0001)
CIMR-V7
Bit No.
Setting
0
Operation command (1: Start)
1
Normal/reversed rotation (1: Reversed)
2
External error (1: EF0)
3
Error reset (1: Error reset)
4
Multifunction input 1 (1: ON)
5
Multifunction input 2 (1: ON)
6
Multifunction input 3 (1: ON)
7
Multifunction input 4 (1: ON)
8
Multifunction input 5 (1: ON)
9
Multifunction input 6 (1: ON)
10
Multifunction input 7 (1: ON)
11 to 15
(Unused)
set in the DM area, since they are calculated automatically.
A-4 CP1L Programming Examples
Communication data: D32303 to Max. D32349
D32304
D32305
01
00
02
04
00
Data for starting register
(e.g. set 0001 Hex for No.0001
[operation command (see below)])
Attached data size in bytes: 4
(4 bytes from lower D32305 to upper D32307)
Number of registers data is written to: 2
(2 data: No.0001 and No.0002 on register 2)
SYSMAC CP1L Getting Started Guide
D32306
D32307
01
02
58
02
58
Data for next register
(e.g. set 60.0Hz (0258 Hex) for No.0002
[frequency command])
A
149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents