Artila PAC-5070 User Manual Download Page 19

PAC-5070  User  Guide 

15

 

4.15  Install GNU Toolchain 

Find a PC with Linux 2.6.X Kernel installed and login as a 

root

 user then copy the 

arm-linux-3.3.2.tar.gz to root directory of PC.    Under root directory, type following command to install 

the Gnu Toolchain.

 

#tar zxvf arm-linux-3.3.2.tar.gz 

 

4.16  Getting Started the Hello Program 

There are many example programs on Artila FTP.    To compile the sample you can use the Make file to 

and type: 

make 

To compile and link the library.    Once done, use ftp command   

ftp 192.168.2.127 

And bin command to set transfer mode to binary   

ftp>bin 

To transfer the execution file to PAC-5070 user disk (/disk) and use 

chmod +x file.o 

To change it to execution mode and 

./file.o   

to run the file. 

 

 

Summary of Contents for PAC-5070

Page 1: ...PAC 5070 Programmable Automation Controller User Guide Version 1 0 Copyright Artila Electronics Co Ltd All Rights Reserved...

Page 2: ......

Page 3: ...D 3 3 6 Ethernet Port LAN1 LAN2 3 3 7 Serial Port 3 3 8 Power Input Connector J3 5 3 9 Digital Output Connector 5 3 10 Digital Input Connector 6 3 11 Analog Input Connector 6 3 12 Factory Default Sett...

Page 4: ...ting 12 4 8 How to Calibrate the Analog Input Channels 13 4 9 Mounting External Storage Memory 13 4 10 Welcome Message 13 4 11 Web Page Directory 13 4 12 Adjust the System Time 13 4 13 SSH Console 14...

Page 5: ...media Card Interface for SD memory card One RS 485 One RS 232 and One serial console port 4 isolated analog inputs Input type mV V mA Input range 150mV 500mV 1V 5V 10V 0 150mV 0 500mV 0 1V 0 5V 0 10V...

Page 6: ...PAC 5070 User Guide 2 2 Layout Power 9 40V LAN1 LAN2 USB Reset Digital Output Isolated Digital Input Isolated Digital Input Serial Console RS 232 RS 485 Buzzer 118mm 182mm Isolated Analog Input...

Page 7: ...in If Ready LED is still off please contact the manufacture for technical support 3 4 LAN1 LAN2 LED When Ethernet port are connected to the network Link Act will show solid green and if there is traff...

Page 8: ...n you forgot password or network IP address serial console provide an easy way to access PAC 5070 To access serial console port you can use 91 0P9M9 001 to convert 10 pin header to RS 232 DB9 male con...

Page 9: ...tion are included in power input circuitry of PAC 5070 to provide power protection to PAC 5070 3 9 Digital Output Connector The digital output are equipped with 8 darlington pair transistors Allegro U...

Page 10: ...put Connector Each of the 4 channels isolated analog input can be configured as various input range and the common features are show as follow Effective Resolution 16 bit Channels four differential in...

Page 11: ...tion Jumper JP1 JP3 3 12 Factory Default Settings LAN 1 IP Address 192 168 2 127 LAN 2 IP Address DHCP Login guest Password guest Supervisor root ssh only Password root 3 13 Login After power on wait...

Page 12: ...MM For infrastructure mode XXXX is the access point name and YYYYYYYY is the encryption key and MMMM should be managed For Ad Hoc mode mode XXXX is the PAC 5070 device name and YYYYYYYY is the encrypt...

Page 13: ...e supported devices are shown at dev directory Following list are most popular ones 1 ttyS0 port 3 serial console port 2 ttyS1 port 1 RS 485 3 ttyS2 port 2 RS 232 4 mmc to mmc2 SD memory card 5 sda to...

Page 14: ...PAC 5070 User Guide 10 3 18 Utility Software PAC 5070 includes busybox utility collection and Artila utility software as follow...

Page 15: ...help to find the command usage Update can only be operated under supervisor mode password root 4 2 setuart Configure serial port setting An example show as followed to configure port 1 as RS 485 inte...

Page 16: ...er if you want to perform multiple channels scan The ADC device driver will delay 100ms for Multiplexer and Programmable Gain Amplifier to be stable before taking the data from ADC 4 6 How to Make Mor...

Page 17: ...in etc rc 4 9 Mounting External Storage Memory To find out the device name of the external memory device which plug into PAC 5070 you can use the command dmesg grep sd or dmesg grep mmc Type mount dev...

Page 18: ...ey generation program is available on Artila FTP matrix 5XX utility ssh_keygen User can copy this program to PAC 5070 to generate the key 4 14 Manager Utility Software The Manager Utility software man...

Page 19: ...tar zxvf arm linux 3 3 2 tar gz 4 16 Getting Started the Hello Program There are many example programs on Artila FTP To compile the sample you can use the Make file to and type make To compile and li...

Reviews: