Omron CS1W-PRM21 Operation Manual page 178

Sysmac cs/cs series
Hide thumbs Also See for CS1W-PRM21:
Table of Contents

Advertisement

I/O Data Conversions
• The first two bytes are stored in the lowest word of the destination data block in PLC Memory word. Every
consecutive two bytes are stored in the next higher words.
• Odd byte numbers are copied to the Least Significant byte of a PLC Memory word.
• Even byte numbers are copied to the Most Significant Byte of a PLC Memory word.
• If the total number of bytes is an odd number, the Most Significant Byte of the last word is filled with 0.
16-bit Word Data
16-bit word data is transferred over PROFIBUS with the Most Significant Byte first. The PROFIBUS Master Unit
will ensure that a word transmitted or received over PROFIBUS is mapped to one word in the PLC Memory
Area. The figure below shows the conversion in graphic format.
32-bit Double Word Data
32-bit double word data is transferred over PROFIBUS with the Most Significant Byte first. The PROFIBUS
Master Unit will ensure that a double word transmitted or received over PROFIBUS is mapped on to CS1/CJ1-
series double word format in the PLC Memory Area. The figure below shows the conversion in graphic format.
D-3
Floating Point Data Conversions
PROFIBUS defines the IEEE 754 format single precision floating point data type. It is transferred over the net-
work as a 4 byte data, Most Significant Byte first. In the PLC Memory Area the same data type and size is
defined, but data of this type is stored with the Most Significant bytes on the higher memory location and the
Least Significant Bytes on the lower memory location. The figure below shows the conversion in graphic for-
mat.
164
PLC Data area
Bit 15
Word 0
Byte 0 (MSB)
Byte 1 (LSB)
PLC Data area
Bit 15
Word 0
Byte 2
Byte 3 (LSB)
Word 1
Byte 0 (MSB)
Byte 1
PLC Data area
Bit 15
Word 0
Byte 3
Byte 4 (LSB)
Word 1
Byte 1 (MSB)
Byte 2
PROFIBUS
Bit 07
Byte 0 (MSB)
Byte 1 (LSB)
Bit 00
PROFIBUS
Bit 07
Bit 00
Byte 0 (MSB)
Bit 00
Byte 1
Byte 2
Byte 3 (LSB)
PROFIBUS
Bit 07
Bit 00
Byte 1 (MSB)
Bit 00
Byte 2
Byte 3
Byte 4 (LSB)
Appendix D
Bit 00
Word 0
Double Word 0
Single precision
floating point
(IEEE754)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-prm21

Table of Contents