CCW - UINT to DINT?

PLCs_are_fun

Member
Join Date
Jun 2023
Location
Ohio
Posts
15
I apologize for the basic question but I have read the documentation and searched online and I'm still not getting it...

I want to convert UINT to DINT in CCW. I am able to do this using 16MOV instructions to map the individual bits, but I would like to do it with 1 COP instruction.

Src: my_UINT.0
Dest: my_DINT.0
Length: 16

gives a build error "too few parameters used"

Src: my_UINT
Dest: my_DINT
Length: 1

compiles but gives status code 0x06 "source data size is too small for copy"


Could someone please point me in the right direction?
 
Can you just MOV or assign the UINT to the DINT directly? There should be no issue.
More or less; see below.

CCW is akin to Fisher-Price toys.

@PLCs_are_fun: PLCs typically do not COPy individual bits, or use bit addressing to do so; XICs and OTEs are used for that. UINTs are DINTs are each groups of bits, and there are instructions to handle those groups.
Untitled.png
 

Similar Topics

my ccw softwer stops working when i add and try to open a ladder program.
Replies
0
Views
89
Hey out there, I am trying to build an alarm que in CCW. I have got the FFL and FFU working, however the string that goes with the alarm can't be...
Replies
38
Views
535
Hello. Has anyone ran into an issue with HSC on 2080-LC20. It run a cut off press and every so often after resetting to 0 it does not count...
Replies
1
Views
148
I am running CCW 13 trying to upload to a micro 820 vers.12 I get an output message OPC server is unable to load project controller. Please help!
Replies
5
Views
309
How to retain Values in CCW software? I am using CCW software and I can not find the Retain function in this software. Not even local or global...
Replies
2
Views
213
Back
Top Bottom