I am having trouble understanding how CX-PROGRAMMER works.
All my PLC knowledge is based on Simatic Step7 and FBD programming.
I have read many guides but I still have trouble understanding the addresses.
The digital inputs address is for example
- Step7 I 128.0 .. ,
- Omron 00.00 – 15.15 ?
The digital output address is for example
- Step7 Q 128.0 .. ,
- Omron 100.00 – 115.15 ?
When programming in simatic I often use memory’s , for example M0.0.
If the value is INT or REAl I use MW1 ( M0.0 – M1.7) or MD1 (M0.0 – M3.7) .
How do I do this in CX-Programming ?
I’ve found that workbits is from 16.00 – 89.15.
Do I write W16 ?
My biggest problem is handling analog signals.
I am trying to make a program where I regulate the airflow.
In simatic I would scale the 0-10V input signal into 0-100 %.
I would then used a PID self tuner for then to unscale it back to 0-10v.
I have found the PIDAT block but I cant find any information about the parameters.
Could enyone help me with a example ?
The PLC im using is CJ1M