Mitsubishi Q Series Structured Text

cobra_phil

Member
Join Date
Jul 2006
Location
Indiana
Posts
4
I am new to structured text programming and would like some help please.
I am programming a Q02H series PLC. I am sending out a UDP packet using the ZP.BUFSND command. The string I need to send to the equipment needs to be formatted like this "R1234G1234". The "R" can be one of "R", "G", or "O". And the "1234" can be from "0000" to "9999" which comes from an incrementing counter. By using the BINDA command, I have been able to get it to this format
"R 1234G 1234" using ladder programming. I think I can build the string using Structured Text, but I can't figure out how to move the string to a register. I was testing in ladder with this command "$MOV "R1234G1234" D101. What is the equivalent command in structured text? This command gives me an error "BMOV_M(B0,String1,10,D101)" as well as this command "BMOV_M(B0,"R1234G1234",10,D101). Thanks in advance for your help.
 

Similar Topics

In this sample programming, what does U4 mean? Any assistance would be greatly appreciated.
Replies
8
Views
226
Hi, I have a project with a R04CPU, RD77GF16 and a RJ71PN92 modules. The cell is given to me to change the program since the previous integrator...
Replies
9
Views
249
Hi One of the PLC's that I maintain/update is a Mitsubishi Q-Series, probably installed about 10 years ago. At the moment, ALL the wires from...
Replies
13
Views
1,160
Hello All, I have an existing Mitsubishi L06CPU-06 PLC, and I am going to add a new serial communication card, LJ71C24, for modbus communication...
Replies
0
Views
468
I need to send a signal to our PLC (Mitsubishi Q series) which is TRUE when there's current flowing and FALSE otherwise. The thing is, the cable...
Replies
31
Views
10,110
Back
Top Bottom