Omron CP1E - INTRODUCTION Introduction Manual page 158

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

Advertisement

A-4 CP1L Programming Examples
Flags for Modbus-RTU Easy Master Function (Serial Port 1)
A
156
SYSMAC CP1L/CP1E Introduction Manual
A640.00
Execution bit
A640.01
Execution normal flag
A640.02
Execution error flag
(A): Turn the A640.00 execution flag ON to send command data D32300 (CP1E:
D1200) and later. For details, refer to DM Area Setup on the next page.
Channel
Serial Port 1
D32300
(CP1E: D1200)
D32301
(CP1E: D1201)
D32302
(CP1E: D1202)
D32303 to D32349
(CP1E: D1203 to D1249)
(B): When a command has been sent successfully, A640.01 execution normal flag
is turned ON, and data is stored to responses D32350 (CP1E: D1250) and
later.
Channel
Serial Port 1
D32350
(CP1E: D1250)
D32351
(CP1E: D1251)
D32352
(CP1E: D1252)
D32353
(CP1E: D1253)
D32354 to D32399
(CP1E: D1254 to D1299)
(C): When a communication error occurs, A640.02 execution error flag is turned
ON, and the error code is stored to D32352 (CP1E: D1252).
A
B
Bits
07 to 00
Slave address (00 to F7 Hex)
15 to 08
Reserved (must be 00 Hex)
07 to 00
FUNCTION code
Command
15 to 08
Reserved (must be 00 Hex)
15 to 00
Number of communication data bytes
(0000 to 005E hex)
15 to 00
Communication data (max. 94bytes)
Bits
07 to 00
Slave address (01 to F7 Hex)
15 to 08
Reserved (must be 00 Hex)
07 to 00
FUNCTION code
15 to 08
Reserved
Response
07 to 00
Error code
15 to 08
Reserved (must be 00 Hex)
15 to 00
Number of response bytes (0000 to 03EA
Hex)
15 to 00
Response data (max. 92bytes)
C
Setting
Setting

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents