Example 2: Read/Write 16-Bit (Analog) Data - Pepperl+Fuchs VBG-ENXK20-DMD-EV Manual

As-i 3.0 ethernet/ip+ modbus tcp gateway
Hide thumbs Also See for VBG-ENXK20-DMD-EV:
Table of Contents

Advertisement

AS-i 3.0 EtherNet/IP+Modbus TCP Gateway
Data Transfer using CIP Messages in RSLogix5000
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)
87

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vbg-enxk20-dmdVbg-enxk20-d

Table of Contents