HCBBS Forum (日本語)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

STEP7 DBブロックとWCC DBブロックの関係について

2016-01-07View Original

Thread Content

stepではDB1とDB2のみですが、WCCではDB1.DD4、DB1.DD12、DB2.DW0、DB2.DW4が接続されています。これはどういうことでしょうか?
Reply #22016-01-07
WCCにおける「DB1.DD4」とは、その記号が対応するアドレスがstep内のDB1データブロック内でアドレス4にある2ワードのデータ型を指す。 “「DB2.DW0」とは、その記号が対応するアドレスがステップ内のDB2データブロック内でアドレス0にあるワードデータ型を指す。 1つのビットは1bitと呼ばれ、8つのビットは1Byteと呼ばれます。8bit=1Byteです。 2バイトとは1つのWord(1文字、16ビット)のことで、DWORD(Double Word)とは2文字の意味で、2文字=4バイト(32ビット)です。 2バイト=1ワード=16ビット
Reply #32016-01-07
おそらく、DB1とDB2はFBのバックグラウンドデータブロックであり、各DBには非常に多くのデータを格納できます。例えば、DB1.DD4は長整数や実数データに使用される可能性があります。
Reply #42016-01-08
ありがとうございます。なぜWCCの中で、STEP7の対応するデータブロックのデータタイプを必ず明記しなければならないのでしょうか?

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.