plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to move an byte of int on unity pro m580

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Schneider Electric
View previous topic :: View next topic  
Author Message
carretto
Junior
Junior


Joined: 17 Jan 2019
Posts: 2

PostPosted: 13/11/2019 02:52    Post subject: how to move an byte of int on unity pro m580 Reply with quote

[url=http://www.girlshare.ro/3769814177.8]Screenshot_20191112-211313_Keep+Notes.jpg[/url]
how to move an byte of int on unity pro m580 how to move an byte of int on unity pro m580
Back to top
View user's profile Send private message
batranuu
Junior
Junior


Joined: 19 Feb 2014
Posts: 2
Location: Iasi

PostPosted: 18/11/2019 13:35    Post subject: Re: how to move an byte of int on unity pro m580 Reply with quote

INT_A := WORD_TO_INT(BYTE_AS_WORD (BYTE_1_INT_A,BYTE_1_INT_C));
INT_B := WORD_TO_INT(BYTE_AS_WORD (BYTE_2_INT_C,BYTE_2_INT_B));

WORD_AS_BYTE (IN := VAR_C,LOW => BYTE_1_INT_C,HIGH => BYTE_2_INT_C);
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Schneider Electric All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro