Hi all
I have a SLC 5/04 with a BAS module sending print data to a dot matrix printer. In the Basic program in this module, there are what possibly appears to be indirect addresses which are actually integers present in the PLC program. These integers change based on cycle recipes chosen by the operator. These addresses (at least that's what I think they are) are denoted with a "MO" followed by another number in brackets.
Please see the attachment to see what I am talking about.
What I want to do is add a new line of print referencing a new integer from the PLC. No problem adding another line to the code. Problem is, I dont what or where these MO things are. Also no idea what the CHR thing is. Any basic pros out there?
Also, how do I upload the modifed BAS file to the Basic module? I used to know this, back in the day....
I have a SLC 5/04 with a BAS module sending print data to a dot matrix printer. In the Basic program in this module, there are what possibly appears to be indirect addresses which are actually integers present in the PLC program. These integers change based on cycle recipes chosen by the operator. These addresses (at least that's what I think they are) are denoted with a "MO" followed by another number in brackets.
Please see the attachment to see what I am talking about.
What I want to do is add a new line of print referencing a new integer from the PLC. No problem adding another line to the code. Problem is, I dont what or where these MO things are. Also no idea what the CHR thing is. Any basic pros out there?
Also, how do I upload the modifed BAS file to the Basic module? I used to know this, back in the day....
Last edited: