AS-i 3.0 EtherNet/IP+Modbus TCP Gateway
Data Transfer using CIP Messages in RSLogix5000
26.9.2013
87
13.3 Example 2: read/write 16-bit (analog) data
! Select the "Configuration" tab in the "Message Configuration" window
! Select:
! Message type: CIP generic
Read 16-bit data from slave address 7
! Select:
! Service type: Get attribute single
! Map:
! For "Class": "66"
! For "Instance": "1" (for AS-i circuit 1)
! For "Attribute": "6E" (16-bit input data slave 7)
! As "Destination", create a new tag or select an existing tag to hold the incom-
ing data.
Write 16-bit data to slave address 7
! Select:
! Service type: Set attribute single
! Map:
! For "Class": "66"
! For "Instance": "1" (for AS-i circuit 1)
! For "Attribute": "8D" (16-bit output data slave 7)
! As "Source element", create a new tag or select an existing tag to hold the
outgoing data
! As "Source length": "4" (16-bit data = 8 bytes)