Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/06/01 12:27
Read: times


 
#9021 - RE: Read Port Latch ?
Now so on, i see there is no way to read directly the Latch Value for example to the accumulator or any register. I have try some expiriences to read it.....
I also design my Software with an RAM buffer. Only a interrupt routine copy the value to the portspins. So i write always to the RAM. (not for highspeed I/O routines) The advantage is the interrupt routine can check for shorts or do a global I/O enable to some critical hardware. (remember security systems with watchdog function can disable the I/O and so on...
And you have a periodical defined I/O
frequency like a SPS.
But the problem(!) is 4 bytes are only in use for the Ports. 256 bytes are often not enough..!!! (or 128 bytes)

Sascha

List of 15 messages in thread
TopicAuthorDate
Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
RE: Read Port Latch ?            01/01/70 00:00      
input - output port            01/01/70 00:00      

Back to Subject List