Home
L-1515, System Manual PLCcore-F407
Contents
1. Signal Signal 3V3_Core X301 1 X301 2 101 3 3V Core 303 1 X303 2 CNTO GND X301 3 X301 4 SIO1 GND X303 3 X303 4 CNTO DIR ETH RXP X301 5 X301 6 RUN LED JTMS X303 5 X303 6 CNT1 ETH RXM X301 7 X301 8 ERROR LED 303 7 X303 8 CND1_DIR GND X301 9 X301 10 ETH_LINK ACT DO16 303 9 303 10 0118 _ 301 11 301 12 ETH SPEED 0017 303 11 X303 12 0120 SYS electronic GmbH 2015 Page 19 System Manual PLCcore F407 Signal Signal ETH_TXM X301 13 X301 14 VREF DI16 X303 13 X303 14 VBAT GND X301 15 X301 16 GND DO18 X303 15 X303 16 GND 0 X301 17 X301 18 5100 0019 303 17 X303 18 018 AO1 X301 19 X301 20 SIOO RX DI17 303 19 X303 20 019 GND X301 21 X301 22 101 GND 303 21 X303 22 0110 AINO X301 23 X301 24 102 303 23 X303 24 0111 AIN1 X301 25 X301 26 102 X303 25 X303 26 GND GND X301 27 X301 28 102 303 27 X303 28 0112 DIO X301 29 X301 30 PWM1 102 303 29 X303 30 0113 DI X301 31 X301 32 GND GND X303 31 X303 32 0114 012 X301 33 X301 34 000 2 X303 33 X303 34 0115 DI3 X301 35 X301 36 DO1 CAN2 X303 35 X303 36 DO8 GND X301 37 X301 38 DO2 GND X303 37 X303 38 DO9 DI4 X301 39 X301 40 DO3 A
2. RED RR RE RETE Ces 54 19 2 1 eiui cron 54 11 216 DUMP FIDE cie he SERERE S 54 112 17 Ee 55 11 2 18 FORMAT PE 55 19 EXIT viv 56 11 220 HELP sv 56 NGSX IE 60 SYS TEC electronic GmbH 2015 Page 5 System Manual PLCcore F407 1 Introduction Thank you that you have decided for the SYS TEC PLCcore F407 This product provides to you an innovative and high capacity PLC kernel Due to its high performance on a small manufactured size and due to its low power consumption it is well suitable as communication and control processor for embedded applications Please take some time to read through this manual carefully It contains important information about the commissioning configuration and programming of the PLCcore F407 It will assist you in getting familiar with the functional range and usage of the PLCcore F407 This document is complemented by other manuals e g for the OpenPCS IEC 61131 programming system and the CANopen extension for IEC 61131 3 Table 1 in section 2 shows a listing of relevant manuals for the PLCcore F407 Please also refer to those complementary documents For more information optional products updates et cetera we recommend you to visit our website http www systec electronic com The content of this website is updated periodically and provides to you downloads of the latest software releases and manual versions
3. 9 a a 54 pov 10 DUMP EIDE itii in irai ines a 54 Electrical characteristic 15 EMG IaW a 6 Error LED 27 eroe 12 48 Ethernet characteristics 16 It 56 Firmware 33 Flash File 54 FORMAT ES decens tai eda eti ededud eene 55 EUB cede fact 10 SYS TEC electronic GmbH 2015 G GET DEV 22 22 47 GET LAST 52 GET RIG s ger art 51 H HEEB 2 out hr one vaa uh dae 56 I O characteristic 2 442222 15 K de tete t eee e erts 10 M Manuals Overview 7 OpenPOS u a ine etr bete ie 10 Assign Network Connection 43 Installation Leere tto 39 Network Connection 41 Operating conditions 15 P 18 PowerON sesono 22 PRINT CFG FILE esee 53 Process Image Layout and Addressing 23 Pulse 442222222 26 PW M redene seas 10 R HeS6Ll iude paa eus 22 27 5 SET CONFIG 2 48 SET ERRLEYV eene 49 SET C
4. a X303 36 8 i No Pull No Pull No Pull No Pull No Pull No Pull No Pull No Pull 8 7 i Pp pO ot pO por PG GE pos x303 88 FTDO Dog x303 40 FT DO bor No Pl x303 42 FT DO bon 0 x303 46 FT DO Dor x303 48 FT DO bois x303 50 FT DO pO pO pO A PWMO 0000000 X303 52 FT DO DO15 es X303 9 X303 11 X303 15 X303 17 No Pull X301 28 A PWMO No Pull X301 30 No Pull o X301 23 FT AI AINO SE 25 FA Jan 039 Fra ana SSCS Xsos4i FA ANS FAI Jana No Pull 5 FAI ER Hm 4 EE No Pull No Pull No Pull No Pull No Pull No Pull No Pull No Pull No Pull No Pull No Pull X303 47 FT AI AIN6 No Pull X303 49 FT AI AIN7 No Pull GE X301 17 TC AO X30119 TC AO No Pull No Pull SYS TEC electronic GmbH 2015 Page 21 System Manual PLCcore F407 7 PLC Functionality of the PLCcore F407 7 1 System start of the PLCcore F407 By default the PLCcore F407 loads all necessary firmware components upon Power on or Reset and starts running the PLC program afterwards Hence the PLCcore F407 is suitable for the usage in autarchic control systems In case of power breakdown such systems resume the execution of the PLC program indepen
5. 25 7 4 8 25 7 5 Specific peripheral interfaces enne nennen nnn ens 25 Zot Counter 25 7 5 25 ER 26 7 6 Control and display elements nnns nnns 27 76 1 Runs PEDAgreen ass coe ee e e EORR 27 7 6 2 usb alte dc 27 7 7 Using CANopen for CAN interfaces 4 eene ener rnnt 28 TS sann akse 29 7 7 2 interface 1 04444 160000000000 entente nsns intres ens 29 7 8 Controller specific PLC Function 32 7 8 1 Function Blocks SIO nsns tania nns 32 Updating the PLCcore F407 Firmware rnnnnnnnnnnnnnnvvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnvnnnnnnnnnnnnn 33 Baseboard Conflguratlon inertiae inet eau tuna nex EAE Ine E Ene 35 9 1 GenerallJumpers iiie iine eet pectet eo erro ere ecu even et edes 35 9 2 cSerial O tput sione cet beet brad oic eed eee ele 36 9 3 Control Area Network 38 OpenPCS Programming System rrrnnnnnvvvnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 39 10 1 Installati
6. Current selection requires at least 38 7 MB of disk space Figure 20 SYS TEC OpenPCS Extension select components dialog e Insert your name and company into the infoteam OpenPCS Licenses window and click OK Company EE 1 153M252 0715 UCD 911 WU 0000 EBBFCDAC OOLBOL3 163M 247 0715 UCD EX98US 0000 A509DEF9 46 lt F 350 163M248 0715 UCD UT 2D6Y 0000 00C67076 E 7954F2 163M 249 0715 UCD YRRYL8 0000 7FOFEBE5 7C99CY1 163M250 0715 UCD LP5L83 0000 86DDE2D2 P4PFD20 163M251 0715 UCD 41RZEP 0000 718F8081 2GGYYK3 163M230 0715 UCD 3Z amp CNX 0000 4E E 45606 KBDDUN3 163M231 0715 UCD 2JGU2G 0000 59863455 T8D5Z41 163M232 0715 UCD YBYLZU 0000 31F739BB JX3EDU3 163M233 0715 UCD JAQGJ8 0000 C6955BE8 0D85X22 163M240 0715 UCD 3QUPL7 0000 75F15DE6 ZILR123 163M241 0715 UCD WAC33W 0000 E 33E 7D06 5WPQOH42 163M238 0715 UCD CSYHUL 0000 C89E 43B4 TCLLJ41 163M239 0715 UCD SPSJBP 0000 5E 516354 xFENC 2 1 Ma 235 N715 UICD Ware nnnn CRsSRATRT STwI CRZ2 Development Licence Info Figure 21 SYS TEC OpenPCS Extension Setup SYS TEC electronic GmbH 2015 Page 40 System Manual PLCcore F407 e Finish the installation ss ope base Completing the SYSTEC OpenPCS 515 TED Extension Setup Wizard Setup has finished installing SYSTEC OpenPCS Extension on your computer The application may be launched by selecting Your Partner for Distributed Click Finish to exit Setup
7. AIN4 IW16 0 15Bit sign 0 32767 AIN5 IW 18 0 15Bit sign 0 32767 AIN6 IW20 0 15Bit sign 0 32767 IW14 0 15Bit sign 0 32767 O SYS electronic GmbH 2015 Page 23 System Manual PLCcore F407 of the PLCcore F407 Address and Data type in the Process Image IW22 0 15Bit sign 0 32767 CO 1D40 0 31Bit sign 23 2 1 counter input DI2 4 direction DI2 5 see section 7 5 1 1044 0 31Bit sign 23 2311 counter input 012 6 direction 012 7 see section 7 5 1 On board Temperature Sensor ID72 0 31Bit sign as 1 10000 C DOO DO7 0 0 as Byte with DOO 007 QX0 0 QX0 7 single Bit for each output DO15 1 0 as Byte with DO8 0015 QX1 0 WQX1 7 as single Bit for each output 0016 DO21 QB2 0 as Byte with DO16 DO21 QX2 0 QX2 5 as single Bit for each output QW8 0 15Bit sign 0 32767 QW10 0 15Bit sign 0 32767 QX0 0 default value for inactive generator Impulse output DOO see section 7 5 2 QX0 1 default value for inactive generator Impulse output DO1 see section 7 5 2 In and outputs of the PLCcore F407 are not negated in the process image Hence the H level at one input leads to value 1 at the corresponding address in the process image Contrariwise value 1 in the process image leads to an H level at the appropriate output 7 3 2 Calculate current measure
8. Figure 9 Positioning of network variables for CAN1 within the marker section Table 20 shows the representation of network variables through appropriate inputs in the object dictionary of interface CAN1 SYS TEC electronic GmbH 2015 Page 30 System Manual PLCcore F407 Table 20 Representation of network variables for CAN1 by entries in the object dictionary OD section OD variable Data type CANopen Data type IEC 61131 3 EDS input Inputs inputs for the PLCcore F407 Index 2000H CAN1InByteO Unsigned8 BYTE USINT Sub 1 252 CAN1InByte251 Index 2001H CAN1InSIntO Integer8 SINT Sub 1 252 CAN1InSInt251 Index 2010H CAN1InWordO Unsigned16 WORD UINT Sub 1 126 CAN1InWord125 Index 2011H CAN1InInto Integer16 INT Sub 1 126 CAN 1InInt125 Index 2020H CAN1InDwordO Unsigned32 DWORD UDINT Sub 1 63 CAN1InDword62 Index 2021H CAN1InDInto Integer32 DINT Sub 1 63 CAN1InDInt62 Outputs outputs for the PLCcore F407 Index 2030H CAN10OutByteO Unsigned8 BYTE USINT Sub 1 252 CAN1OutByte251 Index 2031H CAN1OutSinto Integer8 SINT Sub 1 252 CAN10OutSInt251 Index 2040H CAN1OutWordo Unsigned16 WORD UINT Sub 1 126 CAN1OutWord125 Index 2041H CAN1Outinto Integer16 INT Sub 1 126 CAN10OutInt125 Index 2050H CAN10OutDworQO Unsigned32 DWORD UDINT Sub 1 63 CAN1OutDword62 Index 2051H CAN1OutDiInto
9. Declaration of Electro Magnetic Conformity for PLCcore F407 EMC law The PLCcore F407 has been designed to be used as vendor part for the integration into devices further industrial processing or as Development Board for laboratory development hard and software development After the integration into a device or when changes extensions are made to this product the conformity to EMC law again must be assessed and certified Only thereafter products may be launched onto the market The CE conformity is only valid for the application area described in this document and only under compliance with the following commissioning instructions The PLCcore F407 is ESD sensitive and may only be unpacked used and operated by trained personal at ESD conform work stations The PLCcore F407 is a module for the application in automation technology It features IEC 61131 3 programmability uses standard CAN bus and Ethernet network interfaces and a standardized network protocol Consequently development times are short and hardware costs are reasonable PLC functionality is created on board through a CANopen network layer Hence it is not necessary for the user to create firmware SYS TEC electronic GmbH 2015 Page 6 System Manual PLCcore F407 2 Overview Where to find what The PLCcore F407 is based on SYS TEC ECUcore F407 hardware and is extended by PLC specific functionality PLD software PLC firmware There are different hardware ma
10. can be used by passing the corresponding interface number to the function block as PORT parameter The following list shows relation between the interface and the PORT parameter SYS TEC electronic GmbH 2015 Page 59 System Manual PLCcore F407 Index A 6550 14 PW 10 B Baud tale ane ee 49 12 29 48 P req 48 CANOPEN 10 28 CANopen Chip 10 CANopen 10 CE conformity 6 iom 25 CONV iiie temet tttm e 12 op 12 Command Description 47 Communication 23 Communication interfaces COM cas ced 25 Configuration Command Shell 45 Control Elements Error LED sura 27 R n b ED us ace ees 27 e c ie et 10 Counter inputs 2 25 D DEL GPG FILE ient 53 DEE FILE petes eu 55 DEL 22 54 DEL PLC 53 Development Board Connections eeeeeeeeeeee 12 Control Elements 13 Development 11 ger EE 10 0
11. Module connection Error LED see Table 11 is designed for connecting an Error LED This Error LED provides information about the error state of the control system The error state is represented through different modes SYS TEC electronic GmbH 2015 Page 27 System Manual PLCcore F407 Table 19 Display status of the Error LED LED Mode PLC Error State Off No error has occurred the PLC is in normal state Permanent light A severe error has occurred e The PLC was started using an invalid configuration e g CAN node address 0x00 and had to be stopped or Asevere error occurred during the execution of the program and caused the PLC to independently stop its state Run division by zero invalid Array access see below Slow flashing in network error occurred during communication to the programming system the relation 1 1 to execution of running program is continued This error state will be reset pulse independently by the PLC as soon as further communication to the programming system is successful Quick flashing in The PLC is in mode Reset relation 1 1 to pulse Quick flashing The PLC is on standby but is not yet running relation 1 8 to pulse e The PLC has received a start command from the OpenPCS programming environment but the local Run Stop switch is positioned to Stop In case of severe system errors such as division by zero of invalid Array access the control system
12. broadcast photomechanical or similar reproduction and storage or processing in computer systems in whole or in part are reserved No reproduction may occur without the express written consent from SYS TEC electronic GmbH Inform yourselves Contact Direct Your local distributor Address SYS electronic GmbH Am Windrad 2 D 08468 Heinsdorfergrund GERMANY Ordering 49 0 37 65 38 600 0 tr Information info systec electronic com distributors under http www systec Technical Support 49 0 37 65 38 600 0 support systec electronic com 49 0 37 65 38 600 4100 Web Site http www systec electronic com 5 Edition October 2015 SYS TEC electronic GmbH 2015 Page 3 System Manual PLCcore F407 Table of Contents 10 uice iret Aet bed st 6 Overview Where to find what rrnnnnnnnvvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 7 Product Deserlptlon aars 9 Development Kit PLCcore F407 sssvvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnen 11 41 SUIV PER 11 4 2 Electric commissioning of the Development Kit 407 12 4 3 Control elements of the Development Kit _ 407 13 4 4 Optional accesso sist ane at eee te 14 4 4 4 USB RS232 Ad
13. 6 inf PC lt PLC Automation Suite PLC D What s new a Fies By Coffee Maker BL Firmware Ip Hotstart t m ps ees E IEC61131 3 Programming Industrial Automation Systems Controlx Editors Resource Properties ALT ENTER Connections Compatible with Watch F Breakpoint gt Info POUs Variables X svsTEC PLCcore F407 25 3390095 25 Cortex M4 under licence of 1996 2010 infoteam Software AG Germany n 5 5 HMI 3570 13131000 Atmel ARM9 under licence of O 1996 2010 infoteam Software AG Germany MBC 1784 13132000 Infineon TC1130 under licence of 1996 2010 infoteam Software AG Germany 1793 13134000 Infineon TC1130 under licence of 1996 2010 infoteam Software AG Germany 5 5 MBC 1797 13133000 Infineon TC1130 under licence of 1996 2010 infoteam Software AG Germany 3 hardware to SYSTEC Standard PLC El z NUM Figure 27 OpenPCS Rebuild Active Resource SYS TEC electronic GmbH 2015 Page 44 System Manual PLCcore F407 11 Configuration Command Shell 11 1 Entering the Configuration Command Shell The Configuration Command Shell herein after called Configuration Shell of the Controller provides a set of commands to read and write device configurations such as TCP IP address
14. Automation Launch OpenPCS Figure 22 SYS TEC OpenPCS Extension Setup 10 3 Define Network Connection Step 1 e Select PLC gt Connections from the OpenPCS menu e Inthe dialog window Connection Setup click at the button New This will in turn open the following window Edit Connection m Connection Driver Select Comment Cancel Figure 23 Target Connection Edit Connection SYS TEC electronic GmbH 2015 Page 41 System Manual PLCcore F407 Step 2 e Choose the button Select e Select the driver SYSTEC Standard Driver This is the first choice for many kinds of connections ID Manuf ID Description Figure 24 Target Connection Select Driver e Confirm the selection by clicking OK Step 3 e Enter a meaningful name for the connection settings e g UDP_192_168_10_180 e Now the Edit Connection dialog looks like this m Connection Name UDP_192_168_10_180 Driver SYSTEC Standard Driver Settings Comment Figure 25 Target Connection Edit Connection filled SYS TEC electronic GmbH 2015 Page 42 System Manual PLCcore F407 Finish the configuration of the target connection by clicking OK in the Edit Connection dialog and Close in the Connection Setup window 10 4 Assign Network Connection to Re
15. MB MB MB MB SINT USINT 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 244 0 245 0 246 0 247 0 248 0 249 0 250 0 251 0 1 Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte244 Byte245 Byte246 Byte247 Byte248 Byte249 Byte250 Byte251 WORD 9 MW 9 MW 9e MW MW MW MW MW MW INT UINT 0 0 2 0 4 0 6 0 244 0 246 0 248 0 250 0 3 Word1 Word2 Word3 Word122 Word123 Word124 Word125 DWORD MD MD DINT UDINT 244 0 248 0 ord61 Dw ord62 1 Output Variables CANI I OUT2 OUT4 OUT6 OUT7 007244 007245 OUT246 OUT247 OUT248 OUT2490UT250 OUT251 BYTE MB MB MB MB MB MB MB MB MB SINT USINT 256 0 2570 258 0 259 0 260 0 261 0 262 0 263 0 500 0 501 0 502 0 503 0 504 0 505 0 506 0 507 0 Byte0 Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte244 Byte245 Byte246 Byte247 Byte248 Byte249 Byte250 Byte251 WORD MW MW MW MW MW 9 MW 9 MW 9 MW 256 0 258 0 260 0 262 0 500 0 502 0 504 0 506 0 3 Word2 Word3 Word122 Word123 Word124 Word125 DWORD MD MD MD DINT UDINT 265 0 500 0 504 0 Dw ordo Dword61 Dw ord62
16. Manual no L 1005 Online help about the OpenPCS programming system Online help about the OpenPCS programming system User Manual SYS TEC specific extensions for OpenPCS IEC 61131 3 Manual no L 1054 User Manual CANopen extension for IEC 61131 3 Manual no L 1008 IEC 61131 3 Programming Industrial Automation Systems John Tiegelkamp Springer Verlag ISBN 3 540 67752 6 a short version is available as PDF on the OpenPCS installation CD SYS TEC electronic GmbH 2015 Page 7 System Manual PLCcore F407 Section 4 Section 6 Section 7 Section 8 Section 9 Section 10 Section 11 of this manual explains the commissioning of the PLCcore F407 based on the Development Kit for the PLCcore F407 and their electrical characteristics describes the connection assignment of the PLCcore F407 explains details about the application of the PLCcore F407 e g the setup of the process image the meaning of control elements and it provides basic information about programming the module Moreover information is given about the usage of CAN interfaces in connection with CANopen describes the firmware update process of the PLCcore F407 explains the baseboard configuration of the PLCcore F407 Development Kit shows how to install and configure the OpenPCS environment for the PLCcore F407 explains the configuration command shell and the available commands This section not only includes the com
17. Page 50 System Manual PLCcore F407 Table 28 Parameter for command SET_SSDWL_MODE Parameter Attribute Values Description on A PLC program archive will be transferred with single segments single segment download SSDwiMode Mandatory off A PLC program archive will be transferred in a container This needs the shortest transfer time Default setting Example gt SET SSDWL MODE off OK 11 2 7 GET RTC Shows the system time and date from the on board RTC unit This command has no parameters Example gt GET_RTC Valid yes Time 12730715 Date 2015 10 05 11 2 8 SET RTC Command SET RTC hh mm ss yyyy mm dd gt SET_RTC enables you to set the system time and date for the on board RTC The RTC on PLCcore F407 is battery backed The time format is based on 24h Please refer to the SYS TEC PLC extension Manual L 1054 for more information on how accessing the RTC from within the PLC program Table 29 Parameter for command SET_RTC Parameter Attribute Description hh hour 0 24 hh mm ss Mandatory mm minutes 0 59 ss seconds 0 59 yyyy year yyyy mm dd Optional mm month dd day Example gt set rtc 12 30 59 2015 10 05 OK SYS TEC electronic GmbH 2015 Page 51 System Manual PLCcore F407 11 2 9 SET CRC MODE The command SET MODE enables or disables the CRC check for saving loading the PLC resource Command SET M
18. configuration Parameter Auto Values Desorption Default setting Watchdog guarding is on activated The device is reset on Watchdog event Watchdog events are recognized by the firmware without resetting the device WdgMode Mandatory monitor However an error message message box is sent to the programming system when a Watchdog event has occurred Watchdog guarding is inactive the off device does not react to any Watchdog events Example gt SET WDG MODE off Ok 11 2 6 SSDWL MODE The command SET_SSDWL_MODE sets the mode for the transfer of a PLC program archive from the OpenPCS Programming System to the PLCcore F407 The command is described only for completeness The use of the command is very rarely needed Background A PLC program archive contains several segments of data To reduce the transfer time the segments are packed together to a container and the device sends only one ACK NAK for one container If the PC will not receive the ACK NAK within a defined timeout the connection will break with an error message The time between the transferred container and sending of the ACK NAK depends on the machine speed of the device In rare cases it can happen that is needed too long time for the processing of a container In this case the command SET_SSDL_MODE can be used to switch from container to a single segmented transfer mode Command SET SSDWL MODE lt SSDwlMode gt SYS TEC electronic GmbH 2015
19. external RTC 1 800 3 600 V IVBAT Backup domain supply current 5 TBD Operating Temperature Range 40 000 85 000 5 2 characteristic The tables below show the most important characteristics of analog and digital in and outputs Table 5 Analog input characteristic VAIN Conversion voltage range 0 5 VREF V RAIN External input impedance E 50 kQ CADC Internal sample and hold capacitor 4 pF Table 6 Analog output characteristic DAC_OUT min Lower DAC_OUT voltage 0 5 mV with buffer OFF DAC_OUT min Higher DAC_OUT voltage VREF V with buffer OFF 1LSB Impedance output with buffer OFF i 15 kQ CLOAD Capacitive load 50 000 pF SYS TEC electronic GmbH 2015 Page 15 System Manual PLCcore F407 Table 7 Digital input characteristic VIL Input low level voltage GND 0 3 0 0 3 x 3V3 V VIH FT input high level voltage 0 7 x 3V3 3 300 5 200 V VIH TC I O input high level voltage 0 7 x 3V3 3 300 3 600 V 0 05 x Vhys IO FT Schmitt trigger voltage mV hysteresis 3V3 V likg I O FT input leakage current 3 000 CIO pin capacitance 5 000 pF Output high to low level fall time and output low tf IO out to thigh level rise time for CL 10 pF 2 5 ns Table 8 Digital output characteristic Output low level voltage for
20. f407 z5 hex COM3 Table 22 Parameter STM32 firmware update tool Parameter Description e 60 Erases 60 pages before writing the flash V Verifies the written flash b 115200 Use baud rate 115200 w plccore f407 z5 hex Write plccore f407 z5 hex file to flash COM3 is used for file transfer It must be considered that the file name for the firmware may differ between firmware versions Hence you have to modify the command above regarding the file name and version number of the hex file After calling flash bat or executing the command above you have to wait several minutes till the update is finished STM32_Boot loader gt stm32flash exe e 68 u b 115266 w pleccore f4 7 z5 hex M3 tm32flash http stm32f lash googlecode com Intel HEX 115266 8 1 x31 6x88 6x68 0 0413 lt 5 2 4 128 8192b reserved bootloader 2 itc uem sector size 4 16384 gt Erasing flash this takes some time gt Wrote and verified address x 8 17E 380 1575 Figure 11 Firmware update process When the update finished you need to press the reset switch to restart the PLC which applies the firmware update Run and user led are toggling as described in section 7 6 SYS TEC electronic GmbH 2015 Page 34 System Manual PLCcore F407 9 Baseboard Configuration The following chapter describes possible jumper configurations These configuration
21. for GET RTC T Volckmann Version 5 Section 11 2 8 Add command description for SET_RTC SYS TEC electronic GmbH 2015 Page 2 System Manual PLCcore F407 This manual includes descriptions for copyrighted products that are not explicitly indicated as such The absence of the trademark symbol does not infer that a product is not protected Additionally registered patents and trademarks are similarly not expressly indicated in this manual The information in this document has been carefully checked and is believed to be entirely reliable However SYS TEC electronic GmbH assumes no responsibility for any inaccuracies SYS TEC electronic GmbH neither guarantees nor accepts any liability whatsoever for consequential damages resulting from the use of this manual or its associated product SYS TEC electronic GmbH reserves the right to alter the information contained herein without prior notification and does not accept responsibility for any damages which might result Additionally SYS TEC electronic GmbH neither guarantees nor assumes any liability for damages arising from the improper usage or improper installation of the hardware or software SYS TEC electronic GmbH further reserves the right to alter the layout and or design of the hardware without prior notification and accepts no liability for doing so Copyright 2015 SYS TEC electronic GmbH D 08468 Heinsdorfergrund All rights including those of translation reprint
22. in a PLC program the current counter value is accessible via process image see Table 14 in section 7 3 1 or via function block CNT FUD Table 15 lists the allocation between counter channels and inputs SYS TEC electronic GmbH 2015 Page 25 System Manual PLCcore F407 Table 15 Allocation between counter channels and inputs CO CO DI20 IX2 4 0121 IX2 5 1040 0 C1 C1 0122 2 6 0123 96IX2 7 1044 0 The theoretical maximum frequency for counter inputs is 24 MHz Practically the frequency depends on the number of interrupts done before the counter interrupt is invoked 7 5 2 Pulse outputs To release PWM signal sequences the PLCcore F407 features 2 pulse outputs PO and 1 Prior to its usage all pulse outputs must be parameterized using function block _ see manual SYS TEC specific Extensions for OpenPCS IEC 61131 3 Manual no L 1054 After the impulse generator is started it takes over the control of respective outputs If the impulse generator is deactivated the respective output adopts the corresponding value that is filed in the process image for this output see Table 14 in section 7 3 1 Table 16 lists the allocations between impulse channels and outputs Table 16 Allocation between impulse channels and outputs 0020 0 2 4 1 P1 0021 25 Table 17 shows the characteristics the pulse width modulation and pulse train ou
23. passes itself from state Run into state Stop This is recognizable by the permanent light of the Error LED red In this case the error cause is saved by the PLC and is transferred to the computer and shown upon next power on 7 7 Using CANopen for CAN interfaces The PLCcore F407 features 2 CAN interfaces CANO and CAN1 usable as CANopen Manager conform to CiA Draft Standard 302 The CAN interface allow for data exchange with other devices via network variables and is usable from a PLC program via function blocks of type CAN More details are included in User Manual CANopen Extension for IEC 61131 3 Manual no L 1008 The CANopen services PDO Process Data Objects and SDO Service Data Objects are two separate mechanisms for data exchange between single field bus devices Process data sent from a node PDO are available as broadcast to interested receivers PDOs are limited to 1 CAN telegram and therewith to 8 Byte user data maximum because PDOs are executed as non receipt broadcast messages On the contrary SDO transfers are based on logical point to point connections Peer to Peer between two nodes and allow the receipted exchange of data packages that may be larger than 8 Bytes Those data packages are transferred internally via an appropriate amount of CAN telegrams Both services are applicable for interface CANO as well as for CAN1 of the PLCcore F407 SDO communication basically takes place via function blocks o
24. runtime The interface is enabled when the first 2 jumpers from the left of JP212 are set Removing these jumpers is disabling this serial interface Figure 14 shows the corresponding jumper configuration where the SIOO interface is enabled The remaining serial interfaces SIO1 COM1 SIO2 COM are also configured by JP212 Both serial outputs are using the same female SUB D 9 connector Hence only SIO1 or SIO2 should be enabled simultaneously Do not enable both interfaces at the same time on the reference baseboard Enabling SIO1 or SIO2 requires setting the corresponding jumpers on the baseboard for JP212 and JP202 The position of these jumpers is shown in Figure 13 which is also showing the jumper configuration where SIO2 is enabled Contrarily enabling SIO1 requires setting the corresponding jumpers on JP212 and JP202 Please note that SIO1 supports RS485 and RS422 Depending on the bus configuration it might require to terminate the bus using the RS485 TERM jumper on JP202 or not So if the bus is already terminated by another device it is not necessary to set the RS485 TERM jumper Otherwise setting this jumper is required Figure 15 shows the jumper position to enable the RS485 interface and the pin configuration SYS TEC electronic GmbH 2015 Page 36 System Manual PLCcore F407 RS485 B RS485 Ha V GND Figure 15 Jumper and pin configuration for RS485 Enabling RS422 support requires removin
25. settings and CAN interface configurations r Tera Term 8 VT File Edit Setup Control Window Help type help to get a overview of all available connands type lt connand gt to get nore detailed help for connand Ctrl Eldit 1 0 Ctrl R Rlepeat la Configuration State The configuration loaded fron FLASH is vali gt help GET DEV CONFIG Display orron Device Conf igurat ion et Gn E Eme et Extended at Hatchdog Ho Shou available Files and Directories Dunp File Content I Delete File ORHAT FS sh KIT ELP Figure 28 Built in Configuration Command Shell The Configuration Shell uses the serial interface 5100 of the PLCcore F407 On the Development Kit 407 the interface 5100 is tunneled via USB on connector P200 To access the Configuration Shell connect the Development Kit to the PC using the USB cable delivered with the Kit On the PC side the virtual COM port driver delivered with the Kit CP210xVCPinstaller exe has to be installed This will add an additional virtual serial interface to the Host PC This allows for access to the Command Shell using a Terminal program Suitable as Terminal program would be HyperTerminal which is included in the Windows delivery or TeraTerm which is available as Open Source and meets higher demands downloadable from Terminal program must be configured as follows see Figure 29 SYS TEC electroni
26. with network connection The Development Kit PLCcore F407 contains the following hardware components PLCcore F407 Development Board for the PLCcore F407 USB cable CD with programming software examples documentation and other tools The Development Board included in the Kit facilitates quick commissioning of the PLCcore F407 and simplifies the design of prototypes for user specific applications based on this module Among other equipment the Development Board comprises different power supply possibilities Ethernet interface SYS TEC electronic GmbH 2015 Page 11 System Manual PLCcore F407 CAN interface 4 push buttons and 4 LED as control elements for digital in and outputs and it comprises a potentiometer for the analog input Signals that are available from plug connectors of the PLCcore F407 are linked to pin header connectors and enable easy connection of own peripheral circuitry Hence the Development Board forms an ideal experimentation and testing platform for the PLCcore F407 The OpenPCS IEC 61131 programming system included in the Kit serves as software development platform and as debug environment for the PLCcore F407 Thus the module can either be programmed graphically in KOP FUB AS and CFC or textually in AWL or ST Downloading the PLC program onto the module takes place via Ethernet or CANopen depending on the firmware that is used High capacity debug functionality such as watching and setting variables si
27. 10 180 5 00000020 75 62 6E 65 74 4D 61 73 6B 32 35 35 2E 32 35 ubnetMask 255 25 00000030 35 2 32 35 35 2 30 OD 47 61 74 65 77 61 79 5 255 0 Gateway 00000040 3D 31 39 32 2 31 36 38 2 31 30 2 31 OD 50 192 168 10 1 00000050 6F 72 74 4E 75 6D 38 38 38 38 OD OA 5B 43 ortNum 8888 C 00000060 41 4E 30 5D 45 6E 61 62 6C 65 3D 31 0 OA 4E ANO Enable 1 N 00000070 6F 64 65 49 44 30 78 32 30 0 42 61 75 64 odeID 0x20 Baud 00000080 72 61 74 65 3D 31 30 30 30 OD OA 61 73 74 65 rate 1000 Maste 00000090 72 4D 6F 64 65 30 OD 45 72 72 4C 65 76 65 rMode 0 ErrLeve 000000A0 6C 3D 32 0 OA 5B 43 41 4E 31 5D 45 6E 61 1 2 11 000000B0 62 6C 65 30 OD 4E 6F 64 65 49 44 30 78 ble 0 NodeID 0x 000000C0 33 30 0D OA 42 61 75 64 72 61 74 65 3D 31 30 30 30 Baudrate 100 000000D0 30 0 4D 61 73 74 65 72 4D 6F 64 65 30 0 0 MasterMode 0 000000 0 45 72 72 4C 65 76 65 6C 32 0 5B 50 ErrLevel 2 P 000000F0 6C 63 53 65 74 74 69 6E 67 73 5D 45 6E 61 62 IcSettings Enab 00000100 6C 65 45 78 74 49 6F 30 0 57 61 74 63 68 leExtIo 0 Watch 00000110 64 6F 67 4D 6F 64 65 30 0 53 6E 67 6C 53 dogMode 0 Sng1S 00000120 65 67 44 77 6C 6F 64 65 3D 30 0 43 72 63 egDwlMode 0 Crc 00000130 43 68 65 63 6B 4D 6F 64 65 30 0 0A CheckMode 0 Ok gt 11 2 17 DEL FILE The command D
28. B L 1008 NETNUMBER 0 1 CAN SDO WRITE BIN FB L 1008 NETNUMBER 0 1 CAN GET STATE FB L 1008 NETNUMBER 0 1 CAN NMT FB L 1008 NETNUMBER 0 1 EMCY DEV FB L 1008 NETNUMBER 0 1 CAN RECV EMCY FB L 1008 NETNUMBER 0 1 CAN WRITE EMCY FB L 1008 NETNUMBER 0 1 CAN RECV BOOTUP DEV FB L 1008 NETNUMBER 0 1 CAN RECV BOOTUP FB L 1008 NETNUMBER 0 1 CAN ENABLE CYCLIC SYNC FB L 1008 NETNUMBER 0 1 CAN SEND SYNC FB L 1008 NETNUMBER 0 1 SYS TEC electronic GmbH 2015 Page 58 System Manual PLCcore F407 Name Type Reference Remark CANL2_ INIT FB L 1008 NETNUMBER 0 1 CANL2 SHUTDOWN FB L 1008 NETNUMBER 0 1 CANL2 RESET FB L 1008 NETNUMBER 0 1 CANL2 GET STATUS FB L 1008 NETNUMBER 0 1 CANL2 DEFINE CANID FB L 1008 NETNUMBER 0 1 CANL2 DEFINE CANID RANGE FB L 1008 NETNUMBER 0 1 CANL2 UNDEFINE CANID FB L 1008 NETNUMBER 0 1 CANL2 UNDEFINE CANID RANGE FB L 1008 NETNUMBER 0 1 CANL2 MESSAGE READ8 FB L 1008 NETNUMBER 0 1 CANL2 MESSAGE READ BIN FB L 1008 NETNUMBER 0 1 CANL2 MESSAGE WRITE8 FB L 1008 NETNUMBER 0 1 CANL2 MESSAGE WRITE BIN FB L 1008 NETNUMBER 0 1 CANL2 MESSAGE UPDATES8 FB L 1008 NETNUMBER 0 1 CANL2 MESSAGE UPDATE BIN FB L 1008 NETNUMBER 0 1 Functions and Function Blocks for Ethernet interfaces UDP LAN GET HOST CONFIG FB L 1054 NETNUMBER 0 LAN AS
29. CII TO INET FB L 1054 NETNUMBER 0 LAN INET TO ASCII FB L 1054 NETNUMBER 0 LAN GET HOST BY NAME FB L 1054 NETNUMBER 0 LAN GET HOST BY ADDR FB L 1054 NETNUMBER 0 LAN UDP CREATE SOCKET FB L 1054 NETNUMBER 0 LAN UDP CLOSE SOCKET FB L 1054 NETNUMBER 0 LAN UDP RECVFROM STR FB L 1054 NETNUMBER 0 LAN UDP SENDTO STR FB L 1054 NETNUMBER 0 LAN UDP RECVFROM BIN FB L 1054 NETNUMBER 0 LAN UDP SENDTO BIN FB L 1054 NETNUMBER 0 0 These information are stored outside the file system to protect them against power outages which may cause a corrupted file system In such case however the data are still getting corrupted if the power loss occurred while erasing one page or writing data to the flash Writing to NVData requires at least one erase and write operation per 4k flash page which usually requires about 90 ms max 350 ms Writing to multiple pages requires correspondingly more time It is recommended to use 4k aligned data blocks to prevent writing multiple pages The pulse train output uses a 16 bit timer with 8 bit repetition counter That implies a maximum cycle time of about 65 ms and 256 time accurate edges Using more pulses result in inaccurate pulse timings These delays depend on the usage of the PLCcore F407 which enables the controller to invoke the timer reset earlier or later the used time base and the period length As chapter 7 4 1 states the PLCcore F407 supports 3 different serial interfaces Each of them
30. Ccore F407 supports the persistent storage and reload of a backed configuration Alternatively the configuration mapping CAN Identifier etc of the static object dictionary for interface can take place from the PLC program by using SDO function blocks Therefore inputs NETNUMBER and DEVICE must be used as follows NETNUMBER DEVICE Ly Interface 1 0 local Node 7 8 Controller specific PLC Function Blocks 7 8 1 Function Blocks SIO_ This group of function blocks controls the serial interfaces 5 00 SIO1 SIO2 The function blocks are described in the manual L 1054 SYS TEC specific Extensions for OpenPCS IEC61131 3 This section gives additional information about the function block operands PORT and PROTOCOL depending on the interface Definition of the Operands PORT Number of serial interface to be used 0 SIOO COMO RS232 1 SIO1 1 RS422 RS485 2 SIO2 COM2 RS232 PROTOCOL The PROTOCOL operand defines whether RS232 XON XOFF RS422 RS485 RTS CTS is used 0 RS232 available for 100 102 1 XON XOFF available for 5100 SIO1 2 Hardware Handshake via RTS CTS available for SIO2 3 RS485 available for 5101 4 RS422 available for SIO1 SYS TEC electronic GmbH 2015 Page 32 System Manual PLCcore F407 8 Updating the PLCcore F407 Firmware All necessary firmware components to run the PLCcore F407 are already installed on the modul
31. EL FILE deletes a specific file from the Flash File System Once done this cannot be undone Command DEL FILE lt FileName gt Table 32 Parameter for command DEL FILE Parameter Attribute Description FileName Mandatory Path to the file that should be deleted Example gt DEL FILE PC F407 cfg Ok gt 11 2 18 FORMAT FS The command FORMAT FS formats the Flash File System located in the external Flash memory Once done this cannot be undone This command has no parameters Note During this operation all data in the Flash File System will be deleted There is no way to backup or restore this data so please be carefully O SYS electronic GmbH 2015 Page 55 System Manual PLCcore F407 Example gt FORMAT FS CAUTION This will delete all data stored in the FLASH File System Do you really want to continue y n y Formatting the FALSH File System need some seconds please wait OK gt 11 2 19 EXIT The command EXIT terminates and leaves the Configuration Shell save the configuration and restart the PLC 11 2 20 HELP The command HELP shows all available commands as well as a short command description see Figure 28 SYS TEC electronic GmbH 2015 Page 56 System Manual PLCcore F407 Appendix A Firmware function scope of PLCcore F407 Table 33 lists all firmware functions and function blocks available on the PLCcore F407 Sign explanation FB Fun
32. IN2 X303 39 X303 40 DO10 DI5 X301 41 X301 42 GND AIN3 303 41 X303 42 0011 DI6 X301 43 X301 44 DO4 AIN4 303 43 X303 44 GND DI7 X301 45 X301 46 005 AIN5 X303 45 X303 46 0012 CONFIG 301 47 X301 48 DO6 AIN6 303 47 X303 48 0013 BOOTO X301 49 X301 50 007 AIN7 303 49 X303 50 0014 X301 51 X301 52 RST_OUT GND3 X303 51 X303 52 DO15 Table 12 is a subset of Table 11 and only includes all in and outputs of the PLCcore F407 sorted by their function Table 12 Connections of the PLCcore F407 only sorted by function I O i PLC Function 2 Connector O PLC Function 1 A alternative S simultaneous Pull Up Pull Down 0129 FT DI DIO Pushbutton SW PullDow X301 31 FT DI Pushbutton SWD Pull Down DI2 Pushbutton Sw2 PullDown 01 35 FT DI DIS Pushbutton SW3 PullDown x30139 FTDI Puli Down O DIS 301 48 es See Pull Down Pull Down X303 18 X303 20 X303 22 FT DI 0110 Pull Down VE SE O SYS electronic GmbH 2015 Page 20 System Manual PLCcore F407 X30313 FTDI 602 X303 19 Pull Down X303 10 Pull Down X303 12 Pull Down X303 2 Pull Down X303 4 Pull Down X303 6 Pull Down X303 8 Pull Down a X301 34 X301 36 001 User LED1 X301 38 DO2 User LED2 X301 40 X301 44 X301 46 X30148 FTDO 06 X301 50 7
33. Integer32 DINT Sub 1 63 CAN10OutDInt62 The object dictionary of interface 1 in total has available 16 TPDO and 16 RPDO The first 4 TPDO and RPDO are preconfigured and activated according to the Predefined Connection Set The first 32 Byte of input and output variables are mapped to those PDOs Table 21 in detail lists all preconfigured PDOs for interface CAN1 SYS TEC electronic GmbH 2015 Page 31 System Manual PLCcore F407 Table 21 Preconfigured PDOs for interface CAN1 PDO CAN ID Data 1 RPDO 0x200 NodelD MBO 0 MB7 0 2 RPDO 0x300 NodelD MB8 0 MB15 0 3 RPDO 0x400 NodelD MB16 0 MB23 0 4 0x500 NodelD 24 0 MB31 0 1 TPDO 0 180 NodelD MB256 0 263 0 2 TPDO 0 280 NodelD MB264 0 MB271 0 3 TPDO 0x380 NodelD MB272 0 MB279 0 4 TPDO 0x480 NodelD MB280 0 MB287 0 Due to limitation to 16 TPDO and 16 RPDO only 256 Bytes 2 16PDO 8Byte PDO of total 504 Bytes for network variables in the marker section 2 252Bytes can be transferred via PDO Irrespective of that it is possible to access all variables via SDO The configuration mapping CAN Identifier etc of interface CAN1 typically takes place via an external Configuration Manager that parameterizes the object dictionary on the basis of a DCF file created by the CANopen configurator By using default object inputs 1010H und 1011H the PL
34. ODE lt CrcMode gt Table 30 Parameter for command SET_CRC_MODE Parameter Attribute Values Description on Enables the CRC mode CrcMode Mandatory off Disables the CRC mode Example gt SET_CRC_MODE off OK gt 11 2 10 GET_LAST_ERROR The command GET LAST ERROR prints detailed information about the last system error occurred This command has no parameters Example gt LAST ERROR ErrorCode 0 ErrorText Controller working normal Ok gt SYS TEC electronic GmbH 2015 Page 52 System Manual PLCcore F407 11 2 11 PRINT CFG FILE The command PRINT CFG FILE shows the content of the configuration file if the file exists Example gt PRINT CFG FILE ETHO IpAddr 192 168 10 180 SubnetMask 255 255 255 0 Gateway 192 168 10 1 PortNum 8888 Enable 1 NodeID 0x20 Baudrate 1000 MasterMode 0 ErrLevel 2 CAN1 Enable 0 NodeID 0x30 Baudrate 1000 MasterMode 0 ErrLevel 2 PlcSettings EnableExtIo 0 WatchdogMode 0 SnglSegDwlMode 0 CrcCheckMode 0 Ok gt 11 2 12 DEL_CFG FILE The command DEL_CFG_FILE deletes the configuration file Once done this cannot be undone This command has no parameters Example gt DEL FILE Do you really want to delete the device configuration file y n y Ok gt 11 2 13 DEL PLC PROG The command DEL PLC PROG deletes the saved PLC program in the PLC program backup archive Once done this cannot be undo
35. RC MODE 52 SET JP GONFIGQ eite 48 SET RIG us diete e n etse 51 SET SSDL _ 50 SET WDG MODE 50 Sil eee Mte wi a ein 10 SAUD x citet treat onmes 22 System Start 2 2 2 2201 22 T Terminal 45 U Update euim 33 USB RS232 Adapter Cable 14 Page 60 System Manual PLCcore F407 W Document Document number Watchdog System Manual PLCcore F407 L 1515e_5 October 2015 How would you improve this manual Did you detect any mistakes in this manual page Submitted by Customer number Name Company Address Please return your suggestions to SYS TEC electronic GmbH Am Windrad 2 D 08468 Heinsdorfergrund GERMANY Fax 49 3765 38600 4100 Email info systec electronic com SYS TEC electronic GmbH 2015 Page 61
36. SYS TEC System Manual PLCcore F407 User Manual Version 5 Edition October 2015 Document No L 1515e_5 SYS TEC electronic GmbH Am Windrad 2 D 08468 Heinsdorfergrund Telefon 49 3765 38600 0 Telefax 49 3765 38600 4100 Web http www systec electronic com Mail into systec electronic com SYS TEC electronic GmbH System House for distributed Automation System Manual PLCcore F407 Status Changes Status released 2014 01 28 All Creation T Volckmann Version 1 2014 02 20 Figures Updated figures to the latest core and baseboard revision Table 12 Add column for pull up down mapping 2014 02 24 Volckmann Add frequency for PWM output Section 7 5 2 Add frequency for Counter input 2014 04 10 Table 33 Add reference for using NVDATA function T Vol kmann blocks 2014 07 23 Version 2 Section 7 7 2 Add note regarding CAN1 interface T Volckmann 2014 08 04 Amplitude information for PWM output T Volckmann 2014 09 19 Appendix A Add mapping for SIO PORT parameters T Volckmann Section 7 3 2 Add how to interpret current measurement 2014 09 22 Volckmann Section 9 Add jumper configuration 2015 02 10 Section 7 3 2 Corrected current consumption T Volckmann 2015 06 08 Figure 16 Corrected description of Figure 16 Version 4 Reworked parameter description for SIO Section 7 8 1 Function Blocks Volckmann Table 7 Add IO Timings 2015 10 05 Section 11 2 7 Add command description
37. VICE 0 see NVDATA_STR FB L 1054 DEVICE 0 see NVDATA BIN FB L 1054 DEVICE 0 see Functions and Function Blocks for handling of time GetTime FUN Online Help GetTimeCS FUN Online Help DT_CLOCK FB L 1054 DT_ABS_TO_REL FB L 1054 DT_REL_TO_ABS FB L 1054 Functions and Function Blocks for counter inputs and pulse outputs CNT_FUD FB L 1054 CHANNEL 0 1 PTO_PWM FB L 1054 CHANNEL 0 1 PTO_TAB FB L 1054 CHANNEL 0 1 Functions and Function Blocks for Serial interfaces SIO INIT FB L 1054 PORT 0 1 2 9 SIO STATE FB L 1054 PORT 0 1 2 SIO READ CHR FB L 1054 0 1 2 SIO_WRITE_CHR FB L 1054 0 1 2 SIO READ STR FB L 1054 0 1 2 SIO_WRITE_STR FB L 1054 0 1 2 SIO READ BIN FB L 1054 0 1 2 SIO WRITE BIN FB L 1054 0 1 2 Functions Function Blocks for interfaces CAN GET LOCALNODE ID FB L 1008 NETNUMBER 0 1 KERNEL STATE FB L 1008 NETNUMBER 0 1 CAN REGISTER COBID FB L 1008 NETNUMBER 0 1 CAN PDO READ8 FB L 1008 NETNUMBER 0 1 CAN PDO WRITE8 FB L 1008 NETNUMBER 0 1 CAN SDO READ8 FB L 1008 NETNUMBER 0 1 CAN SDO WRITE8 FB L 1008 NETNUMBER 0 1 CAN SDO READ STR FB L 1008 NETNUMBER 0 1 CAN SDO WRITE STR FB L 1008 NETNUMBER 0 1 CAN SDO READ BIN F
38. YZ WXYZ WXYZ WXYZ 131301 4345 01 4346 01 1 00 5 08 01 04 Sep 10 2015 16 03 14 7 03 2 42 163 0 PC F407 cfg plcdata 512 kByte disabled DiagModeOn disabled disabled 00 50 C2 F8 04 56 192 168 10 248 255 255 255 0 192 168 10 1 8888 Page 47 System Manual PLCcore F407 CANO Enable on NodeID 32 0x20 CANO Baudrate 1000 CANO MasterMode off CANO ErrorLevel AllNetErrors CAN1 Enable off 1 NodeID 48 0x30 CAN1 Baudrate 1000 CAN1 MasterMode off 1 ErrorLevel AllNetErrors Ok 11 2 2 SET IP CONFIG The command SET IP CONFIG is used to set the communication parameters for Ethernet interface Command SET IP CONFIG lt IfNum IpAddr NetMask Gateway PortNum gt Table 24 Parameter for SET IP CONFIG IfNum Mandatory 0 gt ETHO Interface number for Ethernet 1 gt 1 interface IpAddr Mandatory i e 192 168 10 130 IP address NetMask Optional i e 255 255 255 0 Network mask Gateway Optional i e 192 168 10 200 address of default gateway Example SET IP CONFIG 0 192 168 10 130 255 255 255 0 OK gt 11 2 3 SET_CAN_CONFIG The command SET_CAN_CONFIG is used to set the communication parameters of the two CAN communication interfaces CANO und CAN1 Command SET CONFIG lt IfNum Enable NodeID Bitrate MstMode 111 gt SYS TEC electronic GmbH 2015 Page 48 System Manual PLCcore F407 Table 25 Paramete
39. al PLCcore F407 Table 3 Control elements of the Development Board for the PLCcore F407 LED 1 LED1 Digital Output DO1 Process Image 1 LED 2 LED2 Digital Output DO2 Process Image QxX0 2 LED 3 LED3 Digital Output DOS Process Image 0 0 3 Poti ADC AIN Analog Input AIO Process Image IW8 0 Run LED RUN Display of activity state of the PLC see section 7 6 1 Error LED ERROR Display of error state of the PLC see section 7 6 2 4 4 Optional accessory 4 4 1 USB RS232 Adapter Cable The SYS TEC USB RS232 Adapter Cable order number 3234000 provides a RS232 interface via an USB Port of the PC Together with a terminal program it enables the configuration of the PLCcore F407 from PCs e g laptop computers which do not have RS232 interfaces any more Figure 4 SYS TEC USB RS232 Adapter Cable SYS TEC electronic GmbH 2015 Page 14 System Manual PLCcore F407 5 Electrical characteristic of the PLCcore F407 5 1 General operating conditions The following table shows the general operating conditions together with their respective operating range of the PLCcore F407 Table 4 General operating conditions 3V3 Standard operating voltage 3V3 3 135 3 300 3 465 V I3V3 Total current consumption 3V3 Domain 250 000 450 000 mA VREF Reference voltage 3V3 VREF lt 1 2V 1 800 3V3 V IVREF VREF DC current consumption 300 000 500 000 uA VBAT Backup operating voltage internal
40. an pin VoL when 8 pins are sunk at same time 8 0 4 V Output high level voltage for an I O pin VOH when 8 pins are sourced at same time 2 40 V Output current sunk source by any I O pin 25 mA llOmaxsource The maximum sum of sourced by the device 150 000 llOmaxsource The maximum sum of sunk by the device 150 000 5 3 Ethernet characteristics In the table below you will find important information about the Ethernet characteristics of the PLCcore F407 Table 9 Ethernet receive or transmit signal characteristic VIHETH Input high level voltage 2 V VILETH Input low level voltage 5 0 8 V VOHETH Output high level voltage 2 40 V VOLETH Output low level voltage 0 4 V Input Current 10 10 102 Output Tri State Leakage 10 SYS electronic GmbH 2015 Page 16 System Manual PLCcore F407 Table 10 Ethernet LED output characteristic ILED LED output drive current mA SYS TEC electronic GmbH 2015 Page 17 System Manual PLCcore F407 6 Pinout of the PLCcore F407 The PLCcore F407 provides board I O functionalities through simple connector footprint using two pin card edge connectors X301 and 303 see Figure 6 Appropriate pin header connectors corresponding to the PLCcore F407 are available from company Tyco and JAE Tyco name 56 pol Mini PClex
41. apter Cable 14 Electrical characteristic of the PLCcore F407 15 5 1 General operating 15 532 CharacteniStG o aes etate tnn E qu 15 5 3 Ethernet characteristics iiri 16 Pinout of the PLGcore F407 eret erento dnt isse 18 PLC Functionality of the PLCcore F407 rrrrrnnnnnvvvvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnvnnnnnnnnnnnnn 22 7 1 System start of the PLCcore F407 esent enhn enn snnt entree ns 22 7 2 Programming the 407 22 7 3 Process image of the PLCcore F407 23 7 3 gt LOGAN In and Outputs ae te atti cera ae 23 7 3 2 Calculate current measurement sse 24 7 3 8 and outputs of user specific 24 7 4 Communication 20441 0 1000 enne enne ensi nnns nennen 25 7 4 1 25 FA
42. are versions Table 13 Support of FB communication classes for different types of the PLCcore Type of PLCcore F407 Z3 PLCcore F407 Z4 PLCcore F407 Z5 Remark Interface Art no 3390093 Art no 3390094 Art no 3390095 CAN X X FB description see manual L 1008 UDP X X FB description see manual L 1054 SIO X X X FB description see manual L 1054 Table 33 in Appendix A contains a complete listing of firmware functions and function blocks that are supported by the PLCcore F407 Detailed information about using the CAN interfaces in connection with CANopen is provided in section 7 7 7 3 Process image of the PLCcore F407 7 3 1 Local In and Outputs Compared to other SYS TEC compact control systems the PLOcore F407 obtains a process image with identical addresses All in and outputs listed in Table 14 are supported by the PLCcore F407 Table 14 Assignment of in and outputs to the process image of the PLCcore F407 of the PLCcore F407 Address and Data type in the Process Image DIO 017 0 0 as Byte with DIO 017 961X0 0 0 7 as single Bit for each input 018 015 IB1 0 961X1 0 1 7 as single Bit for each input as Byte with DI16 DI23 AINO IW8 0 15Bit sign 0 32767 AIN1 IW10 0 15Bit sign 0 32767 as Byte with 018 0115 016 0123 IB2 0 961X2 0 2 7 as single Bit for each input AIN2 IW12 0 15Bit sign 0 32767
43. as VAR_EXTERNAL according to IEC61131 3 Hence they are marked as outside of the control e g VAR_EXTERNAL NetVarl BYTE NetVar2 UINT END VAR A detailed procedure about the integration of DCF files into the PLC project and about the declaration of network variables is provided in manual User Manual CANopen Extension for IEC 61131 3 Manual no L 1008 When using CAN interface CANO it must be paid attention that the generation of required objects takes place upon each system start This is due to the dynamic object directory Design instructions are included in the DCF file that is integrated in the PLC project Hence changes to the configuration can only be made by modifying the DCF file This implies that after the network configuration is changed modification of DCF file the PLC project must again be translated and loaded onto the PLCcore F407 7 7 2 CAN interface CAN1 On the contrary to interface CANO interface CAN1 is provided as static object dictionary This means that the amount of network variables communication objects and the amount of PDOs available are both strongly specified During runtime the configuration of PDOs is modifiable This implies that communication parameters used CAN Identifier etc and the allocation of network variables to each O SYS electronic GmbH 2015 Page 29 System Manual PLCcore F407 Byte of a CAN telegram mapping can be set and modified by the user Thus
44. c GmbH 2015 Page 45 System Manual PLCcore F407 e 115200 Baud e 8 Data bit e 1 Stop bit e no parity e noflow control Tera Term Serial port setup Port COM8 v Baud rate 115200 v Data 8 bit M Cancel Parity none Stop 1 bit Help Flow control none z Transmit delay 0 msecjchar 0 msecjline Figure 29 Terminal configuration using the example of TeraTerm To start the Configuration Shell of the PLCcore F 407 the following sequence is necessary 4 Both signals RESET and CONFIG see Table 11 must be set to active 5 Signal HESET has to become inactive while CONFIG must still be set active 6 Signal CONFIG has to become inactive too so that both signals RESET and are in there normal operation state again On the Development Kit PLCcore F407 signal HESET is connected pushbutton RESET and CONFIG is connected to pushbutton CONFIG To start the Configuration Shell on a PLCcore F407 mounted to the Development Board the following sequence is necessary Press pushbutton RESET and hold it down Press pushbutton CONFIG while RESET is still down Release pushbutton RESET while CONFIG is still down Release pushbutton CONFIG DNDN After entering the Command Shell the status message should come up on the terminal window as shown in Figure 28 All inputs are case insensitive The HELP command gives you an overview about all commands avai
45. ction block FUN Function Online Help OpenPCS online help L 1054 Manual SYS TEC specific extensions for 5 IEC 61131 3 Manual no L 1054 PARAM 0 1 2 values 0 1 and 2 are valid for the given parameter Table 33 Firmware functions and function blocks of PLCcore F407 Name Type Reference Remark PLC standard Functions and Function Blocks SR FB Online Help RS FB Online Help R_TRIG FB Online Help F_TRIG FB Online Help CTU FB Online Help CTD FB Online Help CTUD FB Online Help TP FB Online Help TON FB Online Help TOF FB Online Help Functions and Function Blocks for string manipulation LEN FUN L 1054 LEFT FUN L 1054 RIGHT FUN L 1054 MID FUN L 1054 CONCAT FUN L 1054 INSERT FUN L 1054 DELETE FUN L 1054 REPLACE FUN L 1054 FIND FUN L 1054 GETSTRINFO FB L 1054 CHR FUN L 1054 ASC FUN L 1054 STR FUN L 1054 VAL FUN L 1054 Functions and Function Blocks for OpenPCS specific task controlling ETRC FB L 1054 PTRC FB L 1054 GETVARDATA FB Online Help GETVARFLATADDRESS FB Online Help GETTASKINFO FB Online Help SYS TEC electronic GmbH 2015 Page 57 System Manual PLCcore F407 Name Type Reference Remark Functions and Function Blocks for handling of non volatile data NVDATA BIT FB L 1054 DEVICE 0 see NVDATA INT FB L 1054 DE
46. dently and without user intervention Figure 8 illustrates the system start in detail valid No Wait for PLC Program Download Start PLC processing Figure 8 System start of the PLCcore F407 If the firmware has found a valid control program in the non volatile memory this program is restarted and processed Otherwise the reactivated program is ready for execution and the PLCcore F 407 is in stop mode 7 2 Programming the PLCcore F407 The PLCcore F407 is programmed with IEC 61131 3 conform OpenPCS programming environment There exist additional manuals about OpenPCS that describe the handling of this programming tool Those are part of the software package OpenPCS All manuals relevant for the PLCcore F407 listed in Table 1 The PLCcore F407 firmware is based on standard firmware for SYS compact control units Consequently it shows identical properties like other SYS TEC control systems This affects SYS TEC electronic GmbH 2015 Page 22 System Manual PLCcore F407 especially the process image setup see section 7 3 as well as the functionality of control elements Run LED Error LED Depending on the firmware version used PLCcore F407 firmware provides numerous function blocks to the user to access communication interfaces Table 13 specifies the availability of FB communication classes SIO CAN UDP for different PLCcore F407 firmw
47. e upon delivery Hence firmware updates should only be required in exceptional cases e g to input new software that includes new functionality The PLCcore F407 Firmware includes the PLC Runtime System The Firmware can only be generated and modified by the producer it is not identical with the PLC user program which is created by the PLC user The PLC user program is directly transferred from the OpenPCS programming environment onto the module No additional software is needed An update of the PLC Firmware is made via SIOO of the PLCcore F407 On the PLCcore F407 Development Kit the interface SIOO is tunneled via USB on connector P200 Therefore connect the Development Kit to the PC using the USB cable delivered with the Kit On the PC side the virtual COM port driver delivered with the Kit CP210xVCPinstaller exe has to be installed This will add an additional virtual serial interface to the Host PC This allows for serial download the new firmware to the PLCcore F407 To set the PLCcore F407 in update mode the following sequence is necessary 1 Both signals RESET and BOOTO see Table 11 must be set to active 2 Signal RESET has to become inactive while BOOTO must still be set active 3 Signal BOOTO has to become inactive too so that both signals 7RESET and BOOTO are in there normal operation state again On the Development Kit PLCcore F407 signal HESET is connected pushbutton RESET and BOOTO is connected to p
48. er number 3390095 besides can be used freely for the user program CANO CAN P201A This interface serves as communication interface with the Programming PC and is necessary for the program download PLCcore F407 Z4 order number 3390094 besides can be used freely for the user program COM1 RS485 P201B This interface can be used freely for general operation of the user program COM2 RS232 P201B This interface can be used freely for general operation of the user program SYS TEC electronic GmbH 2015 Page 12 System Manual PLCcore F407 Figure 3 shows the positioning of the most important connections of the Development Board for the PLCcore F407 1 2 RS232 RS485 Figure 3 Positioning of most important connections on the Development Board for the PLCcore F407 Upon commissioning cables for Ethernet ETHO X200 and RS232 COMO P201B must be connected prior to activating the power supply USB P200 or external power supply via X101 102 4 3 Control elements of the Development Kit PLCcore F407 The Development Kit PLCcore F407 allows for easy commissioning of the PLCcore F407 It has available various control elements to configure the module and to simulate in and outputs for the usage of the PLCcore F407 as PLC kernel In Table 3 control elements of the Development Board are listed and their meaning is described SYS TEC electronic GmbH 2015 Page 13 System Manu
49. f type CAN SDO Xxx see User Manual CANopen Extension for IEC 61131 3 Manual no L 1008 Function blocks are also available for PDOs CAN PDO Xxx Those should only be used for particular cases in order to also activate non CANopen conform devices For the application of PDO function blocks the CANopen configuration must be known in detail The reason for this is that the PDO function blocks only use 8 Bytes as input output parameter but the assignment of those Bytes to process data is subject to the user SYS TEC electronic GmbH 2015 Page 28 System Manual PLCcore F407 Instead of PDO function blocks network variables should mainly be used for PDO based data exchange Network variables represent the easiest way of data exchange with other CANopen nodes Accessing network variables within a PLC program takes place in the same way as accessing internal local variables of the PLC Hence for PLC programmers it is not of importance if e g an input variable is allocated to a local input of the control or if it represents the input of a decentralized extension module The application of network variables is based on the integration of DCF files that are generated by an appropriate CANopen configurator On the one hand DCF files describe communication parameters of any device CAN Identifier etc and on the other hand they allocate network variables to the Bytes of a CAN telegram mapping The application of network variables only req
50. g the RS485 DE jumper of the JP212 See Figure 16 for the jumper positions and the pin configuration RS422 B RS422 RS422 Z RS422 Y GND Figure 16 Jumper and pin configuration for RS422 RS232 is enabled by setting the marked jumpers shown in Figure 17 All serial interfaces can be used in the PLC program by using their corresponding number to call the SIO function blocks Please found more information about the function blocks in section 7 8 1 RS232 TXD RS232 CTS RS232 RXD RS232 RTS GND Figure 17 Jumper and pin configuration for RS232 SYS TEC electronic GmbH 2015 Page 37 System Manual PLCcore F407 9 3 Control Area Network The CAN interfaces of the PLCcore F407 can be controlled with JP214 CAN1 and JP213 2 The position of JP213 and JP214 on the baseboard are marked in Figure 18 2 4 4 Figure 18 Jumper position of JP213 and JP214 Figure 18 shows the default CAN configuration So CAN1 is enabled while 2 is disabled The termination jumpers are only necessary if the CAN bus is not terminated by another device or resistor SYS TEC electronic GmbH 2015 Page 38 System Manual PLCcore F407 10 OpenPCS Programming System 10 1 Installation Driver for USB CANmodul For using the PLCcore F407 Z4 order number 3390094 the USB CANmodul is used for data communication with the PLC To install the USB CANmodul driver following steps are necessary 1 Run
51. ical PLC control elements e g Run LED Error LED Small dimension 67 5x52 5 mm There are different types of firmware available for the PLCcore F407 They differ regarding the protocol used for the communication between Programming PC and PLCcore F407 SYS TEC electronic GmbH 2015 Page 9 System Manual PLCcore F407 Order number 3390094 407 74 CANopen communication with Programming PC via CANopen Protocol Interface CANO Order number 3390095 PLCcore F407 Z5 Ethernet communication with Programming PC via UDP Protocol Interface ETHO Making PLC available as an insert ready core module with small dimensions reduces effort and costs significantly for the development of user specific controls The PLCcore F407 is also very well suitable as intelligent network node for decentralized processing of process signals CANopen and UDP Additionally it can be used as basic component for special assemblies or as PLC in hard to access areas The on board firmware of the PLCcore F407 contains the entire PLC runtime environment including CANopen connection with CANopen master functionality Thus the module is able to perform control tasks such as linking in and outputs or converting rule algorithms Data and occurrences can be exchanged with other nodes e g superior main controller slaves and so forth via CANopen network Ethernet UDP protocol and serial interfaces UART Moreover the number of in and out
52. lable To get help for a specific command just enter HELP followed by the command name or type the command followed by an Press CTRL R to repeat the last command The command EXIT terminates the Configuration Shell The configuration is stored in non volatile memory and the PLC starts with current settings SYS TEC electronic GmbH 2015 Page 46 System Manual PLCcore F407 Warning Please note that the following commands cannot be undone DEL_CFG_FILE DEL_PLC_PROG DEL_NVDATA DEL_FILE FORMAT_FS Please take care about respective commands 11 2 Command Description The following section describes the commands available for the Command Configuration Shell on the PLCcore F407 11 2 1 GET_DEV_CONFIG The command GET_DEV_CONFIG shows the current device configuration This command has no parameters Example gt GET DEV CONFIG Device Information Type DeviceID Serial Number License Key Product Code Hardware CPU Board IO Board I O Driver Firmware Build Date Time Virtual Machine OEM ID Device Configuration Config File PLC Backup Dir Memory available ProcessImage Extended I Os RuntimeSettings Watchdog SnglSegDwl Mode CRC Mode MAC Addr ETHO ETHO SubnetMask ETHO Gateway ETHO PortNum SYS TEC electronic GmbH 2015 SYSTEC 407 25 3390025 25 1012005 262746 WXYZ WXYZ WXYZ WXYZ WX
53. mand names itself but also their parameters and shows some example configurations SYS TEC electronic GmbH 2015 Page 8 System Manual PLCcore F407 3 Product Description The PLCcore F407 as another innovative product extends the SYS TEC electronic GmbH product range within the field of control applications In the form of an insert ready core module it provides to the user a complete and compact PLC Due to CAN and Ethernet interfaces the PLCcore F407 is best suitable to perform decentralized control tasks Figure 1 view of the PLCcore F407 These are some significant features of the PLCcore F407 High performance CPU kernel ARM 32 bit Cortex M4 168 MHz CPU Clock 210 DMIPS 192 KByte SDRAM Memory 1 MByte FLASH Memory 2x52 pin card edge Mini PCie connector footprint 1 10 100 Mbps Ethernet LAN interface with on board PHY 2x CAN 2 0B interface usable as CANopen Manager 302 conform 3x synchronous asynchronous serial ports USART 24 digital inputs 2 of these are usable as high speed counter with 1 direction and 1 input each 22 digital outputs 2 of these are usable as PWM PTO output with pulse dir 8 analog inputs 2 analog outputs On board peripherals RTC Temperature sensor Programmable in IEC 61131 3 Function block libraries for communication CANopen Ethernet and UART USART Function block libraries for hardware components RTC Counter PWM PTO Support of typ
54. ment The baseboard of the Development Kit PLCcore F407 features a current measurement circuit In the process image the value is located at AIN1 This value can be interpreted as follows 0 702127659574 32767 Value of AIN1 Current Consumption Current Measurement 0 1k Current Consumption in A AIN1 typically has a value around 6800 Hence the typical power consumption is 0 145 145 mA Please note that the value of AIN1 also depends on the current load of the module For instance enabling LED s increases the consumption 7 3 3 In and outputs of user specific baseboards The connection lines leading towards the outside provides to the user most effective degrees of freedom for designing the in output circuit of the PLCcore F407 Therewith all in and outputs of the PLCcore F407 can be flexibly adjusted to respective requirements This implicates that the process image of PLCcore F407 is significantly conditioned by the particular user specific in output circuit Please contact our support employee if you are interested in this option support systec electronic com SYS TEC electronic GmbH 2015 Page 24 System Manual PLCcore F407 7 4 Communication interfaces 7 4 1 Serial interfaces PLCcore F407 features 3 serial interfaces 2 COMO This interface is used for communication between PC and PLC to allow for Configuration of module settings see section 11 Firmware updates see sec
55. ne This command has no parameters Example gt DEL PLC PROG Do you really want to delete the PLC program archive Ok gt O SYS electronic GmbH 2015 Page 53 System Manual PLCcore F407 11 2 14 DEL_NVDATA The command DEL_NVDATA deletes all data variables stored in non volatile memory area Once done this cannot be undone This command has no parameters Example gt DEL NVDATA Do you really want to delete the NVDATA archive y n y Ok gt 11 2 15 The command DIR allows you to see all available files saved in the Flash Files System This command has no parameters Example gt DIR File system directory hierarchy 0 7 plcdata PLCARCHV BIN 2320 Bytes PLCPDATA BIN 0 Bytes PC F407 cfg 317 Bytes gt 11 2 16 DUMP_FILE The command DUMP FILE prints out the contents the given file in hexadecimal or in ASCII text form Command DUMP_FILE lt FileName a gt Table 31 Parameter for command DUMP_FILE Parameter Attribute Description FileName Mandatory Path to the file that should be dumped a Optional Print file as ASCII output instead of hex dump SYS TEC electronic GmbH 2015 Page 54 System Manual PLCcore F407 Example gt DUMP FILE PC F407 cfg 00000000 5B 45 54 48 30 5D 49 70 41 64 64 72 3D 31 ETHO IpAddr 1 00000010 39 32 2 31 36 38 2E 31 30 2E 31 38 30 OD 0A 53 92 168
56. ngle cycles breakpoints and single steps simplify the development and commissioning of user software for this module 4 2 Electric commissioning of the Development Kit PLCcore F407 The Development Kit PLCcore F407 can be simply powered via USB P200 An external power adapter is only required for running the Development Kit PLCcore F 407 stand alone without connection to a Host PC An USB cable is already included in the Kit delivery For commissioning the Kit it is essential to use at least USB P200 for power supply and configuration via virtual serial interface see section 11 and depending on the firmware version either ETHO X200 for order number 3390095 or CANO P201A for order number 3390094 Table 2 provides an overview over the connections of the Development Kit PLCcore F407 Table 2 Connections of the Development Kit PLCcore F407 Connection Labeling on the Remark Development Board USB Power supply and P200 USB is used for COMO RS232 Power supply and Serial connection to run configuration shell e g setting CAN and IP configuration see section 11 Alternative X101 or X102 An external power supply 5 24V can be used Power Supply optionally for running the Development Kit PLCcore F407 stand alone without connection to a Host PC ETHO Ethernet X200 This interface serves as communication interface with the Programming PC and is necessary for the program download PLCcore F407 Z5 ord
57. ning driver setup SO 387 exe 2 Connect USB CANmodul to PC 10 2 Installation OpenPCS Programming System Step 1 e Start the OpenPCS setup program e g PS665e exe and follow the self explanatory instructions until the following dialog window appears OpenPCS Add Driver Utility Show target drivers from directory C DRIVERS Available target drivers v Show details Version Please select a driver cabinet file you wish to install Figure 19 OpenPCS Installation Setup Close the dialog in shown in Figure 19 by clicking on button Exit driver installation will be done with the SYSTEC OpenPCS Extension see Step 2 SYS TEC electronic GmbH 2015 Page 39 System Manual PLCcore F407 Step 2 e Start the SYSTEC OpenPCS Extension setup program e g SYSTEC OpenPCS Extension 665e 302 exe Follow the instructions of the install program e Inthe Select Components dialog select Standard Installation for SYS TEC Control Units and then click on button Next Which components should be installed Select the components you want to install dear the components you do not want to install Click Next when you are ready to continue Standard Installation for SYS TEC Control Units Programs and Files for SYS TEC Control Units SpiderControl HMI Editor Economy Version Standard Version Extended Version
58. nuals for all hardware components such as the ECUcore F407 and the PLCcore F407 the hardware of both modules is identical development boards and reference circuitry Software sided the PLCcore F407 is programmed with IEC 61131 3 conform OpenPCS programming environment There are additional manuals for OpenPCS that describe the handling of programming tools and SYS TEC specific extensions Those are part of the software package OpenPCS Table 1 lists up all relevant manuals for the PLCcore F407 Table 1 Overview of relevant manuals for the PLCcore F407 Information about Basic information about the PLCcore F407 configuration administration process image connection assignment firmware update hardware description et cetera Basics about the OpenPCS IEC 61131 programming system Complete description of the OpenPCS IEC 61131 programming system basics about the PLC programming according to IEC 61131 3 Command overview and description of standard function blocks according to IEC 61131 3 SYS TEC extension for IEC 61131 3 String functions UDP function blocks SIO function blocks FB for RTC Counter PWM PTO CANopen extension for IEC 61131 3 Network variables CANopen function blocks Textbook about PLC programming according to IEC 61131 3 In which manual In this manual Brief instructions for the programming system Entry OpenPCS Documentation in the OpenPCS program group of the start menu
59. on Driver for USB CANmodul 4 0000 neret 39 10 2 Installation OpenPCS Programming System 204000 0 39 10 3 Define Network 41 10 4 Assign Network Connection to 40 1 0 nennen 43 SYS electronic GmbH 2015 Page 4 System Manual PLCcore F407 11 Configuration Command Shell rrnnnnnnvvnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnnn 45 11 1 Entering the Configuration Command Shell 45 11 2 Command Description 47 112 1 GET DEV GONFI ripe be Ee rte tp eno Ree Pert ee teeth eee 47 11 2 2 SET IP CONF Giannena meme ine 48 11 2 3 SEI GANGONFIG annen te ene rt tp ene Re ne Pe Rt Hepat id EE 48 1432 4 SET CAN EBRBLEWV inet tener e En e Rp ee een 49 11 2 5 SET WDG petente tp eno Re ne Pe te ee Cepeda 50 11 2 6 SET SSDWL sn 50 CIIM CM NUMEN NEMORE 51 ee EE GE E 51 11 2 9 SET GRG MODE barene 52 11 210 GET LAST ERROR eiit ient a EUER RERO 52 14 211 PRINTS GEG JEILE inet tct eR EROR eee Segna 53 11 2 12 DEL GEG FILE Ss ctn UR SUERTE REA Ces ERRORI IURE 53 11 2 19 DEL PEC PBROQ re d repro a t RENTES 53 11 214 in ntm ERR
60. only the amount of objects amount of network variables and PDOs is strongly specified in the static object dictionary Consequently application and characteristics of objects can be modified during runtime For this reason at interface the PLCcore F407 acts as a CANopen I O device Note CAN1 cannot be used while CANO is disabled Hence to use it is necessary to enable CANO All network variables of the PLC program are available through the marker section of the process image Therefore 252 Bytes are usable as input variables and also 252 Bytes as output variables To enable any data exchange with other CANopen I O devices the section of static network variables is mapped to different data types in the object dictionary BYTE SINT WORD INT DWORD DINT Variables of the different data types are located within the same memory area which means that all variables represent the same physical storage location Hence a WORD variable interferes with 2 BYTE variables DWORD variable with 2 WORD or 4 BYTE variables Figure 9 exemplifies the positioning of network variables for CAN1 within the marker section CAN1 Input Variables CANI 2 CANI INO N1 N2 IN3 IN4 5 ING 244 IN245 1 246 1 247 1 248 1N249 1 250 51 MB MB MB MB
61. press Connector Tyco order number 1717831 JAE name 56 pol Mini PClexpress Connector JAE order number MM60 52B1 E1 R650 is also recommended to use spacers to fix the module onto the baseboard They are also available from company JAE JAE name Spacer JAE order number NT4R1600 zNEE HERE ENE m ma IN uum nul a A ie dnne Ems Ss SYS TEC electronic GmbH 4345 1 ECUcore STM32 Figure 5 Footprint of the PLCcore F407 SYS TEC electronic GmbH 2015 Page 18 System Manual PLCcore F407 Figure 6 Pinout of the PLCcore F407 top view Figure 6 exemplifies the position of the pin card edge connectors X200 and X201 on the PLCcore F407 The figure below shows the mapping between the connectors of the ECUcore F407 and the Development Kit PLCcore F 407 Core Modul PLCcore F407 Baseboard PLCcore F407 Figure 7 Connector Mapping between PLCcoreF407 and ECUcore F407 A complete connection assignment of this module is listed up in Table 11 Table 11 Connections of the PLCcore F407 completely sorted by connection pin
62. puts either is locally extendable or decentralized via CANopen devices For this purpose the CANopen Chip is suitable It has also been designed as insert ready core module for the appliance in user specific applications The PLCcore F407 provides 24 digital inputs DIO DI23 3 3V level 22 digital outputs DOO DO21 3 3V level 2 high speed counter input with 1 direction and 1 input each and 2 PWM output 3 3V amplitude This default configuration can be adapted for specific application requirements by SYS TEC please contact support systec electronic com if you are interested in this option Saving the PLC program in the on board Flash Disk of the module allows an automatic restart in case of power breakdown Programming the PLCcore F407 takes place according to IEC 61131 3 using the OpenPCS programming system of the company infoteam Software GmbH http www infoteam de This programming system has been extended and adjusted for the PLCcore F407 by the company SYS TEC electronic GmbH Hence it is possible to program the PLCcore F407 graphically in KOP FUB AS and CFC or textually in AWL or ST Downloading the PLC program onto the module takes place via Ethernet or CANopen depending on the firmware that is used Addressing in and outputs and creating a process image follows the SYS TEC scheme for compact control units Like all other SYS TEC controls the PLCcore F407 supports backward documentation of the PLC program as well as
63. r for command SET_CAN_CONFIG Values Desorption 0 gt Interface number for CAN interface 1 gt CAN1 Enables or disables the CAN interface NodelD Optional 1 0x7F Node ID i e 0x21 CAN bus baud rate i e 500 Bitrate Optional 20 50 100 125 250 500 1000 MstMode Optional Master mode on off Example SET CAN CONFIG 0 on 32 1000 off OK 2 11 2 4 SET CAN ERRLEV The command SET CAN ERRLEV sets the error level for saving CAN errors in the Error Log of the PLC This Error Log can be uploaded if the PLCcore F407 is online connected to the OpenPCS Programming System Command SET CAN ERRLEV IfNum ErrorLevel Table 26 Parameter for command SET CAN EHRLEV Parameters Attribute Values Description IfNum Mandatory 0 gt CANO Interface number for CAN interface 1 gt 1 ErrorLevel Mandatory no No CAN errors are logged in the Error Log heavy Only heavy occurring errors i e BusOff are logged in the Error Log all All occurring CAN errors are logged in the Error Log Example gt SET CAN ERRLEV 1 all Ok gt O SYS TEC electronic GmbH 2015 Page 49 System Manual PLCcore F407 11 2 5 SET_WDG_MODE The command SET WDG MODE is used to define the behavior of the on board watchdog of the PLCcore F407 Command SET WDG MODE WdgMode Table 27 Parameter for watchdog
64. s are referring to the supplied baseboard of the PLCcore F407 9 1 General Jumpers The general configuration of the PLCcore F407 is done using the JP112 connector This connector is used to enable or disable the push buttons LED s and the analog input Figure 12 shows the position of JP112 Additionally this figure is also showing the position of the push buttons the LED s and the analog input represented by the potentiometer Figure 12 Positon of JP202 and JP212 for serial output JP112 consists of 10 jumpers mapped as follows Table 23 General jumper mapping LEDO LED3 JP101 JP104 SWO SW3 JP105 JP108 AIN Potentiometer JP110 Current Sense JP111 All jumpers are set by default So all push buttons LED s and analog inputs are enabled In order to disable a specific feature e g push button SW2 requires removing the corresponding jumper JP107 for SW2 SYS TEC electronic GmbH 2015 Page 35 System Manual PLCcore F407 9 2 Serial Output The serial interfaces of the PLCcore F407 are controlled by JP212 COM1 and COM2 are additionally controlled by JP202 The positions of the corresponding jumpers are marked in the Figure 13 2 2 ex Micro SD Card 4 E Figure 13 Position of JP202 and JP212 for serial output SIOO refers to the UART USB Bridge COMO which is the default interface for the configuration shell and can be used for user output during
65. source Step1 Select PLC gt Resource Properties from the OpenPCS main menu Choose SYSTEC PLCcore F407 Z4 339000094 Z4 for the Hardware Module setting and the Network Connection UDP 192 168 10 180 which has been created in the previous section Edit Resource Specifications 5 5 PLCcore F407 Z5 3390095 Z5 Name RunLight Options Hardware Module Enable Upload SYSTEC PLCcore F 407 25 3390095 25 m Incl Library Functions Network Connection Download Symbol T able UDP 192 168 10 180 Optimization DCE Fa Normal vi ed E Cancel Figure 26 Resource Properties Confirm the settings by clicking OK SYS TEC electronic GmbH 2015 Page 43 System Manual PLCcore F407 Step2 e Use either the entry PLC gt Rebuild Active Resource from the main menu or click at the appropriate icon as shown in the screen snapshot infoteam OpenPCS 2008 C ProgramDatalinfoteam Software OpenPCS2008 Samplea SYSTEC RunLigh Runlightvar startup htm ee E Edt view PLC window 1 FG Online eB Project RUNUGHT 293 5 A Sie Build Active Resource FT Foteam Software OpenPCS2008 SPLHTM startup htm ij Rebuild Active Resource NCTRL F7 TYP EST n Buses Rebuild All Resources lt PL 5 6
66. the debug functionality including watching and setting variables single cycles breakpoints and single steps SYS TEC electronic GmbH 2015 Page 10 System Manual PLCcore F407 4 Development Kit PLCcore F407 4 1 Overview The Development Kit PLCcore F407 is a high capacity complete package at a particularly favorable price Based on a compact PLC it enables the user to perform decentralized network compatible automation projects Moreover it facilitates the user to get to know the advantages of graphical and textual PLC programming according to IEC 61131 3 compared to conventional programming languages Figure 2 Development Kit PLCcore F407 The Development Kit PLCcore F407 ensures quick and problem free commissioning of the PLCcore F407 Therefore it combines all hard and software components that are necessary to create own applications the core module PLCcore F407 the corresponding Development Board containing I O periphery and numerous interfaces the OpenPCS IEC 61131 programming system as well as further accessory Thus the Development Kit forms the ideal platform for developing user specific applications based on the PLCcore F407 It allows for a cost efficient introduction into the world of decentralized automation technology All components included in the Kit enable in and output extensions of the PLCcore F407 through CANopen l O assemblies Thus the Development Kit may also be used for projects that require PLC
67. tion 8 PLC program download and debugging Art no 3390093 only On the Development Kit PLCcore F407 the interface 5100 is tunneled via USB on connector P200 COM1 This interface can be used freely for general operation of the user program 2 This interface can be used freely for general operation of the user program 7 4 2 CAN interfaces The PLCcore F407 features 2 CAN interfaces CANO and 1 CAN interfaces allow for data exchange with other devices via network variables and they are accessible from a PLC program via function blocks of type CAN_Xxx see section 7 7 and User Manual CANopen Extension for IEC 61131 3 Manual no L 1008 Section 7 7 provides detailed information about the usage of the CAN interface in connection with CANopen 7 4 3 Ethernet interfaces The PLCcore F407 features 1 Ethernet interface It serves as service interface to administer the PLCcore F407 and enables data exchange with other devices The interface is accessible from a PLC program via function blocks of type LAN Xxx see manual SYS TEC specific Extensions for OpenPCS IEC 61131 3 Manual no L 1054 7 5 Specific peripheral interfaces 7 5 1 Counter inputs The PLCcore F407 features 2 fast counter inputs CO and C1 Prior to its usage all counter inputs must be parameterized via function block CNT FUD see manual SYS TEC specific Extensions for IEC 61131 3 Manual no L 1054 Afterwards
68. tputs Please note that the PTO becomes more inaccurate the higher the frequency is Hence it is not recommended to use the PTO with a frequency higher than 77 kHz Table 17 Characteristics of PWM PTO output Pulse Width Modulation PWM 32 Bit 65535 ms 15 mHz 2 us 500 kHz Pulse Train Output PTO 16 Bit 65 ms 15384 mHz 13 us 77 kHz SYS TEC electronic GmbH 2015 Page 26 System Manual PLCcore F407 7 6 Control and display elements 7 6 1 Run LED green The module connection Run LED see Table 11 is designed for connecting a Run LED This Run LED provides information about the activity state of the control system The activity state is shown through different modes Table 18 Display status of the Run LED LED Mode PLC Activity State Off The PLC is in state Stop e the PLC does not have a valid program e the PLC has received a stop command from the OpenPCS programming environment or e the execution of the program has been canceled due to an internal error Quick flashing in The PLC is on standby but is not yet executing relation 1 8 to pulse The PLC has received start command from the OpenPCS programming environment but the local Run Stop switch is still positioned to Stop Slow flashing in The PLC is state Run and executes the PLC program relation 1 1 to pulse Quick flashing in The PLC is in mode Reset relation 1 1 to pulse 7 6 2 Error LED red
69. uires basic knowledge about CANopen In a CANopen network exchanging PDOs only takes place in status OPERATIONAL If the PLCcore F407 is not in this status it does not process PDOs neither for send site nor for receive site and consequently it does not update the content of network variables The CANopen Manager is in charge of setting the operational status OPERATIONAL PRE OPERATIONAL etc mostly also called CANopen Master In typical CANopen networks a programmable node in the form of a PLC is used as CANopen Manager The PLCcore F407 is optionally able to take over tasks of the CANopen Manager As CANopen Manager the PLCcore F407 is able to parameterize the CANopen I O devices CANopen Slaves that are connected to the CAN bus Therefore upon system start SDO it transfers DCF files generated by the CANopen configurator to the respective nodes 7 7 1 CAN interface CANO Interface CANO features a dynamic object dictionary This implicates that after activating the PLC the interface does not provide communication objects for data exchange with other devices After downloading a PLC program or its reload from the non volatile storage after power on the required communication objects are dynamically generated according to the DCF file which is integrated in the PLC project Thus CAN interface CANO is extremely flexible and also applicable for larger amount of data For the PLC program all network variables are declared
70. ushbutton BOOT set the PLCcore F407 in update mode the following sequence is necessary 1 Press pushbutton HESET and hold it down 2 Press pushbutton BOOT while RESET is still down 3 Release pushbutton RESET while BOOT is still down 4 Release pushbutton BOOT To update the firmware you have to extract the firmware package to a directory of your choice The package contains at least the update tool and a hex file containing the new firmware Include in library Share with Burn New folder Name Date modified Type Size flash 06 03 2014 12 47 Windows Batch File 1 KB ls plccore f407 z5 hex 07 03 2014 14 45 HEX File 933 KB ICES _ protocol pdf 04 05 2011 12 06 PDF File 502 KB stmiolash D 18 04 2012 14 55 Application 105 Figure 10 Content of firmware package If the firmware package contains a file called flash bat you can update the firmware by executing this file Otherwise you need to open a command shell and navigate to the directory containing the extracted files In this case the update process is started by entering the following line in your command shell stm32flash exe e 60 v b 115200 w lt hex file name gt COM num SYS TEC electronic GmbH 2015 Page 33 System Manual PLCcore F407 For example the following command line programs the firmware hex file plccore f407 25 hex via COMS COMS at Host PC to the PLCcore F407 stm32flash exe e 60 v b 115200 w plccore
Download Pdf Manuals
Related Search
Related Contents
OPERATING INSTRUCTIONS English Vector 1850 E Satellite Pro C70-B PSCNRA PLENÁRIO - Tribunal de Contas da União Operating and Service Manual Garmin Dakota 10 Quick Start Manual PDF, 1,4 MB Manuel d`installation de l`application Vitamin version 1.1 Ce eSense - Swissvoice.net Philips 55PFL4308K 55" Full HD 3D compatibility Black Copyright © All rights reserved.
Failed to retrieve file