SLC 5/05 Message Instruction Help

DavidWalter84

Member
Join Date
Mar 2016
Location
Memphis, Tennessee
Posts
17
I have a SLC 5/05 and I am trying to read motor current from one of the Allen Bradley 193 E300 series overload units.

On the Rockwell site I found KB document # 731082 Access Everyone and I don't understand the example that well maybe because I have a limited understanding of the MSG instruction.

In the example I attached The message instruction has Data table address N7:0 and a size in bytes is 220 so bytes are a half 16 bit word correct so 8 bits per byte? So that is N7:0-N7:34 in their example?

I also don't understand what they are doing with the CPW instruction in the example. From my understanding the message instruction is only getting up to N7:34 but the CPW starts at N7:40 with a length of 62.

I need some help understanding this example. I have not done much with the older AB gear and message instructions as we normally do everthing with Produced /consumed tags.
 
Since bytes are 1/2 of a word the 220 bytes occupy N7:0 through N7:109 (110 words)

Apparently the data received in N7:40 and up is Real (floating point) data. It is unusable sitting in integer registers. The CPW command transfers the bit patterns from N7:40 and up into floating point registers where they are more usable. A MOV command would have tried to interpret the values in the N7 registers (totally messing them up) before transferring to float registers. Thus the CPW command.

I missed that the example is from a Micrologix. I don't see that the CPW command is available in the SLC 5/05.

It looks like the SLC 5/05 will accept a COPy between elements of different types.. Try using it instead of the CPW.
 
Last edited:

Similar Topics

Working with SLC 5/05. How does the MSG instruction use the control block and how do correctly determine the length of what it should be?
Replies
9
Views
2,707
I have three A-B plc's, we'll call them PLC A,B and C. PLC A and PLC B are connected together using a modem that is connected to channel 0 on PLC...
Replies
1
Views
3,098
Hello all, I have a problem i was wondering if anyone has ever ran into: I have a control logix processor that has been sending slc type write...
Replies
5
Views
8,197
Hi guys. I have a system we work on. It's a SLC 5/05 at a battery connected through CH0 to a serial radio to a L61 Control Logix processor...
Replies
7
Views
2,107
Hello Everyone, I am looking for some help on setting up a routing table on a DHRIO Module or perhaps the message configuration is wrong. I am...
Replies
9
Views
2,997
Back
Top Bottom