
—
Basic Programming
—
CPSN-PCB271-S1-041 Reference Manual (Software)
—
75
—
*2 Set the voltage value (V) or current value (mA) in single-precision floating- point number type.
For example, set "1.5" if outputting 1.5V.
*3 I/O variable in analog output data and analog output data (industrial value) cannot be used at the same
time.
Note that if both I/O variables are written in the PLC program, the respective values will be output.
*4 Status data details
Bit
Description
0
Conversion error (0: no error, 1: error)
1
Over temperature condition (0: not detected, 1: detected)
2
Buck-Boost power (0: bad, 1: good)
3 - 7
Reservation (0-fixed)
CPSN-CNT-3201I
I/O Mapping Name Notation on CODESYS Size
Number Access
Remarks
Digital input data
digital input bit
8bit
1
R
0=OFF, 1=ON
Counter input data
counter input
channel
32bit
1
R
0 to 4294967295
Count match status match status input
bit
8bit
1
R
0: not detected,
1: detected
Counter status
counter status input
channel
8bit
1
R
0: not detected,
1: detected
Count operation
count operation
output bit
8bit
1
W
0=Stop, 1=Start
Reset match status
reset match status
output bit
8bit
1
W
0=No operation,
1=Reset *1
Comparison value
setting
comparison value
output channel
32bit
1
W
0 to 4294967295
Preset count value
count value output
channel
32bit
1
W
0 to 4294967295
Counter set flag
counter set flag
output bit
16bit
1
W
0=No operation,
1=Set *2
*1 Changing the bit corresponding to the channel from 0 to 1 resets the detection state.
*2 Changing the bit corresponding to the channel from 0 to 1 sets the preset count value in the counter.
3.
Serial Port
Parameter is set only once upon starting a controller. It is listed in the [Internal Parameters] on
CODESYS.
Model
Port number on CODESYS
CPSN-PCB271-S1-041 Port 1
CPSN-COM-1PD
The port numbers of serial communication module are allocated in order closer to
the controller starting from Port 2, Port 3-.
Содержание 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...