6/4/2017 8:11 AM | |
Joined: 12/9/2010 Last visit: 10/8/2022 Posts: 623 Rating:
|
Hi rvalente, 1. U can use SFC20-BLK_MOV. SRC_BLK := P#DB2.DBX0.0 BOOL 768 DST_BLK := P#DB3.DBX0.0 WORD 48 Hope this helps. 2. U should use LOOP instruction for the code u have mentioned. See help files of LOOP. |
If you like the comment, rate it (right top) or thank it (left bottom). |
|
This contribution was helpful to
2 thankful Users |
6/4/2017 1:13 PM | |
Joined: 12/9/2010 Last visit: 10/8/2022 Posts: 623 Rating:
|
Hi rvalente, There is no need to copy DB2 to DB3. Create tags of DB2 in HMI of word length. Assign proper bits to alarms. @#dP: There will be no scrambling of bits even after copying byte to byte of double word to double word because all processing is inside PLC CPU. |
If you like the comment, rate it (right top) or thank it (left bottom). |
|
7/14/2017 1:21 PM | |
Joined: 6/19/2017 Last visit: 8/5/2024 Posts: 8175 Rating:
|
New question published by AKHIL SADANADAN is split to a separate thread with the subject Write barcode to DB and read data from DB using indexer.. Best regards |
My Forum is the place to personalize your profile, |
|
Follow us on