Addressing counter accumulator

vishal-s

Member
Join Date
May 2003
Location
Mumbai.
Posts
32
I have an S7-200 PLC. In my program I want to use the zeroth bit of my Timer/Counter accumulator say, to decide if the current count is even or odd. How can I do this?
 
NETWORK 1

LD SM0.0 //always on
MOVW C0, VW10 //move counter value to V memory

NETWORK 2

LD V11.0 //query bit 0 of counter accumulator
= V13.0 //odd number

Hope this helps

Paul
 

Similar Topics

I am very new to Modbus and the industry, so forgive me if I am missing something obvious. I have known Modbus register addresses coming from a...
Replies
7
Views
200
I have a system using Rx3I CRU320 redundant CPU with Proficy Machine Edition Software. In the hardware configuration of each CPU module, under...
Replies
14
Views
360
See the screenshot of EIP tag list. We are trying to read in a digital input that is hard-wired. It is shown here as I31.1. I believe we cannot...
Replies
7
Views
268
Hello all. I have a Simatic SM374 (374-sxh01-0aa0) sim module. I am using TIA portal v.18. I can't find this module in my list of hardware devices...
Replies
12
Views
741
Hello, I have a device with 68 words input. But one block on the Devicenet Scanner is only 61 words. I am trying to map this device to 2...
Replies
3
Views
520
Back
Top Bottom