Help needed programming 1746-BAS module

Still, it's not really clear what CALL / POP / PRINT combination does...
CALL performs the next action in the stack. POP causes the CPU memory STACK pointer to move down 1 position (pops off the old command and moves to the next command). PRINT sends text to an attached printer or to the screen.

At least those commands worked that way in the old original BASIC language. There have been many versions of BASIC, and the newer versions are a lot different and have expanded commands.
 
So, let me try to simplify this, if I MOV 31 (test print message number) to O:1.0 (1746-BAS) what do I need to see this in Basic card and send it to PRN2 in ASCII ?
I tried many things already but as I've said before - I have never worked with Basic cards. I'm sure some of you still remember how to do this.

Thank you
 
If anyone has program sample (PLC + BAS) that would help. Manuals are completely useless. There are no examples in any of the manuals.
 
I thought the manuals were pretty good. You need the BASIC Language Reference Manual 1746-RM001A-US, which has example code for all the commands. You don't need an EEPROM, it will work fine from RAM. HyperTerminal and Notepad are all you need for programming.

Manual 1746-UM004B-EN-P shows how the SLC memory maps to the BAS module. The BAS input and output image map to Word 200-207 in the BAS buffer. Use function 14 to read from SLC, 15 to write. I think word 200 has some status bits, so don't use that.
 

Similar Topics

Anyone out there know how to change a old GE fanuc 90-30 versapro program into a logix 5000 program? If so ill make it worth your time
Replies
8
Views
2,621
Hey guys, I added a few instruments to an existing program I wrote a few years back. Pressure transmitters, CV valves and so on. PID. For some...
Replies
2
Views
1,684
Hi, I am new to PLCs and would like to learn basics and possibly use them in my projects. I would like to use a PLC to generate pulses for a...
Replies
3
Views
11,406
Our local non profit railroad museum has a railroad signal that we need to program to operate in a specific manner. The lighting in the signal is...
Replies
23
Views
7,762
Hello Gents, I am currently using AB CompactLogix Processor L36 ERM (Mid Range Controller) in an application. One of the device on the network is...
Replies
4
Views
5,526
Back
Top Bottom