
—
Basic Programming
—
CPSN-PCB271-S1-041 Reference Manual (Software)
—
62
—
4.
I/O Variable Definition
In order to input or output with CODESYS, input variable to I/O Mapping or Parameters, and define
variables of I/O channel.
In this example, assigning variable [DO00] in bit 0 of CPSN-DO-08BL DO port is defined as I/O
variables.
This example also applies to most of other I/O modules or I/O in the different controllers.
1
Add [CPSN-DO-08BL] as demonstrated in the previous page “Add I/O modules
(page 61)
“,
and double click the icon on the device window.
* I/O functions within the controller are pre-registered under the tree hierarchy (listed as in
PCB271 I/O) of CODESYS device window.
2
When the configuration window appears, select [Internal I/O Mapping].
3
(1) Open the tree that has “do0-7” strings in the [Channel] row.
4
Double click on the blank part of the [Variable] row and [Bit0] line in the (2) channel, then
define “DO0”.
Содержание CONPROSYS nano CPSN-PCB271-S1-041
Страница 21: ...21 CONPROSYS nano WEB Setting This section describes the product system and functions...
Страница 49: ...49 CODESYS Installation This section describes the CODESYS installation procedure...
Страница 55: ...55 Basic Programming This section describes basic procedure to operate this product with CODESYS...
Страница 76: ...76 Programing with CODESYS This section describes the CODESYS programming procedure per function...
Страница 118: ...Programing with CODESYS CPSN PCB271 S1 041 Reference Manual Software 118 5 END_CASE...
Страница 122: ...Programing with CODESYS CPSN PCB271 S1 041 Reference Manual Software 122...
Страница 133: ...133 Maintenance This section describes how to perform maintenance on the product...
Страница 140: ...140 Appendix This section describes additional information of specification and the product...