Ali Azizi

Data separation in CP1E

5 posts in this topic

Hi all. I have a question regarding data transfer.

Example: When i scan barcode using RXD, i transfer to D10 - D17. So in D10 will have 2 alphabet i.e (G5). Is there a way to separate the alphabet (D20=G,D21=5) Thank you (CP1E N40)

Share this post


Link to post
Share on other sites

Have a look at the ASC(086) ASCII Convert instruction.

Share this post


Link to post
Share on other sites
On 1/26/2021 at 9:05 PM, IO_Rack said:

Have a look at the ASC(086) ASCII Convert instruction.

Is it possible to move G5 in d4010 to G in d4020 and 5 in d4021. Tq

D4010.PNG

Share this post


Link to post
Share on other sites

Sorry, I give you bad information. The CP1L does not have the extensive ASCII instructions. No problem though, you can use the MOVD(083) instruction. 

Mr_PLC_MOVD.JPG.b092816977d35b02d465cb29

Share this post


Link to post
Share on other sites
On 1/29/2021 at 9:03 PM, IO_Rack said:

Sorry, I give you bad information. The CP1L does not have the extensive ASCII instructions. No problem though, you can use the MOVD(083) instruction. 

Mr_PLC_MOVD.JPG.b092816977d35b02d465cb29

Got it! Thanks a lot!

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