Home

EPC-1800 Series EPC-1800 Series User Manual

image

Contents

1. 34 TPA SEE EPC 1800 Series User Manual 7 3 HARDWARE INITIALIZATION 3 ET ehe ee ED De MD EO OR e ONERE 34 7 2 BBRARY Ye c EE caves disuse arre ved ae 34 7 3 MOTIONNET MASTER 35 7 4 DERINITION 35 7 5 PLATFORM FUNCTIONS 36 7 5 1 Platform Information 2 E ES 36 7 2 2 Platform ER PEE ee 42 7 5 3 Motionnet Related 8 442002000 000 000000010000000000000000000000000000 48 7 5 4 Platform AES Functions 52 7 59 Platform Retain ice ecc t 57 8 APPENDIX 64 8 1 ERROR CODE LIST TABLE d vet Eu ra E a E ey ee sa t era dies 64 8 2 THE MOTION ERROR CODELIST TABLE tiene pe toan i chapa
2. ACTUATOR WIRE SAVING LONG DISTANCE Figure 3 2 wire saving and long distance support TPM SSE EPC 1800 Series User Manual Incyclic communication a communication cycle is as follows when 20 Mbps speed is selected Number of local devices Communication cycle Remarks 8 0 12 ms If all of the local devices connected are I O devices 256 I O points can be used 16 0 24 ms If all of the local devices connected are I O devices 512 I O points can be used 32 0 49 ms If all of the local devices connected are I O devices 1024 I O points can be used 64 0 97 ms If all of the local devices connected are I O devices 2048 I O points can be used If a different number of local devices are connected or when the communication cycle is interrupted by data communications refer to the calculation formulas in the user s manual to calculate the time latency B CYCLE TIME 64 Slaves 1 04ms 1 04ms 0 56ms 32 512 DI 512 DO 1024 01 1024 DO gt Slave Module e x 64 Slave 64 NODE On 20Mbps Max Cycle Time 15 1 x NODE 71 4 FIFO Time in us HIGH SPEED TIME DETERMINISTIC Figure 3 3 high speed and time deterministic suppo
3. 65 SN TPM SSE 1800 Series User Manual 1 Introduction Utilizing the DMP Vortex86DX chipsets EPC 1800 series is a compact size and powerful PAC Programmable Automation Controller EPC 1800 provides features including a Motionnet master a USB interface 10 100T Ethernet LAN port and a local DIO interface EPC 1800 with its fanless design offers noise free ultra reliable operating in the most demanding of industrial environments Motionnet is a high speed serial communication system a digital serial control interface for communication between host algorithm and axis controllers input output I O devices and other devices The EPC 1800 is an ideal system for industrial automation machine automation and motion control markets 1 1 Overview Figure 1 1 overview of the EPC 1800 gt TPA SS EPC 1800 Series User Manual 1 2 Hardware Specifications CPU Memory Operating System D SUB Male Connector USB Motionnet Ethernet Power Requirements DIO Isolation 2 5K VDC Storage DMP Vortex86DX 800MHz SDRAM 256MB DDR2 WinCE 5 0 softPLC version WinCE 6 0 programming version EPC 1800 D SUB 26 Male Connector x1 RS422 RS485 COM1 RS232_9P 2 RS232 COM3 RS232 3P EPC 1801 amp EPC 1821 RS232 3P COMI RS422 RS485 COM2 x USB 2 0 Motionnet Master x 1 EPC 1800 EPC 1801 Motionnet Master x 2 EPC 1821 1 x RJ45 for 10 1
4. Type Description Range U8 8 bit ASCII character 0 to 255 16 16 bit signed integer 32768 to 32767 U16 16 bit unsigned integer 0 to 65535 132 32 bit signed long integer 2147483648 to 2147483647 U32 32 bit unsigned long integer 0 to 4294967295 32 bit single precision F32 3 402823E38 to 3 402823E38 floating point 64 bit double precision F64 1 797683134862315 308 to 1 797683134862315E309 floating point Boolean Boolean logic value TRUE FALSE 35 TN SE EPC 1800 Series User Manual 7 5 Platform Functions 7 5 1 Platform Information Functions Function name Description Initialize EPC 1800 platform Retrieve the type of the platform It will return EPC 1800 for this case _ezpac_initial ezpac_get_device_type _ezpac_beep Set the buzzer on for specified time _ezpac_beep_start Turn on or off the buzzer ezpac_read_rotary_switch_1 Read the number of the rotary switch 36 SSE EPC 1800 Series User Manual 7 5 1 1 ezpac initial Description Initialize EPC 1800 platform Syntax I16 ezpac initial Argument None Return PLATFORM The API is successfully returned Others Please refer to the error code table at Appendix A 37 r N SE EPC 1800 Series User Manual 7 5 1 2 ezpac get device type Description Retrieve the type of the platform It will return
5. DeviceApplication Microsoft dio 10 File Edit View Refactor Project Build Debug Data Tools Test Window Community Help Gly 29 d dil sj m 5 Attach to Process S5 Fall an 2 Solution Explorer Solution DeviceAppli e EE ES 9 od Solution DeviceApplicationl 1 project El FE DeviceApplicationl Properties 1 References ES Forml cs ct Program cs iiL Code Snippets Manager Ctrl B Choose Toolbox Items Add in Manager Macros Create GUID Dotfuscator Community Edition External Tools Performance Tools ag Device Emulator Manager Find Results 1 Import and Export Settings Seem Figure 6 4 tools options 3 Configure the target device IP address It is necessary to configure the target IP address before making a connection This could be done through Device Tools Devices from the option window as the 1 step in Figure 6 5 4 Select the target device EPC 1800 for this example as marked as 274 step in Figure 6 5 and hit the Properties button as the 3 step 5 The EPC 1800 properties dialog will be popped up Click the Configure button to configure as the 4 step in Figure 6 5 6 Specify the target IP address and click OK button to finish the configuration proce
6. ezpac verify aes key 52 TN SS EPC 1800 Series User Manual 7 5 4 1 spc2 get secure id Description Get the SECURE ID of the system in 8 bytes array format Syntax ezpac get secure id U8 SecureID 8 Argument Pointer to an 8 byte array indicating the Secure ID If Secureld is input U8 SecureID 8 not null the data read from security ASIC will be used to generate AES_KEY Return PLATFORM_NoError The API is successfully returned Others Please refer to the error code table at Appendix A 53 r TN SS EPC 1800 Series User Manual 7 5 4 2 ezpac generate aes key Description Generate the AES KEY with SI KEY and SECURE ID Syntax ezpac generate aes key U8 51 Key 16 U8 SecureID 8 US AES Key 16 Argument Pointer to a 16 element byte array indicating SI key Every output U8 SI KEY 16 element is an integer ranged from 0 to 9 output U8 Secureld 8 Input the 8 byte array indicating the Secure ID input U8 16 The generated AES_KEY in 16 byte array format Return PLATFORM_NoError The API is successfully returned Others Please refer to the error code table at Appendix A 54 TN SS EPC 1800 Series User Manual 7 5 4 3 ezpac verify aes key Description Check the validity of the generated AES KEY Syntax ezpac verify aes
7. 2 NC Reserved 3 RS485 Motionnet protocol 8 4 NC Reserved 5 NC Reserved 6 RS485 Motionnet protocol 7 NC Reserved 8 NC Reserved Table 2 4 pin definition of the Motion Ring 4 SS EPC 1800 Series User Manual 2 3 5 RS1 Rotary switch The rotary switch on the EPC 1800 series controller is for specifying the application executable to be brought up when system is up and running 0 is default and no application will be running 1 is for MyConfig server and 2 is for MyLink server 3 and 4 are reserved for MULTIPROG related settings 5 and 6 are available for users to set when the user application needs to be running when system is up Via MyConfig can configure the auto execution settings RS1 value Operating Mode Details 0 MyConfig Server Mode Set default IP address 192 168 1 100 1 MyConfig Server Mode 2 MyLink Server Mode 3 Backup Backup whole system to CF card 4 Restore System restore from CF card 5 User define Set user application via MyConfig 6 User define Set user application via MyConfig 7 KW Mode Modbus Slave over RTU Cold 8 KW Mode Modbus Slave over RTU Stop 9 KW Mode Modbus Slave over RTU Warm A B D E F KW Mode Modbus Slave over TCP Cold KW Mode Modbus Slave over TCP Stop KW Mode Modbus Slave over TCP Warm KW Mode Cold KW Mode Stop KW Mode Warm 14 a TPM SSE 1800 Series User Manual 3 Motionnet Introduction 3 1
8. New devices can be added to the system on the fly Systems can be isolated using pulse transformers Transfer speed up to 20 Mbps TPM SSE 1800 Series User Manual Maximum 64 slave devices for each serial line on a master device I O control of up to 256 ports 2048 points motion control of up to 64 axes and LSI control of up to 128 devices and status communication time for each device when inputting outputting and reading status data for each device the system automatically refreshes the center device RAM each communication cycle Cyclic communication 15 1 device When 32 local devices are connected 1024 points of I O 0 49 msec When 64 local devices are connected 2048 points of I O 0 97 msec Data communication time cyclic communication can be interrupted with a command from the CPU Data communication time 19 3 usec to send or receive 3 bytes e g when writing feed amount data to the G9003 Data communication time 169 3 to send or receive 256 bytes Serial communication connection cable Multi drop connections using LAN cables or dedicated cables Total cable length of one line 100 m 20 Mbps 32 local boards 10 Mbps 64 local boards Cable length between local boards 0 6 m or longer 3 3 Advantage of Motionnet Itis possible to connect from center to terminal controller parts by one cable E re Motion NET ig m E tu
9. Definition Digital output 3 Digital output 4 Digital output 7 20 Omm 28 xps Remix RXD3 DI7 Digital input 7 Pin No 9 22 23 2 25 26 Definition DI6 DIO GND Description Digital input 6 Digital input 5 Digital input 4 RS422 485 R RS422 485 R RS422 485 T RS422 485 T Grounding for RS422 Else for RS485 Digital input 3 Digital input 2 Digital input 1 Digital input 0 Ground Table 2 2 pin assignment of DI O interface of EPC 1801 and EPC 1821 DIO DI7 Internal Curcuit cesses Figure 2 7 DI NPN logic circuit of EPC 1801 and EPC 1821 DO0 DO3 Figure 2 8 DO0 DO3 NPN logic circuit of EPC 1801 and EPC 1821 5 lt 5 INDUCTOR 4 1800 Series User Manual 004 007 5 o 10mA exo i 0 Internal e e 2 a Vibes RS422 gt RS485 Ko Cn in ema RM LL Figure 2 10 RS422 RS485 wiring illustration of EPC 1801 and EPC 1821 Note that the option signal needs to be connected to GND for using of RS422 2 3 3 Side 24V DC Input Pin No Definition Description 1 24V 24V DC power input 2 GND Ground 3 Frame ground Table 2 3 power connector pin definition 2 3 4 Motionnet Interface Pin Pin Mark Pin Description 1 Reserved
10. 2 3 PIN ASSIGNMENT FOR EACH CONNECTOR Fu vaa c Va 11 2 3 1 CNT ot BPC 1800 ERE HISP IEEE E HIN d ies 11 2 3 2 of EPC 1801 and 1821 nnn 12 2 5 9 S106 24V DC 13 2324 Motionnet 13 3 MOTIONNET INTRODUCTION ssis ssccsssscccscdc ccvsesccatcectaecoscedevesaecduesccetsvacaustsdescusvcecsvecdedenssavceosuacdabevestavsvscseouveduavaved ensuscecnssvesees 15 3 3 WHAT 15 dupa da 15 3 2 MOTIONNET FUNCTIONS 1a eise edes Oe v eed ade Ree Sa oiv 15 3 3 ADVANTAGE OF ete T ka vau uM vo RV ey Ve Fue EUR 16 4 lt D M 18 MV CONFIG 5 18 4 1 1 Server on 1 800 18 41 2 PC side Settings serre tote boten ete i RE C ted qid pane eas 18 5 PROJ
11. What Is Motionnet Motionnet is a super high speed serial communication system The G9000 devices provide input output I O control motor control CPU emulation and message communication with high speed serial communications up to 20Mbps all of which are required by current Factory Automation techniques Motionnet always transfers 4 bytes of data in 15 1 using cyclic communication to control input and output While this data is being transferred it can communicate a maximum of 256 bytes such as motor control data and the LSI controls the data transmission using interrupts Communication times can be calculated using formulas allowing users to see that Motionnet guarantees the real time oriented support needed by FA industries 3 2 Motionnet Functions ST G9001A equipped Serial communications 20 bps RS 485 half duplex multi drops pulse transformer center device 100m max 64 devices max Figure 3 1 Motionnet system architecture Provides a communication protocol based on the RS485 standard Can communicate variable length of data from 1 to 128 words when a 16 bit CPU is used An LSI central device G9001 controls the bus wiring can be greatly reduced by using G9002 I O device Motor control wiring can be reduced by using a G9003 PCL Using a G9004 CPU emulation device reduces the wiring for general devices connected to a CPU Data can be exchanged between CPUs by changing the G9004 mode
12. the algorithm specified herein will be referred to as the AES algorithm The algorithm may be used with the three different key lengths indicated above and therefore these different flavors may be referred to as 5 128 AES 192 and 5 256 Since the AES encryption decryption algorithm is not the main function of EPC 1800 the detailed introduction is not introduced in this manual Please refer to Wikipedia for more information 5 3 Functional Architecture Each EPC 1800 is equipped with an identification chip that has a unique serial number The unique serial number plays the role as the content for AES algorithm We will call the unique serial number the hardware 14 from now on Another key held by the system integrator is called the SI key used for encryption decryption for the AES algorithm to make the registration key The illustration of the making of the registration is as the following figure 25 NE EPC 1800 Series User Manual SmartPAO amp Figure 5 1 generation of the registration key From the above figure the hardware id is obtainable within EPC 1800 taken as the content for the AES algorithm The SI key hard coded by the system integrator is the key to calculate the output value and registration key The registration key is like the activation code to activate the full functionalities of the EPC 1800 and it is not invertible Even though the whole data inc
13. List Ready Ln 100 Col 12 Ch9 Figure 6 7 the debugging window 33 a TPM SSE 1800 Series User Manual 7 Function Reference 7 1 Hardware Initialization The program starts with initialization of the EPC 1800 hardware If the system needs to use the Motionnet functions it is necessary to link the library by calling _ezpac_link_mnet After linking the library users also need to do a reset and start the Ring by calling _mnet_reset_ring ring_number and _mnet_start_ring ring_number correspondingly Initialize EPC 1800 _ezpac_initial Need Motionnet Link Motionnet Lib _ezpac_link_mnet Figure 7 1 hardware initialization interface 7 2 Library Initialization Motionnet library can be initialized by hardware the device driver library call With the Linkage between the hardware and function library the user can use different types of communication masters by the same software interface User Application Process Motionnet DLL Hardware Driver DLL Figure 7 2 library relationship 34 SS EPC 1800 Series User Manual 7 3 Motionnet Master The operation of Motionnet extension is divided into the following 2 groups One is the Motionnet master device the other is the slave device Last slave module needs Terminator setting NO 1 NO Last lt gt Figure 7 3 illustration of master slave 100 Meters 7 4 Data Definition
14. and the SDK machine are in the same network subnet SmartPAC is the server of the running application and connected with the SDK machine to achieve online debugging The Sequence to establish a connection to the EPC 1800 will be introduced next 6 2 2 Create a New Project When create a new EPC 1800 project please select Smart Device gt Windows CE 5 0 as the project type as shown in the follow figure 28 EPC 1800 Series User Manual El Visual Visual Studio installed temp D Windows Office E Smart Device Library Pocket PC 2003 T Empty Project Smartphone 2003 a BE Windows CE 50 E Database My Templates _jJSearch Online Templates Figure 6 2 select Windows CE 5 0 as the project type Go to the properties of the project and uncheck the checkbox of Deploy the latest version of NET Compact Framework including Service Packs as shown below Application Build Build Events Debug Resources Reference Paths Sieni Code Analysis Figure 6 3 uncheck the checkbox highlighted 6 2 3 Connect to EPC 1800 There are several steps to establish a connection to EPC 1800 1 Open the sample project for EPC 1800 Example C TPM EPC 1800 Samples VS2005_VC Platform_demo VC Platform_demo sIn 2 Configure the device option by selecting Tools gt Options in the function menu 29 TPM SE EPC 1800 Series User Manual
15. at Appendix A 59 r N SSE EPC 1800 Series User Manual 7 5 5 3 _ezpac_read_fram_dword Description Read a double word data from a retainable memory Syntax _ezpac_read_fram_dword U16 Offset U32 Val Argument output U16 Offset Specify the offset the retainable memory input U32 Val Return the value of the retainable memory Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 60 r TN SS EPC 1800 Series User Manual 7 5 5 4 ezpac write fram byte Description Write a byte data to a retainable memory Syntax ezpac write fram byte U16 Offset U8 Val Argument output U16 Offset Specify the offset the retainable memory output U8 Val Set the value of the retainable memory Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 61 TN SSE EPC 1800 Series User Manual 7 5 5 5 ezpac write fram word Description Write a word data to a retainable memory Syntax ezpac write fram word Ul6 Offset U16 Val Argument output U16 Offset Specify the offset the retainable memory output U16 Val Set the value of the retainable memory Return PLATFORM NoError The API is successfully returned Ot
16. code table at Appendix A 45 TN SS EPC 1800 Series User Manual 7 5 2 4 set led3 Description Set the status of LED 2 Syntax I16 _ezpac_set_led3 U8 OnOff Argument output U8 Data Set the value of LED 2 Return PLATFORM NoError Others The API is successfully returned Please refer to the error code table at Appendix A 46 r N SSS EPC 1800 Series User Manual 7 5 2 5 ezpac read lio Description Read local DI Syntax ezpac read lio U8 Val Argument input U8 Val Return the status of local DI Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 47 TN SE EPC 1800 Series User Manual 7 5 3 Motionnet Related Functions Function name Description _ezpac_link_mnet Activate the Motionnet master ezpac get mnet baud rate Get the baud rate of the Motionnet master ezpac set mnet baud rate Set the baud rate of the Motionnet master 48 r TN SSE EPC 1800 Series User Manual 7 5 3 1 ezpac link mnet Description Activate the Motionnet master Syntax ezpac link mnet Argument None Return PLATFORM The API is successfully returned Others Please refer to the error code table at Appendix A 49 PM
17. key U8 SI Key 16 U8 AES Key 16 08 Validity Argument Pointer to a 16 element byte array indicating SI key Every output U8 SI KEY 16 element is an integer ranged from 0 to 9 output U8 16 Input the 16 byte array indicating the AES_KEY input U8 Validity The result of the checking 0 invalid 1 valid Return PLATFORM_NoError The API is successfully returned Others Please refer to the error code table at Appendix A 55 SS EPC 1800 Series User Manual AES Key Example U8 SID 8 U8 SIK 16 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 every element is an integer ranged from 0 to 9 U8 AesKey 16 U8 Validity Generate AES Key _ezpac_initial ezpac_get_secure_id SID _ezpac_generate_aes_key SIK SID AesKey Check AES Key ezpac_verify_aes_key SIK AesKey ref Validity Secure ID Array 09 Ib f6 05 00 00 05 7 6 5 4 3 2 101 SI Key Array 1 2 3 4 5 6 7 amp 9 0 1 2 3 4 5 6 15 14 13 12 9 8 7 6 5 A I2 IO 9507 f73e 8bb9 5a78 d4a7 48dc bb4a 537b 1151014 3112 11 10 1918 7161 5141 312 1 0 56 SS EPC 1800 Series User Manual 7 5 5 Platform Retain Fu
18. not match the system could only run a certain time or some advanced functions become locked Only with the correct activation code can you bring the system up with full functionalities and unlimited running time 26 PA SE 1800 Series User Manual 6 Software Development Environment 6 1 System Requirements The sections below describe the system and software requirements for developing EPC 1800 applications Note that the programming using C C C needs to check the following settings for the environment If the programming is through KW MULTIPROG please refer to MULTIPROG programming manual 6 1 1 Hardware Requirements Processor 1 GHz RAM 256MB Available hard disk space 3GB 6 1 2 Software Requirements Operating system Microsoft Windows XP 7 SDK Microsoft Visual Studio 2005 Need service pack 1 and NET compact framework 2 0 service pack 1 installed SDK Microsoft Visual Studio 2008 Need service pack 1 installed If there are connection problems on online debugging please copy the 5 online debug files from developing PC to EPC 1800 and try again Once the files are copied to the specified location on EPC 1800 it will be copied to folder Windows automatically after restarting the system The location of the online debug files would be located at described below Windows XP 7 32 bit OS source as shown in figure 7 1 C Program Files Common Files microsoft shared CoreCo
19. update completed EPC 1800 needs to reboot to apply new software amp 1 Information i o Update completed Figure 4 11 update complete dialog 4 1 2 4 AES Code Keyl8 15 4 Keyl Hex only Secure ID 6600002 26 14 09 Get Secure ID Keyl8 15 4 Keyl Decimal only SI Key AES Key Generate Figure 4 12 dialog window for generating AES key Secure ID display the hardware id of the EPC 1800 Moreover the system integrator caninput the hardware id of other EPC 1800 in the Secure ID text box to generate the corresponding AES key EPC 1800provides an AES key encryption mechanism to protect our customers The SI key is supposed to be 16 numeric digits If the SI key is not 16 digits or it contains non numeric digits an error message will show up as the figure below 22 TPM SSE EPC 1800 Series User Manual 15 Keyld Keyl Hex only Secure ID 6600002 6 14209 Get Secure ID 16 15 4 Keyl Decimal only SI Key 1234567890123456 AES Key Figure 4 13 insufficient digits 4 1 2 5 Modbus Parameter The Modbus Parameters page lets users edit Modbus related parameters for KW applications of EasyPAC Modbus requires settings of slave ID TCP and RTU parameters MyConfig provides sets of default settings in advance Users can change the settings and press the
20. 0 Series User Manual Information CPLD Version 44 Hex SOC Type VortexS6DX OS Version 12 803 0 1 CPU Version 5 Figure 4 3 Hardware basic information Settings IP Address 192 168 1 000 1 Subnetmask 255 255 255 0 Save Gateway 921681 8 Admin Password Re Enter Password 1 Save User Password Re Enter Password Save Date Figure 4 4 change settings of IP subnet mask gateway admin and guest password Note that only if the user is in the same network section can they change the EPC 1800 IP address The IP address subnet mask and gateway settings can be saved if the Save button is hit This save will take effect after restarting the system The admin and guest password will change immediately when new a password is input and Save button is pressed 4 1 2 3 Update It provides an online software update Please make sure the PC is connected to the internet before an online update If the Check for Updates button is pressed it will show up the software versions on EPC 1800 and user s PC at the top half At the bottom half it shows the latest software versions provided from TPM File UpdateInfo xml Figure 4 5 connect to FTP server The upper frame shows information including 1 PC side version 2 EasyPAC side version and 3 the latest version in FTP site If the older version displays 2 2741 means that there is one or more compone
21. 00T based LAN 24V DC 300mA Power consumption 5W 4 channel input EPC 1800 8 channel input 8 channel output EPC 1801 EPC 1821 2GB onboard flash memory with operating system occupied 1 3 Motionnet Compatible Devices EPC 1800 equipped Motionnet chipsets which is designed for users to quickly and easily develop applications such as motion control and controls of I O EPC 1800 and EPC 1801 have 1 Motionnet master and EPC 1821 has 2 Motionnet masters equipped Motionnet is a new series of products designed for versatile automation applications especially with motion control requirements The built in Motionnet will be introduced later TPM SE 1800 Series User Manual 2 Dimensions and Interfaces EPC 1800 series provides necessary input output I O interfaces Besides often used serial communication ports there are user friendly interfaces including LAN and USB In this section the function and pin definition of these interfaces will be illustrated 2 1 Mechanical dimensions for all types EPC 1800 Dimension 28 50 46 50 13 25 124 Unit mm n 131 _ Figure 2 1 dimensions 4 SSE 1800 Series User Manual 2 2 Interfaces The interface arrangement of EPC 1800 and EPC 1801 are introduced by the following figures y LAN x RS1 CN1 USB Motionnet Figure 2 2 main interfaces of EPC 1800 and EPC 1801 24V DC Fi
22. 93 NE 1800 Series User Manual 7 5 3 2 ezpac get mnet baud rate Description Get the baud rate of the Motionnet master Syntax ezpac get mnet baud rate U16 RingNo 08 BaudRate Argument Specify the ring number of the master For EPC 1800 and output U16 RingNo EPC 1801 it is 0 For EPC 1821 it can be 0 and 1 input U8 BaudRate The current baud rate Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 50 r TN SS EPC 1800 Series User Manual 7 5 3 3 ezpac set mnet baud rate Description Set the baud rate of the Motionnet master Syntax I16 ezpac set mnet baud rate U16 RingNo U8 BaudRate Argument output U16 RingNo Specify the ring number of the master For EPC 1800 and EPC 1801 it is 0 For EPC 1821 it can be 0 and 1 output U8 BaudRate The baud rate to be set Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 51 SSE EPC 1800 Series User Manual 7 5 4 Platform AES Functions Function name Description ezpac_get_secure_id Get the SECURE_ID of the system in 8 bytes array format _ezpac_generate_aes_key Generate the AES KEY with SI KEY and SECURE ID Check the validity of the generated AES KEY
23. ECT ENCRYPTION 25 5 1 BENEFITS 25 5 2 AES BRIEFANTRODUCTION eb Eae e ater d re db D a peso cub d er 25 5 3 FUNCTIONAL ARCHITECTURE S Oxo gr dante Pr GR va Pa da ew v E Ue ual 25 6 SOFTWARE DEVELOPMENT ENVIRONMEENT cccssssccccsssecccsssccccsssecccassecccecsecceeseecceusseccessccccusseeceusececcuesesccessececeesesececseseues 27 6 1 SYSTEM REQUIREMENTS verte Pre rcv pe erue cat Le euenire ve e E Eve bent e bw enda CY Fe Qv xe E 27 6 1 1 Hardware Requirements otii eatem eR eg b eee 27 0 1 2 Software Requirements ERES ME ROI eI RANTS 27 6 2 ONLNE DEBUGGING a a EE Seni vede 28 6 2 1 Check the Ethernet IP Address of the 1800 000000406 28 6 2 2 Create a NOW L 28 6 23 Connect to 0 29 7 FUNCTION iili d
24. EPC 1800 for this case Syntax I16 ezpac get device type U8 Type Argument input U8 Type Return the type of the controller Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 38 N SS EPC 1800 Series User Manual 7 5 1 3 Description Set the buzzer on for specified time Syntax _ezpac_beep U32 Duration Argument output U32 Duration Duration that the buzzer is set to on Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 39 TN SS EPC 1800 Series User Manual 7 5 1 4 ezpac start Description Turn on or off the buzzer Syntax _ezpac_beep_start U8 OnOff Argument output U8 OnOff Set on or off of the buzzer Return PLATFORM_NoError The API is successfully returned Others Please refer to the error code table at Appendix A 40 r TN SSE EPC 1800 Series User Manual 7 5 1 5 ezpac read rotary switch 1 Description Read the number of the rotary switch Syntax ezpac read rotary switch 1 US8 Val Argument input U8 Val The number of the rotary switch Return PLATFORM NoError The API is successfully returned Others Please refer to t
25. If you detect any damage contact the dealer immediately To avoid short circuits keep paper clips screws and staples away from connectors slots sockets and circuitry Avoid dust humidity and temperature extremes Do not place the product in any area where it may become wet encounter technical problems with the product contact a qualified service technician or the dealer NE EPC 1800 Series User Manual Contents CONTENTS BUDE 5 Mc 7 1 2 c 7 1 2 HARDWARE SPECIFICATIONS Da ru xe DE 8 1 3 DEVICES orco 8 2 DIMENSIONS AND INTERFACES sdacecvicancacce case a E Re EE accescvocddvecseccsesesaecsvausessvesascetescvaevecacsasusdesssesteveveuncesseiedvavsinavsns 9 2 1 MECHANICAL DIMENSIONS FOR ALL TYPES ied eade ari kia d ae ee ra ha re 9 2 2 2555 PAS PU TE Pio ord dd E des adi o par FEE PER Dod odd 10
26. Motion Error Code List Table ERR NoError 0 ERR BoardNotlnitYet 14001 ERR BoardlnitializedAlready 14002 ERR InvalidBoardNumber 14003 ERR InvalidAxisNumber 14004 ERR InvalidParameterl 14011 ERR_InvalidParameter2 14012 ERR_InvalidParameter3 14013 ERR_InvalidParameter4 14014 ERR InvalidParameter5 14015 ERR _InvalidParameter6 14016 ERR_InvalidParameter7 14017 ERR_InvalidParameter8 14018 ERR_InvalidParameter9 14019 ERR_InvalidParameter10 14020 ERR_InvalidParameter11 14021 ERR_InvalidParameter12 14022 ERR_SlowDownPointError 14031 ERR_Err3PointsInput 14032 ERR_GetCenterFailed 14033 ERR_CompareBufferFull 14034 ERR_AxisNotStopped Yet 14035 65
27. Save Settings button to transmit the settings to EasyPAC Next time when users login to MyConfig the prior settings or the default values will be shown in the Modbus parameters page Users can always login to check in this page This page is shown in the following figure 23 DN SE EPC 1800 Series User Manual MyConfig 13 830 0 1 PAC Info Auto Execute Update AES Code 1 About MyConfig Slave ID TCP Parameters Port 502 TimeOut 3000 RTU Parameters PortName coms H Baudrate 115200 DataBit E StopBit Parity none Save Settings Figure 4 14 setting of Modbus parameter dialog 4 1 2 6 Recover Factory Default Settings If users forget the changed password of admin or guest or the changed settings of the IP Modbus etc is not working a solution is to recover the factory settings The step by step recovery from factory settings is as follows R Facto 1 Press the recovery button and then reboot 2 The EPC 1800 would roll back to the default IP address 192 168 0 100 Now we could connect to it with MyConfig 3 The PAC info tab has previous set IP address shown in Saved IPAddress 24 PA SSE 1800 Series User Manual 5 Project Encryption This chapter is intended to give a brief overview of the project encryption for EPC 1800 The following section will give background information that is necessary to f
28. g B iug xma c a 3 J JL Stover T R hael SPC 2000 Solution Exp olution P 2 x Platform demoDig cpp lk CPlatform demoDlg gt OnBnClickedplatformreadplatfor amp General lod Solution Platform 1 project MAKEINTRESOURCE 100 PLATFORM DEMO DIALOG WIDE 5 Platform demo MAKEINTRESOURCE ID PLATFORM DEMO DIALOG H Header Files amp Resource Files fendif Platform demo ico E E vol atform demoDleg ickedplatformreadplatform Platform demo rc id CPlatform demoDlg nBnClickedplatf dplatform cenas qj tooo trol notification handler code he i your control notification er re amp Source Files Platforn 100 0 Platform deWo cpp 116 Platform demoDlg cpp platform read platform Platform gt if ej stdafx cpp wsprintf msg T executed error code 4 rc Platform lib else B ReadMetxt wsprintf msg T executed success Platform s Platform m_msg SetWindowTex tl msg 14 CPlatform demoDlg nBnClickedplatformreadmachinename less View S Solution Properties l News X 5 84 Columns Name Condition Hit Count v Platform demoDlg cpp line 97 no condition breaka 7 4 amp Autos Z Locals 3 Threads Modules Ej Watch 1 3 Find Results 1 Stack Breakpoints Output Error
29. g provides two kinds of login accounts which have different privileges The default password for an administrator is admin and the default password for a guest is guest The password canbe updated after the initial login The administrator has the privilege to view and change settings and the guest can only view the current settings Below illustrates the case of an administratorinitially logging in with rotary switch set to 0 and using default IP address 192 168 1 100 TPM SSE EPC 1800 Series User Manual IP address 1921681100 1000 a tees Password Figure 4 1 MyConfig login page After logging in there are 6 tabs PAC info Auto Execute Update AES code Modbus Parameters and About MyConfig 113 830 0 1 Rotary Switch Execute Update AES Code Modbus Parameters About MyConfig Information CPLD Version SOC Type OS Version 2800 1 CPU Version Om Settings IP Address 192 168 1 100 1 Subnetmask 255 255 2550 Save Gateway 292 168 1 3 92 Admin Password 1 Re Enter Password Save User Password Re Enter Password Save Date Figure 4 2 system information of EasyPAC 4 1 2 2 PAC Info Users can see the EPC 1800 basic hardware information at the top half of the page At the bottom half users can set up IP addresses subnet masks gateways admin passwords and guest passwords SS TPM SSE EPC 180
30. gure 2 3 side interfaces of EPC 1800 and EPC 1801 The I O interface arrangement of EPC 1821 is introduced by the following figures Mnet Mnet 01 RingOd CN1 DB26 USB Figure 2 4 main interfaces of EPC 1821 24V DC USB RS1 Figure 2 5 side interfaces of EPC 1821 TN SSE EPC 1800 Series User Manual 2 3 Pin Assignment for Each Connector In the following subsections the pin assignment for each connector will be introduced 2 3 1 CN1 of EPC 1800 The CN1 26 pin definition of EPC 1800 is shown as below I RS232DGND 18 R 422 485 DSR2 RS422 485 T RS422 485 DGND RS422 485 DGND RP Ringindiaor 22 Digital input3 DGND DGND 23 DI2 Digital input 2 Digital input 1 12 TXD3 3 RS232 TX 25 DIO Digital input 0 13 DGND 3485222 DGND 26 GND DI ground Table 2 1 pin assignment of DI O interface of EPC 1800 Digital GPIO input signal circuit in SINK mode NPN is illustrated as follows DIO DI3 _ i i READ SW READ 3wire NPN Figure 2 6 DI NPN logic circuit of EPC 1800 11 S EPC 1800 Series User Manual 2 3 2 CN1 of EPC 1801 and EPC 1821 The CN1 26 pin definition of EPC 1801 andEPC 1821 is shown as below Pin No iw 0 2 Oo Description Digital output 0 Digital output 1
31. he error code table at Appendix A 41 r TN SSE EPC 1800 Series User Manual 7 5 2 Platform I O Functions Function name Description ezpac get ledO Get the status of LED 1 ezpac set ledO Set the status of LED 1 ezpac get led3 Get the status of LED 2 ezpac set led3 Set the status of LED 2 ezpac read Read local DI 42 r N SS EPC 1800 Series User Manual 7 5 2 1 ezpac get ledO Description Get the status of LED 1 Syntax ezpac get led0 U8 OnOff Argument input U8 OnOff Return the status of LED 1 Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 43 r TN SE EPC 1800 Series User Manual 7 5 2 2 ezpac set Description Set the status of LED 1 Syntax ezpac set 1 40 U8 OnOff Argument Output U8 Data Set the value of LED 1 Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 44 TN SE EPC 1800 Series User Manual 7 5 2 3 ezpac get led3 Description Get the status of LED 2 Syntax I16 ezpac get led3 U8 OnOff Argument input U8 OnOff Return the status of LED 2 Return PLATFORM NoError The API is successfully returned Others Please refer to the error
32. hers Please refer to the error code table at Appendix A 62 r TN SSE EPC 1800 Series User Manual 7 5 5 6 ezpac write fram dword Description Write a double word data to a retainable memory Syntax ezpac write fram dword U16 Offset U32 Val Argument output U16 Offset Specify the offset the retainable memory output U32 Val Set the value of the retainable memory Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table at Appendix A 63 r N SS EPC 1800 Series User Manual 8 Appendix A 8 1 The Platform Error Code List Table PLATFORM 0 PLATFORM_NotReady_Error 9000 PLATFORM CheckDeviceNotMatch Error 9001 PLATFORM Unknown Error 9005 PLATFORM_DeviceUnknown_Error 9006 PLATFORM_Version_Error 9010 PLATFORM_Open_File_Error 9011 PLATFORM Write File Error 9012 PLATFORM Read File Error 9013 PLATFORM Out Of Range Error 9020 PLATFORM InvalidParameter Error 9021 PLATFORM GetSecurelIdFailed Error 9022 PLATFORM_GenAesKeyFailed_Error 9023 PLATFORM InformationType Unknown Error 9030 PLATFORM Debug Infomation 0 9040 PLATFORM Debug Infomation 1 9041 PLATFORM Debug Infomation 2 9042 PLATFORM Debug Infomation 3 9043 PLATFORM NotSucceed Error 9090 64 N SS EPC 1800 Series User Manual 8 2 The
33. luding the registration key could be cloned the end user or the system integrator s customer cannot obtain the SI key If an end user wants to buy a replacement from other resources instead of the designated system integrator it is not doable since the hardware id would be different with the original one Therefore the calculated registration key with the original SI key and different hardware id as content would not match so that the specific functionalities could not be working or the system could only run for certain time period Once the system integrator gets EPC 1800 a very important thing needed to do is to assign a set of SI key with a byte array of length 8 to it With this SI key the system integrator can generate the AES key byte array of length 16 using the provided function application interface ezpac generate aes key This function will be introduced later The generated AES key should be given to end users as the activation code when the user brings up the system at first time AnEPC 1800 should check the validity and set the corresponding flag in the FRAM right after the system initialization using function ezpac verify aes key ezpac write fram byte Hereafter when the system is brought up it reads the flag from FRAM If the read value matches the pre defined value the system bypasses the check AES key procedure and operates normally as the system integrator designed If the values from the designated address in FRAM do
34. n 1 0 Target wce400 x86 Windows 7 64 Bit OS source as shown in figure 7 1 C Program Files x86 Common Files microsoft shared CoreCon 1 0 Target wce400 x86 27 TPM SSE 1800 Series User Manual n CAProgram Files Common Files microsoft shared CoreCon 0 Target wee400 x86 h Ba SE v FASS EX gt EREM oy H 8 clientshutdown exe 2007 11 b CMAccept exe H inta 5 ConmanClient2 exe 1 eDbgTL dll 3 TcpConnectionA dll Figure 6 1 file path for remote debugger files EPC 1800 destination USB Project Transfer the files from PC to EPC 1800 using FTP software The destination location of EPC 1800 is USB Project The account to log in FTP service of the EPC 1800 is account admin and password admin 6 2 Online Debugging Online debugger is a very useful tool when developers are developing their projects EPC 1800 also provides an online debugger mechanism to help users easily online debug and monitor variables There are some preliminaries need to prepare of both developing PC and EPC 1800 before starting the online debugging 6 2 1 Check the Ethernet IP Address of the EPC 1800 Configure the IP address by using MyConfig In the following instances 192 168 1 130 is used as an example Please make sure the IP address of EPC 1800
35. nctions Function name Description ezpac_read_fram_byte Read a byte data from a retainable memory ezpac_read_fram_word Read a word data from a retainable memory Read a double word data from a retainable memory ezpac_read_fram_dword ezpac_write_fram_byte Write a byte data to a retainable memory ezpac_write_fram_word Write a word data to a retainable memory ezpac_write_fram_dword Write a double word data to a retainable memory 57 r N SS EPC 1800 Series User Manual 7 5 5 1 read fram byte Description Read a byte data from a retainable memory Syntax ezpac read fram byte U16 Offset 08 Val Argument output U16 Offset Specify the offset the retainable memory input U8 Val Return the value of the retainable memory Return PLATFORM_NoError The API is successfully returned Others Please refer to the error code table at Appendix A 58 r TN SSE EPC 1800 Series User Manual 7 5 5 2 ezpac read fram word Description Read a word data from a retainable memory Syntax ezpac read fram word U16 Offset U16 Val Argument output U16 Offset Specify the offset the retainable memory input U16 Val Return the value of the retainable memory Return PLATFORM NoError The API is successfully returned Others Please refer to the error code table
36. nts which do not match with the newer version ones 20 TPM EPC 1800 Series User Manual 2 MyConfig 13 8300 1 PAC Info Auto Execute Update AES Code Modbus Parameters About MyConfig The version The version of EPC The newest version of FileName New Version PC Version m EPC Version Check For mem oi po genesi o nomi fo eooo MyLink exe 13 0902 0 1 Figure 4 6 update software page In this Update tab it would show up the software versions that are out of date There is also a hint message informing when software needs to be updated After the OK button is pressed MyConfig starts connecting to the FTP server and downloading files File FwLib exe Figure 4 7 download from FTP Upload to EPC 1800 File l exe Figure 4 8 update to EasyPAC When select files need to be updated press the Start Update button and it will start updating and a pop up progress bar like the one below will appear 21 SS TPM SSE EPC 1800 Series User Manual UpdateClient Figure 4 9 progress bar of software updating If the update includes PC only the following dialog box will pop up Information 7 Figure 4 10 update complete dialog If the software update completes including EasyPAC it will pop up a dialog box saying the
37. number Manual updates are represented by the third digit in the manual vision number Trademark MS DOS and Windows 95 98 NT 2000 XP CE Visual Studio Visual C Visual BASIC registered trademarks of Microsoft Other product names mentioned herein are used for identification purposes only may be trademarks and or registered trademarks of their respective companies rg NE EPC 1800 Series User Manual Electrical safely prevent electrical shock hazard disconnect the power cable from the electrical outlet before relocating the system When adding or removing devices to or from the system ensure that the power cables for the devices are unplugged before the signal cables are connected Disconnect all power cables from the existing system before you add a device Before connecting or removing signal cables from the motherboard ensure that all power cables are unplugged Seek professional assistance before using an adapter or extension card These devices could interrupt the grounding circuit sure that your power supply is set to the voltage available in your area B If the power supply is broken contact a qualified service technician or your retailer Operational safely Please carefully read all the manuals that came with the package before installing the new device Before use ensure all cables are correctly connected and the power cables not damaged
38. r TN SS EPC 1800 Series User Manual EPC 1800 Series EPC 1800 Series User Manual Version V1 02013S03 To properly use the product read this manual thoroughly is necessary Part No 81 00 10 012 NE EPC 1800 Series User Manual Revision History Date Revision Description 2013 9 09 1 0 Document Creation 2014 09 15 1 1 1 Modify the description about COM port settings 2 Add contents about EPC 1820 EPC 1801 and EPC 1821 SS EPC 1800 Series User Manual Copyright 2014TPM The product including the product itself the accessories the software the manual and the software description in it without the permission of TPM Inc TPM is not allowed to be reproduced transmitted transcribed stored in a retrieval system or translated into any language in any form or by any means except the documentation kept by the purchaser for backup purposes The names of products and corporations appearing in this manual may or may not be registered trademarks and may or may not have copyrights of their respective companies These names should be used only for identification or explanation and to the owners benefit should not be infringed without any intention The product s name and version number are both printed on the product itself Released manual visions for each product design are represented by the digit before and after the period of the manual vision
39. rt rg SE 1800 Series User Manual 4 Software Utilities There are two software utilities provided to help users easily make use of EPC 1800 1 MyConfig for configuring the settings EPC 1800 2 MyLink for diagnosing and testing functionality of Motionnet modules 4 1 MyConfig MyConfig is a software utility designed for EPC 1800 Besides providing basic hardware information MyConfig also supports online updates so that users can set and view the hardware status through Ethernet Recommended Hardware Requirement PC Hardware PC or laptop with Intel Centrino or above CPU Memory IGBRAM OS Windows XP or Win7 LAN card RJ 45 10 100 1000 Mbps Software Installation EasyPAC needs 2 files MyConfigSvr exe and EZPACSDK dll PC needs 1 file MyConfig exe 4 1 1 Server on EPC 1800 series Before powering up EPC 1800 please make sure the SW1 is switched to position 1 PC is supposed to have the same network section as EPC 1800 IP address 192 168 1 100 when the network cable is hooked up If these two settings are correct we can power up the EPC 1800 It will beep an alert sound if the system is successfully brought up and MyConfigSrv exe will be started automatically If there is no beep for a while that means that there is Ethernet failure or the IP address is in conflict with someone else 4 1 2 PC side settings 4 1 2 1 Login Users can login MyConfig with EPC 1800 IP address and password MyConfi
40. ss as shown as the 5 B and 6 step in Figure 6 5 30 Windows CE 5 0 ha H Windows Forms Designer 1800 1800 TCP Connect Transport C ActiveSync Startup Provider v Figure 6 5 step sequence to configure the target device IP address for SDK machine 7 Launch the EPC 1800 debugging service using telnet and execute the following programs in order There should be 2 telnet consoles launched 1 Clientshutdown exe 2 ConmandClient2 exe 3 CMAccept exe Note the IP address of the EPC 1800 is configured by MyConfig The three executables are in the in the folder created in previous section USB Project 8 Connect to EPC 1800 with the sequence in the following figure 31 ct Build Debug Data Tools Test Window InitializeComponent gt Figure 6 6 sequence to connect to SmartPAC Also users could select hit the Close button to disconnect from EPC 1800 as well 9 Start debugging as illustrated in the following figure Note 1 Press the button indicated as the 1 circle to start debugging 2 Users could set breakpoints as show in the 284 circle 3 The 34 circle is the watch window Users can monitor variables in this frame 32 EPC 1800 Series User Manual File Edit View Project Build Debug PInvoke net Tools Window Community Help ib Hex amp i
41. ully understand the functions and how to achieve hardware encryption of the system 5 1 Benefits TPM is a development system provider with EPC 1800 as one of the products System integrators could adapt EPC 1800 as the base system to develop applications for their customers However customers could find the top source vendor which is TPM and perhaps in the worst case clone the storage in the system and purchase extra systems from TPM directly In case of customers bypassing the original system provider which would cut down benefits for the system integrators cooperating with TPM EPC 1800 introduces a method called project encryption Through project encryption the system integrators can lockup certain functionalities or set timers to constrain the system running time Only the authorized products can be working properly The authorization is held by one and only one system integrator With the project encryption technology the system integrators cooperating with TPM will be tightly coupled in a cooperating relationship instead of vicious competition to make a win win partnership 5 2 AES Brief Introduction This standard specifies the Rijndael algorithm a symmetric block cipher that can process data blocks of 128 bits using cipher keys with lengths of 128 192 and 256 bits Rijndael was designed to handle additional block sizes and key lengths however they are not adopted in this standard Throughout the remainder of this standard

Download Pdf Manuals

image

Related Search

Related Contents

FT DYACIL MAXI PAE  LANAFORM LA180105  Vend Scatt Modèle USB Excellent état, très peu servi  D-Control-Handbuch - Digidesign Support Archives  Instale o software Desligue o PC Conecte o cabo de dados à  Samsung 941MG Uporabniški priročnik  IP Camera user manual  Manual de usuario 4 Beam Bar  descargar - Flowtech  Guía del usuario  

Copyright © All rights reserved.
Failed to retrieve file