exchange Between PLC and PC using DB (S315 and WinCC 6.0)

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
xeren

exchange Between PLC and PC using DB (S315 and WinCC 6.0)

Post by xeren »

How I can send the outputs and inputs from PLC to PC using a DB
I can write just
A I 10.1
= DB100.DBX 0.1
A I 10.2
= DB100.DBX 0.2
A I 10.3
= DB100.DBX 0.3
A I 10.4
= DB100.DBX 0.4
….
It’s too long, maybe you know function that can use for that ?
and to read Command From PC , i have to use other DB or what ?


Best regards
ZxcSLO

Post by ZxcSLO »

You can use:

L IB10 (or IW10)
T DB100.DBB0 (or DBW0)

LP
Guest

Post by Guest »

thank you !! :oops: , it's too easy , well , now , i will know . One more time thank you and have a nice day
xeren

Post by xeren »

thank you !! , it's too easy , well , now , i will know . One more time thank you and have a nice day