background image

 

 

 

 

Copyright © Beijer Electronics, 2014 

This documentation (below referred to as ‘the material’) is the property of Beijer Electronics. The holder or 

user has a non-exclusive right to use the material.  

The holder is not allowed to distribute the material to anyone outside his/her organization except in cases 

where the material is part of a system that is supplied by the holder to his/her customer.  

The material may only be used with products or software supplied by Beijer Electronics.  

Beijer Electronics assumes no responsibility for any defects in the material, or for any consequences that 

might arise from the use of the material. 

It is the responsibility of the holder to ensure that any systems, for whatever applications, which is based on 

or includes the material (whether in its entirety or in parts), meets the expected properties or functional re-

quirements. 

Beijer Electronics has no obligation to supply the holder with updated versions.

 

 

 

 

Programmable I/O (PIO) NA-9379, Basic setting 

KI00341

 

2014-10

 

 

1

 

Function and area of use 

The Programmable I/O (PIO) combines CODESYS control with the opportunity to build control sys-

tems to the exact size and specifications for the I/O signals involved. 

In this document “PIO” are used for “Programmable I/O” (NA-9379). 

2

 

About this Start Up document 

 

This Start Up document should not be considered as a complete manual. It is an aid to be  

able to start up a normal application quickly and easily.  

 

Use the following software and drivers in order to obtain a stable application: 

 

Programming software 

 

CODESYS V3.5 SP3 Patch 1 or later , programming the PIO  

 

Compiler version 3.5.3.10 (CODESYS V3.5 SP3 Patch 1) 

 

IOGuidePro 1.1.0.8 #0004 or later 

 

Device description, Crevis PIO NA-9379 

 

PIO_DeviceDescription 20140416.devdesc(.xml) or later, enable PIO in CODESYS 

 

Library manager, CODESYS 

 

Standard 3.5.2.0 (System) 

 

IoStandard 3.5.3.0 (System) 

 

Time and Date 3.5.1.0  

 

Ethernet 3.4.2.0  

 

Modbus Master TCP 3.5.3.0 (IoDrvModbusTCP) 

 

Modbus Slave TCP 3.5.3.0 (IoDrvModbusTCPSlave) 

 

 

1 (35) 

 

Beijer Electronics Automation AB

 

 

a Beijer Electronics Group company

 

Head Office

 

Subsidiaries 

Beijer Electronics Automation AB 

Norway, Drammen:

 Beijer Electronics AS, 

 +47 32 24 30 00 

P.O. Box 426, Stora Varvsgatan 13a 

Finland, Vantaa

: Beijer Electronics Oy, 

 +358 207 46 35 00 

SE-201 24 Malmö, SWEDEN 

Denmark, Roskilde

: Beijer Electronics A/S, 

 +45 75 76 66 

Tel46 40 35 86 00 

Estonia, Tallinn

: Beijer Electronics Eesti Oü, 

 +372 6 518140 

Fax +46 40 93 23 01 

Latvia, Riga

: Beijer Electronics SIA, 

 +371 6 7842280 

 

Lithuania, Kaunas

: Beijer Electronics UAB, 

 +370 5 2323101 

Reg no. 556701-3965 

 VAT no SE556701396501 

 www.beijer.se 

 [email protected]

 

K

I_eng_130531.

dot

, 130103

 

Summary of Contents for NA-9379

Page 1: ...e used for Programmable I O NA 9379 2 About this Start Up document This Start Up document should not be considered as a complete manual It is an aid to be able to start up a normal application quickly...

Page 2: ...A 9379 KI00343 This document and other Start Up documents can be obtained from our homepage Please use the address manual beijer se for feedback on our Start Up documents 3 First step For best underst...

Page 3: ...e 15 8 7 Setting Device Parameter and I O Mapping 16 9 Program 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...

Page 4: ...S485 F W update or Repair Modbus RTU Slave Protocol acts by each two independent ports 3 RUN STOP Switch RUN PLC program is running Monitoring the program and protocol in the CODESYS STOP PLC program...

Page 5: ...oad using Firefox Minor Fault Blinking Red The unit has occurred recoverable fault in self testing EEPROM checksum fault Unrecoverable Fault Red The unit has occurred unrecoverable fault in self testi...

Page 6: ...Status LED Status LED is To indicate Not supplied field power OFF Not supplied 24Vdc field power 5Vdc system power Supplied field power Green Supplied 24Vdc field power 5Vdc system power 5 2 6 Indicat...

Page 7: ...P 6 1 IP setting default 6 2 Set the IP with BootP server Install IOGuidePro in Windows XP Run IOGuidePro and start BootP server from meny Tools Click Start Bootp and Power ON to PIO and the MAC addre...

Page 8: ...have to power OFF ON Then the PIO take the new setting Note Changing the IP can be made in a different way such as Click on Start BootP Power on the PIO and Double click at the MAC address Write the n...

Page 9: ...every computer 7 1 Add PIO NA 9379 to CODESYS Change Standard to Professional Install PIO and I O modules device description file to CODESYS Programmable IO_NA9379 devdesc xml and ST xxxx devdesc xml...

Page 10: ...Programmable I O PIO NA 9379 Basic setting KI00341 2014 10 The file is installed under PLCs and the I O moduls under Miscellaneous www beijer se 10 35 KI_eng_130531 dot 070221...

Page 11: ...8 1 Programming and configuration Start CODESYS Click File and Choose New project In Templates mark Standard project In Name write the name of the project In Location write the library to save the pro...

Page 12: ...g KI00341 2014 10 8 2 How to add a POU Highlight the Application option in the Device window and right click Select Add Object and choose POU Customize the POU according to desired characteristics www...

Page 13: ...the TaskConfiguration to make a Task Select Add Object and choose Task Configuration or Task Click Open a task named Task is automatically created 8 4 How to add a POU to a Task Connect the created PO...

Page 14: ...Bus cycle task and Output handle at stop Double click at Device NA9379 and select PLC setting and set like picture Note When test of I O hardware wiring with an empty program or the PIO in STOP set l...

Page 15: ...e Slot Slot option in the Device window and right click at the module place Empty Click at Plug Device mark the module and double click at module or Plug Device NOTE Select the module in order like th...

Page 16: ...meter setting I O Module Mark the module and right click and then Edit Object or double click at module Setting value can be read in the manual FnIO_Configuration_Parameter_Memory_Register 8 7 2 I O M...

Page 17: ..._Basic contains the program example from this StartUp document Can be downloaded from our homepage 9 1 New project Configure the project like 9 2 Add Global Variable and Persistent Variables The easie...

Page 18: ...Programmable I O PIO NA 9379 Basic setting KI00341 2014 10 Persistent Variables www beijer se 18 35 KI_eng_130531 dot 070221...

Page 19: ...Programmable I O PIO NA 9379 Basic setting KI00341 2014 10 9 3 I O Mapping Mapping the I O Result Do the same for all input output digital and analog www beijer se 19 35 KI_eng_130531 dot 070221...

Page 20: ...rite program in PLC_PRG Rebuild the program If no Error go to next step View error warning and message with View Messages NOTE When Generate code there can be warning s It s only a warning The project...

Page 21: ...he Communication setting options If no gateway present create one by selecting Add Gateway choose default value Highlight the gateway Press Scan network and wait until scanning is done All CODESYS dev...

Page 22: ...load the project to the device TxB SoftControl which was selected above menu Online select Login The project will now be downloaded to the device the RUN led are flickering Set the PIO to RUN with the...

Page 23: ...Programmable I O PIO NA 9379 Basic setting KI00341 2014 10 9 6 Monitor I O module Global variable www beijer se 23 35 KI_eng_130531 dot 070221...

Page 24: ...Project Archive The best way to get all components from a CODESYS project is to make a Save Send Archive That will save and pack all files referenced by and used within the currently opened project in...

Page 25: ...of object type which is assigned to an application There might be only ONE such list per application Highlight the Application entry in Devices Right click and select Add Object Choose Persistent Vari...

Page 26: ...ock Operating IEC 60068 2 6 Vibration shock resistance Based on IEC 60068 2 6 Sine Vibration 10 25 Hz 0 5mm 50 150 Hz 5g 150 1000 Hz 2g Sweep Rate 1 Oct min 50 cycles Sine Vibration 10 25 Hz 0 03 g Hz...

Page 27: ...Module 32 Slots Max Input Size 126 Words 252 Byte Max Output Size 126 Words 252 Byte Max Nodes Limited by Ethernet Specification Baud rate 10 100Mbps Auto negotiation Full Duplex Interface Connector...

Page 28: ...cal 24Vdc Current for I O Module 1 5A 5Vdc Isolation System power to internal logic Non isolation System power I O driver Isolation RJ45 Isolated with transformator RS232 RS485 Non isolation Field Pow...

Page 29: ...ternal bus It is comprised of 6 data pin and 2 field power pin NOTE Do not touch data and field power pins in order to avoid soiling and damage by ESD noise Pin Signal Description Signal Description P...

Page 30: ...4 5 6 RD Receive 7 8 Case Shield Pin Signal Name Description 1 2 TXD RS232 TXD 3 RXD RS232 RXD 4 5 GND RS232 GND 6 D RS485 D 7 8 D RS485 D 9 Toggle Switch Status Module is Description UP RUN PLC Run D...

Page 31: ...cause that is double width module 12 6 Inserting and Removing the Module As above figure in order to safeguard the FnIO module from jamming it should be fixed onto the DIN rail with locking level To d...

Page 32: ...Timer Auxiliary Relay memory cell Data Memory 512 KBytes Retain Time 6 days IW0 IW639 640 word Input and Internal memory QW0 QW639 640 word Output and Internal memory MW0 MW639 640 word Internal memo...

Page 33: ...ble I O PIO NA 9379 Basic setting KI00341 2014 10 12 11 Check Compiler PIO and Library version Check Compiler Version Check NA9379 PIO version Check Library version www beijer se 33 35 KI_eng_130531 d...

Page 34: ...I O Module MOD LED is red Wrong address ID Occurrence critical error in firmware Contact Sales team and send module for repair I O LED turns off Failure of realization expansion Module None expansion...

Page 35: ...ator resistor is not installed install terminator resistor Check location of terminator resistor Configuration of Node address Check duplication node address Configuration of Master Check configuratio...

Reviews: