CANopen Basics Instruction Manual pdf - Kuhnke
CANopen Basics Instruction Manual pdf - Kuhnke
CANopen Basics Instruction Manual pdf - Kuhnke
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Write a Test Program for the PLC<br />
; Running light for IO2 (PLC1 � IO2)<br />
Project Setup<br />
• Go back to KUBES and load the project called PLC1<br />
• Write the following test program (e.g. in the ORG<br />
module):<br />
L T00.01 ; 100 ms clock marker<br />
= IO2_WRIT CNO00.00 ; (IO2_WriteDigitalOutputBlock1)<br />
; Show IO2 input data at PLC1 outputs<br />
L IO2_READ CNI00.00 ; (IO2_ReadDigitalInputBlock1)<br />
C8T1 SO01.00 ; Outputs SO01.00...07 1<br />
• Transmit the project into the control unit and run it<br />
1 Use the outputs of an output module if your control unit only features 4 slots<br />
E 615 GB 55<br />
06.02.2008