43
Compoway-F communication
Section 3-3
The response of this command for a correct executing of the command is
defined as:
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.
Example
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).
Write mini FINS command
This command type consists of 6 settings represented as follows:
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
Device
address
Command
code
MRC/SRC
Variable
type
Read start
address
Bit position
Number of
elements
2 bytes
2 bytes
1 byte
2 bytes
1 byte
2 bytes
Command code
MRC/SRC
Response
code
Data
2 bytes
2 bytes
4 bytes
Device
address
Command
code
MRC/SRC
Variable
type
Write
start
address
Bit
position
Number
of
elements
Element1
2 bytes
2 bytes
1 byte
2 bytes
1 byte
2 bytes
4 bytes
Command code
MRC/SRC
Response
code
2 bytes
2 bytes