Download User Manual PROGRAMMABLE REMOTE INPUT/OUTPUT
Transcript
SiAM CRIO v3.0 User Manual CONTENTS 1.- CHARACTERISTICS......................................................................................... 4 2.- INTRODUCTION ............................................................................................. 5 3.- INSTALLATION ............................................................................................... 8 4.- WIRING.......................................................................................................... 9 4.1.- Main power supply ................................................................................................................9 4.2.- Communication ...................................................................................................................10 4.2.1.- RS-485 module..............................................................................................................10 4.2.2.- RS-232 module..............................................................................................................11 4.3.- Digital outputs.....................................................................................................................12 4.4.- Digital inputs .......................................................................................................................14 4.5.- Analog inputs.......................................................................................................................15 4.6.- Wiring example ...................................................................................................................18 5.- BOARD SETTINGS......................................................................................... 19 5.1.- Bus address .........................................................................................................................19 5.2.- Baud rate .............................................................................................................................20 5.3.- User-defined switch ............................................................................................................20 5.4.- Communication resistors ....................................................................................................21 5.5.- Reset switch ........................................................................................................................21 6.- SOFTWARE ................................................................................................... 22 6.1.- Online mode ........................................................................................................................23 6.2.- Inputs and outputs..............................................................................................................24 6.3.- RAM memory (M) ................................................................................................................25 6.4.- EEPROM memory (V)...........................................................................................................25 6.5.- System memory...................................................................................................................25 6.6.- Virtual registers...................................................................................................................26 6.7.- Status...................................................................................................................................27 6.8.- Configuration.......................................................................................................................27 6.8.1.- Communication and program .......................................................................................28 6.8.2.- Persistent virtual registers ...........................................................................................29 6.8.3.- Analog inputs scaling....................................................................................................31 6.9.- Program ...............................................................................................................................32 6.10.- Other device options .........................................................................................................35 7.- IEC PROGRAMMING ..................................................................................... 36 7.1.- The instruction list (IL) languange.....................................................................................36 7.2.- Data types............................................................................................................................37 7.3.- Instructions .........................................................................................................................37 7.4.- Memory areas ......................................................................................................................43 7.4.1.- Inputs memory .............................................................................................................44 7.4.2.- Outputs memory ...........................................................................................................44 7.4.3.- RAM memory.................................................................................................................44 7.4.4.- EEPROM memory ..........................................................................................................44 7.4.5.- System memory ............................................................................................................45 7.5.- Program errors and warnings .............................................................................................51 7.6.- Programming examples ......................................................................................................53 7.6.1.- Simple automatic door..................................................................................................53 Page 2