Download PLC_2_Unity_Referenc..
Transcript
Data Types DDT: Mapping Rules At a Glance The DDTs are stored in the PLC’s memory in the order in which its elements are declared. However, the following rules apply. Principle for Premium and Quantum The storage principle for Premium and Quantum is as follows: the elements are stored in the order in which they are declared in the structure, z the basic element is the byte (alignment of data on the memory bytes), z each element has an alignment rule: z the BOOL and BYTE types are indiscriminately aligned on the odd or even bytes, z all the other elementary types are aligned on the even bytes, z the structures and tables are aligned according to the alignment rule for the BOOL and BYTE types if they only contain BOOL and BYTE elements, otherwise they are aligned on the memory’s even bytes. z WARNING RISK OF INCOMPATIBILITY AFTER CONCEPT CONVERSION With the Concept programming application, the data structures do not handle any shift in offsets (each element is set one after the other in the memory, regardless of its type). Consequently, we recommend that you check everything, in particular the consistency of the data when using DDTs located on the "State RAM" (risk of shifts) or functions for communication with other devices (transfers with a different size from those programmed in Concept). Failure to follow these instructions can result in death, serious injury, or equipment damage. 272 35006144 07/2011
Related documents
Unity Pro - Program Languages and Structure
Quantum with Unity Pro
Software Requirements Specification
PDF Manual
SunSetTM T1 - Advanced Test Equipment Rentals
User`s Manual (EN) - Avitech International Corporation
Cooling System Testing Cooling System Testing
VM9424BT - BrandsMart USA
Unity Pro 2.2
Modicon M340 for Ethernet
CMS User Manual
User Manual - ICP DAS USA`s I