CangkeMan

How can I make "0009" character in PLC Mitsubishi ?

4 posts in this topic

I would like to send ascii data  to other devices using RS232 interface. and the example format is "0009" (it is product counter machine marking). how can I do this? I am using q03ude, I usually convert 1001 to ascii using BINDA and use the last data (01). but, when it double word data e.g. : 100009 the last data is 9 and null, not 09 

tanya1.png

Edited by CangkeMan

Share this post


Link to post
Share on other sites

Which PLC Are you using a system Q or R. you could use $mov or stringmov.

 

Share this post


Link to post
Share on other sites

I am using Q series PLC. 

let me explain, I would like to shift data from d314 to d317 only 8 bit. 

Device   / value    >>>>>>   Device / value

d314         1                        d314        

d315         00                      d315        10

d316         00                      d316         00

d317         9                        d317         09

Share this post


Link to post
Share on other sites

Just $mov D314 D315

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now