Compactlogix SINT-DINT

Christoph

Member
Join Date
Sep 2003
Location
Indiana
Posts
345
I am working on a new Compactlogix application
for a slitting winding machine, converting from relay
and circuit board analog controls to Compactlogix.
I am using a Profibus encoder for position feedback
of the winding arms to calculate roll diameter.
The GSD file for the encoder places the data in
2 words of a data array (SINT). Can these 2 words
be combined into a single (DINT).:unsure:
 
Depending on byte order, it may be as simple as:
COP TheSINT[0] MyINT 1
MOV MyINT MyDINT

I suggest copying into an intermediate integer, as if you COP directly into a DINT, it will grab 4 bytes instead of 2, and might have garbage.
 

Similar Topics

Hi All, I'm just trying to understand the reason behind something I recently experienced. Background: The system contains 4 CompactLogix...
Replies
2
Views
147
So basically i have 2 queries : 1. I have a program file of S7-300 PLC which i want to migrate in RSLogix500.In short i want to convert my simatic...
Replies
15
Views
288
Hi everyone, i have a compact logic 1769-L18 PLC and I'm using FTalk View ME for the display. I wanted to do some visualization on Grafana. At...
Replies
2
Views
179
Does anyone know what the data transfer rate for this series of CompactLogix PLC's? 1769-L24ER-QB1B to be exact. Cheers.
Replies
1
Views
127
Does this instruction calculate values during a single scan, or does it require number of scans based on element count in the array? For Example...
Replies
3
Views
131
Back
Top Bottom