Omron CP1E - INTRODUCTION Introduction Manual page 159

Cp1l/cp1e cpu unit
Hide thumbs Also See for CP1E - INTRODUCTION:
Table of Contents

Advertisement

DM Area Setup
• DM Fixed Allocation Words for Modbus-RTU Easy Master
DM settings from D32300 to D32305 (CP1E: D1201 to D1205) are set before the
execution of the ladder program.
D32306 and D32307 (CP1E: D1206 and D1207) do not need to be set explicitly.
They are modified by MOV instructions, and are used to change, start, and stop
frequency commands.
Serial Port 1: Command
Slave
FUNCTION
Setting
code
address
D32300
D32301
Address
(CP1E: D1200)
(CP1E: D1201)
01
Value
00
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
(CP1E: Upper D1203 to upper D1207)
• Operation Command (Register No.0001 Hex) allocation and details for
Inverter V1000
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
set in the DM area, since they are calculated automatically.
Communication
data bytes
D32302
D32303
(CP1E: D1202)
(CP1E: D1203)
10
00
09
00
Register No. for starting data write:0001
(start writing to inverter at register No.0001)
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)
A
(Unused)
B to F
(Unused)
A-4 CP1L Programming Examples
Communication data: D32303 to Max. D32349
(CP1E: D1203 to Max. D1249)
D32304
D32305
(CP1E: D1204)
(CP1E: D1205)
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
(CP1E: lower D1205 to upper D1207))
Number of registers data is written to: 2
(2 data: No.0001 and No.0002 on register 2)
SYSMAC CP1L/CP1E Introduction Manual
D32306
D32307
(CP1E: D1206)
(CP1E: D1207)
01
02
58
02
58
Data for next register
(e.g. set 60.0Hz (0258 Hex) for No.0002
[frequency command])
A
157

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents