error: address must be specified to the word level!

C5:0 or C5:1 is the counter .ACC = Accumulator Value .PRE = the Preset values
so
C5:0.ACC - C5:1.ACC

Destination would contain the difference of the two counters accumulated values.
 

Similar Topics

I must admit that it's been awhile since I've written a PLC program so please excuse my ignorance. I am using RSLogix 500 with a SLC. I'm...
Replies
19
Views
19,317
Hi, I am very much a novice when it comes to PLC's I have only ever had to change the IP address on them, and go off notes left by a previous...
Replies
3
Views
899
I need help with vijeo citect 7.4 as I use Modbus TCPIP to get the data, it turns out the address is having error.. For example, when I write...
Replies
2
Views
874
CPU: 5069-L330ER v32 HMI: PV+7 10" v11 Every time the customer powers off the machine and re-applies power, the HMI gets stuck on Starting...
Replies
9
Views
21,619
Hi, All! I am very new to PLCs and I am currently writing ladder logic for an Allen bradley MLX1200. I have a number of inputs which i have...
Replies
2
Views
1,966
Back
Top Bottom