Home
programmable logic controller with inductive loop detector user
Contents
1. o 8 Relay 1 N O e o 7 Relay 2 N O 6 Relay 2 Common 5 Relay 3 N O 4 Relay 3 Common n i 98 Relay 4 N O si 2 Relay 4 Common J 1 Relay 4 N C 7 c c c3 c c c 4 The outputs may be used to control the direction of a motor For example output 1 could be used to control the forward direction of the motor and output 2 used to control the reverse direction It could be possible under fault conditions that both outputs switch on at the same time It is considered good practice to interlock the two outputs both in the ladder program and using external mechanical contactors The diagram below shows how this is done o o PL400 Outputs o o 02 MC 1 MC 2 4 1 4 Connecting the Inductive Loop Refer to the chapter further in the manual on installing the inductive loop The diagram below shows how to connect the loop to the PL400 24 Earth LOOP teo TWISTED 23 Loop Detector TERE CABLE 77 22 Loop Detector 22 23 24 PROCON ELECTRONICS 8 PL400 Programmable Logic Controller 4 1 5 Connecting the programming port to a PC The PL400 programming port is connected to a RS232 communications port on the PC using a special programming cable supplied by Procon The RS232 connector is a DB 9 plug which plugs into the PC PROCON ELECTRONICS 9 PL400 Programmable Logic Controller 4 2 PL400 CPU The CPU central Pr
2. M172 20 PROCON ELECTRONICS 11 PL400 Programmable Logic Controller 4 2 4 Digital Input Map MSB PL400 DIGITAL INPUTS LSB pisa a a AO Oe 71 6 5 4 AC 0 ADDRESS 114 13 112 111 DO I9 18 I7 5 4 IB 2 H M1 Bit Number Digital Input Number Description 0 11 Digital Input 1 1 12 Digital Input 2 2 13 Digital Input 3 3 14 Digital Input 4 4 15 Digital Input 5 5 16 Digital Input 6 6 I7 Digital Input 7 7 18 Digital Input 8 8 19 Toggle Switch 1 9 110 Toggle Switch 2 10 111 Loop Detect 11 112 Loop Pulse 12 113 Loop Detect LED 13 114 Loop Fault LED 14 15 4 2 5 Digital Output Map MSB PL400 DIGITAL OUTPUTS LSB o 4419 A O S e R 1 4 i 4bDRESS ES qp pre eds EAS os or os oz or Ma Bit Number Digital Input Number Description 0 O1 Relay Output 1 1 02 Relay Output 2 2 03 Relay Output 3 3 04 Relay Output 4 4 O5 LED 1 5 06 LED 2 6 E E 7 3 8 5 9 3 A 10 11 12 13 14 15 PROCON ELECTRONICS 12 PL400 Programmable Logic Controller 4 2 6 Timer Map MSB PL400 TIMER STATUS LSB 18 a peuo 8 7 6 5 4 8 2 3 o ooneso nig tis i rs fre rt prio re re v7 ve vs re rs 3 Bit Number Digital Input Number Description 0 T1 Timer 1 1 T2 Timer 2 2 T3 Timer 3 3 T4 Timer 4 4 T5 Timer 5 5 T6 Timer 6 6 T7 Timer 7 7 T8 Timer 8 8 T9 Timer 9 9 T10 Timer 10 10 T11 Timer 11 11 T12 Timer 12 12 T13 Timer 13 13
3. 65535 R W TimerrangeOto 65535 Lf If IL I JL JI Ef 40029 28 Timer16Value 0 65535 R W TimerrangeOto 65535 40030 29 CountertValue o 65535 R W CounterrangeOto 65535 Ld ae IP e NOA VE A 40045 44 Counter16 Value o 65535 R W Counter range O to 65535 40046 45 UserMemory o 65535 R W Oto 65535 MA A PE AA A E A AE 40113 112 UserMemory o 65535 R W Oto 65535 40114 113 Detect Sensitivity 2 500 R W 2 0 02 to 500 5 40115 114 DetectUnSenss 2 500 R W 2 0 02 to 500 5 40116 115 Detect On Filter 5 500 R W X 10milliseconds 40117 116 DetectOfFilter 2 500 RW X10milliseconds 40118 117 Pulse Time 1 255 R W X 10milliseconds 40119 118 PulseMode 0 1 RW O pulsondet 1 puls on undet 40120 119 Baud rate Progport 9600 19200 R W Default 19200 40121 120 ID Progpot O 25 RW Defaut 1 gt gt 40122 121 UserEEPROM o 65535 R W User EEPROM CSC E A E A A 40153 152 UserEEPROM 0 65535 R W UserEEPROM 40154 153 Seconds O 59 RW RTCSecods Optional 40155 154 Minutes 0 59 RW RTCMinutes X Optional 40156 155 Hous O 23 RW RTCHours Optional 40157 156 Day 1 7 RW RTC Day Optional 40158 157 Date 1 31 RW RTCDae Optional 40159 158 Month 1 1
4. counter will be reset to zero when the reset input is on The counter output will go on when the count value is greater or equal to the preset value Counter Up Dn Up Down counter with reset input The counter will count up when the Up count input goes from off to on The counter will count down when the Down count input goes from off to on The counter will be reset to zero when the reset input is on The counter output will go on when the count value is greater or equal to the preset value NOP This is a no operation function END Placing this output function in the ladder program will indicate the end of the program Any ladder after this function will not be run LD Load the accumulator from memory M or with a constant K LDD The Load Double loads the accumulator with a 32 bit value from memory M or with a constant K The memory used is the two consecutive 16 bit memory locations M amp M 1 OUT Outputs the accumulator to memory M OUTD Outputs the 32 bit accumulator to two consecutive memory locations M amp M 1 AND AND the accumulator with memory M or with a constant K ANDD AND the 32 bit accumulator with memory M or with a constant K The memory used is the two consecutive 16 bit memory locations M amp M 1 OR OR the accumulator with memory M or with a constant K ORD OR the 32 bit accumulator with memory M or with a constant K The memory used is the two con
5. 2 RW RTCMonth Optional 40160 159 Year o 100 RW RTCYear Optional 40161 160 UserBBRAM o 65535 R W UserBBRAM Optional Pesi Jc A E EE 40173 172 UserBBRAM O0 65535 R W UserBBRAM X Optional PROCON ELECTRONICS 18 PL400 Programmable Logic Controller 7 Ladder Logic Function Blocks The function blocks supported by the PL400 are listed below PL400 Function Blocks Function Function Block Description Timer 0 1Sec Single input timer with 0 1 Second time base The timer will run as long as the input is on The timer will be reset to zero when the input is off Timer 0 01Sec Single input timer with 0 01 Second time base The timer will run as long as the input is on The timer will be reset to zero when the input is off TimerA 0 1Sec Accumulating timer with 0 1 Second time base The timer will run as long as the input is on and stops when the input is removed The timer will continue when the input is on again The timer will be reset to zero when the reset input is on TimerA 0 01Sec Accumulating timer with 0 01 Second time base The timer will run as long as the input is on and stops when the input is removed The timer will continue when the input is on again The timer will be reset to zero when the reset input is on Counter Up counter with reset input The counter will count up when the count input goes from off to on The
6. DEEP 20 C to 60 C 20 C to 65 C up to 95 non condensing 3 2 WIRING TERMINALS 24 Earth 23 Loop Detector 22 Loop Detector 21 Input Common 20 Input 8 19 Inpu 18 Inpu 17 Inpu 16 Inpu 15 Inpu 14 Inpu 13 Inpu M L RO Od PROCON ELECTRONICS 19 a O 10 a 10 19 10 10 19 O 19 10 12 220VAC Neutral 11 220VAC Live 10 Relay 1 N C 9 Relay 1 Common 8 Relay 1 N O 7 Relay 2 N O 6 Relay 2 Common 5 Relay 3 N O 4 Relay 3 Common 3 Relay 4 N O 2 Relay 4 Common 1 Relay 4 N C 12 J SI 23 H erne LJ ELC EP EG D SI Gu 19 20 21 SI Gu Gu Si S 14 15 16 17 18 Laa n E e CS Di uuo 1234567 8 9 101 Si 13 5 PL400 Programmable Logic Controller 3 3 FRONT PANEL DESCRIPTION The led s on the front panel of the PL400 Module are used to indicate power and user defined LED1 and LED2 A programming LED is used to indicate communications with a PC during programming and Debugging A toggle switch is provided which allows you to use this in your application for as an example a manual override switch Power LED User LED2 Programming Port LED User LEDI P User Two rogramming Way toggle Port swit
7. PL400 PROGRAMMABLE LOGIC CONTROLLER WITH INDUCTIVE LOOP DETECTOR USER MANUAL E R N P O Box 24 27 031 7028033 STANFIELD 3613 427 031 7028041 ELECTRONICS SOUTH AFRICA proconel proconel com www proconel com 29 06 2004 V01 TABLE OF CONTENTS 1 AN OVERVIEW OF THE PL400 PROGRAMMABLE LOGIC CONTROLLER 3 1 1 DESCRIPTION ees ee is 3 2 PL400 GENERAL INFORMATION i 4 2 1 PHYSICAL DIMENSIONS beer erp ae eee ario galilei 4 2 GROUNDING SHIELDING e 4 3 PEAQO HARDWARE gae baee ki BA aceon a sate silo ahead 5 3 1 SPECIFICATIONS corria rta Lia 5 3 2 WIRING TERMINALS sities set aan n pde inc denen 5 33 FRONT PANEL DESCRIPTION ii 6 4 CONFIGURATION os cscs x etd iki aaa eer lo alia nia 7 4 1 HARDWARE CONNECTIONS eee 7 4 1 1 Connecting th POW L nente epo RU mera Cel eec n RE Ege 7 4 1 2 Connecting the Inputs 2 2 ia ora i er d ee Ir eae eas 7 4 1 3 Connecting the O utp ts aisis oedet rete ented lik wh beeen dea i 8 4 1 4 Connecting the Inductive LOOP ioken hek Esek rtn d 8 4 1 5 Connecting the programming port to a PC sese ee eee 9 42 BEA00 CPU Giu thee to e rut o n e qd trot et B od 10 4 2 1 Program M rnoty 5 ace bee ete qi o Ies a Pe eg S ERE 10 4 2 2 Data Memory nauem oma te e ie a a ru p e E RR 10 4 23 Data Memory Map ebore oh a e o UR Ree 11 4 2 4 Digital I
8. Remember to extend the slot from one of the corners to the road side to accommodate the feeder 5 Best results are obtained when a single length of wire is used with no joints This may be achieved by running the wire from the detector to the loop around the loop for 3 turns and then back to the detector The feeder portion of the wire is then twisted Remember that twisting the feeder will shorten its length so ensure a long enough feeder wire is used 6 After the loop and feeder wires have been placed in the slot the slot is filled with an epoxy compound or bitumen filler TRAFFIC DIRECTION 300mm 300mm ROAD SURFACE SLOT ROAD SEALANT EDGE 30 50 mm 4mm 45 CROSSCUT FEEDER PROCON ELECTRONICS 16 PL400 Programmable Logic Controller 6 Modbus Memory Map MODULE TYPE 40 The data in the PL400 is stored in registers These registers are accessed over the network using the MODBUS RTU communication protocol There are 4 types of variables which can be accessed from the module Each module has one or more of these data variables Type Start Address 1 00001 2 10001 3 30001 4 40001 Modbus Mem Address Addr 10017 10032 00033 00048 00049 00064 00065 00080 00081 00144 00145 00176 30001 30002 40003 40004 40005 40006 40007 40008 40009 2 16 3 1 3 16 4 1 4 16 5 1 8 16 9 1 10 16 COIN Dj Qn GO N gt Register Name Digital Input 1 Digital Input 16 Di
9. T14 Timer 14 14 T15 Timer 15 15 T16 Timer 16 4 2 7 Counter Map MSB PL400 COUNTER STATUS LSB AS 14 38 12 41 10 9 B56 a 4 a e 1 1 9 SRD BES C14 Bit Number Digital Input Number Description 0 CI Counter 1 1 C2 Counter 2 2 C3 Counter 3 3 C4 Counter 4 4 C5 Counter 5 5 C6 Counter 6 6 C7 Counter 7 7 C8 Counter 8 8 C9 Counter 9 9 C10 Counter 10 10 C11 Counter 11 11 C12 Counter 12 12 C13 Counter 13 13 C14 Counter 14 14 C15 Counter 15 15 C16 Counter 16 PROCON ELECTRONICS 13 PL400 Programmable Logic Controller 4 2 8 Control Relay Map MSB PL400 CONTROL RELAYS LSB 15 1419 Lia M 10 9018765 L4 8 La t Lo C R16 R15 R14 R13 R12 RII R48 R47 R46 R45 R44 R43 R42 R41 R40 R39 R38 R37 R36 R35 R34 R33 Fes Ros er net neo ws sess ns nse Rss sa ns uso sr 50 e ME 4 2 9 System Relay Map MSB PL400 SYSTEM RELAYS LSB es a e O e LE LE TSI STATS TZ T3 9 ses Bit Number Digital Input Number Description 0 S1 ON 1 52 1st Scan 2 93 0 1 Second Clock Period 3 S4 1 Second Clock Period 4 S5 1 Minute Clock Period 5 S6 CMP lt MEM K 6 S7 CMP MEM K 7 S8 CMP gt MEM K 8 S9 PLC Running 9 10 PLC Re Program Request 10 S11 PLC Re Program Acknowledge 11 12 13 14 15 PROCON ELECTRONICS 14 PL400 Programmable Logic Controller 5 Inductive Loop Detector 5 1 Using the Loop Detector The inductive loop detector is used to de
10. ch PROCON ELECTRONICS 6 PL400 Programmable Logic Controller 4 CONFIGURATION 4 1 HARDWARE CONNECTIONS 4 1 1 Connecting the Power Power must be applied to terminal 11 220VAC LIVE and terminal 12 220VAC NEUTRAL When the power is initially applied the power LED will illuminate and all other LED s will be off 12 12 220VAC Neutral 11 220VAC Live As the PLC is often used to control machinery which could present a risk of personal injury or damage to equipment it is good practice to wire an external emergency stop circuit to the power supply on the PLC The circuit below shows how a mechanical contactor MC is used with start stop buttons to provide this facility Circuit Breaker Power Supply 220VAC 50 60Hz 4 1 2 Connecting the Inputs Supply to PL400 and Output Circuits The inputs are sourced from an internally isolated power supply and can be switched by a potential free contact or a NPN transistor The inputs all share the common terminal 21 Input Common 20 19 18 17 16 15 14 o _ 13 PROCON ELECTRONICS nput 8 nput 7 nput 6 nput 5 nput 4 nput 3 nput 2 nput 1 7 PL400 Programmable Logic Controller 4 1 3 Connecting the Outputs The outputs are potential free relay contacts Note that only Relay output 1 and 4 have normally closed contacts as well as normally open contacts 10 Relay 1 N C amp 9 9 Relay 1 Common o
11. ed SHL The bits in the accumulator are shifted left by the memory M or constant K The lower bits are filled with zeros SHR The bits in the accumulator are shifted right by the memory M or constant K The upper bits are filled with zeros CALL This function is used to call a subroutine The constant k is the label of the subroutine SUBR This function is the start of a subroutine The constant k is the label of the subroutine which is called by the call function RET This function must be placed at the last line of a subroutine The function can also be used in the subroutine for a conditional return RAND A random number from 0 to 100 is placed in the accumulator PROCON ELECTRONICS 20 PL400 Programmable Logic Controller
12. es are relays and contactors transformers motor controllers etc This electromagnetic radiation can induce electrical noise into both power and signal lines as well as direct radiation into the module causing negative effects on the system Appropriate grounding shielding and other protective steps should be taken at the installation stage to prevent these effects These protective steps include control cabinet grounding module grounding cable shield grounding protective elements for electromagnetic switching devices correct wiring as well as consideration of cable types and their cross sections PROCON ELECTRONICS 4 PL400 Programmable Logic Controller 3 PL400 HARDWARE 3 1 SPECIFICATIONS POWER REQUIREMENT 8 X INPUTS 4 X OUTPUTS INDICATORS LOOP RESPONSE TIME DETECTOR TUNING RANGE LOOP PROTECTION CONNECTORS DIMENSIONS OPERATING TEMPERATURE STORAGE TEMPERATURE HUMIDITY 200 260VAC 50 60Hz These inputs may be activated by a potential free relay contact or open collector NPN transistor output These inputs are isolated from the logic These outputs are a normally open relay contact rated at 6A 220VAC resistive LED indicators show power user1 user2 and programming communications Approximately 120ms after vehicle enters loop 15 1500 uH Loop isolation transformer with lightning protection 2 X 12 Way Removable Connectors with screw terminals 106mm HIGH X 70mm WIDE X 59 5mm
13. gital Output 1 Digital Output 16 Timer 1 Timer 16 Counter 1 Counter 16 Control Relay 1 Control Relay 64 System Relay 1 System Relay 32 S W Version Module Type Digital Inputs Digital Outputs Timer Status Counter Status Control Relay Control Relay Control Relay Control Relay PROCON ELECTRONICS Low Limit 0 N A N A N A N A N A N A N A N A N A Variable Digital Outputs Digital Inputs Input registers Analog Output registers Analog High Access Comments Limit 1 R Status of Digital Inputs 1 1 R Status of Digital Inputs 16 1 R W Status of Digital Outputs 1 1 R W Status of Digital Outputs 16 1 R W Status of Timer 1 1 R W Status of Timer 16 1 R W Status of Counter 1 1 R W Status of Counter 16 1 R W Status of Control relay 1 1 R W Status of Control relay 64 1 R W Status of System relay 1 1 R Status of System relay 32 N A R High Byte SoftwareVersion Low Byte 40 N A R Digital Inputs in 16 bits N A R W Digital Outputs in 16 bits N A R W Timer Status N A R W Counter Status N A R W Control Relay N A R W Control Relay N A R W Control Relay N A R W Control Relay 17 PL400 Programmable Logic Controller 40010 9 SystemRelay NA NA RWW SystemRelay 40011 10 SystemRelay NA NA RWW SystemRelay 1 1 NA NA Donotuse Systemoniy 142 NA NA Donotuse Systemoniy 40014 13 Timer1 Value 0
14. he configuration once M113 Detect Sensitivity X0 01 2 0 02 to 500 5 M114 Detect UnSens X0 01 2 0 02 to 500 5 M115 Detect On Filter X 10milliseconds M116 Detect Of Filter X 10milliseconds M117 Pulse Time X 10milliseconds M118 Pulse Mode O puls on det 1 puls on undet PROCON ELECTRONICS 15 PL400 Programmable Logic Controller M113 Detect Sensitivity The sensitivity determines the detect level of the loop The smaller the value the higher the sensitivity The value can be from 2 to 500 and is multiplied by 0 01 Some typical values are shown below Value in M113 0 02 5 0 05 10 0 1 100 1 0 M114 Undetect Sensitivity The undetect sensitivity determines the level at which the detector decides that the vehicle has left the loop The smaller the value the higher the sensitivity The value can be from 2 to 500 and is multiplied by 0 01 This value must always be less that the value in M113 and is usually about a half of the value in M113 M115 The Detect On Filter is a delay on detect and is usually used to prevent the detector for giving false detect outputs A minimum value of 10 is good for normal use but higher values can be used M116 The Detect Off Filter is a delay on undetect and is usually used to extend the detect output after the vehicle has left the loop A minimum value of 2 is good for normal use but higher values can be used M117 This value determines the pulse duration for the pulse b
15. is used to power the inputs so no external power supply is required The PLC has a user programmable toggle switch on the front which can be incorporated into the ladder program as manual inputs Two led s are also provided for user functions All wiring is done with screw terminals on removable connectors The programming port requires the use of a special adaptor to connect it to an RS232 communications port of a PC This port supports the Modbus RTU protocol and all of the internal registers and I O status can be accessed through this port PROCON ELECTRONICS 3 PL400 Programmable Logic Controller 2 PL400 GENERAL INFORMATION 2 1 PHYSICAL DIMENSIONS The PL400 enclosure is shown below The module has been designed with a quick snap in assembly for mounting onto DIN rail s as per DIN EN 50 022 59 50 mm 70 00 mm 400090000009 les 13 14 15 16 17 18 19 20 21 22 23 24 Pers a UB T L c E E DI S E E E OPE Ty m o o WP LO GC e O Ko o E S m LO LI x rA L rA m L rA rA rell 123245267682 10 11 12 io S S G S amp S 9 S S 19 S S 2 2 GROUNDING SHIELDING In most cases the PL400 will be installed in an enclosure along with other devices which generate electromagnetic radiation Examples of these devic
16. it M118 The pulse mode is used to select pulse on detect or pulse on undetect 5 3 Loop Installation Guide 1 The loop and feeder should be made from insulated copper wire with a minimum cross sectional area of 1 5mm The feeder should be twisted with at least 20 turns per metre Joints in the wire are not recommended and must be soldered and made waterproof Faulty joints could lead to incorrect operation of the detector Feeders which may pick up electrical noise should use screened cable with the screen earthed at the detector 2 The loop should be either square or rectangular in shape with a minimum distance of 1 metre between opposite sides Normally 3 turns of wire are used in the loop Large loops with a circumference of greater than 10 metres should use 2 turns while small loops with a circumference of less than 6 metres should use 4 turns When two loops are used in close proximity to each other it is recommended that 3 turns are used in one and 4 turns in the other to prevent cross talk 3 Cross talk is a term used to describe the interference between two adjacent loops To avoid incorrect operation of the detector the loops should be at least 2 metres apart and on different frequency settings 4 For loop installation slots should be cut in the road using a masonry cutting tool A 45 cut should be made across the corners to prevent damage to the wire on the corners The slot should be about 4mm wide and 30mm to 50mm deep
17. nput Map iae hte dia tro Id a UE RT ER REESE 12 4 2 5 Digital Output Map 5 co eet aac dai 12 4 2 6 bie ci 13 4 2 7 Counter Map estet etn teet bet oen ER bts ee du ls aaa 13 4 2 8 Control Relay Maps iia e o te ie e duree 14 4 2 9 System Relay Map sso ib Re eee eo a rettet tue tie e tana 14 9 Inductive Loop Detecta ltd 15 5 1 Usme the Loop Detector a id ei 15 52 Configurmo the Loop Detector iaia 15 5 3 Loop Installation Guided ii 16 6 Modbus Memory Map MODULE TYPE 40 nro nono nennen 17 T adder Logic Euncti n Blocks ii aa 19 PROCON ELECTRONICS 2 PL400 Programmable Logic Controller 1 AN OVERVIEW OF THE PL400 PROGRAMMABLE LOGIC CONTROLLER 1 1 DESCRIPTION The PL400 PLC has been developed as a versatile controller for use in parking or access control applications The PLC can be used to operate gates or barriers where an inductive loop detector is required to sense the presence of vehicles The fact that the controller is programmable enables the user to program their own unique logic requirements and not be restricted by a pre programmed unit The PL400 PLC is programmed in ladder logic PROCON s PROSOFT windows based PC software is used to generate the ladder diagram compile the program and then download the program to the PL400 via the programming port on the front of the unit The I O consists of 8 digital inputs and 4 relay outputs The inputs are opto isolated and a built in field supply
18. ocessing Unit performs all of the tasks that are required to make the PLC function and run your ladder program Some of the tasks include OY gro A Reading the status of the inputs Executing the program Updating the outputs Doing diagnostics Servicing the communications ports Running the timers 4 2 1 Program Memory The programming port is used to program the PLC The program which is sent from the PC using the ProSoft ladder editor is stored in FLASH memory This memory does not get lost when the power fails and so will remain permanently in the PLC until it is reprogrammed 4 2 2 Data Memory All the variables used in the program are stored in Data memory Both the Digital and Analog values are stored in this memory along with the timers counters and user memory The memory is divided up into 3 sections 1 RAM Random Access Memory This memory is the most widely used memory and is where most of the data is stored All timers counters I O statuses and system information use this memory If the power fails then all the information in this memory is lost and is re initialized to zero when the PLC starts again EEPROM This memory is used to store parameters such as set points and configuration data as it retains its memory when the power is turned off The one point to remember is that this memory can only be written to 10 000 times before it wears out so you must not write to this memory all the time as you can wi
19. secutive 16 bit memory locations M M 1 XOR Exclusive OR the accumulator with memory M or with a constant K XORD Exclusive OR the 32 bit accumulator with memory M or with a constant K The memory used is the two consecutive 16 bit memory locations M M 1 CMP Compare the accumulator lower 16 bits with memory M or with a constant K If the value in the accumulator is less than the value in memory constant then system bit S6 is turned on If the value in the accumulator is equal to the value in memory constant then system bit S7 is turned on If the value in the accumulator is greater than the value in memory constant then system bit S8 is turned on PROCON ELECTRONICS 19 PL400 Programmable Logic Controller PL400 Function Blocks Function Function Block Description CMPD Compare the 32 bit accumulator with memory M or with a constant K If the value in the accumulator is less than the value in memory constant then system bit S6 is turned on If the value in the accumulator is equal to the value in memory constant then system bit S7 is turned on If the value in the accumulator is greater than the value in memory constant then system bit S8 is turned on ADD Add the memory M or constant K to the accumulator The result is stored in the accumulator ADDD Add the memory M or constant K to the 32 bit accumulator The result is stored in the accumula
20. tect the presence of vehicles and can be used as a safety device for arming or giving a pulse to operate the logic or may be used for counting The inputs 111 to 114 are used to get information from the loop detector Ill Loop Detect 112 Loop Pulse 113 Loop Detect LED 114 Loop Fault LED 111 This bit is on when a vehicle is over the loop in detect and is off when there is no vehicle present 112 This bit is on for a short period of time to give a pulse output when the vehicle either enters goes into detect or leaves the loop goes out of detect The mode register is used to configure the pulse type and the pulse time register is used to configure the duration of the pulse 113 If the loop detect is in detect then this bit is on This bit will toggle when the power is first applied to the PL400 The number of toggles indicates the loop frequency You can use your ladder program to read in this bit and output it to an LED 114 If there is a fault on the loop then this bit will come on It is automatically turned off when the fault is cleared and the detector has retuned 5 2 Configuring the Loop Detector The parameters which are used to configure the loop detector are stored in the first section of the user EEPROM These parameters must be setup in your ladder program or in the debug menu when you are running the ProSoft ladder software They do not get lost when the unit is powered off and so you only have to do t
21. th RAM BBRAM Optional extra This is battery backed RAM and also retains its memory when the power is switched off This memory is slow compared to RAM and should not be used where normal RAM can be used This memory is ideal for storing values such as used in counting applications The Real time clock is also stored in this memory PL400 0 113 153 BBRAM Option 172 PROCON ELECTRONICS 10 PL400 Programmable Logic Controller 4 2 3 Data Memory Map All of the variables used in the PLC are stored in data memory In order for your program to get access to these variables you need to know the memory address The memory address starts at zero and the size depends on the PLC being used Each memory location consists of 16 bits Thus one memory location can be used to store the status of 16 digital I O points or an analog value from 0 to 65535 Some of the ladder functions use two consecutive memory locations to store larger values Refer to the ProSoft user manual to find out about the ladder functions PL400 MEMORY MAP Memory Type Digital Reference Memory Address Quantity Module Type 40 MO 1 Digital Inputs Il to I14 M1 14 Digital Outputs OI to O6 M2 6 Timer Status T1 to T16 M3 16 Counter Status CI to C16 M4 16 Control Relays RI to R64 M5 M8 64 System Relays SI to S32 M9 M10 32 Timer Memory lt M13 M28 16 Counter Memory M29 M44 16 User RAMMemory M45 M112 68 User EEPROM M113 M152 40 User BBRAM M153
22. tor The memory used is the two consecutive 16 bit memory locations M M 1 SUB Sub the memory M or constant K from the accumulator The result is stored in the accumulator SUBD Sub the memory M or constant K from the 32 bit accumulator The result is stored in the accumulator The memory used is the two consecutive 16 bit memory locations M amp M 1 MUL Multiply the accumulator with the memory M or constant K The result is stored in the accumulator MULD Multiply the 32 bit accumulator with the memory M or constant K The result is stored in the accumulator The memory used is the two consecutive 16 bit memory locations M amp M 1 DIV Divide the accumulator by the memory M or constant K The result is stored in the accumulator DIVD Divide the 32 bit accumulator by the memory M or constant K The result is stored in the accumulator The memory used is the two consecutive 16 bit memory locations M amp M 1 INC Increment the memory M The result is stored in the memory M INCD Increment two consecutive memory M locations The result is stored in the memory M amp M 1 DEC Decrement the memory M The result is stored in the memory M DECD Decrement two consecutive memory M locations The result is stored in the memory M amp M 1 INV Invert the bits in the accumulator MOV Moves a variable in a memory location to a new location The accumulator must already contain the address of the memory location to be mov
Download Pdf Manuals
Related Search
Related Contents
pSeries 7311 Model D10 and Model D20 - ps ACTi D12 surveillance camera 2 - Onkyo SRM9022 Mobile Radio Trunked MPT Operating Instructions HQ W9-TT-GASTEC tape ヌ翼方向CATVブ一スタ - digital Analyse transversale: PC/ビデオ入力、アンダースキャン表示対応。 高輝度・高画質の Toshiba 13A21C Flat Panel Television User Manual MicroTREK H-200 Copyright © All rights reserved.
Failed to retrieve file