Buffer does not update? AB 1400

Hi, guys!

I have been stuck for a while on the same issue and would be very grateful for some input. The first time I toggle start ON the string in the buffer is sent to ST9:4. But if I toggle start ON again, it never updates ST4:4 with (what I believe should be) the most recent entry from the buffer. It is like the buffer is no longer being updated with the string sent from the serial terminal. And I don't understand why it would fail to repeat the same process by just toggling start ON again. Can someone see why?

Many thank yous

Picture and program, Micrologix 1400 A

lad2.jpg
 

Attachments

  • ASCII_TEST_6.zip
    58.3 KB · Views: 4
Hi, again! Just would like to say (in case someone else find themselves with the same problem in the future) that by looking at my program with more scrutiny I noticed that the done bit of ABL and ARL were always ON after the first run. So the way I went around that was to reset the control files for ABL and ARL in parallel with ACL (rung 1).
 
Without testing that on a ML directly, you need to check:
- are all bits getting reset, e.g. does R6:0/DN reset at some point when you toggle start? Does R6:1/FD? Does the timer done bit? I don't use the ASCII instructions often (end up using MSG instead), but that'd be my guess is one of the bits of R6:0 or R6:1 isn't getting reset (and therefore it isn't toggling those instructions, need the off to on transition to activate the instruction)
- is the device you're talking to programmed to respond once or each time it's talked to? is it responding correctly? is it working correctly?

Edit: just saw you figured it out, nevermind.
 
I also had to reset R6:2/DN (ARL) or else it would not update ST9:4. For some reason though I don't seem to need to reset R6:0/DN, but I can only assume that is coming when I add more AWA instructions to the program. Thank you for the input, Epy, it was spot on.
 

Similar Topics

Hi everyone, Hoping to get some insight from the veterans here. I primarily work on the low-voltage/security integration side, but we've been...
12
Replies
1,408
Views
There are 4 modes to consider: 1. buffering 2. buffer full, 3. transport to sink 4. Idle/empty. The procedure will have Conv0, buffer...
46
Replies
2,467
Views
The SF LED on an S7-300 CPU is illuminated and the diagnostics buffer has several events with Event ID: 16# 3942. The following description is...
7
Replies
2,426
Views
Hi All, can anyone help me with clearing data from the input that has given by the Scanner. (Clear Buffer) I tried COP and MOV instruction to...
16
Replies
2,333
Views
Hi, is there a way to change the time and date in the plc so they appear right in the diagnostic buffer. Also am I right in thinking the error is...
1
Replies
678
Views
Top