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 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
1
Views
95
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
98
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
115
Hello all, and thank you in advance for any assistance you may be able to provide! This is my first post, so if I need to reformat or change...
Replies
8
Views
479
We are trying to poll data coming from a PLC for remote monitoring we have the IP address of the PLC and the default port number and the path is...
Replies
25
Views
579
Back
Top Bottom