
Programmable I/O (PIO) NA-9379, Basic setting KI00341 2014-10
4Table of Contents
1Function and area of use ..................................................................................................................................................1
2About this Start Up document ......................................................................................................................................... 1
3First step! ...........................................................................................................................................................................2
4Table of Contents ..............................................................................................................................................................3
5Specification ......................................................................................................................................................................4
5.1 Interface, PIO (NA-9379) ........................................................................................................................................4
5.2 LED Indicator..........................................................................................................................................................5
6Setup IP address in PIO ...................................................................................................................................................7
6.1 IP setting (default) ...................................................................................................................................................7
6.2 Set the IP with BootP server ....................................................................................................................................7
7Configuration of CODESYS ............................................................................................................................................9
7.1 Add PIO (NA-9379) to CODESYS...........................................................................................................................9
8Configuration of PIO in CODESYS.............................................................................................................................. 11
8.1 Programming and configuration ........................................................................................................................... 11
8.2 How to add a POU ................................................................................................................................................12
8.3 How to add a Task.................................................................................................................................................13
8.4 How to add a POU to a Task................................................................................................................................. 13
8.5 PLC setting ............................................................................................................................................................14
8.6 Select I/O module...................................................................................................................................................15
8.7 Setting Device Parameter and I/O Mapping .........................................................................................................16
9Program example ............................................................................................................................................................17
9.1 New project............................................................................................................................................................17
9.2 Add Global Variable and Persistent Variables .....................................................................................................17
9.3 I/O Mapping ..........................................................................................................................................................19
9.4 Write program in “PLC_PRG ............................................................................................................................... 20
9.5 Transfer CODESYS project to PIO .......................................................................................................................21
9.6 Monitor ..................................................................................................................................................................23
10 Project backup ................................................................................................................................................................ 24
10.1 CODESYS, Create backup files .............................................................................................................................24
10.2 CODESYS, Project Archive ...................................................................................................................................24
11 Persistent variables (32 kbyte) ....................................................................................................................................... 25
12 Appendix..........................................................................................................................................................................26
12.1 Environment specification ..................................................................................................................................... 26
12.2 Interface Specification ...........................................................................................................................................27
12.3 Wiring diagram, PIO............................................................................................................................................. 29
12.4 Dimension ..............................................................................................................................................................31
12.5 Expansion ..............................................................................................................................................................31
12.6 Inserting and Removing the Module......................................................................................................................31
12.7 Removable Terminal Block (RTB) ......................................................................................................................... 32
12.8 Method of Wiring...................................................................................................................................................32
12.9 Program Memory ..................................................................................................................................................32
12.10 Boot application ....................................................................................................................................................32
12.11 Check Compiler, PIO and Library version............................................................................................................33
12.12 Trouble Shooting ...................................................................................................................................................34
www.beijer.se 3 (35)
KI_eng_130531.dot, 070221