enasD
Hi everybody,

I am used to work with Schneider PLC and sometimes I need to use memory coil (%M) as intermediate variable. This memory coils don't refer to any physical I/O in PLC. The question is, is it possible to use memory coil in openPLC, and how to use it? 
Reply 0 0
thiagoralves
Memory coils were not implemented. You can use any coil address outside of the physical IO range (something like %QX30.0 in a raspberry pi for example) as a memory coil.
Reply 0 0
enasD
that's what I thought Thiago. thank you.
Reply 0 0
enasD

anyway, Thiago,

still related with the notation, how about, if we want to access RTC, using I2C RTC module in Raspberry Pi. what notation can we use?

I'm still confused about your post here:  https://openplc.discussion.community/post/support-for-rtc-on-special-functions-9900466?pid=1305993224

thank you

Reply 0 0
thiagoralves
You can't. By RTC I meant "system time". If you have any program/script that synchronizes system time with any external RTC hardware, then you should be good. OpenPLC by itself won't read any external RTC
Reply 0 0
Raj Iyer
Ref " You can use any coil address outside of the physical IO range (something like %QX30.0 in a raspberry pi for example) as a memory coil."

IMHO it is better, simpler this way. So how far can we go? how big is the address space for %IX, %QX, & %MW areas? 

Likewise do you support extraction of any bit of a %MW as a boolean? For Eg., Will %Mw8.3 be a valid Bool variable on a contact/coil in the rung?

regards
Raj
Reply 0 0
thiagoralves
Raj Iyer wrote:
IMHO it is better, simpler this way. So how far can we go? how big is the address space for %IX, %QX, & %MW areas? 

1024
Raj Iyer wrote:
Likewise do you support extraction of any bit of a %MW as a boolean? For Eg., Will %Mw8.3 be a valid Bool variable on a contact/coil in the rung?

regards

Nope
Reply 0 0
Reply