Справочник Пользователя для Allen-Bradley devicenet modules in logix5000 control systems

Скачать
Страница из 239
Publication DNET-UM004A-EN-P - March 2004
7-18        Control a Device
To increase the efficiency of your logic, minimize the use of SINT or 
INT data types. Whenever possible, use the DINT data type for 
integers.
• A Logix5000 controller typically compares or manipulates values 
as 32-bit values (DINTs or REALs).
• The controller typically converts a SINT or INT value to a DINT 
or REAL value before it uses the value.
• If the destination is a SINT or INT tag, the controller typically 
converts the value back to a SINT or INT value. 
• The conversion to or from SINTs or INTs occurs automatically 
with no extra programming. But it takes extra execution time 
and memory.
Enter and Configure the MSG Instruction
1. Enter the condition for the data 
transfer.
4. To change a parameter:
a. Select Set Attribute Single.
b. Select the tag that has the new value.
c. Type the number of bytes
d. Type the class, instance, and attribute 
for the parameter, in hex.
5. To read a parameter:
a. Choose Get Attribute Single.
b. Select the tag to store the value.
c. Type the class, instance, and attribute 
for the parameter, in hex.
2. Enter the MSG instruction.
3. Select CIP Generic.