Help with CompactLogix ASCII Module

dpbjuly10

Member
Join Date
Jan 2016
Location
CT
Posts
1
I have a CompactLogix L30ERM hooked up to a 1769-ASCII module. I'm attempting to use both channels in alternate mode, CH0 is communicating with a torque sensor while CH1 must talk to a stepper controller. I have code written in RSLogix5000 to transmit over CH0 which is fully tested and works to both transmit and receive. The same code was copied with channel numbers changed for use on CH1, but I can't get CH1 to transmit.

I know it isn't completely dead because I can use a PC terminal to send commands to CH1 and I can watch the lights on the module light up when it is receiving, but no dice on transmitting.

I've attached screenshots of my code for CH0 and CH1 for reference.
Any help would be appreciated.

Thanks,
Dave

TX CH0.JPG TX CH1.JPG
 
google 1769-in068_-en-p if you don't have the manual already

are you setting the appropriate CNI,CNO bits?

They should be off when you use CH0, On when you use CH1.

They should be paired up with the CNI,CNO bits in the input file so you know where the data came from.

reset CNI,CNO outputs
send data to ch0
wait for response
check CNI,CNO inputs make sure they are off (ch0)


set CNI,CNO outputs
send data to ch1
wait for response
check CNI,CNO inputs make sure they are on (ch1)

this is just from a quick glance at the manual, i've never used one of these before, but i would bet this is the problem. Also looks like you can only use this mode if you're initiating the send on a specific channel and then waiting for a response on the same channel. Alternate mode is just that, alternating. you cannot use ch0, ch1 simultaneously, so you have to tell the module what port you want to use.
 

Similar Topics

I have a DLR setup with a few nodes, a compactlogix and a stratix5700. The setup works, but what I'm looking for is a way to turn the DLR status...
Replies
3
Views
1,311
My issue is twofold. I just got my boss to get studio 5000. I knew I had programs for our machines ranging from versions 30 to 33 so I downloaded...
Replies
10
Views
3,253
Absolute newby here. Also new to PLC. But I am a seasoned Electronics and Computer Tech. Helping to get my buddy's machine back up and running...
Replies
3
Views
2,141
Okay. On a semi-impulse, I scored one of these units relatively inexpensively. A development rig upgrade over my L320ERM: 5MB user memory, 120...
Replies
4
Views
1,446
Fighting with a GSV instruction, program is from a L32ER and moving program to a L30ER. Trying to use GSV as a comms active check. Other tech is...
Replies
14
Views
3,023
Back
Top Bottom