2/9/2017 10:05 AM | |
Posts: 65 Rating: (1) |
I want to programmatically, via logo FBD, set a timers on and off times based on the another timers on and off times. I know the timer values are stored as BCD, I have functions for converting BCD to decimal and decimal to BCD so can generate a calculated BCD value for a timer, but so far I am unable to write this value out. Attached is the .LSC file I am using to verify read/writing a timers value. I have mapped, via tools->Parameter mapping, timer 1 on time to VW0 and timer 1 off time to VW2. The timer off time is correctly read by my NAI2 block (8496 decimal maps to hex 2130, the timer off time). However block NAQ1 is attempting write 8 to VW2, which is clearly not changing the timer off time or the value read by NAI2. AttachmentTimer Access 2.zip (434 Downloads) |
2/17/2017 2:23 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating: (122) |
New question published by tornegeden is split to a separate thread with the subject CMR2020, receive a text message (SMS) which writes a value in Logo. Best regards |
Follow us on