Omron PRT1-SCU11 Operation Manual page 53

Profibus-dp gateway to host link/compoway-f
Hide thumbs Also See for PRT1-SCU11:
Table of Contents

Advertisement

Compoway-F communication
Example
Write mini FINS command
Device
address
2 bytes
The response of this command for a correct executing of the command is
defined as:
Command code
MRC/SRC
Refer to the operation manual of the E5ZN Temperature Controller for more
detail regarding the read mini FINS command.
Note
1. The actual data to be written to the Temperature Controller consists of one
double word. If a CS1/CJ1 PLC is used to assemble the WRITE command,
de data will be swapped before sending it over PROFIBUS, due to the
communication formats of both Compoway-F and PROFIBUS. The PLC
program must swap these words before the data can be transmitted.
2. For CX-Programmer 5.0 or higher OMRON provides function blocks to im-
plement the assembly of the free communication READ command. When
processing the response this function block will perform the word swap-
ping automatically. Refer to Appendix B Function Block Programming for
more details.
Reading the internal setpoint of channel 1 (start address 2, 1 element to read)
is done with the command: 0101C10002000001(hex).
The response is (no error occurred): 010100000000000000000000(hex).
This command type consists of 6 settings represented as follows:
Device
Command
address
code
MRC/SRC
2 bytes
2 bytes
The response of this command for a correct executing of the command is
defined as:
1. Refer to the operation manual of the E5ZN Temperature Controller for
more detail regarding the read mini FINS command.
The actual data read from the Temperature Controller consists of one dou-
ble word. Due to the communication formats of both Compoway-F and
PROFIBUS, de data will end up as two swapped words in a CS1/CJ1 PLC,
when the CS1/CJ1W-PRM21PROFIBUS Master is used. The PLC pro-
gram must swap these words before the data can be sued.
2. For CX-Programmer 5.0 or higher OMRON provides function blocks to im-
plement the assembly of the free communication WRITE command. When
Command
Variable
type
code
MRC/SRC
2 bytes
1 byte
Response
code
2 bytes
2 bytes
Variable
Write
type
start
address
1 byte
2 bytes
Command code
MRC/SRC
2 bytes
Section 3-3
Read start
Bit position
address
2 bytes
1 byte
Data
4 bytes
Bit
Number
position
of
elements
1 byte
2 bytes
Response
code
2 bytes
Number of
elements
2 bytes
Element1
4 bytes
43

Advertisement

Table of Contents
loading

Table of Contents