IDEC OpenNet series User Manual Download Page 267

 

18: P

 

ROGRAM

 

 B

 

RANCHING

 

 I

 

NSTRUCTIONS

 

18-6

O

 

PEN

 

N

 

ET

 

 C

 

ONTROLLER

 

 U

 

SER

 

 

S

 

 M

 

ANUAL

Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]

Summary of Contents for OpenNet series

Page 1: ...OPENNET CONTROLLER EM345 0 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 2: ...er otherwise damage or malfunction of the OpenNet Controller will result Prevent metal fragments and pieces of wire from dropping inside the OpenNet Controller housing Put a cover on the Open Net Controller modules during installation and wiring Ingress of such fragments and chips may cause fire hazard damage or malfunction Use a power supply of the rated value Use of a wrong power supply may caus...

Page 3: ... described CHAPTER 7 BASIC INSTRUCTIONS Programming of the basic instructions available operands and sample programs CHAPTER 8 ADVANCED INSTRUCTIONS General rules of using advanced instructions terms data types and formats used for advanced instructions CHAPTER 9 THROUGH CHAPTER 20 Detailed descriptions on advanced instructions grouped into 12 chapters CHAPTER 21 THROUGH CHAPTER 26 Various communi...

Page 4: ...om DIN Rail 3 3 Installation in Control Panel 3 4 Mounting Direction 3 4 Input Wiring 3 5 Output Wiring 3 6 Data Link Wiring 3 7 Analog Input Output Wiring 3 8 Power Supply 3 9 Terminal Connection 3 10 CHAPTER 4 OPERATION BASICS Connecting OpenNet Controller to PC 1 1 Computer Link System 4 1 Start Stop Operation 4 2 Simple Operation 4 4 CHAPTER 5 SPECIAL FUNCTIONS Stop Input and Reset Input 5 1 R...

Page 5: ...and CUD Counter 7 11 CC and CC Counter Comparison 7 14 TC and TC Timer Comparison 7 16 DC and DC Data Register Comparison 7 18 SFR and SFRN Forward and Reverse Shift Register 7 20 SOTU and SOTD Single Output Up and Down 7 24 MCS and MCR Master Control Set and Reset 7 25 JMP Jump and JEND Jump End 7 27 END 7 28 CHAPTER 8 ADVANCED INSTRUCTIONS Advanced Instruction List 8 1 Structure of an Advanced I...

Page 6: ...clusive OR Word 12 1 NEG Negate 12 5 CHAPTER 13 BIT SHIFT ROTATE INSTRUCTIONS SFTL Shift Left 13 1 SFTR Shift Right 13 3 ROTL Rotate Left 13 5 ROTR Rotate Right 13 7 ROTLC Rotate Left with Carry 13 9 ROTRC Rotate Right with Carry 13 11 BCDLS BCD Left Shift 13 13 CHAPTER 14 DATA CONVERSION INSTRUCTIONS HTOB Hex to BCD 14 1 BTOH BCD to Hex 14 3 HTOA Hex to ASCII 14 5 ATOH ASCII to Hex 14 7 BTOA BCD ...

Page 7: ... 5 CHAPTER 19 COORDINATE CONVERSION INSTRUCTIONS XYFS XY Format Set 19 1 CVXTY Convert X to Y 19 2 CVYTX Convert Y to X 19 3 AVRG Average 19 6 CHAPTER 20 PID INSTRUCTION PID PID Control 20 1 Application Example 20 14 CHAPTER 21 DATA LINK COMMUNICATION Data Link Specifications 21 1 Data Link System Setup 21 2 Data Register Allocation for Transmit Receive Data 21 3 Special Data Registers for Data Li...

Page 8: ...3 Logical Device Number and Node Number 24 4 Data Mapping 24 5 Special Data Registers for Remote I O Node Information 24 6 Special Data Registers for INTERBUS Master Information 24 10 Special Internal Relays for INTERBUS Master Information 24 11 Calculation of the INTERBUS Cycle Time 24 12 Start and Stop of Remote I O Communication 24 12 Function Area Setting for Remote I O Master Station 24 13 Pr...

Page 9: ...12 Precautions for Modifying Application Program 26 13 LonWorks Interface Module Internal Structure 26 14 Data Exchange between LonWorks Interface Module and CPU Module 26 16 Application Program Examples 26 18 Defined Network Variables 26 23 LonWorks Network Troubleshooting 26 25 CHAPTER 27 TROUBLESHOOTING ERROR LED 27 1 Reading Error Data 27 1 Special Data Registers for Error Information 27 3 Gen...

Page 10: ...ct to Open Networks The OpenNet Controller can be connected to the three major open networks INTERBUS DeviceNet and LONWORKS The versatile communication capabilities reduce the time and cost needed when constructing expanding or modifying production lines Maintenance for communication lines will also become even easier High performance CPU Module The OpenNet Controller CPU module has multiple func...

Page 11: ...ctions can be programmed to compare the preset date and time with the internal realtime calen dar clock When the preset values are reached designated outputs can be turned on and off as programmed for the week RUN STOP Selection at Startup when Keep Data is Broken When data to be kept such as keep designated counter values are broken while the CPU is powered down the user can select whether the CP...

Page 12: ...maximum The remote I O network uses the INTER BUS protocol for communication The total cable length can be 12 8 km 7 95 miles maximum One remote I O master module can be mounted with the OpenNet Controller CPU module In addition a maximum of seven functional modules including OpenNet interface modules and analog I O modules can be mounted with one Open Net Controller CPU module idec NO H L DR1 DR0...

Page 13: ...this example the I O statuses of a remote machine are transferred through the remote I O line to the CPU The data received through modems is monitored on a computer and also sent to a pager transmitter For details about the remote I O system see page 24 1 For details about the modem mode see page 23 1 Module Type Terminal Block Type OpenNet Controller Master Station Remote Machine Pager Transmitte...

Page 14: ...ommunication Computer Link 1 N Communication Computer Link Cable 6C FC2A KC6C 2m 6 56 ft long AC Adapter 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 D sub 9 pin Female Connector RS485 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Computer Link Cable 4C FC2A KC4C 3m 9 84 ft long D sub 9 pin Female Connector RS232C Port 1 or Port 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 RS232C RS485 Converter FC2...

Page 15: ...r supply module is used to mount more than seven I O and functional modules When a maximum of 15 I O modules are mounted the number of I O points is expanded from 224 to 480 maximum Whether an expansion power supply module is used or not seven functional modules such as analog I O DeviceNet slave and LONWORKS interface modules can be mounted at the maximum in either the normal or expansion slots C...

Page 16: ... high speed counter respectively Either type is available with or without a memory card connector All CPU modules have two RS232C ports and one RS485 port CPU Module Type Numbers Parts Description Functions of each part are described on the following pages CPU Module Types Without Memory Card Connector With Memory Card Connector High speed Counter Sink Output Type FC3A CP2K FC3A CP2KM High speed C...

Page 17: ...o not power up the CPU while the communication enable button is depressed and do not press the button unless it is nec essary 4 Memory Card Connector Plug a miniature memory card into the memory card connector When a memory card is inserted the CPU runs the user program contained in the memory card instead of the user program stored in the CPU memory The memory card connector is provided on CPU mo...

Page 18: ...lates are supplied with the CPU module Remove the end plate from the CPU module before connecting digital I O and functional modules then attach the end plates on both sides of the assembly For removing the end plates see page 3 3 Function Terminal No Symbol Assignment High speed Counter Terminals 1 COM High speed counter COM 2 A High speed counter phase A 3 B High speed counter phase B 4 Z High s...

Page 19: ...rminal and FG 500V AC 1 minute Between I O terminal and FG 1 500V AC 1 minute Maximum Input Current 1 5A at 24V DC Power Consumption 8 4W 24V CPU module 48 I Os 32 DC input module 16 relay output module 18W 24V CPU module 128 I Os 32 DC input module 2 16 DC input mod ule 16 relay output module 3 11 8W 24V CPU module remote I O master module 48 I Os 32 DC input mod ule 16 relay output module 21 4W ...

Page 20: ...sic instructions 65 advanced instructions Processing Time Basic advanced instruction See page A 1 END processing See page A 2 Clock calendar processing One cycle in 100 msec see page A 2 Data link master station processing See pages page 21 1 and page 21 10 Internal Relay 2 048 points Data Register 8 000 points Counter 256 points adding dual pulse reversible up down selection reversible Timer 256 ...

Page 21: ...ible Possible User Communication Possible Possible Impossible Data Link Communication Impossible Impossible Possible Quantity of Slave Stations 31 Maximum Cable Length Special cable Special cable 200m Isolation between Power Supply and Communication Port Not isolated Not isolated Not isolated DIP Switch No Function Setting 1 RS485 port communication mode ON Data link mode OFF Maintenance mode 2 RS...

Page 22: ...g long ferrules for wiring the terminal block cover may be removed 4 Cable Terminal Connector Five different terminal connector styles are available for wiring 5 Terminal Label Indicates terminal numbers 1 through 20 on the terminal block 6 Expansion Connector Connects to CPU and other modules Module Name 16 point DC Input 32 point DC Input 8 point AC Input Screw Terminal FC3A N16B1 FC3A N08A11 Ny...

Page 23: ...isolated Internal circuit Photocoupler isolated External Load for I O Interconnection Not needed Signal Determination Method Static Effect of Improper Input Connection Both sinking and sourcing input signals can be connected If any input exceeding the rated value is applied permanent damage may be caused Cable Length 3m 9 84 ft in compliance with electromagnetic immunity Connector on Mother Board ...

Page 24: ...l circuit Photocoupler isolated External Load for I O Interconnection Not needed Signal Determination Method Static Effect of Improper Input Connection Both sinking and sourcing input signals can be connected If any input exceeding the rated value is applied permanent damage may be caused Cable Length 3m 9 84 ft in compliance with electromagnetic immunity Connector on Mother Board Nylon Connector ...

Page 25: ...s Not isolated Internal circuit Photocoupler isolated External Load for I O Interconnection Not needed Signal Determination Method Static Effect of Improper Input Connection If any input exceeding the rated value is applied permanent damage may be caused Cable Length 3m 9 84 ft in compliance with electromagnetic immunity Connector on Mother Board Screw Terminal Block MSTBA2 5 20 G5 08 Phoenix Cont...

Page 26: ...3 5 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 DC IN Terminal No Name 1 COM 2 COM 3 I0 4 I1 5 I2 6 I3 7 I4 8 I5 9 I6 10 I7 11 COM 12 COM 13 I10 14 I11 15 I12 16 I13 17 I14 18 I15 19 I16 20 I17 Terminal No Name 1 COM 2 COM 3 I0 4 I1 5 I2 6 I3 7 I4 8 I5 9 I6 10 I7 11 COM 12 COM 13 I10 14 I11 15 I12 16 I13 17 I14 18 I15 19 I16 20 I17 Sink Input Wiring Terminal No Name 1 COM 2 COM 3 I0 4 I1 5 I2 6 I3 7 I...

Page 27: ... CN1 DC IN CN1 CN2 Terminal No Name 1 COM 2 COM 3 I0 4 I1 5 I2 6 I3 7 I4 8 I5 9 I6 10 I7 Terminal No Name 1 COM 2 COM 3 I10 4 I11 5 I12 6 I13 7 I14 8 I15 9 I16 10 I17 CN1 CN2 Terminal No Name 1 COM 2 COM 3 I0 4 I1 5 I2 6 I3 7 I4 8 I5 9 I6 10 I7 Terminal No Name 1 COM 2 COM 3 I10 4 I11 5 I12 6 I13 7 I14 8 I15 9 I16 10 I17 Sink Input Wiring CN1 CN2 Terminal No Name 1 COM 2 COM 3 I0 4 I1 5 I2 6 I3 7 ...

Page 28: ...IN CN1 Terminal No Name 18 I0 17 I1 16 I2 15 I3 14 I4 13 I5 12 I6 11 I7 10 I10 9 I11 8 I12 7 I13 6 I14 5 I15 4 I16 3 I17 2 COM 1 COM CN2 Terminal No Name 18 I20 17 I21 16 I22 15 I23 14 I24 13 I25 12 I26 11 I27 10 I30 9 I31 8 I32 7 I33 6 I34 5 I35 4 I36 3 I37 2 COM 1 COM CN1 Terminal No Name 18 I0 17 I1 16 I2 15 I3 14 I4 13 I5 12 I6 11 I7 10 I10 9 I11 8 I12 7 I13 6 I14 5 I15 4 I16 3 I17 2 COM 1 COM...

Page 29: ...7 B4 NC B3 NC B2 COM B1 COM Terminal No Name A20 I20 A19 I21 A18 I22 A17 I23 A16 I24 A15 I25 A14 I26 A13 I27 A12 I30 A11 I31 A10 I32 A9 I33 A8 I34 A7 I35 A6 I36 A5 I37 A4 NC A3 NC A2 NC A1 NC Terminal No Name B20 I0 B19 I1 B18 I2 B17 I3 B16 I4 B15 I5 B14 I6 B13 I7 B12 I10 B11 I11 B10 I12 B9 I13 B8 I14 B7 I15 B6 I16 B5 I17 B4 NC B3 NC B2 COM B1 COM Terminal No Name A20 I20 A19 I21 A18 I22 A17 I23 A...

Page 30: ...d on the terminal block label on the input module For wiring precautions see page 3 5 0 AC IN 1 2 3 4 5 6 7 Terminal No Name 1 COM0 2 I0 3 COM1 4 I1 5 COM2 6 I2 7 COM3 8 I3 9 COM4 10 I4 11 COM5 12 I5 13 COM6 14 I6 15 COM7 16 I7 17 NC 18 NC 19 NC 20 NC Terminal No Name 1 COM0 2 I0 3 COM1 4 I1 5 COM2 6 I2 7 COM3 8 I3 9 COM4 10 I4 11 COM5 12 I5 13 COM6 14 I6 15 COM7 16 I7 17 NC 18 NC 19 NC 20 NC Phon...

Page 31: ...ferrules for wiring the terminal block cover may be removed 4 Cable Terminal Connector Six different connector terminal styles are available 5 Terminal Label Indicates terminal numbers 1 through 20 on the terminal block 6 Expansion Connector Connects to CPU and other modules Module Name 16 point Relay Output 16 point Transistor Sink Output 16 point Transistor Protect Source Output 32 point Transis...

Page 32: ...tween output terminals COMs 1 500V AC 1 minute Connector on Mother Board Screw Terminal Block MSTBA2 5 20 G5 08 Phoenix Contact Nylon Connector B5PS VH 4 J S T Mfg Connector Insertion Removal Durability 100 times minimum 50 times minimum Internal Current Draw All outputs ON 170 mA 24V DC All outputs OFF 20 mA 24V DC Output Delay Turn ON time 6 msec maximum Chatter 6 msec maximum Turn OFF time 10 m...

Page 33: ...ing Voltage 39V 1V Maximum Lamp Load 10W Inductive Load L R 10 msec 30V DC 0 5 Hz External Current Draw 100 mA maximum 24V DC power voltage at the V terminal Isolation Between output terminal and internal circuit Photocoupler isolated Between output terminals Not isolated Connector on Mother Board Screw Terminal Block MSTBA2 5 20 G5 08 Phoenix Contact Nylon Connector B10PS VH 2 J S T Mfg Connector...

Page 34: ...ity 100 times minimum Internal Current Draw All outputs ON 70 mA 24V DC All outputs OFF 40 mA 24V DC Output Delay Turn ON time 500 µsec maximum Turn OFF time 500 µsec maximum Protecting Operation Protection is activated by element heating when a short circuit occurs Only the overloaded output is forced off Not in compliance with IEC1131 Protected outputs and Short circuit proof outputs Restarting ...

Page 35: ...s Off when using one transistor protect source output module Sample Program 2 Turning All Outputs Off when using seven transistor protect source output modules Caution A prolonged overload or short circuit may damage the output circuit elements of the transistor protect source output module Include a protection program in the user program to protect the output module from damage caused by overheat...

Page 36: ...lamping Voltage 39V 1V Inductive Load L R 20 msec 27 6V DC 1 Hz External Current Draw 100 mA maximum 24V DC power voltage at the V terminal Isolation Between output terminal and internal circuit Photocoupler isolated Between output terminals Not isolated Connector on Mother Board Nylon Connector BS18P SHF 1AA 2 J S T Mfg Fujitsu Connector FCN 365P040 AU Fujitsu Connector Insertion Removal Durabili...

Page 37: ... precautions see page 3 6 0 Ry OUT 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 Terminal No Name 1 COM0 2 Q0 3 Q1 4 Q2 5 Q3 6 COM1 7 Q4 8 Q5 9 Q6 10 Q7 11 COM2 12 Q10 13 Q11 14 Q12 15 Q13 16 COM3 17 Q14 18 Q15 19 Q16 20 Q17 L Terminal No Name 1 COM0 2 Q0 3 Q1 4 Q2 5 Q3 6 COM1 7 Q4 8 Q5 9 Q6 10 Q7 11 COM2 12 Q10 13 Q11 14 Q12 15 Q13 16 COM3 17 Q14 18 Q15 19 Q16 20 Q17 Fuse L L L AC Fuse Fuse DC DC L Fuse ...

Page 38: ... CN2 Terminal No Name 1 COM0 2 Q0 3 Q1 4 Q2 5 Q3 Terminal No Name 1 COM1 2 Q4 3 Q5 4 Q6 5 Q7 CN3 CN4 Terminal No Name 1 COM2 2 Q10 3 Q11 4 Q12 5 Q13 Terminal No Name 1 COM3 2 Q14 3 Q15 4 Q16 5 Q17 L CN1 CN2 CN3 CN4 Terminal No Name 1 COM0 2 Q0 3 Q1 4 Q2 5 Q3 Terminal No Name 1 COM1 2 Q4 3 Q5 4 Q6 5 Q7 Terminal No Name 1 COM2 2 Q10 3 Q11 4 Q12 5 Q13 Terminal No Name 1 COM3 2 Q14 3 Q15 4 Q16 5 Q17 F...

Page 39: ...4 6 Q5 7 Q6 8 Q7 9 COM 10 V 11 Q10 12 Q11 13 Q12 14 Q13 15 Q14 16 Q15 17 Q16 18 Q17 19 COM 20 V FC3A T16P1 Terminal No Name 1 Q0 2 Q1 3 Q2 4 Q3 5 Q4 6 Q5 7 Q6 8 Q7 9 COM 10 V 11 Q10 12 Q11 13 Q12 14 Q13 15 Q14 16 Q15 17 Q16 18 Q17 19 COM 20 V L FC3A T16K1 Terminal No Name 1 Q0 2 Q1 3 Q2 4 Q3 5 Q4 6 Q5 7 Q6 8 Q7 9 COM 10 V 11 Q10 12 Q11 13 Q12 14 Q13 15 Q14 16 Q15 17 Q16 18 Q17 19 COM 20 V Fuse L L...

Page 40: ...ble For wiring precautions see page 3 6 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 CN2 CN1 Tr OUT CN1 CN2 Terminal No Name 1 Q0 2 Q1 3 Q2 4 Q3 5 Q4 6 Q5 7 Q6 8 Q7 9 COM 10 V Terminal No Name 1 Q10 2 Q11 3 Q12 4 Q13 5 Q14 6 Q15 7 Q16 8 Q17 9 COM 10 V L CN1 CN2 Terminal No Name 1 Q0 2 Q1 3 Q2 4 Q3 5 Q4 6 Q5 7 Q6 8 Q7 9 COM 10 V Terminal No Name 1 Q10 2 Q11 3 Q12 4 Q13 5 Q14 6 Q15 7 Q16 8 Q17 9 COM 10 V...

Page 41: ...rminal No Name 18 Q0 17 Q1 16 Q2 15 Q3 14 Q4 13 Q5 12 Q6 11 Q7 10 Q10 9 Q11 8 Q12 7 Q13 6 Q14 5 Q15 4 Q16 3 Q17 2 COM 1 V CN2 Terminal No Name 18 Q20 17 Q21 16 Q22 15 Q23 14 Q24 13 Q25 12 Q26 11 Q27 10 Q30 9 Q31 8 Q32 7 Q33 6 Q34 5 Q35 4 Q36 3 Q37 2 COM 1 V L CN1 Terminal No Name 18 Q0 17 Q1 16 Q2 15 Q3 14 Q4 13 Q5 12 Q6 11 Q7 10 Q10 9 Q11 8 Q12 7 Q13 6 Q14 5 Q15 4 Q16 3 Q17 2 COM 1 V L L L L L L ...

Page 42: ...3 Q27 A12 Q30 A11 Q31 A10 Q32 A9 Q33 A8 Q34 A7 Q35 A6 Q36 A5 Q37 A4 NC A3 NC A2 COM A1 COM L Terminal No Name B20 Q0 B19 Q1 B18 Q2 B17 Q3 B16 Q4 B15 Q5 B14 Q6 B13 Q7 B12 Q10 B11 Q11 B10 Q12 B9 Q13 B8 Q14 B7 Q15 B6 Q16 B5 Q17 B4 NC B3 NC B2 V B1 V L L L L L L L L L L L L L Load L L Terminal No Name A20 Q20 A19 Q21 A18 Q22 A17 Q23 A16 Q24 A15 Q25 A14 Q26 A13 Q27 A12 Q30 A11 Q31 A10 Q32 A9 Q33 A8 Q34...

Page 43: ...alog Input Module Type Number Parts Description 1 Module ID A D indicates the analog input module ID 2 Power LED Turns on when power is on 3 Cable Terminal Screw terminal block 4 Terminal Label Indicates terminal numbers on the terminal block 5 Expansion Connector Connects to CPU and other modules 6 Rotary Switch Selects the input mode from five different signal ranges Module Name 6 channel Analog...

Page 44: ...n Time 3 msec per channel Conversion Method type ADC Maximum Temporary Deviation during Electrical Noise Tests and Test Conditions 3 maximum of full scale at 500V impulse test Conversion Type Successive approximation type Operating Mode Self scan Calibration or Verification to Maintain Rated Accuracy Impossible Monotonicity Yes Crosstalk 2 LSB maximum Non lineality 0 1 of full scale maximum Repeat...

Page 45: ...he required analog input range After setting the rotary switch power up the CPU and other modules The COM V I terminal of each channel is independent from each other Connect the V and COM terminals of unused channels together Connecting these terminals together will reduce the AD conversion time in the analog input module by approximately 10 for every unused slot PCW A D Terminal No Channel Name 1...

Page 46: ...Module ID D A indicates the analog output module ID 2 Power LED Turns on when power is on 3 Cable Terminal Screw terminal block 4 Terminal Label Indicates terminal numbers on the terminal block 5 Expansion Connector Connects to CPU and other modules 6 Rotary Switch Selects the output mode from five different signal ranges Module Name 2 channel Analog Output Module Type No FC3A DA1221 Rotary Switch...

Page 47: ... LSB maximum Non lineality 0 1 of full scale maximum Repeatability after Stabilization Time 0 5 of full scale maximum more than 30 minutes after powerup Output Ripple 1 LSB maximum Output Response at Power Up and Down Output returns to the lower limit value within 1 msec Output Mode Selection and Output Value of LSB Using a rotary switch see page 2 31 Load Impedance in Signal Range Voltage output ...

Page 48: ...to terminals 15 and 16 of the analog output module For wiring schematic and precautions see page 3 8 Notes Before mounting the analog output module first set the rotary switch to meet the required analog output range After set ting the rotary switch power up the CPU and other modules The COM GND terminals of each channel are connected together internally D A PCW Terminal No Channel Rotary Switch P...

Page 49: ... The terminal cover flips open to the right 4 Terminal Label Indicates terminal numbers 5 Cable Connector Nylon connector 5 pin 6 Expansion Connector Connects to CPU and other modules Expansion Power Supply Module Mounting Position Mount the expansion power supply module in the eighth slot Do not mount the expansion power supply module in any other slot than the eighth otherwise correct allocation...

Page 50: ...ge Range 19 to 30V DC including ripple Dielectric Strength Between power terminal and FG 1 000V AC 1 minute Maximum Input Current 5A at 24V DC Internal Current Draw 30 mA 24V DC Allowable Momentary Power Interruption 10 msec 24V DC Level PS 2 EN61131 Insulation Resistance Between power terminal and FG 10 MΩ minimum 500V DC megger Inrush Current 50A total of inrush currents into CPU and expansion p...

Page 51: ...the remote I O master module ID 2 FG Terminal Frame ground 3 Connector 1 V 24 Interface for monitoring the communication line using CMD CMD is a software program to run on Windows 3 1 95 for configuration monitoring and diagnosis supplied by Phoenix Contact 4 Connector 2 REMOTE OUT for connecting a communication cable to the REMOTE IN connector on a remote I O slave module 5 Status LED Turns on to...

Page 52: ... Wire UL1015 AWG22 UL1007 AWG18 Weight approx 200g Network Protocol INTERBUS Transmission Speed 500 kbps Transmission Distance Between remote I O master and remote bus station 400m maximum Between remote bus stations 400m maximum Remote bus total length 12 8 km maximum Quantity of Nodes 32 remote I O slave stations maximum I O Points per Node 128 points maximum 64 inputs and 64 outputs Branch Leve...

Page 53: ...d load off and physical port number 3 Connector Network interface connector for connecting an input communication cable 4 Status LED Indicates operating status 5 Expansion Connector Connects to CPU and other modules Module Name DeviceNet Slave Module Type No FC3A SX5DS1 Weight approx 180g POW POWER Green ON Power is on MNS MODULE NETWORK STATUS OFF Duplicate MAC ID test not completed Green Flash N...

Page 54: ...k management 4 Connector Network interface connector for connecting an input communication cable 5 Status LED Indicates operating status 6 Expansion Connector Connects to CPU and other modules Module Name LONWORKS Interface Module Type No FC3A SX5LS1 Weight approx 180g POW POWER Green ON Power is on RUN RUN Green ON Normal operation ERR COM_ERROR Red ON Communication error OFF Normal I O I O_ERROR...

Page 55: ...ules Example The following figure illustrates a system setup consisting of a remote I O master module a CPU module and three I O modules 110 4 5 55 8 5 100 1 8 35 8 5 100 110 1 8 1 8 4 5 Digital I O analog I O expansion power supply remote I O master Devicenet Slave and LONWORKS interface modules have the same outside dimensions 195 55 35 35 35 35 110 V 24 Interface REMOTE OUT idec All dimensions ...

Page 56: ...0 and below 95 The OpenNet Controller should not be exposed to excessive dust dirt salt direct sunlight vibrations or shocks Do not use the OpenNet Controller in an area where corrosive chemicals or flam mable gases are present The modules should not be exposed to chemical oil or water splashes Turn power off to the OpenNet Controller before starting installation removal wiring mainte nance and in...

Page 57: ...r until the latches click to attach the modules together firmly 4 Press the end plate to each side of the module assembly A pair of end plates are supplied with each CPU module Caution Assemble OpenNet Controller modules together before mounting the modules onto a DIN rail Attempt to assemble modules on a DIN rail may cause damage to the modules When using analog input or output modules first set ...

Page 58: ...il and push in the clamps as shown on the right 3 Use BNL6 mounting clips on both sides of the OpenNet Controller modules to prevent moving sideways Removing from DIN Rail 1 Insert a flat screwdriver into the slot in the clamp 2 Pull out the clamps from the modules 3 Turn the OpenNet Controller modules bottom out Caution Remove the OpenNet Controller modules from the DIN rail before disassembling ...

Page 59: ...consideration Mounting Direction Mount the OpenNet Controller modules horizontally on a vertical plane as shown above Keep a sufficient spacing around the OpenNet Controller modules to ensure proper ventilation When the ambient temperature is 40 C or below the Open Net Controller modules can also be mounted upright on a horizontal plane as shown at left below 20 mm minimum 20 mm minimum 40 mm mini...

Page 60: ...r line and motor line Use UL1015AWG22 or UL1007AWG18 wires for input wiring 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 NPN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 wire Sensor 24V DC DC IN 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 PNP 2 wire Sensor 24V DC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 DC IN 0 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 AC IN Phone 8...

Page 61: ...iving loads which generate noise such as electromagnetic contactors and solenoid valves use a surge absorber for AC power or a diode for DC power DC L Power AC L Output Power Surge Absorber Diode Terminal Output Terminal Load Load 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 Insert a fuse compatible with the load Load Load Load Load Load Load Load Load Load Load Load Load Load Load Load Load 1 2 3 4 5 ...

Page 62: ...ample FC3A R161 Relay Output Module Wiring Data Link Wiring For wiring the data link cable to the RS485 terminals on the CPU module use a two core twisted pair shielded cable with a minimum core diameter of 0 9 mm Separate the data link cable from the output line power line and motor line 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Ry OUT Load Load Lo...

Page 63: ...nused channels together Analog Current Input rotary switch set to 4 0 to 20 mA Analog Input Module Terminal No Channel Name 1 Ch 0 V 2 I 3 COM 4 Ch 1 V 5 I 6 COM 7 Ch 2 V 8 I 9 COM 10 Ch 3 V 11 I 12 COM 13 Ch 4 V 14 I 15 COM 16 Ch 5 V 17 I 18 COM 19 NC 20 NC Analog Voltage Output Device Connect V and COM terminals of unused channels together Analog Voltage Input rotary switch set to 0 through 3 0 ...

Page 64: ...grounding wire of motor equipment Grounding Remote I O Master and LONWORKS Interface Modules Connect the FG terminal to the ground using a wire of UL1015 AWG22 or UL1007 AWG18 grounding resistance 100Ω maximum and a ring shape wire terminal Tighten the M3 FG terminal screw to a torque of 0 6 to 1 0 N m Do not con nect the grounding wire in common with the grounding wire of motor equipment Note For...

Page 65: ...an listed above are used the ferrule may come in contact with the terminal block cover Then remove the terminal block cover from the module Quantity of Cables Cable Size Phoenix Type Order No Pcs Pkt For 1 cable connection UL1007 AWG18 AI 1 8 RD 32 00 03 0 100 UL1015 AWG22 AI 0 5 8 WH 32 00 01 4 100 For 2 cable connection UL1007 AWG18 AI TWIN 2 x 1 8 RD 32 00 81 0 100 UL1015 AWG22 AI TWIN 2 x 0 5 ...

Page 66: ...puter link system connect a computer to the OpenNet Controller using the computer link cable 4C FC2A KC4C Computer Link through RS485 Port When connecting a Windows computer to the RS485 port on the OpenNet Controller CPU module enable the mainte nance mode for the RS485 port To enable the maintenance mode for the RS485 set the DIP switch 1 to OFF To set up a 1 1 computer link system connect a com...

Page 67: ... M8000 on or off 3 Select Online from the WindLDR menu bar then select Download Program Or click the download icon OpenNet Download Program dialog box appears 4 Click the PLC Start button to start operation then the start control special internal relay M8000 is turned on 5 Click the PLC Stop button to stop operation then the start control special internal relay M8000 is turned off The PLC operatio...

Page 68: ...ignated as a stop or reset input using Function Area Settings The procedure for selecting stop and reset inputs is described on page 5 1 Note When using a stop and or reset input to start and stop operation make sure that start control special internal relay M8000 is on If M8000 is off then the CPU does not start operation when the stop or reset input is turned off M8000 is not turned on or off wh...

Page 69: ...ut Q1 is turned on When both inputs I0 and I1 are turned on output Q2 flashes in 1 sec increments Start WindLDR From the Start menu of Windows select Programs WindLDR WindLDR WindLDR starts and a blank ladder editing screen appears with menus and tool bars shown on top of the screen Edit User Program Rung by Rung Start the user program with the LOD instruction by inserting a NO contact of input I0...

Page 70: ...mouse button The Normally Closed dialog box appears 6 Enter I1 in the Tag Name field and click OK A NC contact of input I1 is programmed in the second column of the first ladder line At the end of the first ladder line program the OUT instruction by inserting a NO coil of output Q0 7 Click the Output coil icon The mouse pointer is indicated with the name of the icon Output 8 Move the mouse pointer...

Page 71: ...K and the file is saved in the selected folder and drive Download Program You can download the user program from WindLDR running on a PC to the OpenNet Controller From the WindLDR menu bar select Online Download Program The Download Program Dialog shows then click the Download button The user program is downloaded to the OpenNet Controller Note When downloading a user program all values and select...

Page 72: ...ws Quitting WindLDR When you have completed monitoring you can quit WindLDR either directly from the monitor screen or from the editing screen In both cases from the menu bar select File Exit WindLDR Rung 01 When both inputs I0 and I1 are on output Q0 is turned off Rung 02 When both inputs I0 and I1 are on output Q1 is turned off Rung 03 When both input I0 and I1 are on internal relay M10 is turne...

Page 73: ...4 OPERATION BASICS 4 8 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 74: ...ich can be designated from the Function Area Settings menu When the designated stop or reset input is turned on the OpenNet Controller stops operation For the system statuses in the stop and reset modes see page 4 3 Since these settings relate to the user program the user program must be downloaded to the OpenNet Controller after changing any of these settings Programming WindLDR 1 From the WindLD...

Page 75: ...ogram must be downloaded to the OpenNet Controller after chang ing this setting Programming WindLDR 1 From the WindLDR menu bar select Configure Function Area Settings The Function Area Setting dialog box appears 2 Select the Run Stop tab Run Default Click the button on the left to start the CPU at memory backup error Stop Click the button on the left to stop the CPU when attempting to start at me...

Page 76: ... as clear types When the CPU is stopped these statuses and values are maintained When the CPU is reset by turning on a designated reset input these statues and values are cleared despite the settings in the Keep dialog box shown below The keep clear settings in this dialog box have effect when restarting the CPU Since these settings relate to the user program the user program must be downloaded to...

Page 77: ...of R17 R32 is designated R17 through R32 are keep types R0 through R16 and R33 through R255 are clear types Counter Clear Designation All Keep All counter current values are maintained at startup default All Clear All counter current values are cleared at startup Clear Range A designated area of counter current values are cleared at startup Enter the start clear number in the left field and the en...

Page 78: ... Module 15 in the Module Selection list box to select a slot number to mount a module Digital I O and functional modules are numbered Module 01 through Module 15 starting with the module mounted next to the CPU module 4 Select a module type in the Module Type list box Not Set Module type is not selected for the selected slot Digital I O A digital I O module is selected for the selected slot Functi...

Page 79: ...mple input numbers of module number 1 containing 32 inputs are divided into four groups IN_FLT0 I0 through I7 only IN_FLT0 has effect on catch inputs IN_FLT1 I10 through I17 IN_FLT2 I20 through I27 IN_FLT3 I30 through I37 Select an input filter value from 0 0 5 1 2 4 8 16 or 32 msec for each input group Default 4 msec Catch Input Rising Falling Edge Selection No effect on the input filter Input Fi...

Page 80: ... catch input or input filter function Module number 1 is the input module mounted next to the CPU module Module number 2 is the second from the CPU module and so on Input Filter Time Selection Input filter time is selected in groups of eight inputs For example input numbers of module number 1 are divided into four groups IN_FLT0 I0 through I7 only IN_FLT0 has effect on catch inputs IN_FLT1 IN_FLT2...

Page 81: ...ual Input ON OFF Input Relay ON OFF I0 to I7 Note 1 Note 2 END Processed One Scan Actual Input ON OFF Input Relay ON OFF I0 to I7 Note 1 Note 2 END Processed CNT C2 100 I1 Reset Pulse I0 Designate input I1 as a catch input Input I0 is used as a reset input for adding counter C2 Input I1 is designated as a catch input using the Function Area Settings Counter C2 counts short pulse inputs to input I1...

Page 82: ...special internal relay M8010 is turned on the comparison output is turned off While the high speed counter is counting up up down status special internal relay M8130 remains on While counting down M8130 remains off When the current value exceeds the preset value comparison ON status special internal relay M8131 turns on in the next scan When the current value is reset cleared to zero current value...

Page 83: ...the Function Area Settings is turned on Maximum Counting Frequency 10 kHz Counting Range 0 to 65535 16 bits Input Voltage 24V DC 15 Input Impedance 6 kΩ Comparison Output 1 point terminal 5 on the CPU module Output Device Transistor sink or source output depending on the CPU module type Output Power Voltage 24V DC 15 Output Current 500 mA maximum Comparison Output Delay 20 µsec maximum No Descript...

Page 84: ... an input or internal relay number to designate a gate input When a gate input is designated counting is enabled while the gate input is on and is disabled while the gate input is off When a gate input is not designated counting is always enabled Enable Comparison Output Click the check box to enable the high speed counter comparison output With this box checked the high speed current value is com...

Page 85: ...Comparison ON Status M8131 ON OFF Current Value Zero clear M8132 ON OFF Current Value Overflow M8133 ON OFF Current Value Underflow M8134 ON OFF Comparison Output Status M8135 ON OFF 0 65535 1 2 3 65534 Preset Value Current Value one scan one scan one scan one scan The D8047 value at this point becomes the preset value for the next counting cycle Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr ...

Page 86: ... OUT 9 24V DC 10 0V Wiring for loads susceptible to noises Wiring for loads insusceptible to noises L 1 COM 2 CW 3 CCW 4 Reset to zero 5 HSC OUT 9 24V DC 10 0V L 1 COM 2 CW 3 CCW 4 Reset to zero 5 HSC OUT 9 24V DC 10 0V Wiring for loads susceptible to noises Wiring for loads insusceptible to noises Caution Be sure to use shielded cables for wiring high speed counter inputs If the input cable is no...

Page 87: ... remains on for 0 5 second to punch holes in the tape and is turned off until the preset value is reached again Wiring Diagram Program Parameters Enable High speed Counter Yes HSC Operation Mode Rotary Encoder Enable HSC Reset Input No Enable HSC Gate Input No Enable Comparison Output Yes Current Value Automatic Reset Yes HSC Reset Value D8046 300 HSC Preset Value D8047 2 999 Timer Preset Value 0 ...

Page 88: ...reset Value D8047 0 5 sec for punching M8135 TIM 5 T10 Comparison output status M8135 turns on in one scan time after the comparison output is turned on A maximum of one scan time of delay exists before M8135 is turned on When M8135 turns on the 100 msec timer TIM instruction starts to time down When the preset value of 0 5 second is reached M8010 is turned on to reset the comparison output Compar...

Page 89: ... to the OpenNet Controller after changing any of these settings Programming WindLDR 1 From the WindLDR menu bar select Configure Function Area Settings The Function Area Setting dialog box appears 2 Select the Others tab 3 Click the Enable Key Matrix Input check box and enter required data in the areas shown below First Input No Enter the first input number used for the key matrix Inputs Enter the...

Page 90: ...111 SW13 M112 SW14 M113 SW15 Q2 M114 SW20 M115 SW21 M116 SW22 M117 SW23 M120 SW24 M121 SW25 Q3 M122 SW30 M123 SW31 M124 SW32 M125 SW33 M126 SW34 M127 SW35 Q4 M130 SW40 M131 SW41 M132 SW42 M133 SW43 M134 SW44 M135 SW45 SW10 SW00 SW20 SW30 SW40 SW21 SW31 SW41 SW12 SW32 SW42 SW13 SW23 SW43 SW14 SW24 SW34 SW15 SW25 SW35 SW45 SW11 SW22 SW33 SW44 SW01 SW02 SW03 SW04 SW05 Output Q0 Q1 Qn Q2 Q3 Q4 Q5 Tran...

Page 91: ...bling and Enabling Protection 1 From the WindLDR menu bar select Online Monitor The monitor mode is enabled 2 From the WindLDR menu bar select Online PLC Status 3 Under the Protect Status in the PLC Status dialog box press the Change but ton The Change Protect dialog box appears 4 Enter the protect code and click either button under Disable Enable Protect Disable Protect Disables the user program ...

Page 92: ... the ERROR LED goes on 7 Power down the CPU and remove the miniature card by pressing the miniature card eject button 8 Power up the CPU to start the program Specifications Downloading User Program from WindLDR to Miniature Card For the procedures to download a user program from WindLDR on a computer to a miniature card see page 4 6 When a miniature card is inserted in the CPU module the user prog...

Page 93: ...ased to several milliseconds When the actual scan time is longer than the scan time preset value the scan time cannot be reduced to the constant value Special Data Registers for Scan Time In addition to D8022 three more special data registers are reserved to indicate current maximum and minimum scan time values Example Constant Scan Time This example sets the scan time to a constant value of 500 m...

Page 94: ...he output terminals Internal relays M are relays used in the CPU and cannot be outputted to the output terminals Special internal relays M are internal relays dedicated to specific functions Timers T are relays used in the user program available in 1 sec 100 msec 10 msec and 1 msec timers Counters C are relays used in the user program available in adding counters and reversible counters Shift regi...

Page 95: ... Q0397 Q0400 Q0407 Q0410 Q0417 Q0420 Q0427 Q0430 Q0437 Q0440 Q0447 Q0450 Q0457 Q0460 Q0467 Q0470 Q0477 Q0480 Q0487 Q0490 Q0497 Q0500 Q0507 Q0510 Q0517 Q0520 Q0527 Q0530 Q0537 Q0540 Q0547 Q0550 Q0557 Q0560 Q0567 Q0570 Q0577 Q0580 Q0587 Q0590 Q0597 480 total when using an expansion power supply module Internal Relay M M0000 M0007 M0010 M0017 M0020 M0027 M0030 M0037 M0040 M0047 M0050 M0057 M0060 M006...

Page 96: ...1917 M1920 M1927 M1930 M1937 M1940 M1947 M1950 M1957 M1960 M1967 M1970 M1977 M1980 M1987 M1990 M1997 M2000 M2007 M2010 M2017 M2020 M2027 M2030 M2037 M2040 M2047 M2050 M2057 M2060 M2067 M2070 M2077 M2080 M2087 M2090 M2097 M2100 M2107 M2110 M2117 M2120 M2127 M2130 M2137 M2140 M2147 M2150 M2157 M2160 M2167 M2170 M2177 M2180 M2187 M2190 M2197 M2200 M2207 M2210 M2217 M2220 M2227 M2230 M2237 M2240 M2247...

Page 97: ...3 L1030 L1033 L1034 L1037 Node 4 L1040 L1043 L1044 L1047 Node 5 L1050 L1053 L1054 L1057 Node 6 L1060 L1063 L1064 L1067 Node 7 L1070 L1073 L1074 L1077 Node 8 L1080 L1083 L1084 L1087 Node 9 L1090 L1093 L1094 L1097 Node 10 L1100 L1103 L1104 L1107 Node 11 L1110 L1113 L1114 L1117 Node 12 L1120 L1123 L1124 L1127 Node 13 L1130 L1133 L1134 L1137 Node 14 L1140 L1143 L1144 L1147 Node 15 L1150 L1153 L1154 L1...

Page 98: ...9 D8409 Slave Station 11 D7200 D7209 D7210 D7219 D8410 Slave Station 12 D7220 D7229 D7230 D7239 D8411 Slave Station 13 D7240 D7249 D7250 D7259 D8412 Slave Station 14 D7260 D7269 D7270 D7279 D8413 Slave Station 15 D7280 D7289 D7290 D7299 D8414 Slave Station 16 D7300 D7309 D7310 D7319 D8415 Slave Station 17 D7320 D7329 D7330 D7339 D8416 Slave Station 18 D7340 D7349 D7350 D7359 D8417 Slave Station 19...

Page 99: ...e Instruction Cancel Flag RS232C Port 1 Cleared Cleared M8023 User Communication Receive Instruction Cancel Flag RS232C Port 2 Cleared Cleared M8024 M8027 Reserved M8030 INTERBUS Master Initialize Maintained Cleared M8031 M8035 Reserved M8036 INTERBUS Master Bus NG read only Maintained Cleared M8037 INTERBUS Master Peripheral Fault read only Maintained Cleared M8040 INTERBUS Master Error read only...

Page 100: ...em Mode AT Command Execution Maintained Cleared M8090 RS232C Port 2 Modem Mode Originate Initialization String Completion Maintained Cleared M8091 RS232C Port 2 Modem Mode Originate ATZ Completion Maintained Cleared M8092 RS232C Port 2 Modem Mode Originate Dialing Completion Maintained Cleared M8093 RS232C Port 2 Modem Mode Disconnect Disconnect Line Completion Maintained Cleared M8094 RS232C Port...

Page 101: ...e Station 13 Comm Completion Relay Operating Cleared M8155 Data Link Separate Refresh Slave Station 14 Comm Completion Relay Operating Cleared M8156 Data Link Separate Refresh Slave Station 15 Comm Completion Relay Operating Cleared M8157 Data Link Separate Refresh Slave Station 16 Comm Completion Relay Operating Cleared M8160 Data Link Separate Refresh Slave Station 17 Comm Completion Relay Opera...

Page 102: ...cleared and remains on until M8005 is reset using WindLDR or until the CPU is turned off The cause of the data link communication error can be checked using Online Monitor PLC Status Error Status Details See page 21 4 M8006 Data Link Communication Prohibit Flag Master Station When M8006 at the master station is turned on in the data link system data link communication is stopped The M8006 status i...

Page 103: ...and 29 for current time adjustment for seconds will be set to 0 and minutes remain the same If seconds are between 30 and 59 for current time adjustment for seconds will be set to 0 and minutes are incremented one See page 15 8 M8022 User Communication Receive Instruction Cancel Flag RS232C Port 1 When M8022 is turned on all RXD1 instructions ready for receiving user communication through RS232C p...

Page 104: ...r off with a duty ratio of 1 1 5 msec on and 5 msec off M8124 Timer Counter Preset Value Changed When timer or counter preset values are changed in the CPU module RAM M8124 turns on When a user program is transferred to the CPU from WindLDR or when the changed timer counter preset value is cleared M8124 turns off M8125 In operation Output M8125 remains on while the CPU is running M8122 50 msec 100...

Page 105: ...w Data Write only 15 7 D8021 Second New Data Write only 15 7 D8022 Constant Scan Time Preset Value 5 20 D8023 Scan Time Current Value Every scan 5 20 D8024 Scan Time Maximum Value At occurrence 5 20 D8025 Scan Time Minimum Value At occurrence 5 20 D8026 Communication Selector Switch Value 0 through 7 Power up D8027 Communication Device Number 0 through 31 Power up D8028 Internal System Program Ver...

Page 106: ...ical Device No When initialized 24 6 D8063 INTERBUS Node 3 Length Code When initialized 24 6 D8064 INTERBUS Node 3 ID Code When initialized 24 6 D8065 INTERBUS Node 3 Device Level When initialized 24 6 D8066 INTERBUS Node 4 Logical Device No When initialized 24 6 D8067 INTERBUS Node 4 Length Code When initialized 24 6 D8068 INTERBUS Node 4 ID Code When initialized 24 6 D8069 INTERBUS Node 4 Device...

Page 107: ... 6 D8105 INTERBUS Node 13 Device Level When initialized 24 6 D8106 INTERBUS Node 14 Logical Device No When initialized 24 6 D8107 INTERBUS Node 14 Length Code When initialized 24 6 D8108 INTERBUS Node 14 ID Code When initialized 24 6 D8109 INTERBUS Node 14 Device Level When initialized 24 6 D8110 INTERBUS Node 15 Logical Device No When initialized 24 6 D8111 INTERBUS Node 15 Length Code When initi...

Page 108: ... 24 6 D8149 INTERBUS Node 24 Device Level When initialized 24 6 D8150 INTERBUS Node 25 Logical Device No When initialized 24 6 D8151 INTERBUS Node 25 Length Code When initialized 24 6 D8152 INTERBUS Node 25 ID Code When initialized 24 6 D8153 INTERBUS Node 25 Device Level When initialized 24 6 D8154 INTERBUS Node 26 Logical Device No When initialized 24 6 D8155 INTERBUS Node 26 Length Code When in...

Page 109: ...DSR Input Control Signal Option When sending receiving data 17 28 D8206 Port 1 DTR Output Control Signal Option When sending receiving data 17 29 D8207 Port 1 RTS Output Control Signal Option When sending receiving data 17 29 D8208 Reserved D8209 Port 1 Retry Cycles At retry 23 3 D8210 Port 1 Retry Interval Every scan during retry 23 3 D8211 Port 1 Modem Mode Status At status transition 23 3 D8212...

Page 110: ...ation When error occurred 21 4 D8412 Slave Station 13 Communication Error at Master Station When error occurred 21 4 D8413 Slave Station 14 Communication Error at Master Station When error occurred 21 4 D8414 Slave Station 15 Communication Error at Master Station When error occurred 21 4 D8415 Slave Station 16 Communication Error at Master Station When error occurred 21 4 D8416 Slave Station 17 Co...

Page 111: ...imum Operand numbers are automatically allocated to each functional module in the order of increasing distance from the CPU module starting with L100 L200 L300 through L700 The location of digital I O modules between CPU and functional modules does not affect the operand numbers for the functional modules Functional Module Operand Numbers Operand Without Expansion Power Supply Module When Using Ex...

Page 112: ...put Module 2 Q40 through Q47 Q50 through Q57 5 Functional Module 3 L300 through L327 6 Input Module 1 I0 through I7 I10 through I17 I20 through I27 I30 through I37 Functional Module Allocation Numbers Data Area Status Area Read Only Reserved Area Access Prohibited Functional Module 1 L0100 L0107 L0110 L0117 L0120 L0127 Functional Module 2 L0200 L0207 L0210 L0217 L0220 L0227 Functional Module 3 L03...

Page 113: ...6 ALLOCATION NUMBERS 6 20 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 114: ...uction 1 JMP Jump Jumps a designated program area 1 LOD Load Stores intermediate results and reads contact status 2 LODN Load Not Stores intermediate results and reads inverted contact status 2 MCR Master Control Reset Ends a master control 1 MCS Master Control Set Starts a master control 1 OR Or Parallel connection of NO contacts 2 OR LOD Or Load Parallel connection of circuit blocks 1 ORN Or Not...

Page 115: ...ng multiple outputs of the same output number is not recommended How ever when doing so it is good practice to separate the outputs with the JMP JEND set of instructions or the MCS MCR set of instructions These instructions are detailed later in this chapter When the same output number is programmed more than once within one scan the out put nearest to the END instruction is given priority for out...

Page 116: ... OFF Q0 ON OFF Q1 ON OFF Timing Chart Q1 Q0 Ladder Diagram M2 Prgm Adrs Instruction Data 0 1 LOD OUT M2 Q0 Program List Ladder Diagram Q0 Prgm Adrs Instruction Data 2 3 LODN OUT Q0 Q1 Program List Ladder Diagram T0 Prgm Adrs Instruction Data 4 5 LOD OUTN T0 Q2 Program List Ladder Diagram Prgm Adrs Instruction Data 6 7 LODN OUT C1 Q10 Program List C1 Q0 Q1 Q2 Q10 Ladder Diagram I0 I1 I0 ON OFF I1 O...

Page 117: ...n output Q0 is on When either input I0 or I1 is off output Q0 is off When input I0 is on and input I1 is off output Q1 is on When either input I0 is off or input I1 is on output Q1 is off Valid Operands Instruction I Q M T C R L AND ANDN 0 597 0 597 0 2557 8000 8237 0 255 0 255 0 255 100 0 717 15 1000 0 1317 15 Q0 Q1 Ladder Diagram I0 I0 I0 ON OFF I1 ON OFF Q0 ON OFF Q1 ON OFF Timing Chart When ei...

Page 118: ...am the OR LOD instruction The circuit in the ladder diagram shown below is converted into OR LOD when the ladder diagram is compiled Ladder Diagram I0 I2 I0 ON OFF I2 ON OFF I3 ON OFF Q0 ON OFF Timing Chart When input I0 is on and either input I2 or I3 is on output Q0 is on When input I0 is off or both inputs I2 and I3 are off output Q0 is off I3 Prgm Adrs Instruction Data 0 1 2 3 4 LOD LOD OR AND...

Page 119: ...ogram the BPS BRD and BPP instructions The circuit in the ladder diagram shown below is converted into BPS BRD and BPP when the ladder diagram is compiled I0 I1 I2 Ladder Diagram I0 ON OFF I1 ON OFF I2 ON OFF I3 ON OFF Timing Chart Q1 ON OFF I3 Q2 ON OFF Q3 ON OFF When both inputs I0 and I1 are on output Q1 is turned on When both inputs I0 and I2 are on output Q2 is turned on When both inputs I0 a...

Page 120: ... Program blocks can be stored in a maximum of eight bit stack registers When the BRD bit read instruction is used the program in the first bit stack register is read to the operation register All program blocks stored in bit stack registers are not moved When the BPP bit push instruction is used all program blocks in bit stack registers are shifted back by one place The program in the first bit st...

Page 121: ...c timer T0 to T255 0 to 655 35 sec 10 msec TMS 1 msec timer T0 to T255 0 to 65 535 sec 1 msec I1 I0 T0 Ladder Diagram TML TML 4 T0 I0 ON OFF T0 ON OFF I1 ON OFF Q0 ON OFF Timing Chart 4 sec Prgm Adrs Instruction Data 0 1 2 3 4 5 LOD TML LOD AND OUT I0 T0 4 I1 T0 Q0 Program List Q0 I1 I0 T1 Ladder Diagram TIM TIM 20 T1 I0 ON OFF T1 ON OFF I1 ON OFF Q1 ON OFF Timing Chart Prgm Adrs Instruction Data ...

Page 122: ...If the current value is changed during timedown the change becomes effective immediately Timer Accuracy Timer accuracy due to software configuration depends on three factors timer input error timer counting error and timeout output error These errors are not constant but vary with the user program and other causes Timer Input Error The input status is read at the END processing and stored to the i...

Page 123: ...A timer with this protection can be devised using a counter instruction and special internal relay M8121 1 sec clock M8122 100 msec clock or M8123 10 msec clock Error TML 1 sec timer TIM 100 msec timer TMH 10 msec timer TMS 1 msec timer Minimum Advance error 0 msec 0 msec 0 msec 0 msec Behind error 0 msec 0 msec 0 msec 0 msec Maximum Advance error 1000 msec 100 msec 10 msec 1 msec Behind error 1 s...

Page 124: ...mber cannot be programmed more than once While the reset input is off the counter counts the leading edges of pulse inputs and compares them with the preset value When the current value reaches the preset value the counter turns output on The output stays on until the reset input is turned on When the reset input changes from off to on the current value is reset When the reset input is on all puls...

Page 125: ...gin When the up pulse and down pulses are on simultaneously no pulse is counted The counter output is on only when the current value is 0 After the current value reaches 0 counting down it changes to 65535 on the next count down After the current value reaches 65535 counting up it changes to 0 on the next count up When power is off the counter s current value is held and can also be desig nated as...

Page 126: ...urrent value reaches 65535 counting up it changes to 0 on the next count up When power is off the counter s current value is held and can also be desig nated as clear type counters using the Function Area Settings see page 5 3 Counter preset and current values can be changed using WindLDR without transferring the entire program to the CPU see page 7 12 When the preset or current value is changed d...

Page 127: ...r becomes the preset value The CC and CC instructions can be used repeatedly for different preset values The comparison instructions only compare the current value The status of the counter does not affect this function The comparison instructions also serve as an implicit LOD instruction and must be programmed at the beginning of a ladder line The comparison instructions can be used with internal...

Page 128: ...0 I2 Reset Pulse I1 Rung 2 Prgm Adrs Instruction Data 0 1 2 3 4 5 6 LOD LOD CNT CC OUT I1 I2 C30 1000 C30 500 Q0 Program List Q0 Ladder Diagram 3 Pulse Input I4 ON OFF Output Q1 ON OFF Timing Chart 1 350 351 352 2 Output Q1 is turned on when counter C31 current value reaches 350 and remains on until counter C31 is reset CC 350 C31 Rung 1 CNT C31 500 I4 Reset Pulse I3 Rung 2 Prgm Adrs Instruction D...

Page 129: ...ecomes the preset value The TC and TC instructions can be used repeatedly for different preset values The comparison instructions only compare the current value The status of the timer does not affect this function The comparison instructions also serve as an implicit LOD instruction and must be programmed at the beginning of a ladder line The comparison instructions can be used with internal rela...

Page 130: ...00 T30 I1 TML 1000 T30 Timing Chart Input I1 ON OFF Timer T30 ON OFF Output Q0 ON OFF 1000 501 500 499 498 Current Value Q0 Ladder Diagram 3 Output Q1 is turned on when timer T15 starts to time down and remains on until the current value reaches 350 Prgm Adrs Instruction Data 0 1 2 3 4 5 LOD TIM TC OUT I2 T15 600 T15 350 Q1 Program List TC 350 T15 I2 TIM 600 T15 Timing Chart Input I2 ON OFF Timer ...

Page 131: ...ster D0 through D7999 When a data register is used the data of the data register becomes the preset value The DC and DC instructions can be used repeatedly for different preset values The comparison instructions also serve as an implicit LOD instruction and must be programmed at the beginning of a ladder line The comparison instructions can be used with internal relays which are ANDed or ORed at a...

Page 132: ... D2 value is 3 or more Q0 Q1 Ladder Diagram 2 Output Q0 is on when data register D30 value is 500 DC 500 D30 Timing Chart Output Q0 ON OFF 400 210 210 0 500 D30 Value I1 REP S1 D50 D1 D30 MOV W 500 500 700 Q0 Ladder Diagram 3 DC 350 D15 I1 REP S1 D0 D1 D15 MOV W Output Q1 is on when data register D15 value is 350 or more Timing Chart Output Q1 ON OFF 200 249 200 350 390 D15 Value 355 521 600 Q1 La...

Page 133: ... for a forward shift register and in reverse for a reverse shift register A data shift will occur upon the leading edge of a pulse that is when the pulse turns on If the pulse has been on and stays on no data shift will occur Data Input The data input is the information which is shifted into the first bit when a forward data shift occurs or into the last bit when a reverse data shift occurs Note W...

Page 134: ...R3 Q3 Program List Q3 Q0 Q1 Q2 The last bit status output can be programmed directly after the SFR instruction In this example the status of bit R3 is read to output Q3 Each bit can be loaded using the LOD R instruction Prgm Adrs Instruction Data Rung 1 0 1 2 3 4 5 LOD LOD LOD SFR OUT I1 I2 I3 R0 4 Q3 Rung 2 6 7 8 9 LOD OUT LOD OUT R0 Q0 R1 Q1 Program List Ladder Diagram I1 I2 SFR R0 4 I3 Reset Pu...

Page 135: ...possible to main tain the statuses of shift register bits by using the Function Area Settings as required See page 5 3 Note SFR N shifting flag special internal relay M8012 is turned on when the CPU is powered down while data shifting is in progress See page 6 10 The last bit status output can be programmed directly after the SFRN instruction In this exam ple the status of bit R20 is read to outpu...

Page 136: ...5 Forward Shifting Last Bit R22 of Bits 6 R26 R27 Note Output is initiated only for those bits highlighted in bold print I4 I6 I5 Reset Data Pulse First Bit R22 of Bits 6 Reverse Shifting Ladder Diagram I1 I2 SFR R22 6 I3 Reset Pulse Data Rung 1 I4 I5 SFRN R22 6 I6 Reset Pulse Data Rung 2 R23 Rung 3 R24 R26 Prgm Adrs Instruction Data Rung 1 0 1 2 3 4 LOD LOD LOD SFR I1 I2 I3 R22 6 Rung 2 5 6 7 8 9...

Page 137: ... is not compatible with relay requirements There is a special case when the SOTU and SOTD instructions are used between the MCS and MCR instructions which are detailed on page 7 25 If input I2 to the SOTU instruction turns on while input I1 to the MCS instruction is on then the SOTU output turns on If input I2 to the SOTD instruction turns off while input I1 is on then the SOTD output turns on If ...

Page 138: ...struction Corresponding MCS MCR instructions cannot be nested within another pair of corresponding MCS MCR instructions Instruction Status SOTU Rising edges ON pulses are not detected SOTD Falling edges OFF pulses are not detected OUT All are turned off OUTN All are turned on SET and RST All are held in current status TML TIM TMH and TMS Current values are reset to zero Timeout statuses are turned...

Page 139: ...t executed so that the following program is executed accord ing to the actual input statuses of I4 through I6 Prgm Adrs Instruction Data 0 1 2 3 4 5 6 7 8 9 10 11 12 LOD MCS LOD OUT LOD MCS LOD OUT LOD MCS LOD OUT MCR I1 I2 Q0 I3 I4 Q1 I5 I6 Q2 Program List Q0 Q1 Q2 Ladder Diagram I1 MCS MCR Input I1 ON OFF Counter Pulse Input ON OFF Shift Register Pulse Input ON OFF Timing Chart Input I2 ON OFF W...

Page 140: ... cannot be set for the JEND instruction More than one JMP instruction can be used with one JEND instruction Corresponding JMP JEND instructions cannot be nested within another pair of corresponding JMP JEND instructions Instruction Status SOTU Rising edges ON pulses are not detected SOTD Falling edges OFF pulses are not detected OUT and OUTN All are held in current status SET and RST All are held ...

Page 141: ...struction execution The second part of the END instruction execution is to monitor all inputs also done simultaneously Then program instructions are ready to be pro cessed sequentially once again Ladder Diagram I1 I2 I3 I4 I5 I6 JMP JEND JMP JMP This jump circuit will give priority to I1 I3 and I5 in that order When input I1 is on the first JMP is executed so that subsequent output statuses of Q0 ...

Page 142: ...9 13 Data Comparison CMP Compare Equal To X X X X 8 to 10 10 1 CMP Compare Unequal To X X X X 8 to 10 10 1 CMP Compare Less Than X X X X 8 to 10 10 1 CMP Compare Greater Than X X X X 8 to 10 10 1 CMP Compare Less Than or Equal To X X X X 8 to 10 10 1 CMP Compare Greater Than or Equal To X X X X 8 to 10 10 1 ICMP Interval Compare Greater Than or Equal To X X X X 9 to 12 10 4 Binary Arithmetic ADD A...

Page 143: ...mer WKCMP ON Week Compare ON 9 15 1 WKCMP OFF Week Compare OFF 9 15 1 WKTBL Week Table 4 2n 15 2 Interface DISP Display 6 16 1 DGRD Digital Read 8 16 3 CDISP Character Display 4 2n 3m 16 5 User Communication TXD1 Transmit 1 7 n 2m 17 4 TXD2 Transmit 2 7 n 2m 17 4 RXD1 Receive 1 7 n 2m 17 13 RXD2 Receive 2 7 n 2m 17 13 Program Branching LABEL Label 2 18 1 LJMP Label Jump 3 18 1 LCAL Label Call 3 18...

Page 144: ...e current value or the remaining time of the timer is read as source data Adding counters CNT start counting at 0 and the current value is incremented up to the preset value Reversible counters CDP and CUD start counting at the preset value and the current value is incremented or decremented from the preset value When any counter is designated as a source operand of an advanced instruction the cur...

Page 145: ...67 295 Long Signed 31 bits L 32 bits 2 2 147 483 648 to 2 147 483 647 Data Type Result of Addition Hexadecimal Storage Result of Subtraction Hexadecimal Storage Word 0 65535 131071 0000 FFFF CY FFFF 65535 1 65535 65536 FFFF BW FFFF BW 0001 BW 0000 Integer 65534 32768 32767 0 1 32767 32768 32769 65535 CY 7FFE CY 0000 7FFF 0000 FFFF 8001 8000 CY FFFF CY 8001 65534 32768 32767 0 1 32767 32768 32769 6...

Page 146: ...egisters L1000 through L1317 Advanced instructions execute operation only on the available operands in the valid area If invalid operands are desig nated a user program syntax error occurs when transferring the user program to the OpenNet Controller CPU module 305419896 Double word Data Upper Word D10 12345678h Source Operand Data Register Timer Counter 4660 1234h Lower Word D11 22136 5678h Lower ...

Page 147: ...n is executed by the NOP instruction The NOP instruction may serve as a place holder Another use would be to add a delay to the CPU scan time in order to simulate communication with a machine or application for debugging pur poses The NOP instruction does not require an input and operand NOP Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 148: ...or des tination 16 points word or integer data type or 32 points double word or long data type are used When repeat is desig nated for a bit operand the quantity of operand bits increases in 16 or 32 point increments When a word operand such as T timer C counter D data register or L link register is designated as the source or destination 1 point word or integer data type or 2 points double word o...

Page 149: ...ed by destination operand D1 D1 D0 810 D2 810 S1 810 D1 D2 MOV W I0 REP 810 D2 D3 When input I0 is on constant 810 designated by source operand S1 is moved to data registers D2 and D3 designated by destination operand D1 D1 D0 0 D2 0 S1 810 D1 D2 MOV D 810 D3 810 I1 REP D10 D2 When input I1 is on the data in data register D10 designated by source operand S1 is moved to data register D2 designated ...

Page 150: ...esignated to repeat operands as many as the repeat cycles starting with the operand designated by S1 are moved to the same quantity of operands starting with the operand designated by D1 Note The BMOV block move instruction has the same effect as the MOV instruction with both the source and destination designated to repeat Data Type Word 111 D11 110 D10 112 D12 D21 112 D20 D22 Source Repeat 3 Dest...

Page 151: ...area is also changed 111 D11 110 D10 112 D12 111 D21 110 D20 112 D22 Source Repeat 3 Destination Repeat 3 I6 REP 3 S1 R D10 D1 R D20 MOV D 113 D13 113 D23 114 D14 115 D15 114 D24 115 D25 111 D11 110 D10 112 D12 M20 through M27 M30 through M37 M0 through M7 M10 through M17 M40 through M47 M50 through M57 Source Repeat 0 Destination Repeat 3 I10 REP 3 S1 D10 D1 R M0 MOV W 111 D11 110 D10 112 D12 M20...

Page 152: ...X X X S1 NOT D1 When input is on 16 or 32 bit data from operand designated by S1 is inverted bit by bit and moved to operand designated by D1 REP S1 R D1 R MOVN M10 NOT M50 When input I0 is on the 16 internal relays starting with M10 designated by source operand S1 are inverted bit by bit and moved to 16 internal relays starting with M50 designated by destination operand D1 M10 through M17 M20 thr...

Page 153: ...ation data determined by D1 D2 are within the valid operand range If the derived source or destination operand is out of the valid operand range a user program execution error will result turning on special internal relay M8004 and the ERROR LED on the CPU module Example IMOV Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Base address to move from X X X X X X X X 1 99 S2 Source 2 Off...

Page 154: ...n the valid operand range If the derived source or destination operand is out of the valid operand range a user program execution error will result turning on special internal relay M8004 and the ERROR LED on the CPU module Example IMOVN Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Base address to move from X X X X X X X X 1 99 S2 Source 2 Offset for S1 X X X X X X X X D1 Destinati...

Page 155: ... link register is designated as the source N W or destination 1 point word data type is used Example BMOV Operand Function I Q M R T C D L Constant Repeat S1 Source 1 First operand number to move X X X X X X X X N W N words Quantity of blocks to move X X X X X X X X X D1 Destination 1 First operand number to move to X X X X X X W word I integer D double word L long X S1 S1 1 S1 2 S1 N 1 D1 D1 1 D1...

Page 156: ...Operand Function I Q M R T C D L Constant Repeat S1 Source 1 First operand number to move X X X X X X X X X D1 Destination 1 First operand number to move to X X X X X X W word I integer D double word L long X X X X S1 S2 S3 SN D1 D2 D3 DN When input is on N blocks of 16 or 32 bit data in operands designated by S1 S2 S3 SN are moved to N blocks of destinations starting with operand designated by D1...

Page 157: ...stination 1 point word or integer data type or 2 points double word or long data type are used Examples NRS Operand Function I Q M R T C D L Constant Repeat N W N blocks Quantity of blocks to move X X X X X X X X X S1 Source 1 Operand number to move X X X X X X X X X D1 Destination 1 First operand number to move to X X X X X X W word I integer D double word L long X X X X S1 D1 D2 D3 DN 1 When inp...

Page 158: ...ine the type of operand Source operand S2 and destination operand D2 are the offset values to determine the source and destination operands As a result when input I0 is on the ON OFF status of internal relay M15 is moved to output Q44 Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Base address to move from X X X X S2 Source 2 Offset for S1 X X X X X X X D1 Destination 1 Base address ...

Page 159: ...e of operand Source operand S2 and destination operand D2 are the offset values to determine the source and destination operands As a result when input I0 is on the ON OFF status of internal relay M30 is inverted and moved to output Q22 Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Base address to move from X X X X S2 Source 2 Offset for S1 X X X X X X X D1 Destination 1 Base addres...

Page 160: ...xamples XCHG Operand Function I Q M R T C D L Constant Repeat D1 Destination 1 First operand number to exchange X X X X X X D2 Destination 2 First operand number to exchange X X X X X X W word I integer D double word L long X X D1 D2 When input is on the 16 or 32 bit data in operands designated by D1 and D2 are exchanged with each other XCHG D1 D2 D21 D25 When input I0 is turned on data of data re...

Page 161: ...9 MOVE INSTRUCTIONS 9 14 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 162: ...gnated by source oper ands S1 and S2 are compared When S1 data is not equal to S2 data destination operand D1 is turned on When the condition is not met D1 is turned off REP S1 R D1 R CMP S2 R S1 S2 D1 on When input is on 16 or 32 bit data designated by source oper ands S1 and S2 are compared When S1 data is less than S2 data destination operand D1 is turned on When the condition is not met D1 is ...

Page 163: ...y of operand words increases in 1 or 2 point increments When an output or internal relay is designated as the destination only 1 point is used regardless of the selected data type When repeat is designated for the destination outputs or internal relays as many as the repeat cycles are used Examples CMP The comparison output is usually maintained while the input to the data comparison instruction i...

Page 164: ...s start ing with the operands designated by S1 and S2 are compared with each other The comparison results are set to destina tion operands as many as the repeat cycles starting with the operand designated by D1 Data Type Word Data Type Double Word I0 REP 3 S1 R D10 D1 M10 CMP W S2 15 AND 15 D11 10 D10 20 D12 M10 S1 Repeat 3 D1 Repeat 0 S2 Repeat 0 15 15 15 I0 REP 3 S1 R D20 D1 M50 CMP D S2 D30 D22...

Page 165: ...nal relay is designated as the destination only 1 point is used regardless of the selected data type Example ICMP Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Data to compare X X X X X X X X X S2 Source 2 Data to compare X X X X X X X X X S3 Source 3 Data to compare X X X X X X X X X D1 Destination 1 Comparison output X W word I integer D double word L long X X X X S1 S2 S3 D1 on W...

Page 166: ... D1 D1 1 Data type D or L S1 S1 1 S2 S2 1 D1 D1 1 When input is on 16 or 32 bit data designated by source oper and S1 is multiplied by 16 or 32 bit data designated by source operand S2 The result is set to 32 bit data designated by desti nation operand D1 When the result exceeds the valid range for data types D or L the ERROR LED and special internal relay M8004 user pro gram execution error are t...

Page 167: ... occurs and special internal relay M8003 is turned on When the D1 destination data is out of the valid data range as a result of subtraction a borrow occurs and special internal relay M8003 is turned on There are three ways to program the carrying process see examples below If a carry never goes on the program does not have to include internal relay M8003 to process carrying If a carry goes on une...

Page 168: ...2 1 D1 D13 S1 D13 SUB W I1 When input I1 is on data of D10 is multiplied by data of D20 and the result is set to D30 and D31 REP S2 D20 D1 D30 S1 D10 MUL W 50 D10 60 D20 3000 D30 D31 I1 REP S2 D20 D1 D30 S1 D10 MUL I 50 D10 60 D20 3000 D30 D31 I1 Note When the result exceeds 4 294 967 295 a user program execution error will result turning on the ERROR LED and special internal relay M8004 user prog...

Page 169: ...nd such as internal relay for destination 32 internal relays are required so do not use internal relay M2521 or a larger number as destination operand D1 I1 REP S2 D20 D1 D30 S1 D10 DIV D 100000 D10 D11 70000 D20 D21 1 D30 D31 30000 D32 D33 Quotient Remainder Note Destination uses four word operands in the division operation of double word data type so do not use data register D7997 through D7999 ...

Page 170: ...designated to repeat the same result is set to 3 operands starting with D1 D1 1 Repeat Two Source Operands Data Type Word When S1 and S2 source are designated to repeat the final result is set to destination operand D1 Data Type Double Word When S1 and S2 source are designated to repeat the final result is set to destination operand D1 D1 1 I1 REP 3 S1 R D10 D1 D30 15 D11 10 D10 20 D12 S1 Repeat 3...

Page 171: ...program execution error occurs in any repeat operation special internal relay M8004 user program execution error and the ERROR LED are turned on and maintained while operation for other instructions is continued For the advanced instruction which has caused a user program execution error results are not set to any destination I1 REP 3 S1 R D10 D1 R D30 15 D11 10 D10 20 D12 S1 Repeat 3 D1 Repeat 3 ...

Page 172: ...ource Operands Data Type Word When S1 and S2 source are designated to repeat the final result is set to destination operands D1 and D1 1 Data Type Double Word When S1 and S2 source are designated to repeat the final result is set to destination operands D1 D1 1 and D1 2 D1 3 I1 REP 3 S1 R D10 D1 D30 D10 S1 Repeat 3 D1 Repeat 0 S2 D20 S2 Repeat 0 D30 D20 D31 D11 D12 D20 D20 D30 D30 D31 D31 Quotient...

Page 173: ...ion error and the ERROR LED are turned on and maintained while operation for other instructions is continued For the advanced instruction which has caused a user program execution error results are not set to any destination I1 REP 3 S1 R D10 D1 R D30 D10 S1 Repeat 3 D1 Repeat 3 S2 D20 S2 Repeat 0 D30 D20 D33 D11 D12 D20 D20 D31 D32 D34 D35 Quotient Remainder SOTU DIV W I1 REP 3 S1 R D10 D1 R D30 ...

Page 174: ...he designated operand is currently 0 the value will become 65535 after it is decremented by one The borrow M8003 is not set by this operation In the double word data type valid values are 0 to 4 294 967 295 If the designated operand is currently 0 the value will become 4 294 967 295 after it is decremented by one The borrow M8003 is not set by this operation Example INC Example DEC Operand Functio...

Page 175: ...e results X X W word I integer D double word L long X When input is on the square root of operand designated by S1 is extracted and is stored to the destination designated by D1 Valid values are 0 to 65535 The square root is calculated to two decimals omitting the figures below the second place of decimals S1 D1 ROOT W S1 D1 D1 D20 D10 D20 I0 ROOT W S1 D10 3 D11 2 D10 4 D12 9997 D14 9998 D15 173 D...

Page 176: ...D double word L long X The SUM instruction can be selected for ADD or XOR operation ADD S1 through S2 added D1 D1 1 XOR S1 through S2 XORed D1 When input is on with ADD selected all data of operands designated by S1 through S2 are added and the result is stored to the destination operand designated by D1 and the next operand D1 1 When input is on with XOR selected all data of operands designated b...

Page 177: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 12 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 178: ...t to desti nation operand D1 S1 1 1 1 0 0 1 S2 1 0 1 1 0 0 D1 1 0 1 0 0 0 S1 S2 D1 0 0 0 0 1 0 1 0 0 1 1 1 REP S1 R D1 R ANDW S2 R S1 S2 D1 When input is on 16 or 32 bit data designated by source oper ands S1 and S2 are ORed bit by bit The result is set to destina tion operand D1 S1 1 1 1 0 0 1 S2 1 0 1 1 0 0 D1 1 1 1 1 0 1 S1 S2 D1 0 0 0 0 1 1 1 0 1 1 1 1 REP S1 R D1 R ORW S2 R S1 S2 D1 When inpu...

Page 179: ...or destination 1 point word data type or 2 points double word data type are used When repeat is designated for a word operand the quantity of operand words increases in 1 or 2 point increments Example XORW To convert optional output status among a series of 10 output points use the XORW instruction in combination with 10 internal relay points Operand Function I Q M R T C D L Constant Repeat S1 Sou...

Page 180: ...Double Word When only D1 destination is designated to repeat the same result is set to 3 operands starting with D1 D1 1 Repeat Two Source Operands Data Type Word When S1 and S2 source are designated to repeat the final result is set to destination operand D1 Data Type Double Word When S1 and S2 source are designated to repeat the final result is set to destination operand D1 D1 1 I1 D10 S1 Repeat ...

Page 181: ...y repeat operation special internal relay M8004 user program execution error and the ERROR LED are turned on and maintained while operation for other instructions is continued For the advanced instruction which has caused a user program execution error results are not set to any destination I1 REP 3 S1 R D10 D1 R D30 S2 D20 SOTU ANDW W D10 S1 Repeat 3 D1 Repeat 3 S2 Repeat 0 D30 D20 D11 D12 D20 D2...

Page 182: ...In the long data type valid values are 2 147 483 648 to 2 147 483 647 If the designated operand is currently 2 147 483 648 80000000h the value will become 2 147 483 648 80000000h after it is negated Example NEG Data Type Integer Data Type Long Operand Function I Q M R T C D L Constant Repeat S D Source Destination Operand to negate data X X W word I integer D double word L long X X 0 S D S D When ...

Page 183: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 6 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 184: ...are used When a word operand such as D data register or L link register is designated as the source 1 point word data type or 2 points double word data type are used Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Data for bit shift X X X X bits Quantity of bits to shift 1 15 1 31 W word I integer D double word L long X X S1 bits CY S1 When input is on 16 or 32 bit data of the designa...

Page 185: ...1 0 0 0 1 0 CY M8003 MSB LSB D10 Bits to shift 1 SOTU I0 S1 43690 D1 D10 S1 D10 bits 1 0 0 0 0 1 1 1 0 1 0 0 0 1 1 1 0 0 0 After second shift D10 43688 CY M8003 MSB LSB D10 SFTL W MOV W Shift to the left Each time input I1 is turned on 32 bit data of data registers D10 and D11 is shifted to the left by 1 bit as designated by operand bits The last bit status shifted out is set to a carry special in...

Page 186: ...s double word data type are used Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Data for bit shift X X X X bits Quantity of bits to shift 1 15 1 31 W word I integer D double word L long X X S1 bits S1 CY When input is on 16 or 32 bit data of the designated source operand S1 is shifted to the right by the quantity of bits designated by operand bits The result is set to the source oper...

Page 187: ... 0 After first shift D20 7 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 CY M8003 MSB LSB D10 Bits to shift 2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 After second shift D20 1 CY M8003 MSB LSB D10 1 0 0 Shift to the right Each time input I1 is turned on 32 bit data of data registers D10 and D11 is shifted to the right by 2 bits as designated by operand bits The last bit status shifted out is set to a carry special int...

Page 188: ...or 2 points double word data type are used Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Data for bit rotation X X X X bits Quantity of bits to rotate 1 15 1 31 W word I integer D double word L long X X Before rotation 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 0 CY M8003 MSB LSB S1 1 After rotation 0 1 0 1 0 1 0 1 1 1 1 0 1 0 0 CY M8003 MSB LSB S1 1 Rotate to the left S1 bits When input is on 1...

Page 189: ...egister D10 is rotated to the left by 1 bit as designated by operand bits The status of the MSB is set to a carry special internal relay M8003 SOTU I0 S1 40966 D1 D10 S1 D10 bits 1 ROTL W MOV W Each time input I1 is turned on 32 bit data of data registers D10 and D11 is rotated to the left by 1 bit as designated by operand bits The status of the MSB is set to a carry special internal relay M8003 B...

Page 190: ...r 2 points double word data type are used Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Data for bit rotation X X X X bits Quantity of bits to rotate 1 15 1 31 W word I integer D double word L long X X Before rotation 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 0 CY M8003 MSB LSB S1 0 After rotation 1 1 1 0 0 0 0 1 1 0 0 1 0 1 1 CY M8003 MSB LSB S1 1 Rotate to the right S1 bits When input is on 1...

Page 191: ...0 is rotated to the right by 2 bits as designated by operand bits The last bit status rotated out is set to a carry special internal relay M8003 SOTU I1 S1 13 D1 D20 S1 D20 bits 2 ROTR W MOV W Each time input I1 is turned on 32 bit data of data registers D20 and D21 is rotated to the right by 1 bit as designated by operand bits The last bit status rotated out is set to a carry special internal rel...

Page 192: ...le word data type are used Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Data for bit rotation X X X X bits Quantity of bits to rotate 1 15 1 31 W word I integer D double word L long X X When input is on the 16 or 32 bit data designated by S1 and a carry special internal relay M8003 are rotated to the left by the quantity of bits designated by operand bits The last bit status rotate...

Page 193: ... bit as designated by operand bits The status of the MSB is set to a carry special internal relay M8003 and the carry status is set to the LSB SOTU I0 S1 40966 D1 D10 S1 D10 bits 1 ROTLC W MOV W Each time input I1 is turned on 32 bit data of data registers D10 and D11 is rotated to the left by 1 bit as designated by operand bits The status of the MSB is set to a carry special internal relay M8003 ...

Page 194: ...e word data type are used Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Data for bit rotation X X X X bits Quantity of bits to rotate 1 15 1 31 W word I integer D double word L long X X When input is on the 16 or 32 bit data designated by S1 and a carry special internal relay M8003 are rotated to the right by the quantity of bits designated by operand bits The last bit status rotate...

Page 195: ... 1 bit as designated by operand bits The status of the LSB is set to a carry special internal relay M8003 and the carry status is set to the MSB SOTU I0 S1 13 D1 D20 S1 D20 bits 1 ROTRC W MOV W Each time input I1 is turned on 32 bit data of data registers D20 and D21 is rotated to the right by 1 bit as designated by operand bits The status of the LSB is set to a carry special internal relay M8003 ...

Page 196: ... converted back to 32 bit binary data Valid values for each of S1 and S1 1 are 0 through 9999 The quantity of digits to shift can be 1 through 7 Zeros are set to the lowest digits as many as the digits shifted BCDLS D S1 Before shift After shift 0 2 3 1 MSD S1 S1 1 Shift to the left LSD digits 4 6 7 5 0 1 3 4 2 5 7 0 6 0 Data Type Double Word digits to shift 1 0 M8120 is the initialize pulse speci...

Page 197: ...13 BIT SHIFT ROTATE INSTRUCTIONS 13 14 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 198: ...ng on special internal relay M8004 and the ERROR LED Since the HTOB instruction is executed in each scan while input is on a pulse input from a SOTU or SOTD instruction should be used as required Valid Data Types When a bit operand such as I input Q output M internal relay or R shift register is designated as the source or des tination 16 points word data type or 32 points double word data type ar...

Page 199: ...0h BCD 0 D20 0000h 1234 D10 04D2h 4660 D20 1234h 9999 D10 270Fh 39321 D20 9999h D1 D20 S1 D10 I2 HTOB D SOTU 0 D10 0000h 0 D11 0000h 0 D20 0000h 0 D21 0000h Binary BCD 188 D10 00BCh 24910 D11 614Eh 4660 D20 1234h 22136 D21 5678h 1525 D10 05F5h 57599 D11 E0FFh 39321 D20 9999h 39321 D21 9999h Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 200: ...ut is on a pulse input from a SOTU or SOTD instruction should be used as required Valid Data Types When a bit operand such as I input Q output M internal relay or R shift register is designated as the source or des tination 16 points word data type or 32 points double word data type are used When a word operand such as T timer C counter D data register or L link register is designated as the sourc...

Page 201: ...Binary 0 D20 0000h 4660 D10 1234h 1234 D20 04D2h 39321 D10 9999h 9999 D20 270Fh D1 D20 S1 D10 I2 BTOH D SOTU 0 D10 0000h 0 D11 0000h 0 D20 0000h 0 D21 0000h BCD Binary 188 D10 00BCh 24910 D11 614Eh 4660 D20 1234h 22136 D21 5678h 1525 D10 05F5h 57599 D11 E0FFh 39321 D20 9999h 39321 D21 9999h Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 202: ...M internal relay or R shift register is designated as the source 16 points word data type are used When a word operand such as T timer C counter D data register or L link register is designated as the source or destination 1 point word data type is used Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Binary data to convert X X X X X X X X X S2 Source 2 Quantity of digits to convert X ...

Page 203: ...660 D10 1234h ASCII 49 D20 0031h 50 D21 0032h 51 D22 0033h 52 D23 0034h D1 D20 S1 D10 I1 HTOA W S2 3 SOTU Binary 4660 D10 1234h ASCII 50 D20 0032h 51 D21 0033h 52 D22 0034h D1 D20 S1 D10 I2 HTOA W S2 2 SOTU Binary 4660 D10 1234h ASCII 51 D20 0033h 52 D21 0034h D1 D20 S1 D10 I3 HTOA W S2 1 SOTU Binary 4660 D10 1234h ASCII 52 D20 0034h Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email inf...

Page 204: ... input from a SOTU or SOTD instruction should be used as required Valid Data Types When a bit operand such as I input Q output M internal relay or R shift register is designated as the source or des tination 16 points word data type are used When a word operand such as T timer C counter D data register or L link register is designated as the source or destination 1 point word data type is used Ope...

Page 205: ...y 4660 D20 1234h ASCII 49 D10 0031h 50 D11 0032h 51 D12 0033h 52 D13 0034h D1 D20 S1 D10 I1 ATOH W S2 3 SOTU Binary 291 D20 0123h ASCII 49 D10 0031h 50 D11 0032h 51 D12 0033h D1 D20 S1 D10 I2 ATOH W S2 2 SOTU Binary 18 D20 0012h ASCII 49 D10 0031h 50 D11 0032h D1 D20 S1 D10 I3 ATOH W S2 1 SOTU Binary 1 D20 0001h ASCII 49 D10 0031h Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info c...

Page 206: ...ft register is designated as the source 16 points word data type are used When a word operand such as T timer C counter D data register or L link register is designated as the source or destination 1 point word data type is used Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Binary data to convert X X X X X X X X X S2 Source 2 Quantity of digits to convert X X X X X X X X 1 5 D1 Dest...

Page 207: ...034h Binary 53 D24 0035h D1 D20 S1 D10 I1 BTOA W S2 4 SOTU BCD 12345 D10 3039h ASCII 50 D20 0032h 51 D21 0033h 52 D22 0034h 53 D23 0035h Binary D1 D20 S1 D10 I2 BTOA W S2 3 SOTU BCD 12345 D10 3039h ASCII 51 D20 0033h 52 D21 0034h 53 D22 0035h Binary D1 D20 S1 D10 I3 BTOA W S2 2 SOTU BCD 12345 D10 3039h ASCII 52 D20 0034h 53 D21 0035h Binary D1 D20 S1 D10 I4 BTOA W S2 1 SOTU BCD 12345 D10 3039h ASC...

Page 208: ...or SOTD instruction should be used as required Valid Data Types When a bit operand such as I input Q output M internal relay or R shift register is designated as the source or des tination 16 points word data type are used When a word operand such as T timer C counter D data register or L link register is designated as the source or destination 1 point word data type is used Operand Function I Q M...

Page 209: ...D13 0034h Binary 53 D14 0035h D1 D20 S1 D10 I1 ATOB W S2 4 SOTU BCD 1234 D20 04D2h ASCII 49 D10 0031h 50 D11 0032h 51 D12 0033h 52 D13 0034h Binary D1 D20 S1 D10 I2 ATOB W S2 3 SOTU BCD 123 D20 007Bh ASCII 49 D10 0031h 50 D11 0032h 51 D12 0033h Binary D1 D20 S1 D10 I3 ATOB W S2 2 SOTU BCD 12 D20 0018h ASCII 49 D10 0031h 50 D11 0032h Binary D1 D20 S1 D10 I4 ATOB W S2 1 SOTU BCD 1 D20 0001h ASCII 49...

Page 210: ... I Q M R T C D L Constant Repeat S1 Source 1 Binary data to divide X X X X X X X X X D1 Destination 1 Destination to store results X X W word I integer D double word L long X S1 D1 D1 1 When input is on the 16 bit binary data designated by S1 is divided into upper and lower bytes When a data register is selected as destination operand the upper byte data is stored to the destination designated by ...

Page 211: ...data to combine X X D1 Destination 1 Destination to store results X X X X X X W word I integer D double word L long X S1 S1 1 D1 When input is on the lower byte data is read out from 2 consecutive sources starting with operand designated by S1 and combined to make 16 bit data When a data register is selected as source operand the lower byte data from the first source operand is moved to the upper ...

Page 212: ...as S1 because 2 4 8 16 32 62 S2 Hour minute comparison data Specify the hours and minutes to turn on WKCMP ON or to turn off WKCMP OFF the output or internal relay designated by D1 See the table on the next page Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Day of week comparison data X X X X X X X X 0 127 S2 Source 2 Hour minute comparison data X X X X X X X X 0 2359 S3 Source 3 We...

Page 213: ...d the ERROR LED Make sure that the values set for S1 S2 and S3 are within the valid ranges If any data is over the valid value a user pro gram execution error will result turning on special internal relay M8004 and the ERROR LED WKTBL Week Table Valid Operands For the valid operand number range see page 6 2 When T timer or C counter is used as S1 through SN the timer counter current value is read ...

Page 214: ...k as designated by operand S1 of WKCMP In normal execution when the current day and time coincide with the preset day S1 and time S2 the designated output is turned on or off Execution on the special days has precedence over execution on normal days This example is demonstrates operation aborted on special days The output is turned on from 8 45 a m to 10 32 p m on every Monday through Friday but i...

Page 215: ...KCMP OFF instructions have the same values for the day of week comparison data S1 constant week table output control S3 and comparison output operand D1 3 Hour minute comparison data S2 constant has a relationship ON time OFF time Example Interval comparison with ON OFF times on the same day When the current day and time reach the presets the output designated by operand D1 is turned on and off Ca...

Page 216: ...parison with ON OFF times on different days 1 The output is turned on at 11 00 a m on Monday through Friday and is turned off at 2 00 a m on the following day Example Interval comparison with ON OFF times on different days 2 The output is turned on at 11 00 a m every day and is turned off at 2 00 a m on the following day D1 Q0 S1 126 M8125 WKCMP ON S2 1100 S3 0 D1 Q0 S1 126 WKCMP OFF S2 200 S3 0 M...

Page 217: ...0 at 2 00 a m on the next day Sun Mon Tue Wed Thu Fri Sat Output Q0 S1 Same constant value to designate consecutive days S2 Constant values ON time OFF time S3 Same constant value 0 D1 Same operand 11 00 2 00 ON 11 00 2 00 ON 11 00 2 00 ON D1 M0 S1 6 M8125 WKCMP ON S2 800 S3 0 D1 M0 S1 6 WKCMP OFF S2 0 S3 0 M8125 is the in operation output special internal relay S1 6 specifies Monday and Tuesday W...

Page 218: ...ew value or use the up down keys When new values are entered click the OK button to transfer the new values to the CPU Setting Calendar Clock Using a User Program Another way of setting the calendar clock data is to move the values to special data registers dedicated to the calendar and clock and to turn on special internal relay M8020 by executing a user program Data registers D8015 through D8021...

Page 219: ...P 4 S1 R D0 MOV W D1 R D8015 When either M0 or M1 is turned on calendar clock data write flag special internal relay M8020 is turned on to set the new cal endar clock data to the CPU S4 4 S5 10 S6 30 S7 0 I0 SOTU M8120 is the initialize pulse special internal relay When the CPU starts the NSET moves calendar clock data to data registers D0 through D6 When input I0 turns on new calendar data year m...

Page 220: ...displaying 4 digits with output Q0 designated as the first output number 8 consecutive output points must be reserved starting with Q0 through Q7 Display Processing Time Displaying numerical data requires the following time after the input to the DISP instruction is turned on Keep the input to the DISP instruction for the period of time shown below to process the display data When the scan time is...

Page 221: ...tput Wiring Diagram When input I0 is on the 4 digit current value of counter C10 is dis played on 7 segment digital display units I0 DAT LAT H L S1 C10 Q Q0 DISP BCD4 Latch A B C D 24V DC Power Supply Latch A B C D Latch A B C D Latch A B C D 103 102 101 100 16 Transistor Sink Upper Digit Lower Digit FC3A T16K1 Output Module Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 COM V Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 COM V Phone...

Page 222: ... the input to the DGRD instruction is turned on Keep the input to the DGRD instruction for the period of time shown below to read the digital switch data For example when read ing data from 5 digital switches to the destination operand 14 scans are required Adjusting Scan Time The DGRD instruction requires a scan time longer than the filter time plus 4 msec When the actual scan time is too short t...

Page 223: ... digit value from BCD digital switches is read to data register D10 I5 I I0 Q Q0 D1 D10 DGRD BCD4 Digital 1 2 4 8 Switches 16 DC Input Module FC3A N16B1 16 Transistor Sink Output Module FC3A T16K1 103 102 101 100 Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 COM V Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 COM V 24V DC Power Supply COM COM I0 I1 I2 I3 I4 I5 I6 I7 COM COM I10 I11 I12 I13 I14 I15 I16 I17 C 1 2 4 8 C 1 2 4 8 C 1 2 4...

Page 224: ...ative logic H Positive logic Display Processing Time Displaying character data requires the following time after the input to the CDISP instruction is turned on Keep the input to the CDISP instruction for the period of time shown below to process the display data When the scan time is less than 5 msec the data cannot be displayed correctly When the scan time is too short to ensure normal display s...

Page 225: ...0h space space M8125 is the in operation output special internal relay S1 specifies data register D0 no conversion 2 digits 2 repeats The CDISP sends out data from D0 upper byte D0 lower byte D1 upper byte and D1 lower byte in this order I0 DAT LAT H L S1 4 D1 Q0 CDISP I0 REP S1 21332 MOV W D1 D0 REP S1 20256 MOV W D1 D1 M8121 REP S1 21077 MOV W D1 D0 REP S1 20000 MOV W D1 D1 I0 REP 2 S1 8224 MOV ...

Page 226: ... Decimal 5 21 37 53 69 85 101 117 133 149 165 181 197 213 229 245 6 6 6 F V f v π Decimal 6 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246 7 7 7 G W g w Decimal 7 23 39 55 71 87 103 119 135 151 167 183 199 215 231 247 8 8 8 H X h x Decimal 8 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248 9 9 9 I Y i y CH Decimal 9 25 41 57 73 89 105 121 137 153 169 185 201 217 233 249 A J Z j z Dec...

Page 227: ...16 INTERFACE INSTRUCTIONS 16 8 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 228: ...n be determined referring to the user communication mode specifications described below User Communication Mode Specifications Connecting RS232C Equipment through RS232C Port 1 or 2 To connect equipment with an RS232C communication port to the RS232C port 1 or 2 on the OpenNet Controller use the user communication cable 1C FC2A KP1C One end of the user communication cable 1C is not provided with a...

Page 229: ...enable button for 4 sec onds While the CPU is powered up pressing the communication enable button for more than 4 seconds until the ERROR LED blinks once makes the CPU read the settings on the communication selector DIP switches Then the CPU updates the com munication mode for the RS232C ports 1 and 2 This button is useful when you want to change the communication mode without turning power off IM...

Page 230: ...Function Area Setting dialog box appears 2 Click the Comm Port tab Click the check box to the left of Enable Communication Format Selection for the Port 1 or Port 2 Communication Mode Setting RS232C Leave the Input Number box blank 3 Click the Comm Param button The Communication Parameter dialog box appears When 2550 ms is selected in the Receive Timeout box the receive timeout function is disable...

Page 231: ... processed at the same time If inputs to more than five TXD1 or TXD2 instructions are turned on at the same time an error code is set to the transmit status data register designated by operand D2 in the excessive TXD instructions that cannot be executed If the input for a TXD instruction is turned on while another TXD instruction is executed the subsequent TXD instruc tion is executed 2 scan times...

Page 232: ...aracter is counted as one byte Constant Hexadecimal Use this option to enter the hexadecimal code of any ASCII character ASCII control codes NUL 00h through US 1Fh can also be entered using this option Example The following example shows two methods to enter 3 byte ASCII data 1 31h 2 32h 3 33h 1 Constant Character Type TXD Transmit instruction RXD Receive instruction Port Port 1 Transmit user comm...

Page 233: ...ters as many as the repeat cycles are transmitted starting with the designated data register Repeat cycles can be up to 99 Conversion Type The transmit data is converted according to the designated conversion type as described below Example D10 stores 000Ch 12 1 Binary to ASCII conversion 2 BCD to ASCII conversion 3 No conversion 000Ch D10 Binary to ASCII conversion 0 30h 0 30h 0 30h C 43h When tr...

Page 234: ...the designated repeat cycles 010Ch D10 Binary to ASCII conversion 0 30h 1 31h 0 30h C 43h Transmitted data 0 30h C 43h Lowest 2 digits ASCII data 010Ch D10 Decimal 0 30h 0 30h 2 32h 6 36h 8 38h Lowest 3 digits 2 32h 6 36h 8 38h BCD to ASCII 00268 value conversion Transmitted data ASCII data 010Ch D10 No conversion SOH 01h FF 0Ch FF 0Ch Lowest 1 digit ASCII data Transmitted data 000Ch D10 0022h D11...

Page 235: ...BCC Calculation Formula BCC calculation formula can be selected from XOR exclusive OR or ADD addition operation Example Conversion results of transmit data consist of 41h 42h 43h 44h and 45h 1 BCC calculation formula XOR 41h 42h 43h 44h 45h 41h 2 BCC calculation formula ADD 41h 42h 43h 44h 45h 14Fh 4Fh Only the last 1 or 2 digits are used as BCC STX BCC calculation start position can be selected f...

Page 236: ...nsmit status information including a transmis sion status code and a user communication error code Transmit Status Code If the transmit status code is other than shown above an error of transmit instruction is suspected See User Communica tion Error Code on page 17 25 Transmit Status Code Status Description 16 Preparing transmission From turning on the start input for a TXD instruction until the t...

Page 237: ...ster contents Transmit data example 1 Start to program a TXD instruction Move the cursor where you want to insert the TXD instruction and type TXD You can also insert the TXD instruction by clicking the User Communication icon in the menu bar and clicking where you want to insert the TXD instruction in the program edit area The Transmit instruction dialog box appears D100 Transmit status D101 Tran...

Page 238: ...box reappears repeat the above procedure In the Data Type Selection dialog box click Variable DR and click OK Next in the Variable Data Register dialog box type D10 in the DR No box and click BCD to ASCII to select the BCD to ASCII conversion Enter 4 in the Digits box 4 digits and 2 in the REP box 2 repeat cycles When finished click OK 5 Again in the Data Type Selection dialog box click BCC and cl...

Page 239: ...hed click OK 7 In the Transmit instruction dialog box type M10 in the destination D1 box and type D100 in the destination D2 box When finished click OK Programming of the TXD1 instruction is complete and the transmit data is specified as follows STX 02h D10 1 31h 2 32h 3 33h 4 34h 5 35h 8 38h BCC 41h ETX 03h BCC 6 36h 7 37h BCC calculation range Constant D11 Constant H BCC 36h L hex hex Phone 800 ...

Page 240: ...1 RXD2 instructions the OpenNet Controller can execute only one RXD1 and one RXD2 instructions at a time If the start input for a RXD1 RXD2 instruction is turned on while another RXD1 RXD2 instruction without a start delimiter is executed a user communication error occurs Since RXD instructions are executed in each scan while input is on a pulse input from a SOTU or SOTD instruction should be used...

Page 241: ...er Repeat cycles can be up to 99 Receive Digits The received data is divided into a block of specified receive digits before conversion as described below Example Received data of 6 bytes are divided in different receive digits Repeat is also designated 1 Receive digits 2 2 Receive digits 3 Type TXD Transmit instruction RXD Receive instruction Port Port 1 Receive user communication through RS232C ...

Page 242: ...egisters as many as the repeat cycles Example Received data of 6 bytes is divided into 2 digit blocks converted in ASCII to Binary and stored to data registers starting at D20 1 Repeat cycles 2 2 Repeat cycles 3 0012h ASCII to Binary conversion 1 31h 2 32h 00012 ASCII to BCD conversion 1 31h 2 32h 000Ch Hexadecimal value 3132h No conversion 1 31h 2 32h 0012h D20 Repeat 1 0034h D21 ASCII to Binary ...

Page 243: ...of the incom ing data does not match the start delimiter of any RXD1 RXD2 instruction that is executed the OpenNet Controller discards the incoming data and waits for the next communication While a RXD1 RXD2 instruction without a start delimiter is executed any incoming data is processed continuously according to the receive format Only one RXD1 and one RXD2 instructions without a start delimiter ...

Page 244: ...ceived In addition data receiving also ends when the interval between incoming data characters exceeds the receive timeout value specified in the Communication Parameters dialog box whether the RXD has an end delimiter or not The character interval timer is started when the first character of incom ing communication is received and restarted each time the next character is received When a characte...

Page 245: ...be positioned at the end of the receive for mat designated in Source 1 operand When an end delimiter is used the BCC code must be immediately before or after the end delimiter The OpenNet Controller reads a specified number of BCC digits in the incoming data according to the receive format to calculate and compare the received BCC code with the BCC calculation results BCC Calculation Start Positio...

Page 246: ...are used as BCC Conversion Type The BCC calculation result can be converted or not according to the designated conversion type as described below Example BCC calculation result is 0041h 1 Binary to ASCII conversion 2 No conversion BCC Digits Bytes The quantity of digits bytes of the BCC code can be selected from 1 or 2 Example 0041h Binary to ASCII conversion 4 34h 1 31h 2 digits 0041h No conversi...

Page 247: ...on is turned on preparation for receiving data is initiated followed by data con version and storage When a sequence of all data receive operation is complete the designated output or internal relay is turned on Conditions for Completion of Receiving Data After starting to receive data the RXD instruction can be completed in three ways When an end delimiter is received except when a BCC exists imm...

Page 248: ...eceive format and is ready for receiving incoming data turning on M8022 or M8023 cancels all receive instructions for RS232C port 1 or port 2 respectively This function is useful to cancel receive instruc tions only without stopping the OpenNet Controller To make the cancelled RXD instructions active turn off the flag and turn on the input to the RXD instruction again Receive Status Code Status De...

Page 249: ...nt to insert the RXD instruction in the program edit area then the Transmit dialog box appears Click RXD to change the dialog box to the Receive dialog box The Receive instruction dialog box appears 2 Check that RXD is selected in the Type box and click Port 1 in the Port box Then click Insert The Data Type Selection dialog box appears You will program source operand S1 using this dialog box 3 Cli...

Page 250: ...II to binary conversion Enter 4 in the Digits box 4 digits and 2 in the REP box 2 repeat cycles When finished click OK 6 Again in the Data Type Selection dialog box click BCC and click OK Next in the BCC dialog box enter 1 in the Cal culation Start Position box click ADD for the Calculation Type click BIN to ASCII for the Conversion Type and click 2 for the Digits When finished click OK 7 Once aga...

Page 251: ...og box type M20 in the destination D1 box and type D200 in the destination D2 box When finished click OK Programming of the RXD1 instruction is complete and the receive data will be stored as follows 5678h D20 90ABh D21 22136 37035 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 252: ...ion with or with out a start delimiter is executed The receive completion output of the RXD instruc tion at a smaller address goes on 5 Reserved 6 Reserved 7 The first byte of received data does not match the specified start delimiter No effect on the receive completion output If incoming data with a matching start delimiter is received subsequently the receive completion output goes on 8 When ASC...

Page 253: ... f v Decimal 6 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246 7 BEL ETB 7 G W g w Decimal 7 23 39 55 71 87 103 119 135 151 167 183 199 215 231 247 8 BS CAN 8 H X h x Decimal 8 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248 9 HT EM 9 I Y i y Decimal 9 25 41 57 73 89 105 121 137 153 169 185 201 217 233 249 A LF SUB J Z j z Decimal 10 26 42 58 74 90 106 122 138 154 170 186 202 218 234...

Page 254: ...ntrol signal option When sending receiving data R W D8207 RTS output control signal option When sending receiving data R W Port 2 D8304 Control signal status Every scan R D8305 DSR input control signal option When sending receiving data R W D8306 DTR output control signal option When sending receiving data R W D8307 RTS output control signal option When sending receiving data R W D8204 D8304 Value...

Page 255: ...ata D8205 D8305 3 When DSR is on the OpenNet Controller can transmit data This function is usually called Busy Control and is used for controlling transmission to a remote terminal with a slow processing speed such as a printer When the remote terminal is busy data input to the remote terminal is restricted D8205 D8305 4 When DSR is off the OpenNet Controller can transmit data D8205 D8305 5 or mor...

Page 256: ...eive data DTR remains off Use this option when flow control of receive data is required D8206 D8306 3 or more Same as D8206 D8306 0 RTS Output Control Signal Option D8207 D8307 D8207 and D8307 are used to control the RTS request to send signal to indicate the OpenNet Controller transmission sta tus or operating status The RTS control signal option can be used only in the user protocol to communica...

Page 257: ...e the OpenNet Controller is running RTS remains on whether the OpenNet Controller is trans mitting or receiving data While the OpenNet Controller is stopped RTS remains off Use this option to indicate the OpenNet Controller operating status D8207 D8307 3 Whether the OpenNet Controller is running or stopped RTS remains off D8207 D8307 4 or more Same as D8207 8307 0 RTS signal ON OFF Transmitting Da...

Page 258: ...ox 5 sec a trans mission busy timeout error will occur and the remaining data is not sent The transmit status data register stores an error code See pages 17 9 and 17 25 To RS232C Port A B G RS485 COM A B Z HSC OUT 24V 0V POWER RUN ERROR HSC OUT 1 2 3 O N DIP Switch D sub 9 pin Connector Pinouts Pin Description 1 NC No Connection 2 NC No Connection 3 DATA Receive Data 4 NC No Connection 5 GND Grou...

Page 259: ...itialize pulse special internal relay 3 D8305 to enable the DSR option for busy control M8125 is the in operation output special internal relay CMP W compares the D8014 second data with 0 When the D8014 data equals 0 second M0 is turned on Counter C2 current value is moved to D31 D8012 hour data is moved to D20 D8013 minute data is moved to D21 TXD2 is executed to send 73 byte data through the RS2...

Page 260: ...n example is shown below Special DR Value Description D8200 0 RS232C port 1 user communication mode not modem mode Communication Parameters Baud rate 9600 bps Data bits 7 Parity check Even Stop bits 1 A B G RS485 COM A B Z HSC OUT 24V 0V POWER RUN ERROR HSC OUT 1 2 3 O N DIP Switch To RS232C Port D sub 25 pin Connector Pinouts Pin Description 1 FG Frame Ground 2 TXD1 Transmit Data 3 RXD1 Receive D...

Page 261: ...er No Sub serial No Terminator 03h BCR data output Yes Character suppress No Main serial input No Comparison preset mode Not used M100 Input to start receiving barcode data M101 Receive completion output for barcode data M8120 Initialize pulse special internal relay D20 Store barcode data upper 4 digits D21 Store barcode data lower 4 digits D100 Receive status data register for barcode data D101 R...

Page 262: ...ill result turning on special internal relay M8004 and the ERROR LED Operand Function I Q M R T C D L Constant Repeat Label number Tag for LJMP LCAL and DJNZ 0 255 Operand Function I Q M R T C D L Constant Repeat S1 Source 1 Label number to jump to X X X X X X X X 0 255 This is the label number from 0 to 255 used at the program address where the execution of pro gram instructions begins for a prog...

Page 263: ...cognized Since the END instruction is not executed as long as M0 remains on output Q1 is not turned on even if input I1 is on When input I0 is on program execution jumps to label 0 When input I1 is on program execution jumps to label 1 When input I2 is on program execution jumps to label 2 M8121 is the 1 sec clock special internal relay When jump occurs to label 0 output Q0 oscillates in 1 sec inc...

Page 264: ... call X X X X X X X X 0 255 Operand Function I Q M R T C D L Constant Repeat When input is on the address with label 0 through 255 designated by S1 is called When input is off no call takes place and program execution proceeds with the next instruc tion The LCAL instruction calls a subroutine and returns to the main program after the branch is executed A LRET instruction see below must be placed a...

Page 265: ... 1 sec clock special internal relay When jump occurs to label 0 output Q0 oscillates in 1 sec increments Program execution returns to rung 1 input I1 M8122 is the 100 msec clock special internal relay When jump occurs to label 1 output Q1 oscillates in 100 msec increments Program execution returns to rung 1 input I2 M8123 is the 10 msec clock special internal relay When jump occurs to label 2 outp...

Page 266: ... by one If the result is not 0 jump to address with label 0 through 255 designated by S2 If the decrement results in 0 no jump takes place and program execution proceeds with the next instruction DJNZ S1 S2 M8120 is the initialize pulse special internal relay At startup MOV instructions store initial data 1049 D0 to store the value for the first cycle 50 D1 to determine the jump cycles IMOV moves ...

Page 267: ...18 PROGRAM BRANCHING INSTRUCTIONS 18 6 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 268: ...8004 and the ERROR LED Yn Y value Enter a value for the Y coordinate The integer value can be 32768 through 32767 Valid Data Types When a bit operand such as I input Q output M internal relay or R shift register is designated as Xn or Yn 16 points integer data type are used When a word operand such as T timer C counter D data register or L link register is designated as Xn or Yn 1 point integer da...

Page 269: ...ing on special internal relay M8004 and the ERROR LED D1 Destination to store results The conversion results of the Y value is stored to the destination The integer value of the conversion results can be 32768 through 32767 Valid Data Types When a bit operand such as I input Q output M internal relay or R shift register is designated as S2 or D1 16 points integer data type are used When a word ope...

Page 270: ...urning on special internal relay M8004 and the ERROR LED D1 Destination to store results The conversion results of the X value is stored to the destination The integer value of the conversion results can be 0 through 32767 Valid Data Types When a bit operand such as I input Q output M internal relay or R shift register is designated as S2 or D1 16 points integer data type are used When a word oper...

Page 271: ...verts the value in D10 and stores the result in D20 When input I1 is on CVYTX converts the value in D11 and stores the result in D21 M8120 XYFS I Y1 4000 END I0 CVXTY I D1 D20 I1 CVYTX I S1 D21 S1 0 X0 0 Y0 0 X1 8000 S1 0 S2 D10 S1 0 S2 D11 X0 Y0 X1 Y1 X Y 0 D10 D21 D20 1000 D11 2500 The graph shows the linear relationship that is defined by the two points If the value in data register D10 is 2000...

Page 272: ... in these cases The line between points X0 Y0 and X1 Y1 that is the line between 0 100 and 100 0 has priority in defining the relationship for Y to X conversion X Y 100 Therefore if the value in data register D95 is 40 the value assigned to D30 is 60 not 180 Exactly the same two line segments might also be defined by the XYFS instruction except that the point 300 100 could be assigned first as X0 ...

Page 273: ... sampling cycles designated by operand S3 have not been completed sampling is stopped and the results at this point are set to 3 operands starting with operand designated by D1 The average value is calculated to units rounding the fractions of one decimal place When the sampling end input is not used designate an internal relay or another valid operand as a dummy for source oper and S2 Valid Data ...

Page 274: ...ly Sampling completion output M100 is also set When sampling end input I10 turns off sampling resumes starting at the first scan M8125 is the in operation output special internal relay M8125 S1 D100 S2 I10 AVRG W D2 M100 S3 500 D1 D200 512 1st scan 497 2nd scan 521 500th scan 499 1st scan 478 2nd scan In operation Special IR M8125 ON OFF Sampling End Input I10 ON OFF Sampling Completion Output M10...

Page 275: ...19 COORDINATE CONVERSION INSTRUCTIONS 19 8 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 276: ... for a set point when the linear conversion is used For details see page 20 12 Source operand S4 process variable is designated using a data register or link register When reading input data from an analog input module designate a proper link register number depending on the slot position of the analog input module and the channel number connected to the analog input For details see page 20 12 Des...

Page 277: ...0 disables derivative action R W S1 10 Integral start coefficient 1 to 100 1 to 100 0 and 101 except 200 designate 100 200 executes integral action within the proportional range R W S1 11 Input filter coefficient 0 to 99 0 to 99 100 designates 99 R W S1 12 Sampling period 1 to 10000 0 01 sec to 100 00 sec 0 designates 0 01 sec 10001 designates 100 00 sec R W S1 13 Control period 1 to 500 0 1 sec t...

Page 278: ...nput for the PID instruction Status Code Description Operation 1X AT in progress AT is normal 2X AT completed 5X PID action in progress PID action is normal 6X PID set point S3 is reached Status code changes from 5X to 6X once the PID set point is reached 100 The operation mode S1 3 is set to a value over 2 PID action or AT is stopped because of incorrect parameter settings 101 The linear conversi...

Page 279: ... I O mod ule is linear converted and the result is stored to the process variable S1 0 When using the linear conversion set proper values to the linear conversion maximum value S1 5 and linear conversion minimum value S1 6 to specify the linear conversion output range When using the linear conversion function in a temperature control application temperature values can be used to designate the set ...

Page 280: ...o zero The integral time is a parameter to determine the amount of integral action When auto tuning is used by setting the operation mode S1 3 to 1 AT PID or 2 AT an integral time is determined automatically and does not have to be specified by the user When auto tuning is not used by setting the operation mode S1 3 to 0 PID set a required value of 1 through 65535 to specify an integral time of 0 ...

Page 281: ...t the start of the PID action a large overshoot is caused The overshoot can be sup pressed by delaying the execution of the integral action in coordination with the proportional term The PID instruction is designed to achieve proper control with a small or moderate overshoot when the integral start coefficient is set to 100 Overshoot is most suppressed when the integral start coefficient is set to...

Page 282: ...han the linear conversion minimum value S1 6 the linear conversion minimum value will become the high alarm value If the high alarm value is set to a value larger than the linear conversion maximum value S1 5 the lin ear conversion maximum value will become the high alarm value S1 15 Low Alarm Value The low alarm value is the lower limit of the process variable S1 0 to generate an alarm When the p...

Page 283: ... variable lower limit S1 17 is disabled S1 17 Output Manipulated Variable Lower Limit The value contained in the data register designated by S1 17 specifies the lower limit of the output manipulated variable S1 1 Set a required value of 0 through 100 for the output manipulated variable lower limit to the data register desig nated by S1 17 When S1 17 stores a value larger than 100 the output manipu...

Page 284: ...ess variable S4 at the start of the auto tuning In the reverse control action set the AT set point S1 21 to a value sufficiently larger than the process variable S4 at the start of the auto tuning S1 22 AT Output Manipulated Variable The AT output manipulated variable specifies the amount of the output manipulated variable 0 through 100 during auto tuning When using auto tuning set a required AT o...

Page 285: ...ction is executed and the manipulated variable D1 stores the PID calculation result The control output S2 6 is turned on and off according to the control period S1 13 and the output manipulated vari able S1 1 To select manual mode turn on the auto manual mode control relay S2 1 When using manual mode set a required value to the manual mode output manipulated variable S1 18 before enabling manual m...

Page 286: ... on When S1 0 is lower than S1 14 S2 4 is off S2 5 Low Alarm Output When the process variable S1 0 is lower than or equal to the low alarm value S1 15 while the start input for the PID instruction is on the low alarm output control relay S2 5 goes on When S1 0 is higher than S1 15 S2 5 is off S2 6 Control Output During auto tuning in auto mode with the auto manual mode control relay S2 1 set to of...

Page 287: ...L100 through L705 depending on the mounting posi tion of the analog input module and the analog input channel connected to the transducer Designate a link register as source operand S4 to store the process variable For example when the analog input module is mounted in the first slot from the CPU module among all functional mod ules such as analog I O and OpenNet interface modules not including di...

Page 288: ...nipulated variable limit is enabled S2 2 set to on the manipulated variable D1 is stored to the out put manipulated variable S1 1 according to the output manipulated variable upper limit S1 16 and the output manipu lated variable lower limit S1 17 as summarized in the table below While manual mode is enabled with the auto manual mode control relay S2 1 set to on S1 1 stores 0 through 100 of the ma...

Page 289: ... tuning PID action D3 1 S1 4 Linear conversion Enable linear conversion D4 1 S1 5 Linear conversion maximum value 500 C D5 5000 S1 6 Linear conversion minimum value 50 C D6 500 S1 10 Integral start coefficient 100 D10 0 S1 11 Input filter coefficient 70 D11 70 S1 12 Sampling period 500 msec D12 50 S1 13 Control period 1 sec D13 10 S1 14 High alarm value 250 C D14 2500 S1 19 AT sampling period 1 5 ...

Page 290: ...5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Ry OUT Transducer 50 to 500 C Thermocouple High Alarm Light Output Q1 Output Q0 Heater Power Switch L Heater High Alarm Value S1 14 2500 250 C 4000 Linear Conversion Minimum Value S1 6 500 50 C 0 Linear Conversion Maximum Value S1 5 5000 500 C Set Point S3 2000 200 C AT Set Point S1 21 1500 150 C Digital Output from Analog Input Module Process Variable af...

Page 291: ...1 1 D1 D4 MOV W REP S1 5000 D1 D5 MOV I REP S1 500 D1 D6 MOV I REP S1 70 D1 D11 MOV W REP S1 50 D1 D12 MOV W REP S1 10 D1 D13 MOV W REP S1 2500 D1 D14 MOV W REP S1 150 D1 D19 MOV W REP S1 30 D1 D20 MOV W REP S1 1500 D1 D21 MOV W REP S1 100 D1 D22 MOV W REP S1 2000 D1 D100 MOV W REP M3 R M2 R M1 R When input I0 is turned on 3 internal relays M1 through M3 designated as control relays are turned off...

Page 292: ...onal gain S1 7 integral time S1 8 and derivative time S1 9 When the set point S3 or process variable S4 is changed due to disturbance overshoot or undershoot will be caused Before putting the PID control into actual application perform simulation tests by changing the set point and process variable disturbance to anticipated values in the application The PID parameters such as proportional gain S1...

Page 293: ...20 PID INSTRUCTION 20 18 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 294: ...eries PLCs and HG2A series operator interfaces can also be connected to the data link communication system Data Link Specifications Electric Specifications Compliance with EIA RS485 Baud Rate 19 200 or 38 400 bps Synchronization Start stop synchronization Start bit 1 Data bits 7 Parity Even Stop bit 1 Communication Cable Shielded twisted pair cable core wire diameter 0 9 mm 0 035 minimum Maximum C...

Page 295: ...Number 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON 5 OFF OFF ON ON OFF OFF ON ON OFF OFF ON ON OFF OFF ON ON 6 OFF OFF OFF OFF ON ON ON ON OFF OFF OFF OFF ON ON ON ON 7 OFF OFF OFF OFF OFF OFF OFF OFF ON ON ON ON ON ON ON ON 8 OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF DIP Switch No Slave Station Number 16 17 18 19 20 21 22 2...

Page 296: ...9 Receive data from slave 21 Slave 6 D7100 D7109 Transmit data to slave 6 Slave 22 D7420 D7429 Transmit data to slave 22 D7110 D7119 Receive data from slave 6 D7430 D7439 Receive data from slave 22 Slave 7 D7120 D7129 Transmit data to slave 7 Slave 23 D7440 D7449 Transmit data to slave 23 D7130 D7139 Receive data from slave 7 D7450 D7459 Receive data from slave 23 Slave 8 D7140 D7149 Transmit data...

Page 297: ...ecial Data Register Data Link Communication Error Data Special Data Register Data Link Communication Error Data D8400 Slave station 1 communication error D8416 Slave station 17 communication error D8401 Slave station 2 communication error D8417 Slave station 18 communication error D8402 Slave station 3 communication error D8418 Slave station 19 communication error D8403 Slave station 4 communicati...

Page 298: ...010 D7011 Receive Data D8400 Communication Error Slave Station 3 D7000 D7001 Transmit Data D7010 D7011 Receive Data D8400 Communication Error Slave Station 4 D7000 D7001 Transmit Data D7010 D7011 Receive Data D8400 Communication Error Slave Station 30 D7000 D7001 Transmit Data D7010 D7011 Receive Data D8400 Communication Error Slave Station 31 D7000 D7001 Transmit Data D7010 D7011 Receive Data Mas...

Page 299: ...ion does not receive communication data from the master station for 10 seconds or more in the data link system M8007 turns on When a slave station does not receive data in 10 seconds after initializing the data link system M8007 also turns on at the slave station When the slave station receives correct communication data M8007 turns off M8140 M8176 Slave Station Communication Completion Relay for ...

Page 300: ...eed with the following procedures 3 Select the Data Link tab Enable Data Link Click the check box on the left to use the data link communication Refresh Operation Click the button for separate refresh default or simultaneous refresh See page 21 8 Baud Rate Select 19200 or 38400 bps When the data link system consists of only OpenNet Controllers and FA 3S serial interface module PF3S SIF4 select 384...

Page 301: ...ion When the maximum 31 slave stations are connected the master station requires 31 scans to communicate with all slave stations Both master and slave stations refresh communication data in the END processing at each station When data refresh is complete communication completion special internal relays M8140 through M8176 slave station communication com pletion relay go on at the master and slave ...

Page 302: ...parate Refresh Mode When data link communication is performed with such parameters as transmit words 10 receive words 10 slave stations 8 average scan time 20 msec and baud rate 19200 bps then the total refresh time Trf8 for communication with all eight slave stations in the separate refresh mode will be Trf8 2 083 msec 10 10 3 125 msec 20 msec 8 518 28 msec When the baud rate is 38400 bps the tot...

Page 303: ...ng time to refresh data for communication with one slave station Trf 3 125 msec When N words of transmit receive data have been changed during communication at 19200 bps Trf 4 167 msec 2 N Total Simultaneous Refresh Time at Master Station for Communication with All Slave Stations Trfn When the baud rate is set at 19200 bps the master station requires the following time to refresh the transmit and ...

Page 304: ...d download the user programs to the master and slave stations 9 Monitor the data registers used for data link at the master and slave stations Note To enable data link communication power up all OpenNet Controller modules at the same time or power up slave sta tions first If a slave station is powered up later than the master station the master station does not recognize the slave sta tion To make...

Page 305: ...ation number 7 6 slave stations OpenNet Controller Settings MICRO3 Settings MICRO3 C Settings Transmit data 2 words Receive data 2 words Baud rate 19200 bps Function selector switch 1 Function selector switch 2 OpenNet Controller Settings PF3S SIF4 Settings PF3S SIF4 Settings Transmit data 6 words Receive data 6 words Baud rate 19200 or 38400 bps Data link slave station mode Slave station number 1...

Page 306: ...tion selector DIP switches 1 and 4 through 8 When the CPU is powered up the CPU checks the settings of the communication selector DIP switch and enables the selected communication mode and device number automatically After changing the settings of the communication selec tor DIP switch while the CPU is powered up press the communication enable button for more than 4 seconds until the ERROR LED bli...

Page 307: ... screen enters the monitor mode 4 From the WindLDR menu bar select Online PLC Status The OpenNet PLC Status dialog box appears DIP Switch No Device Number 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON 5 OFF OFF ON ON OFF OFF ON ON OFF OFF ON ON OFF OFF ON ON 6 OFF OFF OFF OFF ON ON ON ON OFF OFF OFF OFF ON ON ON ON 7 OFF OFF OFF OFF OFF OFF OFF OFF...

Page 308: ...m communication using the modem mode depends on the modem functions and telephone line situations The modem mode does not prevent intrusion or malfunctions of other systems For practical applications confirm the communication function using the actual system setup and include safety provisions While communicating through modems the telephone line may be disconnected unexpectedly or receive data er...

Page 309: ...leted successfully the completion IR is turned on and the command is not executed for the remaining cycles Failure The command is transmitted repeatedly but failed in all trials as many as the retry cycles specified in data register D8209 or D8309 Status Internal Relays for RS232C Port 1 and Port 2 Note While M8057 M8087 AT command execution is on the OpenNet Controller cannot send and receive com...

Page 310: ...eration initiated by a start internal relay M8050 M8056 or M8080 M8086 is completed See Note 0 No retry 1 65535 Executes a specified number of retries D8210 D8310 Retry Interval default 90 sec The D8210 D8310 value specifies the interval to start a retry of dialing when a dialing fails with the retry cycles set to a value more than 1 Other start commands are repeated con tinuously as many as the r...

Page 311: ...ialization String ATE0Q0V1 D2 C1 V0X4 Q3 J0 A0 M5 N2S0 2 W When D8201 D8301 modem initialization string selection stores 0 the default initialization string shown above is stored to data registers D8245 D8269 or D8345 D8369 AT and are appended at the beginning and end of the initialization string automatically by the system program and are not stored in data registers This initialization string is...

Page 312: ...71 M8101 is turned on When the subsequent dialing is also completed successfully M8062 M8092 will also be turned on If the initialization string has been stored in the non volatile memory of the modem M8050 M8080 may be skipped Start with M8051 M8081 to send the ATZ command Dialing the Telephone Number When the modem mode is enabled data registers D8270 D8299 or D8370 D8399 are allocated to the te...

Page 313: ...ommand to disconnect the telephone line To disconnect the telephone line turn on internal relay M8053 M8083 The telephone line is disconnected by turning off the DTR signal since the initialization string includes the D2 command While a modem command is executed another command cannot be executed If two or more start internal relays are turned on simultaneously an error will result and error code ...

Page 314: ...Z command is issued subsequently Default Initialization String ATE0Q0V1 D2 C1 V0X4 Q3 J0 A0 M5 N2S0 2 W As described in the Originate Mode the initialization string can be modified to match your modem For details of modify ing the initialization string see page 23 4 When the initialization string has been sent successfully internal relay M8065 M8095 is turned on If the initialization string fails ...

Page 315: ...ialing 33 Waiting for re disconnecting line 34 Waiting for resending AT command 35 Waiting for resending initialization string answer mode 36 Waiting for resending ATZ answer mode 40 Line connected Telephone line is connected Only M8053 M8083 dis connect line can be turned on 50 AT command completed successfully Command started by M8054 M8056 or M8084 M8086 is completed successfully 60 AT command ...

Page 316: ...on DTR detection When the DTR signal turns off the telephone line is disconnected The OpenNet Controller uses this function to disconnect the telephone line This command must be included in the initialization string C1 DCD ON with carrier from remote modem DCD tracks the state of the data carrier from the remote modem An ON condition of DCD indicates the presence of a carrier This command must be ...

Page 317: ... value listed above plus 20 to D8201 D8301 Determine the type of the telephone line Consult your local telephone company whether your telephone line is for touch tone phones or pulse dial phones Deter mine the dial command according to the type of the telephone line ATDT Touch tone phones ATDP Pulse dial phones Setting Communication Parameters The default communication parameters shown below are r...

Page 318: ...uired Setting Up the CPU Module 1 Determine which RS232C port to use port 1 port 2 or both Connect the OpenNet Controller CPU module to a modem using the modem cable 1C FC2A KM1C as shown on page 23 1 2 Set communication selector DIP switch 2 or 3 to ON to select user communication mode for RS232C port 1 or 2 respectively When the CPU is powered up the CPU checks the settings of the communication ...

Page 319: ...ot included in the OpenNet Controller instruction set but can be programmed using WindLDR to move data to consecutive data registers using the MOV instructions M8120 is the initialize pulse special internal relay MOV instructions store values to data registers for the modem mode at RS232C port 1 1 D8200 to enable the modem mode for port 1 1 D8201 to select a predetermined initialization string 1 D...

Page 320: ... instructions store values to data registers for the modem mode at RS232C port 1 1 D8200 to enable the modem mode for port 1 1 D8201 to select a predetermined initialization string 1 D8203 to enable user protocol after telephone line is con nected M8125 is the in operation output special internal relay Timer T0 1 sec timer TML starts to time down when the Open Net Controller is started to run When...

Page 321: ... a failure occurs but sending ATZ completes successfully Cause The initialization string is not valid for the modem Solution Refer to the user s manual for the modem and correct the initialization string When a dial command is sent a result code NO DIALTONE is returned and the telephone line is not connected Cause 1 The modular cable is not connected Solution 1 Connect the modular cable to the mod...

Page 322: ...required to send and receive I O data between the master and slave stations I O connection is just as easy as ordinary digital I O connection Remote I O System Setup For wiring INTERBUS cable see page 24 15 A B G RS485 COM A B Z HSC OUT 24V 0V POWER RUN ERROR HSC OUT V 24 Interface REMOTE OUT idec REMOTE OUT REMOTE IN REMOTE OUT REMOTE IN UL RC BA ER RD SX5S INTERBUS REMOTE OUT REMOTE IN REMOTE OU...

Page 323: ...080 L1083 L1084 L1087 Node 24 L1240 L1243 L1244 L1247 Node 9 L1090 L1093 L1094 L1097 Node 25 L1250 L1253 L1254 L1257 Node 10 L1100 L1103 L1104 L1107 Node 26 L1260 L1263 L1264 L1267 Node 11 L1110 L1113 L1114 L1117 Node 27 L1270 L1273 L1274 L1277 Node 12 L1120 L1123 L1124 L1127 Node 28 L1280 L1283 L1284 L1287 Node 13 L1130 L1133 L1134 L1137 Node 29 L1290 L1293 L1294 L1297 Node 14 L1140 L1143 L1144 L...

Page 324: ...Outputs 1 word 16 outputs SX5S SBM16K SX5S SBM16P 03h Remote Bus Station with Digital I Os 1 byte 8 in 8 out 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 Master Station Link Register L1000 Bit 15 8 7 0 Byte 1 Byte 0 OFF OFF OFF OFF OFF OFF OFF ON OFF OFF OFF OFF OFF OFF OFF OFF Slave Station Input SX5S Input No 7 0 15 8 0100h 256 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 Master Station Link Register L1004 Bit 15 8 7 0 B...

Page 325: ...de 0 2 0 Node 1 Other Vendor s Remote Bus 3 0 Node 3 2 1 Node 2 Other Vendor s Local Bus Other Vendor s Branch Unit 6 0 Node 7 7 0 Node 8 4 0 Node 4 5 0 Node 5 Other Vendor s Remote Bus 5 1 Node 6 Other Vendor s Local Bus SX5S SBM16K 8 in 8 out SX5S SBR08 8 outputs SX5S SBT16K 16 outputs SX5S SBN16S 16 inputs Logical Device Number 1 0 Position low byte Bus Segment No high byte Logical Device Numbe...

Page 326: ...cations Node 3 3 0 L1030 L1031 L1032 L1033 Depends on the module specifications L1034 L1035 L1036 L1037 Depends on the module specifications Node 4 4 0 8 output module L1040 L1041 L1042 L1043 Not used L1044 L1045 L1046 L1047 7 0 Not used Not used Not used No data Node 5 5 0 L1050 L1051 L1052 L1053 Depends on the module specifications L1054 L1055 L1056 L1057 Depends on the module specifications Nod...

Page 327: ... input or output points whichever is larger of the slave station When using the SX5S as a slave the length code can be 8 bits 1 byte or 16 bits 2 bytes ID Code Device Level 7 6 5 4 3 2 1 0 Bus segment number 15 14 13 12 11 10 9 8 Position 7 6 5 4 3 2 1 0 Always 0 Bit 7 Bit 6 Unit 0 0 reserved 0 1 Nibbles 1 0 Bytes 1 1 Bits Value 15 14 13 12 11 10 9 8 Always 0 Quantity of PCP Words peripherals comm...

Page 328: ...No Bus Segment No Position D8067 Length Code High byte stores 0 Note D8068 ID Code High byte stores 0 D8069 Device Level High byte stores 0 D8070 Node 5 Logical Device No Bus Segment No Position D8071 Length Code High byte stores 0 Note D8072 ID Code High byte stores 0 D8073 Device Level High byte stores 0 D8074 Node 6 Logical Device No Bus Segment No Position D8075 Length Code High byte stores 0 ...

Page 329: ...e 15 Logical Device No Bus Segment No Position D8111 Length Code High byte stores 0 Note D8112 ID Code High byte stores 0 D8113 Device Level High byte stores 0 D8114 Node 16 Logical Device No Bus Segment No Position D8115 Length Code High byte stores 0 Note D8116 ID Code High byte stores 0 D8117 Device Level High byte stores 0 D8118 Node 17 Logical Device No Bus Segment No Position D8119 Length Co...

Page 330: ...e 26 Logical Device No Bus Segment No Position D8155 Length Code High byte stores 0 Note D8156 ID Code High byte stores 0 D8157 Device Level High byte stores 0 D8158 Node 27 Logical Device No Bus Segment No Position D8159 Length Code High byte stores 0 Note D8160 ID Code High byte stores 0 D8161 Device Level High byte stores 0 D8162 Node 28 Logical Device No Bus Segment No Position D8163 Length Co...

Page 331: ... station of invalid size is connected 7 ID code error bus station of invalid type is connected 8 Maximum node quantity over more than 32 nodes are connected D8179 INTERBUS Master Status Transition Number 0 Power ON 1 DPRAM and master ready ready for receiving service command 2 Reading and identification of configuration complete 3 I O logical addressing complete 4 Set the bus active 5 Set the bus ...

Page 332: ...ror information in the user program to detect any error in the remote I O system When the CPU module at the remote I O master station and the remote I O slave modules are pow ered up simultaneously the remote I O master module may fail to recognize the slave modules If this trouble occurs include special data register D8179 INTERBUS master status transition num ber to detect failure to run Include...

Page 333: ... CPU module and the remote I O master module is asynchronous with the INTERBUS cycle time Start and Stop of Remote I O Communication The remote I O master module is powered by the CPU module The remote I O communication is started and stopped by turning power on and off to the CPU module After connecting remote I O slave modules to the remote I O master module using INTERBUS cable power up the sla...

Page 334: ...configure the remote I O master module make settings in the Function Area Settings for the user program Since these settings relate to the user program the user program must be downloaded to the OpenNet Controller after changing any of these settings Programming WindLDR 1 From the WindLDR menu bar select Configure Function Area Settings The Function Area Setting dialog box appears 2 Select the Ope...

Page 335: ...Interface REMOTE OUT idec REMOTE OUT REMOTE IN REMOTE OUT REMOTE IN UL RC BA ER RD SX5S INTERBUS REMOTE OUT REMOTE IN REMOTE OUT REMOTE IN UL RC BA ER RD SX5S INTERBUS Remote I O Master Module FC3A SX5SM1 Remote I O Master Station INTERBUS Cable Node 0 SX5S SBN16S 16 inputs Node 1 SX5S SBT16K 16 outputs Remote I O Slave Stations Node Input Operand Output Operand Node 0 L1000 L1003 L1004 L1007 L100...

Page 336: ...rs include disconnection or short circuit of the network cable strong external noise invalid com mand sent to the master station momentary power voltage drop below the minimum power voltage faulty transmission line incorrect cable and transmission longer than the rated distance When a network error occurs all outputs are turned off Phoenix Type Order No Specification Used for IBS RBC METER T 28 06...

Page 337: ...board has stopped data transmission and is searching for the error location and cause Cause A bus error occurred Remedy Wait until the search for the error has been completed The controller board will inform you of the result Add_Error_Info Meaning A serious error occurred causing the bus system to be switched off However no error was detected when checking the current configuration This indicates...

Page 338: ...r cause always occurs for a short time only The error affected data cycles but no ID cycles Cause The error occurs due to installation errors a defective INTERBUS device Remedy Check your system for missing or incorrect shielding of the bus cables connectors missing or incorrect grounding equipotential bonding poor connections in the connector loose contact dry joint cable breaks in remote and loc...

Page 339: ...medy Check your system for missing or incorrect shielding of the bus cables connectors missing or incorrect grounding equipotential bonding poor connections in the connector loose contact dry joint cable breaks in remote and local bus cabling voltage dips on the communication voltage supply of the remote bus devices Add_Error_Info Meaning The Control_Device_Function 0714hex service could not be ex...

Page 340: ...e RBST connection led via the next module of the IB ST compact station is interrupted Add_Error_Info INTERBUS device number Segment Position of the INTERBUS device Meaning Transmission error CRC error in the data forward path at the incoming bus interface IN of the spec ified INTERBUS device Cause Transmission errors Remedy Check the specified INTERBUS segment for missing or incorrect shielding of...

Page 341: ...e preceding complete bus as well as all devices connected to OUT2 of the specified device Remedy Check your system for missing or incorrect shielding of the bus cables connectors missing or incorrect grounding equipotential bonding poor connections in the connector loose contact dry joint cable breaks in remote and local bus cabling voltage dips on the communication voltage supply of the remote bu...

Page 342: ... bus cabling voltage dips on the communication voltage supply of the remote bus devices Add_Error_Info INTERBUS device number Segment Position of the INTERBUS device Meaning Error detected by means of quick diagnostics Error location The specified device the preceding complete bus as well as all devices connected to OUT2 of the specified device Remedy Check your system for missing or incorrect shi...

Page 343: ...rror_Info Bus segment in which the error occurred Add_Error_Info Bit 7 0 No interface error occurred Position of the located error Bus segment in which the error occurred Add_Error_Info Bit 7 1 An interface error occurred Bit 1 6 0 Bit 0 0 Error at the outgoing remote bus interface Bus segment in which the error occurred Add_Error_Info Bit 7 1 An interface error occurred Bit 1 6 0 Bit 0 1 Error at...

Page 344: ...ication voltage supply of the remote bus devices Add_Error_Info Error location Segment Position Meaning Multiple timeout in the segment of the specified INTERBUS device Cause Transmission errors Remedy Check the segment of the specified INTERBUS device for missing or incorrect shielding of the bus cables connectors missing or incorrect grounding equipotential bonding poor connections in the connec...

Page 345: ...le connectors on cables and devices for interruptions and repair them if required Add_Error_Info Error location Segment Position Meaning Unexpected change of the RBST or LBST signal Cause Missing or defective bridge loose contact dry joint in the outgoing bus connector of the preceding INTERBUS device Remedy Check the segment of the specified INTERBUS device for interruptions in the connector loos...

Page 346: ...ried out a reset Cause The specified INTERBUS device is insufficiently supplied with power or is defective Remedy Check this INTERBUS device Check the supply voltage of this INTERBUS device whether it conforms to the rated value and whether the permissible AC voltage portion is exceeded Refer to the relevant data sheet for the val ues Check the BK module s power supply unit for an overload conditi...

Page 347: ...f the remote bus devices Add_Error_Info Error location Segment Position Meaning An unexpected device was found at the outgoing bus interface OUT1 of the specified INTERBUS device Cause INTERBUS device connected without an entry in the active configuration INTERBUS cable connected without any further INTERBUS devices Add_Error_Info Error location Segment Position Meaning Only ID cycles but no data ...

Page 348: ...ble is defective that belongs to the local remote bus of the specified INTER BUS device Defective INTERBUS device connected to the local remote bus of the specified INTERBUS device Failure of the supply voltage communication voltage UL for the module electronics made available by the BK module Failure of the supply voltage UL for the BK module Remedy Check this local remote bus Add_Error_Info Erro...

Page 349: ...utgoing bus interface OUT2 of the specified INTERBUS device carried out a voltage reset or is defective Remedy Check this INTERBUS device Check the supply voltage of this INTERBUS device whether it conforms to the rated value and whether the permissible AC voltage portion is exceeded Refer to the relevant data sheet for the val ues Check the BK module s power supply unit for an overload condition ...

Page 350: ... transmit receive data quantity can be selected from 0 through 8 bytes 64 bits in 1 byte increments One DeviceNet slave module enables the OpenNet Controller CPU module to transmit 64 bits and receive 64 bits at the maximum to and from the DeviceNet master station About DeviceNet DeviceNet was originally developed by Allen Bradley as a network for sensors actuators and other discrete devices and l...

Page 351: ...modules and LONWORKS interface modules and analog I O modules can be mounted with one OpenNet Controller CPU module DeviceNet STATUS MODULE NET ADDRESS ERROR idec NO H L DR1 DR0 NA5 NA4 NA3 NA2 NA1 NA0 A B G RS485 COM A B Z HSC OUT 24V 0V POWER RUN ERROR HSC OUT 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 POW MNS I O POW MNS I O SX5D DeviceNet IDEC OpenNet Controller CPU Module I O Module DeviceNet Sl...

Page 352: ...r 5 Status LED Indicates operating status Module Name DeviceNet Slave Module Type No FC3A SX5DS1 Label and Wire Insulation Color Name Black V Blue CAN_L Bare Wire Drain White CAN_H Red V Indicator Status Description POW power OFF Module power OFF Green ON Module power ON MNS module network status OFF Power OFF or Dup_MAC_ID test not completed Green Flash Normal operation communication not establis...

Page 353: ...mmunication terminal Photocoupler isolated Insulation Resistance Between communication terminal and FG 10 MΩ minimum 500V DC megger Dielectric Strength Between communication terminal and FG 1000V AC 1 minute 10 mA maximum Vibration Resistance 10 to 57 Hz amplitude 0 075 mm 57 to 150 Hz acceleration 9 8 m sec2 1G 10 sweep cycles each in 3 axes total 80 minutes IEC1131 Shock Resistance 147 m sec2 15...

Page 354: ... the cable Applicable ferrules for the terminal block and crimping tool for the ferrules are listed below Use a screwdriver to tighten the screw terminals on the DeviceNet slave module Ferrules crimping tool and screwdriver are made by and are available from Phoenix Contact Type numbers of Phoenix Contact ferrules crimping tool and screwdriver are listed below When ordering these products from Pho...

Page 355: ... ON OFF ON OFF ON 12 OFF OFF ON ON OFF OFF 44 OFF OFF ON ON OFF ON 13 ON OFF ON ON OFF OFF 45 ON OFF ON ON OFF ON 14 OFF ON ON ON OFF OFF 46 OFF ON ON ON OFF ON 15 ON ON ON ON OFF OFF 47 ON ON ON ON OFF ON 16 OFF OFF OFF OFF ON OFF 48 OFF OFF OFF OFF ON ON 17 ON OFF OFF OFF ON OFF 49 ON OFF OFF OFF ON ON 18 OFF ON OFF OFF ON OFF 50 OFF ON OFF OFF ON ON 19 ON ON OFF OFF ON OFF 51 ON ON OFF OFF ON O...

Page 356: ...cation fault This bit goes on when a communication fault is detected I O Counts Status Area L 13 This link register stores the transmit and receive byte counts selected in the Function Area Setting Open Bus in WindLDR Connection Status Status Area L 14 This link register stores the data of the allocation choice byte Software Version Reserved Area L 24 This link register stores the system software ...

Page 357: ...tting dialog box appears 2 Select the Open Bus tab 3 Select transmit and receive data bytes for module position 1 through 7 where the DeviceNet slave module is mounted 4 Click the OK button and download the user program to the OpenNet Controller Configure Communication Master Module Check Box Check this box only when the remote I O master module is used Quantity of Nodes Connected When using the r...

Page 358: ...he CPU module to run then DeviceNet communication starts The delay until the communication starts after power up depends on the size of the user program and the system setup While the CPU is stopped data exchange between the CPU and DeviceNet slave modules is halted but communication with the DeviceNet network continues Data exchange between the CPU and DeviceNet slave modules is asynchronous with...

Page 359: ...ion according to the scan list in the master System Operation Data Flow 1 SX5D SBM16K sends 8 input data to the master and the master sends 8 output data to SX5D SBM16K 2 SX5D SBM16P sends 8 input data to the master and the master sends 8 output data to SX5D SBM16P 3 SX5D SBM16K sends 8 input data to the master and the master sends 8 output data to SX5D SBR08 Calculating the Response Time Response...

Page 360: ...tly Supply 11 25V DC to the DeviceNet power line Green ON OFF Green ON Master is not found Plug in the communication connector correctly Set the data rate correctly using DIP switches Set the data rate of the master station correctly Make sure that network wiring is correct in the entire DeviceNet network without short circuit or disconnection Connect terminators 121Ω at both ends of the network G...

Page 361: ...Green Flash Green ON Communication with the master is not established Make sure that the settings for the master are correct Make sure that the slave is not stopped by power down or other causes if automatic recovery is enabled at the master communication resumes when power is restored at the slave Plug in the communication connector correctly Make sure that network wiring is correct in the entire...

Page 362: ...ntity can be selected from 0 through 8 bytes 64 bits in 1 byte increments One LONWORKS interface module enables the OpenNet Controller CPU module to transmit 64 bits and receive 64 bits at the maximum to and from the LONWORKS network The network can be configured either in bus or free topology The total transmission distance can be 1 400m in bus topol ogy and 500m in free topology The free topolog...

Page 363: ...ll application programs although programmers familiar with Neuron C can also create or modify the application pro gram using a special tool such as LonBuilder Developer s Kit When a user creates or modifies the application program the user must keep a backup file For application program examples see pages 26 18 through 26 22 Network Variables The LonTalk protocol allocates communication data to ne...

Page 364: ...RKS interface modules and DeviceNet slave modules and analog I O modules can be mounted with one OpenNet Controller CPU module A B G RS485 COM A B Z HSC OUT 24V 0V POWER RUN ERROR HSC OUT idec SERVICE REQUEST LON POW RUN ERR I O SER 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 POW RUN ERR I O SER SX5L LON SERVICE REQUEST IDEC OpenNet Controller CPU Module I O Module LONWORKS Interface Module FC3A SX5LS...

Page 365: ...ONWORKS Interface Module Type No FC3A SX5LS1 Indicator Status Description POW POWER OFF Module power OFF Green ON Module power ON RUN Green ON Normal operation ERR COM_ERROR OFF Normal operation Red ON Communication error I O I O_ERROR OFF Normal operation Red ON Access error to the CPU through I O bus SER SERVICE Yellow ON Application program not configured Flash Network management not configured...

Page 366: ...ngth Between power terminal on CPU module and FG 500V AC 1 minute Insulation Resistance Between power terminal on CPU module and FG 10 MΩ 500V DC megger Current Draw Approx 30 mA Ground Terminal M3 sems Grounding Resistance 100Ω maximum Grounding Wire UL1015 AWG22 UL1007 AWG18 Weight Approx 180g Communication System LON system Transceiver FTT 10A Free Topology Twisted Pair Transceiver made by Eche...

Page 367: ...erminal Blocks The screw terminal block of the network interface connector can be wired with or without using ferrules on the end of the cable Applicable ferrules for the terminal block and crimping tool for the ferrules are listed below Use a screwdriver to tighten the screw terminals on the LONWORKS interface module Ferrules crimping tool and screwdriver are made by and available from Phoenix Co...

Page 368: ...below Bus Topology Connect terminators to the both ends of the bus topology network Free Topology Connect a terminator to any position on the free topology network R 105Ω 1 1 8W C1 and C2 100 µF 50V note the polarity R 52 3Ω 1 1 8W C1 and C2 100 µF 50V note the polarity R C1 C2 Network Terminator Configuration Terminator Terminator Node Node Node Node Node Node Node Terminator Node Node Node Node ...

Page 369: ...t goes on the I O LED also goes on b12 transaction timeout This bit goes on when the CPU module fails to receive an acknowledge reply during communication through the LON WORKS network with the acknowledge ACKD service enabled When this bit goes on the ERR LED also goes on The transaction timeout is enabled only when the ACKD service is selected b11 transmission error This bit goes on when a CRC e...

Page 370: ...itted to the interface module Data communication between the CPU module and the interface module through link registers is not in synchronism with the user program scanning When the CPU is powered up the transmit data in the link registers are cleared to 0 Consequently 0 cannot be transmitted in the first cycle immediately after the CPU is powered up because the transmit network variables are not ...

Page 371: ... box appears 2 Select the Open Bus tab 3 Select transmit and receive data bytes for module position 1 through 7 where the LONWORKS interface module is mounted 4 Click the OK button and download the user program to the OpenNet Controller Configure Communication Master Module Check Box Check this box only when the remote I O master module is used Quantity of Nodes Connected When using the remote I O...

Page 372: ...ace module is mounted in the first slot of all functional modules Transmit Data Receive Data I0 REP 4 S1 65535 D1 R L104 MOV W 65535 L104 through L107 When input I0 is on constant 65535 FFFFh designated by source oper and S1 is moved to four link registers L104 through L107 designated by destination operand D1 All 64 bits 8 bytes in link registers L104 through L107 are turned on Since link registe...

Page 373: ...ndows Integration Tool to install network configuration information An external interface file XIF extension unique to each product series is needed to install the network configuration information The external interface file for the LONWORKS interface module is available from IDEC Find an XIF No printed on the side of the LONWORKS interface module or on the shipping package When requesting an ext...

Page 374: ...efines network variables for transmit and receive data listed on page 26 23 When you modify or create an application program do not use these variable names otherwise verification of the application program will be difficult Precautions for writing and reading registers Make a program to write and read data to and from registers in the LONWORKS interface module as shown in the sample programs on p...

Page 375: ... and the remaining 16KB area of 4000h through 7FFFh is allocated to the application program Link Register Flash Memory Status LED Service Request Button Neuron Chip 3150 Transceiver FTT 10A Failure SERVICE RUN IO 0 ERR IO 1 I O IO 2 CPU Module LED LED LED LONWORKS Interface Module RUN IO 6 IO 4 LONWORKS Network Register SER LED Neuron Chip 3150 6KB FFFFh Unused Register 4KB Unused Application Prog...

Page 376: ...odifying the appli cation program make sure to turn this pin to 0 when an unrecoverable critical error occurs 1 Normal operation 7 10 unused Address Name Data Flow Direction Description CPU Module Interface Module C000h C007h Data register 8 bytes Allocate network variables to these addresses to exchange data between the CPU and interface modules C008h C00Fh Data register 8 bytes C010h C011h reser...

Page 377: ...ster L 04 in the CPU module the data is transferred to registers in the LONWORKS interface module as illustrated below Register Address in LONWORKS Interface Module Link Register in CPU Module Function Area C000h C001h L 00 Receive Data Communication Data Area C002h C003h L 01 C004h C005h L 02 C006h C007h L 03 C008h C009h L 04 Transmit Data C00Ah C00Bh L 05 C00Ch C00Dh L 06 C00Eh C00Fh L 07 C012h ...

Page 378: ...WORKS interface module or when an expansion module ID is stored to register C019h in the LONWORKS interface module the data is transferred to a link register in the CPU module as illustrated below Register in the LONWORKS Interface Module C012h 8 bits b7 b6 b5 b4 b3 b2 b1 b0 MSB 1 0 0 0 0 0 1 LSB 0 Link Register L 12 in the CPU Module b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 MSB 1 0 0...

Page 379: ...zation codes and a header file When you modify or create an application program make sure that the application program includes the following codes in italics Initialization Codes 1 2 PRAGMA 3 4 pragma scheduler_reset 5 6 Network Variable 7 8 Define network variables 9 10 Write the software version number to C018h 11 12 define FC3ASX5L_VERSION 0x10 13 14 Write the expansion module ID to C019h 15 1...

Page 380: ...x18 I O Version Register 23 define GA_EMID IO_GA_BASE 0x19 Expansion Module ID Register 24 define GA_BCTL IO_GA_BASE 0x1a 25 26 I O Register Bit Definition 27 28 define BCTL_CENABLE 0x10 29 define BCTL_NWR_REQ 0x04 30 define BCTL_NENABLE 0x01 31 define MAX_FCDR_DATA_LEN 16 32 Define Neuron Chip IO pins as follows 33 IO_0 output bit PO_RUN_LED HIGH 34 IO_1 output bit PO_ERR_LED HIGH 35 IO_2 output ...

Page 381: ...EMID 86 pGA EMID_CODE 87 pGA unsigned char GA_BCTL 88 pGA BCTL_NENABLE 89 dat pGA 90 if dat BCTL_NENABLE 91 pGA BCTL_NWR_REQ 92 break 93 else 94 pGA BCTL_NWR_REQ 95 96 97 The following program turns on the I O LED when initialization fails within 5 seconds and can be modified by the user 98 if timer_expires io_check_timer 99 io_out PO_IO_LED LOW I O LED goes on when timeout 100 break 101 102 103 N...

Page 382: ... codes in italics 1 Input Network Variables 2 network input unsigned char nv_i8 3 define 4 define GA_BCTL 0xC01A 5 define BCTL_NWR_REQ 0x04 6 define GA_FCDR_RX 0xC000 7 8 when nv_update_occurs nv_i8 Acknowledge input network variable update 9 unsigned char pGA 10 unsigned char dat 11 while TRUE 12 pGA unsigned char GA_BCTL Preparation for data write 13 pGA BCTL_NWR_REQ 14 dat pGA 15 if dat BCTL_NW...

Page 383: ... char nv_o8 3 define 4 define GA_BCTL 0xC01A 5 define GA_FCDR_TX 0xC008 6 define BCTL_NWR_REQ 0x04 7 define HIGH 1 8 Define IO_4 RUN 9 IO_4 input bit PI_RUN 10 11 when TRUE 12 unsigned char pGA 13 unsigned char dat 14 unsigned char tx_dat 15 while TRUE 16 if io_in PI_RUN HIGH 17 pGA unsigned char GA_BCTL Preparation for data read 18 pGA BCTL_NWR_REQ 19 dat pGA 20 if dat BCTL_NWR_REQ Preparation fo...

Page 384: ...t inputs 8 bits nv_i16 BIT16_DAT 16 point inputs 8 bits 2 nv_i24 BIT24_DAT 24 point inputs 8 bits 3 nv_i32 BIT32_DAT 32 point inputs 8 bits 4 nv_i40 BIT40_DAT 40 point inputs 8 bits 5 nv_i48 BIT48_DAT 48 point inputs 8 bits 6 nv_i56 BIT56_DAT 56 point inputs 8 bits 7 nv_i64 BIT64_DAT 64 point inputs 8 bits 8 Output Network Variable Data Type and Structure Used For nv_o8 0 unsigned char 8 point out...

Page 385: ...bits 2 BIT24_DAT typedef struct unsigned char dat 3 BIT24_DAT 24 point outputs 8 bits 3 BIT32_DAT typedef struct unsigned char dat 4 BIT32_DAT 32 point outputs 8 bits 4 BIT40_DAT typedef struct unsigned char dat 5 BIT40_DAT 40 point outputs 8 bits 5 BIT48_DAT typedef struct unsigned char dat 6 BIT48_DAT 48 point outputs 8 bits 6 BIT56_DAT typedef struct unsigned char dat 7 BIT56_DAT 56 point outpu...

Page 386: ...unication line cable other than twisted pair cables or transmission beyond the rated distance Improper terminator Troubleshooting Diagram 1 Are modules installed correctly END Call IDEC for assistance NO NO YES NO NO YES YES Is the POWER LED on the CPU module on Supply power to the power supply terminals on the CPU module Is the POWER LED on the CPU module on Is the POW LED on the interface module...

Page 387: ...n Supply power to the power supply terminals on the CPU module See Troubleshooting Diagram 1 The POW LED on the interface module does not go on Is the POW LED on the interface module on Is the RUN LED on the interface module on YES NO YES The RUN LED on the LONWORKS interface module does not go on Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 388: ...dule to the LONWORKS network correctly Is installation of the network information completed NO Is the ERR LED on the interface module on YES Install the network information YES YES Is the target node operating normally NO Make sure the target node oper ates normally Is the ERR LED on the interface module on YES YES Is the network affected by surrounding noise NO Remove the noise source Is the ERR ...

Page 389: ...ting on page 27 1 The SER LED goes on when the Neuron Chip fails to recognize an application program no application program exists or an on chip failure occurs The LONWORKS interface module is shipped with an application program installed in the memory so a problem in the LONWORKS interface module is suspected Call IDEC for assistance The SER LED on the LONWORKS interface module goes on The SER LE...

Page 390: ...r occurs the error is reported by turning on the ERROR LED on the OpenNet Controller and an error message can be viewed on WindLDR ERROR LED The OpenNet Controller CPU module has an error indicator ERROR When an error occurs in the OpenNet Controller CPU module the ERROR LED is lit See the trouble shooting diagrams on page 27 10 For error causes to turn on the ERROR LED see page 27 4 Reading Error...

Page 391: ...ng procedure 1 From the WindLDR menu bar select Online Monitor The monitor mode is enabled 2 From the WindLDR menu bar select Online PLC Status 3 Under the Error Status in the PLC Status dialog box press the Clear button This procedure clears the error code from special data register D8005 general error code and the error code is cleared from the PLC Status dialog box Clear Button Error Code Clear...

Page 392: ... fourth chart D8005 General Error Code D8006 User Program Execution Error Code D8007 User Program Execution Error Address Error Code Most Significant Digit F000 E000 D000 C000 B000 A000 9000 8000 7000 6000 5000 4000 3000 2000 1000 0000 INTERBUS master access error X X I O bus initialize error X X Error Code 2nd Digit from Left F00 E00 D00 C00 B00 A00 900 800 700 600 500 400 300 200 100 000 User pr...

Page 393: ...ster station Initialize data link communication for the master station using WindLDR on a computer See page 21 11 Turn on special internal relay M8007 data link communication initialize flag at the master station See page 21 6 0008h User Program ROM Sum Check Error The user program stored in the OpenNet Controller CPU module ROM is broken Download a correct user program to the OpenNet Controller a...

Page 394: ...ed when writing into the ROM is completed successfully If this error occurs frequently the OpenNet Controller CPU module has to be replaced When a memory card is installed in the CPU module writing into the memory card is checked 0200h Protect Output Overload Error This error is issued when a protect transistor output is overloaded during operation then only the overloaded output is forced off Whe...

Page 395: ...3 DIV result is out of data type range or division by 0 4 BCDLS has S1 or S1 1 exceeding 9999 5 HTOB W has S1 exceeding 9999 HTOB D has S1 S1 1 exceeding 99999999 6 BTOH has any digit of S1 S 1 exceeding 9 7 HTOA ATOH BTOA ATOB has quantity of digits to convert out of range 8 ATOH ATOB has non ASCII data for S1 through S1 4 9 WKCMP has S1 S2 and S3 exceeding the valid range S1 0 through 127 S2 Hou...

Page 396: ...ommunication is impossible Diagram 8 Data is not transmitted at all in the user communication mode Diagram 9 Data is not transmitted correctly in the user communication mode Diagram 10 Data is not received at all in the user communication mode Diagram 11 Data is not received correctly in the user communication mode Diagram 12 The catch input function cannot receive short pulses Diagram 13 The cale...

Page 397: ...pplied Is the power voltage 24V DC The POWER LED does not go on Is the POWER LED on Supply power END Call IDEC for assistance Is the POWER LED on NO NO YES YES NO YES NO YES Supply the rated voltage DC power type 24V DC Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 398: ...ternal relay using WindLDR Is M8000 on Turn on M8000 using WindLDR Is the RUN LED on Turn off the stop and reset inputs Is the RUN LED on YES NO YES YES NO NO YES Note To access the Start Button from the WindLDR menu bar select Online Download Program NO YES Note To monitor M8000 from the WindLDR menu bar select Online Monitor and Online Direct Monitor Enter M8000 in the Direct Monitor Dialog Note...

Page 399: ...ow END YES See page 27 3 Identify the error code and correct the error NO YES YES NO Note Temporary errors can be cleared to restore normal operation by clearing error codes from WindLDR See page 27 2 Is the power voltage 24V DC Is the ERROR LED turned off NO Supply the rated voltage DC power 24V DC Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 400: ...or the input module correct Is the wiring correct Input module does not operate normally END YES NO Are input allocation numbers correct Call IDEC for assistance Correct the external device wiring Is the input LED on Correct the wiring Correct the program YES NO NO YES NO YES YES NO Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 401: ... output allocation numbers correct Is the output LED on Make sure of correct output wiring Correct the program The output circuit in the output module is damaged Replace the output module END Output module does not operate normally Check the output allocation numbers Monitor the output using WindLDR Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 402: ...O Communication between WindLDR on a computer and the OpenNet Controller is not possible Is the POWER LED on Is the computer link cable connected correctly See Troubleshooting Diagram 1 The POWER LED does not go on Connect the cable completely Call IDEC for assistance When only program download is not possible Only program download is not possible YES NO Is the communication selector DIP switch se...

Page 403: ...signated in the WindLDR Function Area Settings Monitor the start control special internal relay M8000 using WindLDR on a computer YES Turn off the start control special internal relay M8000 using WindLDR on a computer NO Cannot stop or reset operation Note To monitor M8000 from the WindLDR menu bar select Online Monitor and Online Direct Monitor Enter M8000 in the Direct Monitor Dialog Note To tur...

Page 404: ...ll stations Reset the error codes at all stations using WindLDR Data link communication is impossible NO YES YES YES NO M8006 Data link communication prohibit flag M8007 Data link communication initialize flag NO Is communication selector DIP switch 1 set to ON Set communication selector DIP switch 1 to ON to select data link mode Did you press the communication enable button for 4 sec YES NO YES ...

Page 405: ...ation enable button for 4 sec YES NO YES Did you power down and up after chang ing the comm selector DIP switch NO Press the communication enable button for more than 4 sec until the ERROR LED blinks once YES Set communication selector DIP switch 2 or 3 to ON to select user communication mode for RS232C port 1 or 2 respectively Is the input to the TXD instruction on Turn on the input to the TXD in...

Page 406: ... to match those of the remote terminal using WindLDR see page 17 3 Make sure that the busy signal at the remote terminal does not exceed 5 sec NO NO Is the data register designated as transmit status used repeatedly Correct the program to replace the repeated data register with a different data register Is duration of the busy signal at the remote terminal less than 5 sec YES NO YES Make sure that...

Page 407: ...ication enable button for 4 sec YES NO YES Did you power down and up after chang ing the comm selector DIP switch NO Press the communication enable button for more than 4 sec until the ERROR LED blinks once YES Set communication selector DIP switch 2 or 3 to ON to select user communication mode for RS232C port 1 or 2 respectively Is the input to the RXD instruction on Turn on the input to the RXD ...

Page 408: ...an end delimiter specified in the RXD instruction Did you check the end delimiter of incoming data Is the receive timeout value set correctly using WindLDR Is one input used to start multiple RXD instructions Make sure that the receive format of the RXD instruction matches that of the incoming data Correct the program to make sure that inputs to more than 5 RXD instructions do not go on simultaneo...

Page 409: ...assistance The catch input function cannot receive short pulses END YES NO Make sure of correct input voltage ON voltage 15V DC minimum OFF voltage 5V DC maximum Is the input filter time selection set correctly Make sure of correct input filter selection setting See page 5 6 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 410: ...oes not operate correctly See Troubleshooting Diagram 3 The ERROR LED is on Read the error data using WindLDR see page 27 1 Is the calendar clock operating normally Clear the error code see page 27 2 The clock data is broken Set the calendar clock using WindLDR see page 15 7 Monitor the PLC status using WindLDR YES NO END Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com...

Page 411: ...he FAIL LED is on Power up all remote I O slave stations NO NO Are the RDY RUN and FAIL LEDs lit on the remote I O master module Are all remote I O slave stations powered up NO YES YES Make sure that all cables are connected correctly using INTERBUS cables YES Monitor special data registers D8178 D8179 D8182 and D8183 to view the remote I O system status error code and error location See page 24 1...

Page 412: ...k by turning on special internal relay M8030 INTERBUS master initialize or power down and up the OpenNet Controller CPU module NO Terminate the shield of the INTERBUS cable correctly see page 24 15 NO Connect the FG terminal on the master and slave modules to a proper ground Plug in the cable connector correctly Power up all remote I O slave stations Note When a bus NG occurs the output oper ation...

Page 413: ...he manual for the node The PF peripheral fault LED on the remote I O master module is on A module error occurred at a remote I O slave station When this error occurs the remote I O network contin ues to work Special internal relay M8037 INTERBUS master periph eral fault is also turned on Special data register D8182 INTERBUS master error code stores user error code 0BB1h peripheral fault See page 2...

Page 414: ... AND ANDN OR ORN 0 5 AND LOD OR LOD 0 3 BPS 3 BRD 0 5 BPP 3 TML TIM TMH TMS 43 CNT CDP CUD 42 CC CC TC TC DC DC 22 SFR SFRN N bits Reset input ON 190 1 1N Pulse input ON 252 2 8N Others 113 SOTU SOTD 50 JMP JEND MCS MCR 3 END See the next page MOV MOVN M M 170 240 D D 70 74 CMP M M M 210 260 D D M 115 125 ADD M M D 172 232 D D D 98 110 SUB M M D 172 232 D D D 98 110 MUL M M D 172 238 D D D 98 140 ...

Page 415: ...mum execution time LOD 0 65 µsec OUT 1 15 µsec END processing time without interrupt processing Housekeeping 540 µsec I O service 630 µsec Input delay time DC input without filter setting 40 µsec Output delay time transistor output Approx 100 µsec The I O delay time may be increased by such factors as increased END processing time caused by frequent interrupt pro cessing and larger program size an...

Page 416: ...w Terminal FC3A N08A11 Analog Input 12 bit resolution 1 4000 6 channels 4 20mA 0 5V 0 10V 5V 10V input Screw Terminal FC3A AD1261 Output Type Output Points Terminal Connector Type No Relay Output 240V AC 24V DC 2A 16 points Screw Terminal FC3A R161 Nylon Connector 5P 4 FC3A R162 Transistor Sink Output 24V DC 0 5A point 2 0A common 16 points Screw Terminal FC3A T16K1 Nylon Connector 10P 2 FC3A T16K...

Page 417: ...SX5D SBN16S 16 point sink input 24V DC SX5D SBN16K Relay Output 8 point relay output 240V AC 24V DC 5A SX5D SBR08 Transistor Output 16 point transistor sink output 24V DC 0 5A point 6A common SX5D SBT16K 16 point transistor protect source output 24V DC 0 5A pt 6A com SX5D SBT16P DC Input Transistor Output 8 point source input 24V DC 8 point transistor sink output 24V DC 0 5A point 4A common SX5D S...

Page 418: ...t to computer FC2A KC6C User Communication Cable 1C 2 4m 7 87 ft long Used to connect RS232C equipment to the OpenNet Controller RS232C port without a connector to connect to RS232C equip ment FC2A KP1C PLC Connection Cable 3m 9 84 ft long RS232C cable used to connect IDEC HG1B 2A 2C operator inter face to the OpenNet Controller RS232C port HG9Z XC183 INTERBUS Cable Used for wiring the remote I O ...

Page 419: ...APPENDIX A 6 OPENNET CONTROLLER USER S MANUAL Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...

Page 420: ...14 5 HTOB 14 1 IBMV 9 11 IBMVN 9 12 ICMP 10 4 IMOV 9 6 IMOVN 9 7 INC 11 9 input condition 8 3 LABEL 18 1 LCAL 18 3 list 8 1 LJMP 18 1 LRET 18 3 MOV 9 1 MOVN 9 5 MUL 11 1 NEG 12 5 NOP 8 6 NRS 9 10 NSET 9 9 ORW 12 1 PID 20 1 ROOT 11 10 ROTL 13 5 ROTLC 13 9 ROTR 13 7 ROTRC 13 11 RXD1 17 13 RXD2 17 13 SFTL 13 1 SFTR 13 3 structure 8 3 SUB 11 1 SUM 11 11 TXD1 17 4 TXD2 17 4 WKCMP OFF 15 1 WKCMP ON 15 1...

Page 421: ...16 7 display 16 5 unit 16 7 clearing error codes 27 2 clock adjusting using a user program 15 8 data adjust flag M8021 6 10 CMP 10 1 CMP 10 1 CMP 10 1 CMP 10 1 CMP 10 1 CMP 10 1 CNT CDP and CUD instructions 7 11 comm port tab 17 3 21 7 communication enable button 2 2 fault 25 7 function 2 6 I O terminals SX5 A 4 SX5D 25 2 SX5L 26 3 parameters 17 32 17 33 setting WindLDR 17 3 selector DIP switch 2 ...

Page 422: ... 2 telephone number 23 5 digital I O module operands 6 18 read 16 3 dimensions 2 40 DIN rail 3 3 DIP switch settings 25 6 direct control action 20 10 disabling protection 5 18 disassembling modules 3 3 disconnect line 23 2 mode 23 2 23 6 discontinuity of operand areas 8 5 DISP 16 1 disparity run stop operation upon 5 5 display 16 1 DIV 11 1 division 11 1 DJNZ 18 5 double word data move in data reg...

Page 423: ...3 filter 5 6 module 2 7 terminal arrangement 2 11 modules A 3 network variables 26 23 wiring 3 5 installation and wiring 3 1 in control panel 3 4 instructions binary arithmetic 11 1 bit shift rotate 13 1 Boolean computation 12 1 coordinate conversion 19 1 data comparison 10 1 data conversion 14 1 interface 16 1 move 9 1 PID 20 1 program branching 18 1 user communication 17 1 week programmer 15 1 I...

Page 424: ...g direction 3 4 on DIN rail 3 3 MOV 9 1 move 9 1 move not 9 5 MOVN 9 5 MUL 11 1 multiple usage of MCS instructions 7 26 multiplication 11 1 N N data repeat set 9 10 set 9 9 NEG 12 5 negate 12 5 network configuration information 26 2 management 26 2 26 12 variables 26 2 26 9 26 23 Neuron chip 26 2 I O pins 26 13 26 15 no operation 8 6 node address 24 4 25 6 information remote I O 24 6 number 24 4 N...

Page 425: ...eive 1 17 13 receive 2 17 13 refresh modes 21 8 register bit stack register 7 7 operation register 7 7 registers 26 15 remote bus cable 24 15 I O master module 2 36 A 4 connector 2 3 system 24 1 removing from DIN rail 3 3 repeat cycles 8 3 17 7 17 15 designation 8 3 operation ADD SUB and MUL instructions 11 5 ANDW ORW and XORW instructions 12 3 data comparison instructions 10 3 DIV instruction 11 ...

Page 426: ...2 user communication mode 17 1 start and result internal relays 23 2 control M8000 6 9 delimiter 17 16 start stop operation 4 2 remote I O communication 24 12 schematic 4 2 using power supply 4 3 using WindLDR 4 2 starting operation 25 9 26 12 station numbers 21 2 status code receive 17 21 transmit 17 9 data register modem mode 23 8 LED 2 2 transition number INTERBUS master 24 10 status LEDs 26 15...

Page 427: ...g clock 15 8 execution error 27 6 execution error M8004 6 9 protection 5 18 RAM sum check error 27 5 ROM sum check error 27 4 setting calendar clock 15 7 syntax error 27 5 writing error 27 5 W watchdog timer error 27 4 week compare OFF 15 1 compare ON 15 1 programmer instructions 15 1 table 15 2 WindLDR 4 4 clearing error codes 27 2 programming high speed counter 5 11 RXD instruction 17 22 transmi...

Reviews: