EasyManuals Logo
Home>Omron>Controller>CJ2M-CPU Series

Omron CJ2M-CPU Series Connection Guide

Omron CJ2M-CPU Series
64 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #48 background imageLoading...
Page #48 background image
9
Program
45
9.2.2. Detailed Description of the Function
The following explains the details on reading "Direct I/O and electromagnetic brake status"
(register address: #00D4) by using the function "Reading from a holding register(s) (function
code: #03)".
Additional Information
For details on register addresses, refer to Register address list in Method of control via
Modbus RTU(RS-485 communication) of the Brushless Motor and Driver Package BLE
Series FLEX RS-485 communication type USER MANUAL (HM-5140).
CMND instruction operands
Setting contents of the first control word (C: CIO 5010)
CH
Description (CH)
Data
Description (Data)
C
Number of command data bytes (4-digit hex)
#0008
8 bytes from S to S+3
C
1
Number of response data bytes (4-digit hex)
#000B
11 bytes from D to the leftmost byte of D+5
C2
Upper
#0 (Fixed)
#0000
#0 (Fixed)
Serial port number (1-digit hex)
Not used.
Lower
Destination network address (2-digit hex)
Own network
C3
Upper
Destination node address (2-digit hex)
#0080
Local node
Lower
Destination unit address (2-digit hex)
SCU number 0 and port 1
C4
Upper
Response needed/not needed (1-digit hex)
#0703
Response needed
Logical port number (1-digit hex)
No.7 is used.
#0 (Fixed)
#0 (Fixed)
Lower
Resend times (1-digit hex)
3 times
C
5
Response timeout (4-digit hex)
#0000
2s: Default value
Setting contents of the first command word (S: CIO 5020)
CH
Description (CH)
Data
Description (Data)
S
Command code (4-digit hex)
#2804
Modbus-RTU command
S1
Upper
Slave address (2-digit hex)
#0103
#01: Destination Device address
Lower
Function code (2-digit hex)
#03: Reading from a holding register(s)
S
2
Register address (4-digit hex)
#00D4
Direct I/O and electromagnetic brake status
S
3
Number of read words (4-digit hex)
#0002
2 words
Storing contents of the first response word (D: CIO 5500)
CH
Description (CH)
Data
Description (Data)
D
Command code (4-digit hex)
#2804
Command code in S
D
1
End code (4-digit hex)
#
****
FINS command end code
D2
Upper
Slave address (2-digit hex)
#0103
#01: Slave address in S+1
Lower
Function code (2-digit hex)
#03: Function code in S+1
D3
Upper
Number of bytes to read (2-digit hex)
#04**
#04: Twice the number of read words S+3
Lower Read data (first byte)
The first byte of Direct I/O and electromagnetic brake
status
D4
Upper Read data (second byte)
#****
The second byte of Direct I/O and electromagnetic
brake status
Lower Read data (third byte)
The third byte of Direct I/O and electromagnetic
brake status
D5
Upper Read data (forth byte)
#**00
The forth byte of Direct I/O and electromagnetic
brake status
Lower
(Not used)
#00: (Not used)
Send/Receive messages
Send message Command data surrounded by bold lines above + CRC16 data (2 bytes)
Receive message Response data surrounded by bold lines above + CRC16 data (2 bytes)
*CRC16: Error check code of send/receive data (When sending the data, the error check code
is automatically added in the send data by Modbus-RTU command. After the error
check code is automatically checked when receiving the data, the error check code
is deleted from the receive data.)

Other manuals for Omron CJ2M-CPU Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2M-CPU Series and is the answer not in the manual?

Omron CJ2M-CPU Series Specifications

General IconGeneral
BrandOmron
ModelCJ2M-CPU Series
CategoryController
LanguageEnglish

Related product manuals