Buffer does not update? AB 1400

deathbysnusnu

Member
Join Date
Jul 2016
Location
CA
Posts
12
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, 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...
Replies
1
Views
112
I've been developing a tester using a Micro850 in Connected Components Workbench and part of that tester requires me to scan a barcode every test...
Replies
11
Views
2,216
Does anyone have any recommendations on UPS or buffer modules that can handle power flickers? We don't need a system that can back up for an...
Replies
1
Views
984
Hello, I am using an S7-1200 with a Moxa N5250A to read data from a weigh scale, but occasionally the scale will send a couple of frames of data...
Replies
2
Views
1,621
I have a system that is using TCP sockets. There are 5 connections between the Ethernet card and the end devices (smart conveying system)...
Replies
0
Views
699
Back
Top Bottom