background image

6F8C0845

Integrated Controller V Series

model 2000 DeviceNet

 Module Manual (DN611/DN611A)

May 14, 2001

TOSHIBA CORPORATION

Summary of Contents for 2000 V Series

Page 1: ...6F8C0845 Integrated Controller V Series model 2000 DeviceNet Module Manual DN611 DN611A May 14 2001 TOSHIBA CORPORATION ...

Page 2: ...his book may be reproduced stored in a retrieval system or transmitted in any form or by any means electrical mechanical photocopying recording or otherwise without obtaining prior written permission from TOSHIBA Corporation PROSEC TOSLINE and TOSDIC are trademarks or registered trademarks of TOSHIBA Corporation IBM is a registered trademark of International Business Machines Corporation Microsoft...

Page 3: ...ty damage means extended breakdown of assets and materials Notation of Markings Note The description of forbiddance mandatory and caution marks are subject to change depending on the labels on the main unit WARNING Indicates a potentially hazardous situation which if not avoided could result in serious injury or death CAUTION Indicates a potentially hazardous situation which if not a avoided can r...

Page 4: ...ent This is a warning mark indicating a dangerous point or place It is pasted on the module at points where there is a danger of electric shock and where the wrong wiring could cause module breakdown Observe the following when you see the mark on the module Safety Label Do not short circuit the connector pins with the conector cover or other objects Warning Seal The warning seal shown at left is l...

Page 5: ...ent is exposed to direct sunlight Locations where strong electric radiation or magnetic field is generated Improper the installation or writing of the system can cause not only insufficient performance but also malfunction and failure of the equipment Installation in other than the specified direction or in the wrong way could cause the product to fall catch fire failure or malfunction Mandatory M...

Page 6: ...ver with care not to let it drop or be damaged After wiring the module place the terminal board cover securely over the terminal board An exposed conductor is dangerous because it causes electric shock 1 Do not connect the DeviceNet cables to or disconnect them from network connectors while the network is in operation The wrong connection or a network shortcircuit for example may disable communica...

Page 7: ...e failure and malfunction due to vibra tion etc Mandatory Check the operation of the sample pro grams shown in the manual before use Adequate check is essential to preventing accidents due to malfunction Mandatory Be sure to keep the terminal covers on the module and unit and never touch the termi nals while power is on This is important to avoid electric shock Mandatory Program change forced outp...

Page 8: ...ts Mandatory 1 Before switching the DeviceNet devices on be sure to supply power to the network Some of the slave devices supply the network power to their local node or run into an error in the absence of network power so be sure to supply the network power first Unless the network power is supplied the DN611 cannot start communication with the slave devices 2 Make sure that all the nodes connect...

Page 9: ...pe whose transmission size from the DN611 is 0 byte If a slave device becomes unable to communicate with the DN611 for some reason power switched off or connector disconnected for example the DN611 cannot identify that slave device as abnormal Even after the cause of the error has been removed communication cannot be restarted between that slave device and DN611 Mandatory 1 Do not change node addr...

Page 10: ...dden Place any modules removed from the unit on a conductive mat or conductive bag containing a spare board etc on an grounded desk Otherwise static electricity can damage components of the module Mandatory Never disassemble or modify model 2000 itself and module hardware never modify the OS and other software Otherwise it could cause a fire electric shock or injuries from failure and malfunction ...

Page 11: ...ies from one application to another and a consumed battery could cause loss of data and programs saved in the S2 possibly resulting in mechanical breakdown or accidents due to malfunction Mandatory Replace the fuses and batteries with the specified ones Use of other than the specified parts could cause a fire and failure Mandatory 1 A parameter setting request from a slave device sets slave device...

Page 12: ...ion Also the edge of components can cause injury Forbidden Do not disassemble or modify the equipment Otherwise it can cause malfunction or failure Forbidden Turn off power immediately if the ambient temperature or internal temperature exceeds beyond normal range or if failure is occurred in the equipment Contact Toshiba for repairing Operation under such situation can cause fire or electrical sho...

Page 13: ...tteries into fire Otherwise they can explode Forbidden Observe local regulations for disposal of the lithium batteries or the product Unit and modules Mandatory In disposing of the lithium battery or Ni Cd battery observe the rules and regulations of the local administration Mandatory ...

Page 14: ...nsportation control systems of aviation and space systems and other systems and subsystems where safety is critical Note 3 Special care means to build a safety system foolproof design fail safe design redundancy design etc in full consultation with Toshiba s engineers Immunity Toshiba is not liable for any loss caused by fire earthquake action by a third party or other accidents or the operator s ...

Page 15: ...reparations for and settings of the hardware necessary for the normal operation of the DN611 Chapter 4 Operating Procedures for the DN611 Software Explains the procedures for accessing the DN611 from the Integrated Controller V Series model 2000 Sequence Controller and software settings necessary for the normal operation of the DN611 Chapter 5 Example of Use of the DN611 Describes the sample progr...

Page 16: ...ry humid place 3 If the ambient temperature or the internal temperature of the equipment has arisen too high or if the equipment has developed a fault stop using it switch power off and contact the nearest TOSHIBA service station 4 Do not open the case of the equipment while it is in operation except when setting the switches 5 Do not attempt to modify the equipment 6 It is assumed that the equipm...

Page 17: ...ted Instruction Manual 6F8C0865 Describes the instruction words in detail regarding the program languages ladder diagram LD FBD and SFC Engineering Tool Setup 6F8C0873 Describes the procedures for setting up the Integrated Controller V Series Engineering Tool in personal computers Engineering Tool Basic 6F8C0875 Describes the procedures for preparing debugging printing and saving programs using th...

Page 18: ......

Page 19: ...modules 14 2 Names and Functions of the Parts of the DN611 17 2 1 External Views Dimensions and Names of Parts 17 2 2 Functions of the Parts 21 3 Preparations for Operation Hardware 23 3 1 DN611 Setting Flowchart Hardware 23 3 2 Setting the Switches 25 3 2 1 DIP switches for operation mode communication rate setting 25 3 2 2 Rotary switches for node address setting 27 3 3 Mounting in the Base Unit...

Page 20: ... 6 RAS Information read request 83 4 3 7 Time setting request 85 4 4 User Function Block for Slave Data Input Output 86 4 4 1 Input output data area batch access 86 4 4 2 Confirming the allocations 90 4 4 3 Slave data input Asynchronous mode only 91 4 4 4 Slave data output Asynchronous mode only 93 4 5 Completion Status 95 5 Example of Use of the DN611 97 5 1 System Configuration of the Example 98...

Page 21: ...unting Removing the Module 138 8 3 Power Cable Wiring Grounding 138 8 3 1 Power cable wiring 138 8 3 2 Grounding 138 8 4 Network Installation 140 8 4 1 Cabling outside the cubicle 140 8 4 2 Cabling inside the cubicle 142 A Maintenance and Inspection 143 B READ Instruction WRITE Instruction Execution Time 145 C Definition of Each Request Function Block 147 D Definitions of the Function Block for Sl...

Page 22: ......

Page 23: ...es slave stations which are developed by various manufacturers vendors at home and abroad and conform with the DeviceNet specifications thus serving as an interface between the S controller and the slave devices 2 Input Output Data Size Number of Connecting Slave Devices Communication Rate and Network Length One DeviceNet network can be connected to the DN611 The size of input output data between ...

Page 24: ...ut data to and from the slave devices on the DeviceNet via the DN611 In the following example DN611s are connected to slave devices such as input output devices sensors and drive units which conforms with the DeviceNet specifications Moreover TC net 10 the LAN exclusive to TOSHIBA is used to connect one S controller to another and Ethernet is used to connect the S controllers to the host computer ...

Page 25: ...tant nodes Nodes can be directly connected to a trunk line without drop line The length of the trunk line varies depending on the communication rate of the network A terminator must be attached to both ends of the trunk line 3 Drop Line All the cables branched from the taps on the trunk line are drop lines The maximum length of of drop lines is 6 meters from a tap to the terminal node regardless o...

Page 26: ...Maximum Network Length 2 Drop Line A DeviceNet drop line consists of a thin Cable Table 1 1 shows the length of drop lines and the total length per network Nodes can be arranged on drop lines in a short drop line configuration multi drop configuration or branch configuration Figure 1 4 shows how to calculate the drop line length and the total length for each of these configurations Individual drop...

Page 27: ...e 1 5 Distance between Two Nodes on a Network with No Drop Line b Figure 1 6 shows the maximum distance between two nodes in cases where a thick Cable or thin Cable alone is used for the trunk line with drop lines Table 1 2 lists the maximum cable length between two nodes In this case the maximum trunk line length between the two nodes will be Maximum cable length value in Table 1 2 Length of drop...

Page 28: ...trunk line using thick cable m 1 2 3 Terminator The DeviceNet needs a terminal resistor at both ends of a trunk line in order to reduce signal reflections and stabilize communications The specifications of the terminator are as follows 121Ω 1 of metal film 1 4 W Terminators conforming with the above specifications are now commercially available See 3 6 Network Components Table 1 3 Maximum Cable Le...

Page 29: ...Net specifications come in Volume I DeviceNet Communication Model and Protocol and Volume II DeviceNet Device Profiles and Object Library in which the hardware and software specifications are defined Volume I and II are managed in the version name Release The DeviceNet specifications to which the DN611 conforms are found in Volume I Release 1 3 and Volume II Release 1 2 Trademarks DeviceNet is a r...

Page 30: ...ow it interprets the polling instruction and what data it transmits as the polling response The slave device must be compatible with the polling instruction response function in order for this communication function to be valid Most of the DeviceNet slave devices support this communication function 1 Polling Instruction In the example shown in Figure 1 8 the DN611 receives sensor input information...

Page 31: ...ponse to the bit strobe instruction to the master device Bit strobe response It depends on the specifications of a slave device how it interprets a bit strobe instruction and what data it transmits as the bit strobe response The slave device must be compatible with the bit strobe instruction response function in order for this communication function to be valid 1 Bit Strobe Instruction Data is bro...

Page 32: ...es depending on the specifications of the slave device The way the S controller reads bit strobe response data from the DN611 is described in the text dealing with communication with slave devices in Chapter 5 S controller Master DN611 NA 1 Slave 1 proximity sensor NA 19 Slave 3 photoelectric sensor NA 22 Slave 5 actuator NA 52 Bit strobe instruction Bit strobe response Slave 2 proximity sensor NA...

Page 33: ...11 receives data from slave devices by a polling response bit strobe response After having received data from all the slave devices the DN611 processes the input data then notifies the S controller of input completion For the S controller to read input data it confirms the input completion from the DN611 then reads the input data Figure 1 10 Data Transfer in Synchronous Mode Output and input data ...

Page 34: ...t and input data between the S controller and the DN611 and their transfer between the DN611 and slave devices are asynchronous Transfer between the S controller and the DN611 is synchronized with the output input cycle of the S controller program while transfer between the DN611 and slave devices is synchronized with the scan cycle of the DN611 Data is guaranteed in units of word 8 bits but the s...

Page 35: ... made by Phoenix Contact Corporation Connecting cable DeviceNet THICK cable thick cable DeviceNet THIN cable thin cable Communication function 1 Polling instruction response synchronous asynchronous 2 Bit strobe instruction response synchronous asynchronous RAS function 1 Self check at power ON ROM RAM CAN controller S controller interface buffer memory 2 RAS information in S controller buffer mem...

Page 36: ...ludes one main base unit and 3 extension base units Therefore the number of DN611s that can be mounted is 28 Stand alone module Number of main base unit BU668 to mount From the power capacity 5000 1000 150 500 7 7 That is 7 units can be mounted Although the upper limit on the number of BU668 as main base units that can be mounted is 8 the maximum is 7 units Number of extension base unit BU668 to m...

Page 37: ...ea or input data area is accessed more than once the time of executing instruction will be as much as the number of accesses made to it The output data area and input data area are explained in 4 2 1 Input output data areas N Number of words to transfer I O access time MREAD 8 72 µs I O access time MWRITE 8 32 µs The values in Table 1 7 indicate the time required accessing the DN611 If two or more...

Page 38: ......

Page 39: ...2 Names and Functions of the Parts of the DN611 This chapter explains the names and functions of the parts of the DN611 2 1 External Views Dimensions and Names of Parts Figure 2 1 External View and Dimensions In millimeters ...

Page 40: ...18 model 2000 DeviceNet Module Manual DN611 DN611A Chapter 2 Names and Functions of the Parts of the DN611 2 Figure 2 2 DN611 Dimensions in mm ...

Page 41: ...rts 2 Figure 2 3 External View Front in mm Module status MS network status NS indicating LEDs Network connector Node address error code indicating 7 segment LED Operation mode communication rate setting DIP switches Test connector D SUB 9 pin Device connector ...

Page 42: ... model 2000 DeviceNet Module Manual DN611 DN611A Chapter 2 Names and Functions of the Parts of the DN611 2 Figure 2 4 External View Bottom NA H NA L Node address setting rotary switches Network connector ...

Page 43: ...dress Green ON The DN611 is operating normally Blinking green The DN611 is reading switch settings Blinking red The DN611 has developed a recoverable trouble Switch DIP switch rotary switch setting error for example Red ON The DN611 has developed a non recoverable trouble down status The module may have to be replaced NS OFF No power is supplied to the DN611 check MS Power is supplied to the DN611...

Page 44: ...ches are used for setting the DN611 in run mode in the event of a busoff and a communication rate on the network 500 kbps 250 kbps 125 kbps The meanings of the DIP switches and the method of their setting are described in 3 2 Setting the Switches 4 Rotary switches for node address setting NA H NA L These switches are used for setting node addresses in a DeviceNet network to which DN611s are connec...

Page 45: ...nd DN611 Trouble or malfunction of the S controller or DN611 if ever can cause an accident possibly leading to bodily injuries and or mechanical damage Caution 1 Make sure of adequate safety before changing a program or executing forced output RUN HALT etc while the system is in operation An operational error can cause mechanical dam age or accident The following flowchart shows the flow of DN611 ...

Page 46: ...ase unit of the S controller For details see the description of module mounting in the Sequence Controller S2 User s Manual Connecting the DN611 to the network Connect the DeviceNet cables to the DN611 using the network connector supplied with the DN611 For details see 3 4 Connection to the Network Supplying network power Supply the communication power for the DeviceNet devices through the network...

Page 47: ... operation mode communication rate setting Factory Default All switches OFF ON LOADER OSEN BUSOFF DR1 DR0 Table 3 1 DIP Switch Setting DIP Switch Name Function 1 OSEN Reserved for the system Keep it in the OFF position 2 BUSOFF To specify an operation mode when the DN611 falls into a busoff state 1 ON Once it is in a busoff state the DN611 initializes the internal network controller to be in stand...

Page 48: ...e device is under way To reset either issue a reset request or turn power back on again after correctly setting the DIP switches To reset either issue a reset request or turn power back on again after correctly setting the DIP switches Usage Recommendations 1 If the DIP switch BUSOFF is set to OFF transmission will restart automatically when a busoff occurs Unless the cause of the DN611 s busoff c...

Page 49: ...or switch power back on after setting a node address correctly A DeviceNet network requires that each of the nodes connected to it has a node address unique to it If a DN611 node address is the same as that of another node the DN611 develops a same node address detected error when it goes into run mode To reset the error allocate the correct node address and issue a reset request or switch power b...

Page 50: ...her issue a reset request or switch power back on after setting a node address correctly 2 If a DN611 node address is set the same as that of another node the DN611 develops a same node address detected error when it goes into run mode The LED MS lights green and the LED NS lights red The 7 segment LED displays the figure 70 and the local node address alternately To reset the error allocate the co...

Page 51: ... Number of mounting modules and to the section on power capacity in the Sequence Controller S2 User s Manual Caution 1 Since the DN611 is designed for the model 2000 of the Integrated Controller V Series be sure to mount your DN611 in the base unit instead of using it alone Don t use it for other applications Otherwise a there is the danger of electric shock bodily injuries and or mechanical malfu...

Page 52: ... malfunction 3 Network connectors cannot be connected to or disconnected from device connectors in the wrong direction for reasons of their structure Do not try to forcibly push them in Otherwise the network connectors and device connectors will be damaged 4 Install the cables exercise care not to pulling them too tight or bending them Do not place heavy objects on the cables This is important to ...

Page 53: ...sists of two rows of holes upper and lower for cables to be inserted in so that the DN611 may be connected in the process of network daisy chain connection The connector shown at right in the figure consists of a single row of holes for cables to be inserted in so that the DN611 may be connected at the network end Select either of these two types depending on where you wish to connect the DN611 on...

Page 54: ...is section describes how to connect DeviceNet cables to the network connector shown at left in Figure 3 4 upper and lower rows of holes for inserting cables As shown in Figure 3 6 loosen the cable clamp screws in advance Be careful of the colors of the cable sheaths in inserting the cables into the network connector of the matching colors Then tighten the cable clamp screws Figure 3 6 Connecting C...

Page 55: ...into the device connector on front panel of the DN611 Note that the network connector cannot be inserted upside down due to its structure Do not forcibly push it in Tighten the network connector clamp screws to fix it in the DN611 Figure 3 7 Attaching the Network Connector to DN611 ワーク タ固定ネジ Network connector clamp screws ...

Page 56: ...d DN311 DeviceNet module for T3 T3H are different from each other in the direction in which the network connector is attached 4 DeviceNet cables power taps and device taps for connecting the trunk cables and drop cables are necessary when constructing a DeviceNet system Refer to 3 6 Network Com ponents for details Some of the network components may have to be procured by the user 5 If the network ...

Page 57: ...t to a trunk cable It has the following functions 1 To prevent reverse current flow to two or more 24 VDC power units if connected to one network due to potential difference 2 To support a maximum of 16 A from the power units directly connected to the tap 3 To limit the current flow from the power tap to the cables to 8 A maximum with a protective circuit fuse or circuit breaker 4 To provide termi...

Page 58: ...age Recommendations 1 In attaching nodes to drop cables consider the current capacity of not only the trunk cables but also the drop cables 2 In case of connecting nodes to drop cables in daisy chain form in particular exercise care against inadequate current capacity 3 Choose a network power unit having a current capacity greater than the total current con sumption requirement of the network Cabl...

Page 59: ...however I 3 A I Maximum current for drop line A L Drop line length 0 to 6 m Cable length 0m 10m 20m 30m 40m 50m 60m 70m 80m 90m 100m Maximum current A 3 00 3 00 3 00 2 06 1 57 1 26 1 06 0 91 0 80 0 71 0 64 細ケーブル最大電流 0 00 0 50 1 00 1 50 2 00 2 50 3 00 0m 10m 20m 30m 40m 50m 60m 70m 80m 90m 100m ケーブル長 電流値 A Maximum current for thick Current A Cable lengthcable ...

Page 60: ...nit near the center of the network and check whether it can supply the power to all the nodes Single power unit central connection f If the single power central connection is insufficient to supply the network power to all the nodes install additional network power units 3 Single Power Unit Terminal Connection Shown below is an example of configuration where a network power unit is installed at th...

Page 61: ...by linear approximation of 100 to 150 m d Since the total current consumption is smaller than the maximum current power can be supplied to all the nodes by single power unit central connection e Install a network power unit with a rated current capacity of 0 65 A or more Select one with an adequate capacity considering the conditions of use If the current consumption of a section exceeds the maxim...

Page 62: ...erall power cable length of section 2 120 m c Maximum current that can be supplied to the cables based on Figure 3 10 About 2 56 A Obtained by linear approximation of 100 to 150 m d Since the total current consumption of section 1 is greater than the maximum current the power line is overloaded Solution Move the power tap to the overloaded section See Figure 3 14 Node 6 Node 5 Node 4 Node 1 Node 2...

Page 63: ...an be supplied to the cables in section 2 based on Figure 3 10 About 2 19 A Obtained by linear approximation of 100 to 150 m d Since the total current consumption of both sections 1 and 2 is smaller than the maximum current power can be supplied to all the nodes by single power unit central connection e Install a network power unit with a rated current capacity of 4 2 A or more Select one with an ...

Page 64: ...Output ripple 250 mVp p Output capacity 7000 µF Ambient temperature Operating 0 to 60oC Storage 40 to 85oC Rated output at 60oC can be derated Instantaneous maximum output current Less than 65 A at peek Protection against overvoltage Provided No value specified Protection against overcurrent Provided Maximum current 125 Startup time 250 ms till 5 of the final output voltage Overshoot at startup 0 ...

Page 65: ... to the FG terminal of the power unit then ground it as close to the physical center of the network as possible by Class D grounding Figure 3 15 Install a power tap near the center of the network and ground it When two or more power units are used in the network ground only the power tap located near the center of the network Use a grounding wire 8AWG 3 meters long maximum Figure 3 15 How to Insta...

Page 66: ...art communication with the slave devices 2 Make sure that all the nodes connected to the network receive the network power Any node not receiving the network power may adversely affect communication with other nodes 3 Make sure that all the slave devices have been switched on before the DN611 starts commu nication If the DN611 starts communication when some of the slave devices have not yet been s...

Page 67: ...etailed procedures 2 Stopping the system a Slave devices power OFF b Network power OFF c S controller in HALT mode d S controller power OFF 3 6 Network Components This section explains the network components of the DeviceNet other than the master slave devices Figure 3 16 Recommended peripheral devices are introduced on the following pages for you to purchase as necessary For detailed information ...

Page 68: ...type connector 2 m with connectors 1485R P2M5 C 3 m with connectors 1485R P3M5 C 150 m without connector 1485C P1 C150 Used for daisy chain connection from one open type connector to another Used for connecting DeviceBox Tap to an open type connector 300 m without connector 1485C P1 C300 600 m without connector 1485C P1 C600 Item name Catalog No Remarks T Port Tap 1485P P1N5 MN5R1 T branch one dro...

Page 69: ...mory are described 3 Functions and usage of various request function blocks for operating the DN611 Use of a user function block which combines MREAD and MWRITE instructions simplifies the program to contol DN611s and to input and output date using the S controller User function blocks are described 4 DN611 s response code to various request commands completion status The completion status of vari...

Page 70: ...er DN611TST station folder DN611TST and controller folder S2 TEST have been registered in advance 1 Starting registration Select Station DN611TST in the folder column of the Product View menu of the Engineering Tool and double click Station Configuration The station s configuration editor starts to open the hardware configuration menu Figure 4 1 Product View Configuration Editor Start Supplementar...

Page 71: ...egistering the DN611 4 Figure 4 2 Configuration Editor Before Module Registration It is assumed here that the main unit has already been selected Main unit BU668 model 2000 main unit single 1 main 8I O Double click here ...

Page 72: ...er Connection Configuration under Main Unit to open the Module List menu Figure 4 3 Module Selection Menu Select DN611 on the module list menu so it appears in reversed color and press the Connect button Then DN611 is shown in slot No 6 on the Hardwaree Configuration menu as shown on the next page DN611 is shown in red indicating that the registered data has not yet been saved Choose DN611 Click C...

Page 73: ...ing the registration Select File and Save on the CConfiguration Editor menu to save the DN611 registration This saves the registered data and the module shown in red turns black This completes the DN611 registration If this is in red it has not been registered yet If it is in black it has been registered ...

Page 74: ...asically performed by reading and writing the S controller interface buffer memory with MREAD and MWRITE instructions Figure 4 5 Interface between Controller and DN611 Semaphore area RAS information area Input output data area DN611 S controller Module control request Module control response RAS information Output to slave Input from slave MREAD instruction MWRITE instruction Function block User p...

Page 75: ... or to read DN611 responses 2 RAS information Area The DN611 displays module status and communication status with the network and slave devices in this area 3 Input Output Data Area This area stores data exchanged between the DN611 and slave devices Output data from the S controller is written in this area while input data is read from this area This area has output and input semaphore registers f...

Page 76: ...nput semaphore registers for synchronous communication between the DN611 and slave devices The addresses in Figure 4 7 are word addresses as viewed from the S controller Figure 4 7 Input Output Data Area Configuration 0000H 007FH Polling bit strobe input data area 128 words 2048 bits 0080H 00FFH Polling output data area 128 words 2048 bits 0100H 0103H Bit strobe output data area 4 words 64 bits 01...

Page 77: ...ites 1 in the register and instructs the DN611 to start output Do not write any other value than 1 in the semaphore register DN611 operation The DN611 monitors the register on the scan interval wait time cycle specified by the S controller Upon detection of the 1 written into the register the DN611 sends the output data in the polling output data area to slave devices When the DN611 has finished t...

Page 78: ...ata area 6 Polling bit strobe input data area 0000H to 007FH 128 words This area stores data collected by the DN611 from the slave devices in polling mode and bit strobe mode The S controller ladder program reads data from this area The area has a size of 128 words 2048 bits so unless the size of data that slave devices send to the DN611 doesn t exceed the area capacity up to 63 slave devices can ...

Page 79: ...strobe mode will alternately take place upon its comple tion Polling mode Bit strobe mode Polling mode Bit strobe mode Don t write data in the input data area input data semaphore register using an MWRITE instruction Otherwise input data could be destroyed In writing data in the polling output data area bit strobe output data area using an MWRITE instruction be careful of the top address of the ar...

Page 80: ...no 1 word 0108H Operation mode in case of busoff 1 word 0109H Network communication rate 1 word 010AH Local station node address 1 word 010BH Input output data setting information 384 words 028BH Reserved 8 words 0293H Bit strobe no response device 4 words 0297H Polling no response device 4 words 029BH Number of polling devices 1 word 029CH Number of bit strobe devices 1 word 029DH Number of on li...

Page 81: ...Bit Name Meaning F DOWN DN611 is in down mode E Reserved D STBY DN611 is in standby mode C RUN DN611 is in run mode B Reserved A BITS Transmission is under way in bit strobe mode 9 POLL Transmission is under way in polling mode 8 Reserved 7 Reserved 6 NCOIN No slave device is registered in the DN611 5 TXERR Some of the salve devices registered do not respond 4 START DN611 is transmitting 3 SYNC DN...

Page 82: ...e arerequested by a module control request from the S controller and transmission is under way in normal condition RUN START BITS 1410H h Transmission enable transmission in polling mode and bit strobe mode asynchronous mode are requested by a module control request from the S controller and transmission is under way in normal condition RUN START POLL BITS 1610H i Synchronous mode is requested in ...

Page 83: ...put output next If slave devices of polling mode and bit strobe mode are mixedly used the scan cycle means the time from the finish of a polling input output following the start of a bit strobe input output until the restart of another bit strobe input output next Synchronous mode The scan completion time means the time from when 1 is written in the bit strobe output data semaphore polling output ...

Page 84: ...urs in the DN611 it means that the DN611 has failed to take the data from the slave devices The DN611 maintains the current error state and a history of error state changes since the start of communication This register shows a history of error state changes since the start of communication and the total number of transmissions and receptions 6 Slave device configuration information 029FH to 02BEH...

Page 85: ...s 27 Node address 26 02ADH Node address 29 Node address 28 02AEH Node address 31 Node address 30 02AFH Node address 33 Node address 32 02B0H Node address 35 Node address 34 02B1H Node address 37 Node address 36 02B2H Node address 39 Node address 38 02B3H Node address 41 Node address 40 02B4H Node address 43 Node address 42 02B5H Node address 45 Node address 44 02B6H Node address 47 Node address 46...

Page 86: ... mode slave devices registered in the DN611 but not responding to transmissions from it bit per device ON No response The figures in Table 4 8 are slave device node addresses 12 Bit strobe no response device map 0293H to 0296H 4 words Indicates the bit strobe mode slave devices registered in the DN611 but not responding to transmissions from it bit per device ON No response The figures in Table 4 ...

Page 87: ...areas where no slave device exists Figure 4 12 Input Output Data Setting Information Addresses 010BH NA 0 018FH NA 22 0213H NA 44 0111H NA 1 0195H NA 23 0219H NA 45 0117H NA 2 019BH NA 24 021FH NA 46 011DH NA 3 01A1H NA 25 0225H NA 47 0123H NA 4 01A7H NA 26 022BH NA 48 0129H NA 5 01ADH NA 27 0231H NA 49 012FH NA 6 01B3H NA 28 0237H NA 50 0135H NA 7 01B9H NA 29 023DH NA 51 013BH NA 8 01BFH NA 30 02...

Page 88: ...2H 250kbps 03H 125kbps 16 Operation mode on a Busoff 0108H 1 word DN611 operation mode data on the DN611 s detecting a local station busoff is stored 00H When a busoff is detected the module will be set to standby mode followed by the initialization of the CAN controller The procedure for resuming transmission is the same as in starting ordinary transmission Chapter 5 describes the transmission st...

Page 89: ...es 6 bytes Output data area Input data area F O F O 0080H NA 10 0000H NA 10 0081H NA 11 0001H 0082H 0002H NA 11 0083H NA 12 0003H NA 12 0084H 0004H 0085H 0005H 0086H NA 20 0006H NA 20 0087H No allocation 0007H 0088H NA 30 0008H No allocation NA 30 0089H 0009H NA 40 008AH NA 40 000AH 008BH 000BH Usage Recommendations 1 When a slave device has a transmission reception size in odd bytes it will have ...

Page 90: ...ing a request in the request area the DN611 sets this register to 0 2 Request flag register 03FDH 1 word S controller DN611 This register is used to issue a request from the S controller to the DN611 After writing request data in the request area the S controller ladder program writes 1 in this register 0 No request 1 A request is issued from the S controller to the DN611 Other than 0 and 1 Reserv...

Page 91: ...11 S controller When the S controller issues a request to the DN611 the DN611 sets response data to the S controller in this acknowledgment area Response data is set beginning with 02D0H The request data composition is described in 4 3 Requests to the DN611 6 How to use the semaphore area Figure 4 15 shows how to use the areas and registers discussed in Items 1 to 5 The shaded parts of the figure ...

Page 92: ...ment flag register Otherwise data could be destroyed except 6 g When writing data in the request area using an MWRITE instruction be careful of the top address and the size of data to be written Failing to do so could lead to the destruction of the data in other areas possibly causing the DN611 to malfunc tion S controller Request area write Acknowledgement area read Requested Acknowledgement flag...

Page 93: ...ns of the user function blocks explained in this section are given in Appendix C For the procedures of preparing and registering user function blocks refer to the Engineering Tool Basics 6F8C0875 or Engineering Tool Online Manual The six types of user function blocks explained in this section are scheduled to be registered in the Engineering Tool Version 1 5 up Request possible Request is possible...

Page 94: ...request This mode allows the DN611 to transmit to salve devices This mode allows you to select polling mode or bit strobe mode for transmission to slave devices This mode allows you to select synchronous mode or asynchronous mode for transfer between the S controller and the DN611 4 Down mode Indicates that the DN611 is in an irrecoverable abnormal state A reset request can change it to standby mo...

Page 95: ...he station status 05D5H that it changes from initialize mode to standby mode In abnormal state An error response completion status is returned to the S controller when the request is not accepted Figure 4 17 Station Status Operation at Reset Request 2 Diagrammatic representation Function block Input Argument Output Argument REQ BOOL type Execution enabled DONE BOOL type Completed CH WORD type Chan...

Page 96: ...ution time The time for station status to change from 4000H to 2000H 2040H after REQ is turned TRUE by the S controller Scan list is present in the non volatile memory Scan list not cleared Approx 1 second Scan list cleared Approx 9 seconds No scan list is present in the non volatile memory Scan list not cleared Approx 9 seconds Scan list cleared Approx 9 seconds 5 Others The 7 segment LED remains...

Page 97: ...s TRUE the local node parameter setting request for the module specified by CH UNIT and SLOT is processed b PARA_LOCAL is explained in the next item c After processing the local node parameter setting request DONE is turned TRUE d If the local node parameter setting request is not completed in 2 seconds or more due to an error or the like ERR and DONE are turned TRUE e Completion status is output ...

Page 98: ...llows Real scan cycle Real scan cycle in normal operation 20 ms Table 4 13 Local Node Parameters Parameter Description Port No Set 0 fixed Local node address The same address as set with the rotary switches Polling transmitting mode 0 A polling request is made to all slave devices followed by waiting for batch polling response 1 Polling response is waited for after requesting polling to each slave...

Page 99: ...odically checks the slave devices erased from the communi cating node list for response and if any of them responds it is registered again on the communicating node list If an n number of slave devices do not respond simultaneously the real scan cycle till three consecutive timeouts is as follows Real scan cycle Real scan cycle in normal operation n number of slave devices x 20 ms 6 Bit strobe sla...

Page 100: ...on volatile memory of the DN611 up to 300 times 2 Diagrammatic representation Function block 3 Description of operation a When REQ input is TRUE the slave device parameter setting request for the module specified by CH UNIT and SLOT is processed b PARA_SLAVE is explained in the next item c After processing the slave device parameter setting request DONE is turned TRUE d If the slave device paramet...

Page 101: ...xed Slave node address Specify a node address for a slave whose parameters are to be set Range of setting 0 to 63 Vendor ID Specify a vendor ID for a slave whose parameters are to be set Product type Specify the product type of a slave whose parameters are to be set Product code Specify the product code of a slave whose parameters are to be set Scan type Specify a mode of transmission between DN61...

Page 102: ... DN611 Caution 1 The parameter setting request slave device sets the parameters of slave devices in the non volatile memory of the DN611 It is not necessary to execute this request each time power is switched on unless the slave devices configuration is changed When the slave device parameters in the non volatile memory are identical with the slave device parameters newly requested parameter setti...

Page 103: ...mode control request b After completion of operation mode control request processing DONE is turned TRUE c If operation mode control request processing is not completed in 2 seconds or more due to an error or the like ERR and DONE are turned TRUE d Completion status is output to STATUS e If REQ is FALSE both DONE and ERR turn FALSE f When this function block is started when REQ is turned TRUE keep...

Page 104: ...r to station status To change bits A 9 4 and 3 set the DN611 in standby mode then request new settings together with a run request Standby cannot be requested when bits A 9 4 and 3 are set to 1 Table 4 15 Description of Operation Mode Specifying Information Bits Bit Name Description D STBY Standby request Change from run mode to standby mode C RUN Run request Change from standby mode to run mode A...

Page 105: ... is output where RAS information is not output c RAS_DT is described in the next item d After the RAS information read DONE is turned TRUE e If the request processing is not completed in 2 seconds or more due to an error or the like ERR and DONE are turned TRUE f Completion status is output to STATUS g If REQ is FALSE both DONE and ERR turn FALSE h When this function block is started when REQ is t...

Page 106: ... enter 0 c If 0 is entered in POSITION read start position in reading event history event history can be read beginning with the newest event d N read quantity is valid for the read request event history only To read other types of request enter 0 e The maximum value that can be set for N read quantity is 10 That is a maximum of 10 sets of event history can be read by a RAS information read reques...

Page 107: ...f When this function block is started when REQ is turned TRUE keep REQ TRUE till DONE becomes TRUE 4 Time set Time structure YEAR INT type Calendar data year MONTH INT type Calendar data month DAY INT type Calendar data day HOUR INT type Calendar data hour MIN INT type Calendar data minute SEC INT type Calendar data second Enter a numeric value in 2 digits of BCD for each time element 5 Others The...

Page 108: ...ser function blocks see the Engineering Tool Basics 6F8C0875 or the Engineering Tool Online Manual The user function blocks explained in this section are scheduled to be registered in the Engineering Tool Version 1 5 up 4 4 1 Input output data area batch access 1 Function This is to write output data from the area WRITE_DT provided for the controller in the polling output data area and bit stroe o...

Page 109: ...lling input data 127 3 Description of operation Figure 4 19 Input Output Data Area Batch Access Function Block Data Input Output Input Argument Output Argument REQ BOOL type Execution enabled DONE BOOL type Completed CH WORD type Channel No ERR BOOL type Error UNIT WORD type Unit No STATUS WORD type Station status SLOT WORD type Slot No READ_DT Data structural type Input data from slave device N_R...

Page 110: ... input data areas as shown in the table below Table 4 17 READ_DT Composition e This function block operates as described in the table below depending on the DN611 operation mode synchronous asynchronous polling bit strobe Table 4 16 WRITE_DT Composition Output Data Output Area Address WPOL 0 017AH WPOL 377 02F3H WBS 0 02F4H WBS 3 02F7H Input Data Input Area Address RPOL 0 0H RPOL 377 0179H Table 4...

Page 111: ...NE becomes TRUE Asynchronous Both Output data write in polling output data area and bit strobe output data area Input data read from polling bit strobe input data area Synchronous Both Output data write in bit strobe output data area Data exchange with slave device using bit strobe output data semaphore and input data semaphore Output data write in polling output data area Input data read from pol...

Page 112: ...fied by CH UNIT and SLOT are calculated and output b If the processing is not completed in 2 seconds or more due to an error or the like ERR and DONE are turned TRUE c Completion status is output to STATUS d If REQ is FALSE both DONE and ERR turn FALSE e Keep REQ TRUE till DONE becomes TRUE Input Argument Output Argument REQ BOOL type Execution enabled DONE BOOL type Completed CH WORD type Channel...

Page 113: ...D type Slave device input data 2 RDAT 2 WORD type Slave device input data 3 RDAT 3 WORD type Slave device input data 4 RDAT 4 WORD type Slave device input data 5 RDAT 5 WORD type Slave device input data 6 Input Argument Output Argument REQ BOOL type Execution enabled DONE BOOL type Completed CH WORD type Channel No ERR BOOL type Error UNIT WORD type Unit No STATUS WORD type Station status SLOT WOR...

Page 114: ...D_DT RDAT 0 to 5 and DONE is turned TRUE d Which of RDAT 0 to 5 will be an actual slave device input depends on the slave device to be used Refer to the slave device manual e Keep REQ TRUE till DONE becomes TRUE f If an error occurs ERR and DONE are turned TRUE g Completion status is output to STATUS h This function block cannot be used in synchronous mode For slave device input in synchronous mod...

Page 115: ... WDAT 1 WORD type Slave device output data 2 WDAT 2 WORD type Slave device output data 3 WDAT 3 WORD type Slave device output data 4 WDAT 4 WORD type Slave device output data 5 WDAT 5 WORD type Slave device output data 6 Input Argument Output Argument REQ BOOL type Execution enabled DONE BOOL type Completed CH WORD type Channel No ERR BOOL type Error UNIT WORD type Unit No STATUS WORD type Station...

Page 116: ... however must be identical with that registered by slave parameter setting e Which of WDAT 0 to 5 will be an actual slave device output depends on the slave device to be used Refer to the slave device manual f Keep REQ TRUE till DONE becomes TRUE g If an error occurs ERR and DONE are turned TRUE h Completion status is output to STATUS i This function block cannot be used in synchronous mode For sl...

Page 117: ...e error 00A4H A request for inhibited processing is issued during run mode a request for inhibited processing is issued during standby mode 00A5H Reserved Transmission inhibited 00A6H A request related to transmission is issued by the S controller in a state where transmission is inhibited Format error 00B0H Requested processing code is not supported 00B1H Inhibited status is demanded by control r...

Page 118: ......

Page 119: ...le ladder programs Caution 1 Fully understand the description of this chapter before preparing your program m The sam ple program here is a basic example and requires an adequate study before applying it to an actual system Caution 1 When the S controller is set in HALT ERROR mode the DN611 operating in in run mode will be in standby mode ...

Page 120: ...tor DO 1794 OB16 16 point DO module DI 1794 IB16 16 point DI module Polling type slave device Receive data size 4 bytes 2 words Send data size 6 bytes 3 words Send data Receive data A Output data to DO B Input data from AD A 1 Output data to DI B 1 Input data from DO B 2 Input data from DI Slot 0 Engineering Tool PS S3 DeviceNet module DN611 Channel 0 Unit 0 Slot 6 S2CPU DN NA 02 Remote I O AD NA ...

Page 121: ...re 5 2 Sample of Operating Sequence Reset or switching power on Module setting Local node slave device parameters Operation mode setting Run mode Output data write Input data read Reset request Parameter setting local node Parameter setting slave devices Unnecessary if scan list has already been prepared Operation mode request Slave data output or batch slave data input output Slave data input or ...

Page 122: ...kground BS_RCVSIZE WORD Bit strobe receive size POL_RCVSIZE WORD Polling receive size RESERVED1 WORD Reserved 1 POL_SNDSIZE WORD Polling send size RESERVED2 WORD Reserved 2 MAJOR_REV WORD Major revision NINOR_REV WORD Minor revision RESERVED3 WORD Reserved 3 RESERVED4 WORD Reserved 4 END_STRUCT typeP_SLAVE STRUCT Slave device parameter set value DEV ARRAY 0 9 OF typeDEV Slave device parameter set ...

Page 123: ...e PARA_SLAVE typeP_SLAVE Slave device parameter set value ASREAD_DT typeASREADDAT Slave device input data ASWRITE_DT typeASWRITEDAT Slave device output data READ_DT typeREASDAT Slave device input data WRITE_DT typeWRITEDAT Slave device output data RAS_DT typeRASDT RAS information read data TIME_DT typeTIMEDT Time set value END_TYPE 3 Definitions of local Variables DeviceNet DN611 Sample Program Sl...

Page 124: ... parameter setting error DN_SLAVESET_1 DN_SLAVESET Slave parameter setting request N_SLAVE UINT Number of devices STS_SLAVESET WORD Slave parameter setting status MODESET BOOL Operation mode control request END_MODESET BOOL Operation mode control end MODESETERR BOOL Operation mode control error DN_MODESET_1 DN_MODESET Operation mode control request STS_MODESET WORD Operation mode control status AS...

Page 125: ...r specify Reset request 3 seconds after power ON MOVE_WORD 0 LD 0 LD 6 LD MOVE_WORD MOVE_WORD CH ST UNIT ST SLOT ST START DN_RESET IN PT Q ET S 30 LD DN_RESET_1 RESET REQ CH DONE ERR CH LD UNIT STATUS ST SLOT CLR_SL UNIT LD SLOT LD 16 1 LD TIME1 ST END_RESET RESET_ERR STS_RESET TON_100ms TMR1 RESET ...

Page 126: ... PARA_LOC AL LOCAL _ADR ST 16 0 LD 16 A LD MOVE_WORD MOVE_WORD PARA_LOC AL POL_T RMODE ST PARA_LOC AL SCAN_ INTERVAL ST 16 1 LD MOVE_WORD PARA_LOC AL BGPOL _RATIO ST 16 1 LD 16 64 LD MOVE_WORD MOVE_WORD PARA_LOC AL RETR_ CNT ST PARA_LOC AL TR_TI MING ST DN_LOCALSET DN_LOCALSET_1 LOCALSET REQ CH DONE ERR CH LD UNIT STATUS ST SLOT PARA_LOCAL UNIT LD SLOT LD LD END_LOCAL SET LOCALSET _ERR STS_LOCAL S...

Page 127: ..._BK ST 16 0 LD 16 6 LD MOVE_WORD MOVE_WORD PARA_SLA VE DEV 1 BS_RCV SIZE ST PARA_SLA VE DEV 1 POL_RC VSIZE ST 16 0 LD MOVE_WORD PARA_SLA VE DEV 2 POL_BK ST 16 0 LD 16 6 LD MOVE_WORD MOVE_WORD PARA_SLA VE DEV 2 BS_RCV SIZE ST PARA_SLA VE DEV 2 POL_RC VSIZE ST 16 0 LD MOVE_WORD PARA SLA VE DEV 0 RESERV ED1 ST 16 4 LD 16 0 LD MOVE_WORD MOVE_WORD PARA_SLA VE DEV 0 POL_SN DSIZE ST PARA_SLA VE DEV 0 RES...

Page 128: ...ORD MOVE_WORD PARA_SLA VE DEV 3 BS_RCV SIZE ST PARA_SLA VE DEV 3 POL_RC VSIZE ST 16 0 LD MOVE_WORD PARA_SLA VE DEV 3 POL_BK ST 16 1 LD 16 0 LD MOVE_WORD MOVE_WORD PARA_SLA VE DEV 4 BS_RCV SIZE ST PARA_SLA VE DEV 4 POL_RC VSIZE ST 16 0 LD MOVE_WORD PARA_SLA VE DEV 3 RESERV ED1 ST 16 0 LD MOVE_WORD PARA_SLA VE DEV 4 RESERV ED1 ST 16 0 LD MOVE_WORD PARA_SLA VE DEV 3 POL_SN DSIZE ST 16 0 LD 16 1 LD MO...

Page 129: ...D UNIT STATUS ST SLOT PARA_SLAVE UNIT LD SLOT LD LD END_SLAVE SET SLAVESET _ERR STS_SLAVE SET PARA_SLAVE N LD N_SLAVE S R END_SLAVE SET MODESET SLAVESET SLAVESET _ERR DN_MODESET DN_MODESET_1 MODESET REQ CH DONE ERR CH LD UNIT STATUS ST SLOT SPEC UNIT LD SLOT LD 16 1610 LD END_MODE SET MODESETE RR STS_MODE SET S R END_MODE SET ASWRITE MODESET MODESET ERR ...

Page 130: ...ITE_1 ASWRITE REQ CH DONE ERR LD UNIT STATUS ST SLOT NODE UNIT LD 0 END_ASWR ITE ASWRITE_ ERR STS_ASWR ITE ASWRITE_ DT LD BS ASWRITE_DT LD LD 1 SLOT LD CH S R END_ASWR ITE ASREAD ASWRITE DN_ASREAD DN_ASREAD_1 ASREAD REQ CH DONE ERR LD UNIT STATUS ST SLOT NODE UNIT LD 1 END_ASRE AD ASREAD_ ERR STS_ASRE AD BS ASREAD_DT LD LD 0 SLOT LD CH ST ASREAD_ DT S R END_ASRE AD ASWRITE ASREAD ...

Page 131: ... operation The values shown in the table below are entered for parameter setting PARA_LOCAL Values for CH UNIT and SLOT are entered using the variables CH UNIT SLOT set by a reset request After operation mode control request processing is completed the end confir mation coil END_LOCALSET turns TRUE c Parameter setting request Slave device When a local node parameter setting request is completed EN...

Page 132: ...peration Values for CH UNIT and SLOT are entered using the variables CH UNIT SLOT set by an initialize request A read write node address is entered for NODE 0 is entered for BS in polling mode or 1 BS in bit strobe mode The output address to the slave device DO used here is the first of the two words so if data is written in the first word ASWRITE_DT WDT 0 of the slave data output structure ASWRIT...

Page 133: ... polling mode or 1 BS in bit strobe mode The input address to the slave device DI used here is the last of the three words so the input data of the slave device specified by the third word ASREAD_DT RDAT 2 of the slave data input structure ASREAD_DT is read When input data read is completed the end confirmation coil END_ASREAD becomes TRUE ASWRITE and ASREAD are repeated using SET RESET instructio...

Page 134: ...N_INSTRUCT_1 DN_INSTRUCT Allocation confirmation output STS_INSTRUCT WORD Allocation confirmation status READ_INSTW ARRAY 0 2 OF WORD Allocated data READ_INSTI ARRAY 0 2 OF UINT Allocated data size RASREAD BOOL RAS information read END_RASREAD BOOL RAS information read end RASREAD_ERR BOOL RAS information read error DN_RASREAD_1 DN_RASREAD RAS information read STS_RASREAD WORD RAS information read...

Page 135: ... LD 0 LD 6 LD MOVE_WORD MOVE_WORD CH ST UNIT ST SLOT ST DN_INSTRUCT DN_INSTRUCT_1 INSTRUCT REQ CH DONE ERR CH LD UNIT STATUS ST SLOT NODE UNIT LD SLOT LD 16 1 LD END_INST RUCT INSTRUCT _ERR STS_INST RUCT ST ST ST ST ST ST READ_INS TW 0 READ_INS TI 0 READ_INS TW 1 READ_INS TI 1 READ_INS TW 2 READ_INS TI 2 BS_ADD BS_N RPOL_ADD RPOL_N WPOL_ADD WPOL_N ...

Page 136: ...D _ERR STS_ RASR EAD ST RAS_DT RAS_DT POS LD NUM LD POSITION N LD ST LD 256 RAS_DT RASDAT 0 READ_ RASDATA 0 N TBL TMOV SW 16 LD MOVE_INT TIME_DT YEAR ST MOVE_INT MOVE_INT SW 19 LD MOVE_INT MOVE_INT MOVE_INT TIME_DT HOUR ST SW 17 LD TIME_DT MONTH ST SW 20 LD TIME_DT MIN ST SW 18 LD TIME_DT DAY ST SW 21 LD TIME_DT SEC ST DN_TIMESET DN_TIMESET_1 TIMESET REQ CH DONE ERR CH LD UNIT STATUS ST SLOT TIME_...

Page 137: ...r than initialize mode The start relay RASREAD is turned TRUE to start operation Values for CH UNIT and SLOT are entered using the variables CH UNIT SLOT set by an initialize request The RAS information specified by REQTYPE POSITION and N is output to READ_DT When the output is completed the end confirmation coil END_RASREAD becomes TRUE c Time setting request This function can be used in other th...

Page 138: ......

Page 139: ... LED MS NS 7 segment LED NA ERROR 2 Information by reading RAS Information RAS history counter Event history For the RAS information area in the S controller communication memory see 4 2 2 RAS information area Caution 1 Fully understand the description of this chapter before preparing your program The sample program here is a basic example and requires an adequate study before applying it to an ac...

Page 140: ...611 is operating normally Green blinking DN611 is reading switch settings Red blinking DN611 has developed a recoverable error Switch setting error DIP switches rotary switches etc Red ON DN611 has developed an irrecoverable error down state The module may have to be replaced NS OFF No power is supplied to the DN611 check MS Although power is supplied to the DN611 it is not in run mode check MS DN...

Page 141: ...ription OFF OFF OFF No power is supplied to the S controller It is being initialized by a reset request M ON OFF OFF Standby mode Just after switching power on after reset request M blinking OFF OFF Slave device parameters being set M ON Green ON Green ON Transmission normal Neither the module nor the network has developed errors 70 M Green ON Red ON DN611 has detected its node address identical w...

Page 142: ...ion only 84 M Green ON Green blinking Slave devices have not been initialized yet 91 M Green ON Red ON Busoff has occurred Communication halt at busoff was selected 92 M Green ON OFF Network power is not supplied to the DN611 The network connector on the DN611 was disconnected A0 CA Unfixed Unfixed When requests to the S controller have ended in an error completion status Table 4 16 is indicated o...

Page 143: ...H H Abnormal interrupt trap RAS_CNT 2 02D4H L Number of host interrupts RAS_CNT 3 02D4H H Number of port request interrupts RAS_CNT 4 02D5H L Number of receive response interrupts RAS_CNT 5 02D5H H Receive response ID error RAS_CNT 6 02D6H L Receive response request code invalid RAS_CNT 7 02D6H H Number of port requests accepted RAS_CNT 8 02D7H L Number of times other than port request register ON...

Page 144: ...data RAS_CNT 39 02E6H H MBX reception normal RAS_CNT 40 02E7H L Down code RAS_CNT 41 02E7H H Down detail code RAS_CNT 42 02E8H L Number of confirm register 2 second waits RAS_CNT 43 02E8H H Number of indication register 2 second waits RAS_CNT 44 02E9H L EP ROM scan list CRC error RAS_CNT 45 02E9H H Number of DBASE normal scan lists RAS_CNT 46 02EAH L Number of scan list settings EP ROM RAS_CNT 47 ...

Page 145: ... 02F6H H NMI read port read value RAS_CNT 72 02F7H L Number of CAN transmissions RAS_CNT 73 02F7H H CAN transmission disabled content of status register RAS_CNT 74 02F8H L RAS_CNT 75 02F8H H RAS_CNT 76 02F9H L RAS_CNT 77 02F9H H RAS_CNT 78 02FAH L RAS_CNT 79 02FAH H RAS_CNT 80 02FBH L RAS_CNT 81 02FBH H RAS_CNT 82 02FCH L RAS_CNT 83 02FCH H RAS_CNT 84 02FDH L RAS_CNT 85 02FDH H RAS_CNT 86 02FEH L ...

Page 146: ...ormat is for DN611 internal information See Table 6 5 and Table 6 6 for the contents of the binary codes Note however that the time is displayed in BCD F 0 Figure 6 1 Event History Composition 2 events read 02D0H Request code 0015H 02D1H Completion status 02D2H Number of RAS information words n pieces x words 02D3H Event history maximum 80 words 02D3H Event code 02D4H Detail information 1 02D5H De...

Page 147: ...ber of DBASE settings Calculating CRC Creating a scan list 0050H Request code Completion status Loader processing 0100H Request ID Request code Completion status Control port 0111H Station status Contents of write port Reset request 0112H Type 00 Local station setting 01 Port No error 02 Node addre ss different 03 Polling mode 04 Scan time 05 Skip 06 Transmission counter Parameter request 01 Slave...

Page 148: ... vendorID error 0402H Node address Received project Project type 0403H Node address Received project Project code 0404H Node address Received data length Data length error 0405H Node address Data length Received data length error 0406H Error code Node address Received node address Duplicate node address received 0407H Error code Duplicate node address error 0408H Node address Strobe deletion 0409H...

Page 149: ...ss 02D0H Request code 0015H 02D1H Completion status 02D2H Number of RAS information words 64 words 02D3H Execution node information 0312H Table 6 6 Module Status F 8 7 0 F 8 7 0 02D3H NA 1 NA 0 02E3H NA 33 NA 32 02D4H NA 3 NA 2 02E4H NA 35 NA 34 02D5H NA 5 NA 4 02E5H NA 37 NA 36 02D6H NA 7 NA 6 02E6H NA 39 NA 38 02D7H NA 9 NA 8 02E7H NA 41 NA 40 02D8H NA 11 NA 10 02E8H NA 43 NA 42 02D9H NA 13 NA 1...

Page 150: ... flow in the transmission line 3 03H Communication error 4 04H Scan list disagrees with the actual slave composition 5 05H Network error 6 06H Network power error detected 9 09H Busoff detected 10 0AH Duplicate node address detected Table 6 8 7 Segment LED Status Indications F 8 7 0 F 8 7 0 02F3H NA 1 NA 0 0303H NA 33 NA 32 02F4H NA 3 NA 2 0304H NA 35 NA 34 02F5H NA 5 NA 4 0305H NA 37 NA 36 02F6H ...

Page 151: ...on the scan list 76 4CH DN611 has detected communication timeout due to no response from slave devices 77 4DH Slave device transmission size differs from that on the DN611 scan list 78 4EH DN611 unable to start transmission to slave devices 79 4FH DN611 unable to send to slave devices 80 50H DN611 s communication port is in idle mode 81 51H DN611 s communication port is in fault mode 82 52H Send r...

Page 152: ......

Page 153: ...re 7 1 Module Start Check Items 2 Set in down mode during communication with slave devices Countermeasure Replace the module Record the down information before replacing the module as noted on the module front Send the module which has run down and the down information to TOSHIBA START Is S controller s power supplied Is the DN611 mounted properly in the base unit Yes Yes Isn t station status down...

Page 154: ...t Clear When scan list clear is specified and when the scan list has not been set yet it takes about 9 seconds for the reset request to take effect If it takes a longer time switch power back on If it takes 9 seconds or more for a reset request after switching power back on replace the module START Is down code other than F5H Yes Replace the module Read the down information and send it together wi...

Page 155: ...meters by a parameter setting request if the configuration of the slave devices is changed 1 Local node parameter setting request Figure 7 3 Local Node Parameter Setting Request Check Items START Is the parameter setting request executed Yes Yes No No Execute the local node parameter setting request See 4 3 3 See how to use semaphore area in 4 2 4 Parameter setting request If slave device paramete...

Page 156: ...mode setting request Remove the cause of trouble based on completion status END It takes about 4 seconds for the slave device parameter setting request to set one slave As up to 10 slave devices can be set by one parameter setting request the maximum time for the request to set them is 40 seconds START Is the operation mode con trol request executed Yes Yes No No Execute the operation mode control...

Page 157: ... 3 Parameter setting request local node and 4 3 4 Parameter setting request Slave devices Slave device Check the slave devices for normal operation referring to the manual for the slave devices Check thee power unit of the slave devices themselves Check network cable connections wrong wiring breaks Check the node address settings for duplicate node addresses Check the network communication rate se...

Page 158: ...2 2 Rotary switches for node address setting Check the network communication rate settings same communication rate Refer to 3 2 1 DIP switches for operation mode communication rate setting Check the local node parameter settings and the scan list Refer to 4 3 3 Parameter setting request local node and 4 3 4 Parameter setting request Slave devices Slave device Check the slave devices for normal ope...

Page 159: ...ructions for the base unit mounting specified in the Sequence Controller User s Manual Basic Hardware before mounting the base unit Caution 1 Use the DN611 in the environment specified in the Sequence Controller User s Manual Using your DN611 in other than the specified environment can cause electric shock fire fail ure and or malfunction 2 Mount your DN611 in the way specified in the Sequence Con...

Page 160: ...rdware when grounding it 2 Network power grounding Refer to 3 5 Network Power Grounding in this manual Caution 1 Since the DN611 is designed for the model 2000 of the Integrated Controller V Series be sure to mount your DN611 in the base unit instead of using it alone Don t use it for other applications Otherwise a there is the danger of electric shock bodily injuries and or mechanical malfunction...

Page 161: ... shock or malfunction Caution 1 Do not connect a network connector to or disconnect it from a device connector on the front panel of the DN611 while the S controller power is on Failure to observe this can cause DN611 trouble or malfunction 2 Network connectors cannot be connected to or disconnected from device connectors in the wrong direction Do not try to forcibly push them in Otherwise the net...

Page 162: ...eviceNet Volume I 2 It is recommended that you ask a service agent specialized in safety measures and stan dards for cable installation 3 Avoid installing DeviceNet network components in a noisy environment In cases where it is necessary to do so be sure to take the following measures against noise Table 8 1 Cable Installation Environment and Applicable Work Place environment of trunk cabling Work...

Page 163: ...es and other devices which produce a magnetic field or an electric field If it is difficult to separate them by a space of 2 meters determine a separation distance according to the actual voltage and amperage of sources of induction referring to the table below Transmission signals are so weak that sources of induction should not exceed 440 V 100 A Considering protection from noise a covered metal...

Page 164: ...n cables Route exclusive to computer system cabling Route exclusive to general instrumentation cabling Route exclusive to plant control cabling 8 4 2 Cabling inside the cubicle Observe the following in installing the DeviceNet drop cables 1 Wiring route Use the weak signal route in the cabinet to lay the DeviceNet drop cables Keep them at least 50 cm away from the power cables in particular 2 Clam...

Page 165: ...d securely to the network connector Cable setscrews not loose Loosen the cable setscrews and tighten them again Isn t the connected cable about to break Nothing abnormal in appearance Strip the cable end of its sheath and connect the cable core back to the connector Is the network connector fully inserted into the module connector Cable not loose in the module connector Firmly insert the network c...

Page 166: ...an cause a fire electric shock and or injuries due to failure and mal function Caution 1 If your DN611 does not operate normally identify the cause of the trouble referring to Chap ter 7 Troubleshooting If it should fail contact your nearest TOSHIBA office or dealer or service shop and send your DN611 back for repairs Operation and safety of your DN611 cannot be guaranteed unless it is repaired by...

Page 167: ... 72µs I O access time 8 72µs Table B 1 MREAD Instruction MWRITE Instruction Execution Time µs MREAD Instruction 14 72 4 N x I O access time MWRITE Instruction 14 48 4 N x I O access time Table B 2 Maximum Execution Time for DN611 Access ms 128 words for input output MREAD Instruction 1 17 MWRITE Instruction 1 12 Total 2 29 ...

Page 168: ......

Page 169: ...us END_VAR VAR_EXTERNAL SW ARRAY 0 511 OF INT SW register INT access END_VAR VAR SLOTNO WORD R W slot number TMP_CH WORD R W channel number TMP_UNIT WORD R W unit number TMP_CHUNIT WORD R W channel slot numbers S3 BOOL S3 selection S2 BOOL S2 selection STEP ARRAY 0 9 OF BOOL Step DEF1 BOOL Differential contact DUMMY_W1 BOOL Dummy ADR_WRT1 WORD Extension memory address DAT_WRT1 ARRAY 0 1 OF WORD Tr...

Page 170: ...OOL Completion DUMMY_R2 BOOL Dummy ADR_RED2 WORD Extension memory address DAT_RED2 ARRAY 0 1 OF WORD Transfer source variable NUM_RED2 UINT Number of words to transfer COMP_RED2 BOOL Completion DUMMY_W4 BOOL Dummy ADR_WRT4 WORD Extension memory address DAT_WRT4 WORD Transfer source variable NUM_WRT4 UINT Number of words to transfer DUMMY_R3 BOOL Dummy ADR_RED3 WORD Extension memory address DAT_RED...

Page 171: ...OR_WORD SLOTNO ST LD SLOT LD TMP_CH OR_WORD TMP_CHUNIT ST LD TMP_UNIT LD IN UNIT SHL_WORD TMP_UNIT ST N LD 8 LD IN CH SHL_WORD TMP_CH ST N LD 12 LD LD S3 S2 SW 0 EQ_INT 32 LD LD SW 0 EQ_INT 33 LD REQ EN ENO S STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 5 R STEP 6 R STEP 7 R STEP 8 R STEP 9 R STEP 0 MOVE_WORD STATUS SET 16 0 LD DEF1 ...

Page 172: ...equest area write Initialize request S3 DUMMY_W1 S2 MOVE_WORD ST DAT_WRT1 0 17 LD 2 MOVE_WORD ST DAT_WRT1 1 CLR_SL MOVE_UINT ST NUM_WRT1 STEP 0 E MWRITE SLOTNO S STEP 1 T ADR_WRT1 TADDR DAT_WRT1 P NUM_WRT1 N R STEP 0 LD LD LD LD LD LD EN ENO MOVE_WORD ADR_WRT1 SET 1832 LD ENO ADR_WRT1 SET 820 LD EN MOVE_WORD ...

Page 173: ... request flag register END EN MOVE_WORD DUMMY_W2 LD S3 2035 SET ADR_WRT2 LD S2 1021 SET ADR_WRT2 ENO EN MOVE_WORD 1 MOVE_WORD ST DAT_WRT2 1 MOVE_UINT ST NUM_WRT2 STEP 1 E MWRITE SLOTNO S STEP 2 T ADR_WRT2 TADDR DAT_WRT2 P NUM_WRT2 N R STEP 1 LD LD LD LD LD LD ...

Page 174: ...nds DUMMY_W3 S3 S2 ENO ADR_WRT3 SET 2047 LD EN MOVE_WORD ENO DAT_WRT3 SET 1 LD EN MOVE_WORD ENO ADR_WRT3 SET 1023 LD EN MOVE_WORD ENO DAT_WRT3 SET 256 LD EN MOVE_WORD 1 MOVE_UINT ST NUM_WRT3 LD STEP 2 E MWRITE SLOTNO S STEP 3 T ADR_WRT3 TADDR DAT_WRT3 P NUM_WRT3 N R STEP 2 LD LD LD LD STEP 3 IN S STEP 4 PT R STEP 3 Q ET TMR1 TIME1 ST 20 LD TON_100ms ...

Page 175: ...f acknowledgement flag register 1 EN ENO MOVE_WORD ADR_RED1 SET 1020 LD S3 DUMMY_R1 S2 EN ENO MOVE_WORD ADR_RED1 SET 2034 LD MOVE_UINT ST NUM_RED1 1 LD STEP 4 E MREAD SLOTNO COMP_RED1 T ADR_RED1 TADDR DAT_RED1 P NUM_RED1 N LD LD LD LD DAT_RED1 S STEP 5 R STEP 4 LD COMP_RED1 EQ_WORD 1 LD DAT_RED1 S STEP 8 R STEP 4 LD COMP_RED1 NE_WORD 1 LD ...

Page 176: ...ement area error status read S3 DUMMY_R2 S2 EN ENO MOVE_WORD ADR_RED2 SET 1632 LD EN ENO MOVE_WORD ADR_RED2 SET 720 LD 2 MOVE_UINT ST NUM_RED2 LD STEP 5 E MREAD SLOTNO COMR_RED2 T ADR_RED2 TADDR DAT_RED2 P NUM_RED2 N LD LD LD LD DAT_RED2 0 S STEP 6 R STEP 5 LD COMP_RED2 EQ_WORD 17 LD MOVE_WORD ST STATUS DAT_RED2 1 LD ...

Page 177: ...nowledgement flag register S3 DUMMY_W4 S2 EN ENO MOVE_WORD ADR_WRT4 SET 2034 LD EN ENO MOVE_WORD ADR_WRT4 SET 1020 LD 0 MOVE_WORD ST DAT_WRT4 LD STEP 6 E MWRITE SLOTNO S STEP 9 T ADR_WRT4 TADDR DAT_WRT4 P NUM_WRT4 N R STEP 6 LD LD LD LD 1 MOVE_UINT ST NUM_WRT4 LD ...

Page 178: ...Definition of Each Request Function Block C Station status read S3 DUMMY_R3 S2 EN ENO MOVE_WORD ADR_RED3 SET 1493 LD EN ENO MOVE_WORD ADR_RED3 SET 718 LD 1 MOVE_UINT ST NUM_RED3 LD STEP 8 E MREAD SLOTNO S COMR_RED3 T ADR_RED3 TADDR DAT_RED3 P NUM_RED3 N LD LD LD LD ...

Page 179: ...ES2 CMP_RES3 COMP_RED3 CMP_RES4 COMP_RED3 CMP_RES3 S STEP 9 R STEP 8 CMP_RES4 MOVE_WORD ST ST_STATUS DAT_RED3 LD ST_STATUS LD 8192 LD CMP_RES2 COMP_RED3 DAT_WRT1 1 LD 0 LD ST_STATUS LD 8256 LD EQ_WORD DAT_WRT1 1 LD 1 LD EN ENO MOVE_WORD STATUS SET 16 1 LD EQ_WORD EQ_WORD EQ_WORD IN PT Q REQ DONE STEP 9 TON_100ms TIME2 ST TMR2 ERR 100 LD STEP 9 ET ...

Page 180: ...ERNAL SW ARRAY 0 511 OF INT SW register INT access END_VAR VAR INPUTDAT ARRAY 0 8 OF WORD Parameter input SLOTNO WORD R W slot number TMP_CH WORD R W channel number TMP_UNIT WORD R W unit number TMP_CHUNIT WORD R W channel slot numbers S3 BOOL S3 selection S2 BOOL S2 selection STEP ARRAY 0 6 OF BOOL Step DEF1 BOOL Differential contact DUMMY_W1 BOOL Dummy ADR_WRT1 WORD Extension memory address DAT_...

Page 181: ...ORD Extension memory address DAT_RED2 ARRAY 0 1 OF WORD Transfer source variable NUM_RED2 UINT Number of words to transfer COMP_RED2 BOOL Completion DAT_ERR_STS WORD Error status DUMMY_W4 BOOL Dummy ADR_WRT4 WORD Extension memory address DAT_WRT4 WORD Transfer source variable NUM_WRT4 UINT Number of words to transfer COMP_RES1 BOOL Compare result COMP_RES2 BOOL Compare result COMP_RES3 BOOL Compar...

Page 182: ...pe identifying Step initializing TMP_CHUNIT OR_WORD SLOTNO ST LD SLOT LD TMP_CH OR_WORD TMP_CHUNIT ST LD TMP_UNIT LD IN UNIT SHL_WORD TMP_UNIT ST N LD 8 LD IN CH SHL_WORD TMP_CH ST N LD 12 LD LD LD S3 S2 SW 0 EQ_INT 32 LD LD SW 0 EQ_INT 33 REQ EN ENO S STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 5 R STEP 6 R STEP 0 MOVE_WORD STATUS SET 16 0 LD DEF1 ...

Page 183: ... 1 T ADR_WRT1 TADDR INPUTDAT P NUM_WRT1 N R STEP 0 LD LD LD LD LD LD EN ENO MOVE_WORD ADR_WRT1 SET 1832 LD ENO ADR_WRT1 SET 820 LD MOVE_WORD ST INPUTDAT 5 PARA_LOC AL SCAN_ INTERVAL LD MOVE_WORD ST INPUTDAT 7 PARA_LOC AL RETR_ CNT LD MOVE_WORD ST INPUTDAT 6 PARA_LOC AL BGPOL_ RATIO LD MOVE_WORD ST INPUTDAT 3 PARA_LOC AL LOCAL_ ADR LD 9 MOVE_WORD ST INPUTDAT 4 MOVE_UINT ST NUM_WRT1 LD LD MOVE_WORD ...

Page 184: ...st Function Block C Write 1 in request flag register END EN MOVE_WORD DUMMY_W2 LD S3 2035 SET ADR_WRT2 LD S2 1021 SET ADR_WRT2 END EN MOVE_WORD 1 MOVE_UINT ST DAT_WRT2 1 MOVE_UINT ST NUM_WRT2 STEP 1 E MWRITE SLOTNO S STEP 2 T ADR_WRT2 TADDR DAT_WRT2 P NUM_WRT2 N R STEP 1 LD LD LD LD LD LD ...

Page 185: ... register DUMMY_W3 S3 S2 ENO ADR_WRT3 SET 2047 LD EN MOVE_WORD ENO DAT_WRT3 SET 1 LD EN MOVE_WORD ENO ADR_WRT3 SET 1023 LD EN MOVE_WORD ENO DAT_WRT3 SET 256 LD EN MOVE_WORD 1 MOVE_UINT ST NUM_WRT3 STEP 2 E MWRITE SLOTNO 5 STEP 3 T ADR_WRT3 TADDR DAT_WRT3 P NUM_WRT3 N LD LD LD LD LD R STEP2 ...

Page 186: ...n Block C Acknowledgement flag register read 1 MOVE_UINT ST NUM_RED1 LD S3 DUMMY_R1 S2 EN ENO MOVE_WORD ADR_RED1 SET 2034 LD ENO ADR_RED1 SET 1020 LD EN MOVE_WORD STEP 3 E MREAD SLOTNO COMP_RED1 T ADR_RED1 TADDR DAT_RED1 NUM_RED1 LD LD LD LD P N DAT_RED1 S STEP 4 R STEP 3 LD COMP_RED1 EQ_WORD 1 LD ...

Page 187: ...OVE_WORD ADR_RED2 SET 1632 LD EN ENO MOVE_WORD ADR_RED2 SET 720 LD 2 MOVE_UINT ST NUM_RED2 LD STEP 4 E MREAD SLOTNO COMR_RED2 T ADR_RED2 TADDR DAT_RED2 P NUM_RED2 N LD LD LD LD DAT_RED2 0 CMP_RES1 LD COMP_RED2 EQ_WORD 18 LD DAT_RED2 1 CMP_RES2 LD COMP_RED2 EQ_WORD 1 LD DAT_RED2 1 MOVE_WORD ST STATUS LD CMP_RES1 S STEP 5 R STEP 4 CMP_RES2 ...

Page 188: ...gement flag register End ENO EN MOVE_WORD DUMMY_W4 LD S3 2034 SET ADR_WRT4 LD S2 1020 SET ADR_WRT4 ENO EN MOVE_WORD 1 MOVE_WORD ST DAT_WRT4 0 MOVE_UINT ST NUM_WRT4 STEP 5 E MWRITE SLOTNO S STEP 6 T ADR_WRT4 TADDR DAT_WRT4 P NUM_WRT4 N R STEP 5 LD LD LD LD LD LD REQ DONE STEP 6 IN TON_100ms TIME1 ST PT Q ET TMR1 ERR 20 LD STEP 6 ...

Page 189: ...conversion value SPWORDDAT WORD WORD conversion value SW ARRAY 0 511 OF INT SW register INT access END_VAR VAR INPUTDAT ARRAY 0 255 OF WORD Parameter input SLOTNO WORD R W slot number TMP_CH WORD R W channel number TMP_UNIT WORD R W unit number TMP_CHUNIT WORD R W channel slot numbers S3 BOOL S3 selection S2 BOOL S2 selection STEP ARRAY 0 6 OF BOOL Step DEF1 BOOL Differential contact DUMMY_W1 BOOL...

Page 190: ...ds to transfer COMP_RED1 BOOL Completion DUMMY_R2 BOOL Dummy ADR_RED2 WORD Extension memory address DAT_RED2 ARRAY 0 1 OF WORD Transfer source variable NUM_RED2 UINT Number of words to transfer COMP_RED2 BOOL Completion DUMMY_W4 BOOL Dummy ADR_WRT4 WORD Extension memory address DAT_WRT4 WORD Transfer source variable NUM_WRT4 UINT Number of words to transfer COMP_RES1 BOOL Compare result COMP_RES2 ...

Page 191: ...nitializing TMP_CHUNIT OR_WORD SLOTNO ST LD SLOT LD TMP_CH OR_WORD TMP_CHUNIT ST LD TMP_UNIT LD IN UNIT SHL_WORD TMP_UNIT ST N LD 8 LD IN CH SHL_WORD TMP_CH ST N LD 12 LD LD LD S3 S2 SW 0 EQ_INT 32 LD LD SW 0 EQ_INT 33 REQ EN ENO S STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 5 R STEP 6 R STEP 0 MOVE_WORD STATUS SET 16 0 LD DEF1 ...

Page 192: ... MOVE_WORD ST INPUTDAT 1 16 1 MOVE_UINT ST SPUINTDAT LD LD TMPDAT1 ADD_UINT NUM_WRT1 ST LD 3 LD N MUL_UINT TMPDAT1 ST LD 16 LD MOVE_WORD ST INPUTDAT 2 SPWORDDAT LD PARA_SLA VE DEV 0 PORT TMOV INPUTDAT 3 ST LD TMPDAT1 LD S3 DUMMY_W1 S2 EN END MOVE_WORD ADR_WRT1 SET 1832 LD ADR_WRT1 SET 820 LD STEP 0 E MWRITE SLOTNO S STEP 1 T ADR_WRT1 TADDR INPUTDAT P NUM_WRT1 N R STEP 0 LD LD LD LD EN END MOVE_WOR...

Page 193: ...Write 1 in request flag register ENO EN MOVE_WORD DUMMY_W2 LD S3 2035 SET ADR_WRT2 LD S2 1021 ADR_WRT2 ENO EN MOVE_WORD 1 MOVE_WORD ST DAT_WRT2 1 MOVE_INT ST NUM_WRT2 STEP 1 E MWRITE SLOTNO S STEP 2 T ADR_WRT2 TADDR DAT_WRT2 P NUM_WRT2 N R STEP 1 LD LD LD LD LD LD SET ...

Page 194: ...Write 1 in request register DUMMY_W3 S3 ENO ADR_WRT3 SET 2047 LD EN MOVE_WORD END DAT_WRT3 SET 1 LD EN MOVE_WORD ENO ADR_WRT3 SET 1023 LD EN MOVE_WORD END DAT_WRT3 SET 256 LD EN MOVE_WORD 1 MOVE_UINT ST NUM_WRT3 STEP 2 E MWRITE SLOTNO S STEP 3 T ADR_WRT3 TADDR DAT_WRT3 P NUM_WRT3 N R STEP 2 LD LD LD LD LD S2 ...

Page 195: ...ement flag register read EN ENO MOVE_WORD ADR_RED1 SET 1020 LD S3 DUMMY_R1 S2 EN ENO MOVE_WORD ADR_RED1 2034 LD MOVE_UINT ST NUM_RED1 1 LD STEP 3 E MREAD SLOTNO COMP_RED1 T ADR_RED1 TADDR DAT_RED1 P NUM_RED1 N LD LD LD LD DAT_RED1 S STEP 4 R STEP 3 LD COMP_RED1 EQ_WORD 1 LD SET ...

Page 196: ...ES1 S STEP 5 R STEP 4 CMP_RES2 STEP 4 E MREAD SLOTNO COMR_RED2 T ADR_RED2 TADDR DAT_RED2 P NUM_RED2 N LD LD LD LD DAT_RED2 0 CMP_RES1 LD COMP_RED2 EQ_WORD 18 LD DAT_RED2 1 CMP_RES2 LD COMP_RED2 EQ_WORD 1 LD DAT_RED2 1 MOVE_WORD ST STATUS LD MOVE_UINT ST NUM_RED2 2 LD EN ENO MOVE_WORD ADR_RED2 SET 720 LD S3 DUMMY_R2 S2 EN ENO MOVE_WORD ADR_RED2 SET 1632 LD ...

Page 197: ...W4 LD S3 2034 SET ADR_WRT4 LD S2 1020 ADR_WRT4 ENO EN MOVE_WORD 1 MOVE_WORD ST DAT_WRT4 0 MOVE_UINT ST NUM_WRT4 STEP 5 E MWRITE SLOTNO S STEP 6 T ADR_WRT4 TADDR DAT_WRT4 P NUM_WRT4 N R STEP 5 LD LD LD LD LD LD SET REQ DONE STEP 6 IN TON_100ms TIME1 ST PT Q ET TMR1 ERR ERRTIME LD INT_TO_DINT SPINTDAT LD MUL_DINT ERRTIME ST 45 LD STEP 6 ...

Page 198: ...RD R W slot number TMP_CH WORD R W channel number TMP_UNIT WORD R W unit number TMP_CHUNIT WORD R W channel slot numbers S3 BOOL S3 selection S2 BOOL S2 selection STEP ARRAY 0 7 OF BOOL Step DEF1 BOOL Differential contact DUMMY_W1 BOOL Dummy ADR_WRT1 WORD Extension memory address DAT_WRT1 ARRAY 0 1 OF WORD Transfer source variable NUM_WRT1 UINT Number of words to transfer DUMMY_W2 BOOL Dummy ADR_W...

Page 199: ... Completion DUMMY_R3 BOOL Dummy ADR_RED3 WORD Extension memory address DAT_RED3 WORD Transfer destination variable NUM_RED3 UINT Number of words to transfer COMP_RED3 BOOL Completion DAT_ST_STS WORD Station status DUMMY_W4 BOOL Dummy ADR_WRT4 WORD Extension memory address DAT_WRT4 WORD Transfer source variable NUM_WRT4 UINT Number of words to transfer COMP_RES1 BOOL Compare result COMP_RES2 BOOL C...

Page 200: ...selection Step initializing TMP_CHUNIT OR_WORD SLOTNO ST LD SLOT LD TMP_CH OR_WORD TMP_CHUNIT ST LD TMP_UNIT LD IN UNIT SHL_WORD TMP_UNIT ST N LD 8 LD IN CH SHL_WORD TMP_CH ST N LD 12 LD LD S3 S2 SW 0 EQ_INT 32 LD LD SW 0 EQ_INT 33 LD REQ EN ENO S STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 5 R STEP 6 R STEP 7 R STEP 0 MOVE_WORD STATUS SET 16 0 LD DEF1 ...

Page 201: ...n mode control request S3 DUMMY_W1 S2 MOVE_WORD ST DAT_WRT1 0 19 LD 2 MOVE_WORD ST DAT_WRT1 1 SPEC MOVE_UINT ST NUM_WRT1 STEP 0 E MWRITE SLOTNO S STEP 1 T ADR_WRT1 TADDR DAT_WRT1 P NUM_WRT1 N R STEP 0 LD LD LD LD LD LD EN ENO MOVE_WORD ADR_WRT1 SET 1832 LD ENO ADR_WRT1 SET 820 LD EN MOVE_WORD ...

Page 202: ...st Function Block C Write 1 in request flag register END EN MOVE_WORD DUMMY_W2 LD S3 2035 SET ADR_WRT2 LD S2 1021 SET ADR_WRT2 END EN MOVE_WORD 1 MOVE_WORD ST DAT_WRT2 1 MOVE_UINT ST NUM_WRT2 STEP 1 E MWRITE SLOTNO S STEP 2 T ADR_WRT2 TADDR DAT_WRT2 P NUM_WRT2 N R STEP 1 LD LD LD LD LD LD ...

Page 203: ...gister DUMMY_W3 S3 ENO ADR_WRT3 SET 2047 LD EN MOVE_WORD ENO DAT_WRT3 SET 1 LD EN MOVE_WORD ENO ADR_WRT3 SET 1023 LD EN MOVE_WORD ENO DAT_WRT3 SET 256 LD EN MOVE_WORD 1 MOVE_UINT ST NUM_WRT3 STEP 2 E MWRITE SLOTNO S STEP 3 T ADR_WRT3 TADDR DAT_WRT3 P NUM_WRT3 N R STEP 2 LD LD LD LD LD S2 ...

Page 204: ...on Block C Acknowledgement flag register read EN END MOVE_WORD ADR_RED1 SET 1020 LD S3 DUMMY_R1 S2 EN END MOVE_WORD ADR_RED1 2034 LD MOVE_UINT ST NUM_RED1 1 LD STEP 3 E MREAD SLOTNO COM_RED1 T ADR_RED1 TADDR DAT_RED1 P NUM_RED1 N LD LD LD LD DAT_RED1 S STEP 4 R STEP 3 LD COMP_RED1 EQ_WORD 1 LD SET ...

Page 205: ... CMP_RES2 STEP 4 E MREAD SLOTNO COMR_RED2 T ADR_RED2 TADDR DAT_RED2 P NUM_RED2 N LD LD LD LD DAT_RED2 0 CMP_RES1 LD COMP_RED2 EQ_WORD 19 LD DAT_RED2 1 CMP_RES2 LD COMP_RED2 EQ_WORD 1 LD DAT_RED2 1 MOVE_WORD ST STATUS LD ENO ADR_RED2 SET 720 LD S3 DUMMY_R2 S2 EN ENO MOVE_WORD ADR_RED2 SET 1632 LD MOVE_UINT ST NUM_RED2 2 LD EN MOVE_WORD ...

Page 206: ...on status read S3 DUMMY_R3 S2 EN ENO MOVE_WORD ADR_RED3 SET 1493 LD EN ENO MOVE_WORD ADR_RED3 SET 718 LD 1 MOVE_UINT ST NUM_RED3 LD DAT_ST_STS S STEP 6 R STEP 5 LD COMP_RED3 EQ_WORD DAT_WRT1 1 LD MOVE_WORD ST DAT_ST_STS DAT_RED3 LD STEP 5 E MREAD SLOTNO COMP_RED3 T ADR_RED3 TADDR DAT_RED3 P NUM_RED3 N LD LD LD LD ...

Page 207: ... End S3 DUMMY_W4 S2 EN ENO MOVE_WORD ADR_WRT4 SET 2034 LD EN ENO MOVE_WORD ADR_WRT4 SET 1020 LD 0 MOVE_WORD ST DAT_WRT4 LD STEP 6 E MWRITE SLOTNO S STEP 7 T ADR_WRT4 TADDR DAT_WRT4 P NUM_WRT4 N R STEP 6 LD LD LD LD 1 MOVE_UNT ST NUM_WRT4 LD REQ DONE STEP 7 TIME1 ST TMR1 ERR 20 LD STEP 7 IN N Q TON_100ms ET ...

Page 208: ...T typeRASDT RAS information END_VAR VAR_EXTERNAL SW ARRAY 0 511 OF INT SW register INT access END_VAR VAR SLOTNO WORD R W slot number TMP_CH WORD R W channel number TMP_UNIT WORD R W unit number TMP_CHUNIT WORD R W channel slot numbers S3 BOOL S3 selection S2 BOOL S2 selection STEP ARRAY 0 6 OF BOOL Step DEF1 BOOL Differential contact DUMMY_W1 BOOL Dummy ADR_WRT1 WORD Extension memory address DAT_...

Page 209: ...pletion DUMMY_R2 BOOL Dummy ADR_RED2 WORD Extension memory address DAT_RED2 ARRAY 0 255 OF WORD Transfer destination variable NUM_RED2 UINT Number of words to transfer COMP_RED2 BOOL Completion DUMMY_W4 BOOL Dummy ADR_WRT4 WORD Extension memory address DAT_WRT4 WORD Transfer source variable NUM_WRT4 UINT Number of words to transfer COMP_RES1 BOOL Compare result COMP_RES2 BOOL Compare result TMR1 T...

Page 210: ... Step initializing TMP_CHUNIT OR_WORD SLOTNO ST LD SLOT LD TMP_CH OR_WORD TMP_CHUNIT ST LD TMP_UNIT LD IN UNIT SHL_WORD TMP_UNIT ST N LD 8 LD IN CH SHL_WORD TMP_CH ST N LD 12 LD LD S3 S2 SW 0 EQ_INT 32 LD LD SW 0 EQ_INT 33 LD REQ EN ENO S STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 5 R STEP 6 R STEP 0 MOVE_WORD STATUS SET 16 0 LD DEF1 ...

Page 211: ...2 MOVE_WORD ST DAT_WRT1 0 21 LD POSITION MOVE_WORD ST DAT_WRT1 1 REQTYPE MOVE_WORD ST DAT_WRT1 2 STEP 0 E MWRITE SLOTNO S STEP 1 T ADR_WRT1 TADDR DAT_WRT1 P NUM_WRT1 N R STEP 0 LD LD LD LD LD LD EN ENO MOVE_WORD ADR_WRT1 SET 1832 LD ENO ADR_WRT1 SET 820 LD EN MOVE_WORD N MOVE_WORD ST DAT_WRT1 3 LD 4 MOVE_UINT ST NUM_WRT1 LD ...

Page 212: ...st Function Block C Write 1 in request flag register END EN MOVE_WORD DUMMY_W2 LD S3 2035 SET ADR_WRT2 LD S2 1021 ADR_WRT2 END EN MOVE_WORD 1 MOVE_WORD ST DAT_WRT2 1 MOVE_UINT ST NUM_WRT2 STEP 1 E MWRITE SLOTNO S STEP 2 T ADR_WRT2 TADDR DAT_WRT2 P NUM_WRT2 N R STEP 1 LD LD LD LD LD LD SET ...

Page 213: ...te DUMMY_W3 S3 S2 END ADR_WRT3 SET 2047 LD EN MOVE_WORD END DAT_WRT3 SET 1 LD EN MOVE_WORD END ADR_WRT3 SET 1023 LD EN MOVE_WORD END DAT_WRT3 SET 256 LD EN MOVE_WORD 1 MOVE_UINT ST NUM_WRT3 STEP 2 E MWRITE SLOTNO S STEP 3 T ADR_WRT3 TADDR DAT_WRT3 P NUM_WRT3 N R STEP 2 LD LD LD LD LD ...

Page 214: ...n Block C Acknowledgement flag register read EN ENO MOVE_WORD ADR_RED1 SET 1020 LD S3 DUMMY_R1 S2 EN ENO MOVE_WORD ADR_RED1 SET 2034 LD MOVE_UINT ST NUM_RED1 1 LD STEP 3 E MREAD SLOTNO COMP_RED1 T ADR_RED1 TADDR DAT_RED1 P NUM_RED1 N LD LD LD LD DAT_RED1 S STEP 4 R STEP 3 LD COMP_RED1 EQ_WORD 1 LD ...

Page 215: ...P 4 E MREAD SLOTNO COMP_RED2 T ADR_RED2 TADDR DAT_RED2 P NUM_RED2 N LD LD LD LD DAT_RED2 0 CMP_RES1 LD COMP_RED2 EQ_WORD 21 LD DAT_RED2 1 CMP_RES2 LD COMP_RED2 EQ_WORD 1 LD DAT_RED2 1 MOVE_WORD ST STATUS LD ENO ADR_RED2 SET 720 LD S3 DUMMY_R2 S2 EN ENO MOVE_WORD ADR_RED2 SET 1632 LD MOVE_UINT ST NUM_RED2 256 LD DAT_RED2 TMOV RAS_DT ST LD 256 LD EN MOVE_WORD TBL ...

Page 216: ...gement flag register End S3 DUMMY_W4 S2 EN END MOVE_WORD ADR_WRT4 SET 2034 LD EN END MOVE_WORD ADR_WRT4 SET 1020 LD 0 MOVE_WORD ST DAT_WRT4 LD STEP 5 E MWRITE SLOTNO S STEP 6 T ADR_WRT4 TADDR DAT_WRT4 P NUM_WRT4 N R STEP 5 LD LD LD LD 1 MOVE_UINT ST NUM_WRT4 LD REQ DONE STEP 6 TON_100ms TIME1 ST TMR1 ERR 20 LD STEP 6 IN Q ET PT ...

Page 217: ...value INTDAY INT INT conversion value WORDDAY WORD WORD conversion value INTHOUR INT INT conversion value WORDHOUR WORD WORD conversion value INTMIN INT INT conversion value WORDMIN WORD WORD conversion value INTSEC INT INT conversion value WORDSEC WORD WORD conversion value SW ARRAY 0 511 OF INT SW register INT access END_VAR VAR SLOTNO WORD R W slot number TMP_CH WORD R W channel number TMP_UNIT...

Page 218: ...RD Extension memory address DAT_RED1 WORD Transfer destination variable NUM_RED1 UINT Number of words to transfer COMP_RED1 BOOL Completion DUMMY_R2 BOOL Dummy ADR_RED2 WORD Extension memory address DAT_RED2 ARRAY 0 1 OF WORD Transfer destination variable NUM_RED2 UINT Number of words to transfer COMP_RED2 BOOL Completion DUMMY_W4 BOOL Dummy ADR_WRT4 WORD Extension memory address DAT_WRT4 WORD Tra...

Page 219: ...izing CH IN SHL_WORD LD N 12 LD TMP_CH ST UNIT IN SHL_WORD LD N 8 LD TMP_UNIT ST OR_WORD LD LD TMP_CHUNIT ST OR_WORD LD SLOT LD SLOTNO ST TMP_CH TMP_UNIT TMP_CHUNIT EQ_INT LD LD S3 SW 0 32 EQ_INT LD LD S2 SW 0 33 REQ S STEP 0 EN ENO MOVE_WORD STATUS SET 16 0 LD DEF1 R STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 5 R STEP 6 ...

Page 220: ... YEAR LD MOVE_INT ST INTMONTH TIME DT MONTH LD MOVE_INT ST INTDAY TIME DT DAY LD MOVE_INT ST INTHOUR TIME DT HOUR LD MOVE_INT ST INTMIN LD MOVE_INT ST INTSEC TIME DT SEC LD TIME DT MIN 8 LD IN SHL_WORD WORDMONTH LD N WORDYEAR LD OR_WORD DAT_WRT1 1 ST 8 LD IN SHL_WORD WORDHOUR LD N WORDDAY LD OR_WORD DAT_WRT1 2 ST 8 LD IN SHL_WORD WORDSEC LD N WORDMIN LD OR_WORD DAT_WRT1 3 ST MOVE_UNIT ST NUM_WRT1 ...

Page 221: ...1 in request flag register ENO EN MOVE_WORD DUMMY_W2 LD S3 2035 SET ADR_WRT2 LD S2 1021 ADR_WRT2 ENO EN MOVE_WORD 1 MOVE_WORD ST DAT_WRT2 1 MOVE_UNIT ST NUM_WRT2 LD LD STEP 1 E MWRITE SLOTNO S STEP 2 T ADR_WRT2 TADDR DAT_WRT2 P NUM_WRT2 N R STEP 1 LD LD LD LD SET ...

Page 222: ...Write 1 in request register ENO EN MOVE_WORD DUMMY_W3 LD S3 2047 SET ADR_WRT3 LD S2 1023 ADR_WRT3 ENO EN MOVE_WORD MOVE_UNIT ST NUM_WRT3 1 LD STEP 2 E MWRITE SLOTNO T ADR_WRT3 TADDR DAT_WRT3 P NUM_WRT3 N LD LD LD LD ENO EN MOVE_WORD LD 1 SET DAT_WRT3 LD 256 DAT_WRT3 ENO EN MOVE_WORD SET SET S STEP 3 R STEP 2 ...

Page 223: ...flag register read ENO EN MOVE_WORD DUMMY_R1 LD S3 2034 SET ADR_RED1 LD S2 1020 ADR_RED1 ENO EN MOVE_WORD MOVE_UNIT ST NUM_RED1 1 LD STEP 3 E MREAD SLOTNO COMP_RED1 T ADR_RED1 TADDR DAT_RED1 P NUM_RED1 N LD LD LD LD DAT_RED1 S STEP 4 R STEP 3 1 LD EQ_WORD LD COMP_RED1 SET ...

Page 224: ...N MOVE_WORD DUMMY_R2 LD S3 1632 SET ADR_RED2 LD S2 720 ADR_RED2 ENO EN MOVE_WORD MOVE_UNIT ST NUM_RED2 2 STEP 4 E MREAD SLOTNO T ADR_RED2 TADDR DAT_RED2 P NUM_RED2 N LD LD LD LD LD COMP_RED2 DAT_RED2 0 CMP_RES1 24 LD EQ_WORD LD COMP_RED2 DAT_RED2 1 CMP_RES2 1 LD EQ_WORD LD COMP_RED2 MOVE_WORD ST STATUS DAT_RED2 1 LD CMP_RES1 S STEP 5 R STEP 4 CMP_RES2 SET ...

Page 225: ...NO EN MOVE_WORD DUMMY_W4 LD S3 2034 SET ADR_WRT4 LD S2 1020 ADR_WRT4 ENO EN MOVE_WORD MOVE_WORD ST DAT_WRT4 0 STEP 5 E MWRITE SLOTNO T ADR_WRT4 TADDR DAT_WRT4 P NUM_WRT4 N LD LD LD LD LD MOVE_UNIT ST NUM_WRT4 1 LD SET S STEP 6 R STEP 5 REQ IN PT ERR Q ET TMR1 TIME1 ST 20 LD TON_100ms STEP 6 DONE STEP 6 ...

Page 226: ......

Page 227: ...D WORD BS input data top address BS_N UINT Number of BS input data words RPOL_ADD WORD Polling input data top address RPOL_N UINT Number of polling input data words WPOL_ADD WORD Polling output data top address WPOL_N UINT Number of polling output data words END_VAR VAR_EXTERNAL UINTADD UINT UINT data WORDADD WORD WORD data UINTDAT1 UINT UINT data WORDDAT1 WORD WORD data UINTDAT2 UINT UINT data WO...

Page 228: ...sion memory address DAT_RED1 ARRAY 0 9 OF UINT Transfer destination variable TMP1 ARRAY 0 5 OF UINT Address calculation data TMP2 ARRAY 0 11 OF UINT Address calculation data TMP3 ARRAY 0 5 OF UINT Address calculation data TMP4 UINT Address calculation data NEXT BOOL Next step NEXT2 BOOL Next step TMR1 TON_100ms Error detection timer TIME1 DINT Error detection time DUMMY_R2 BOOL Dummy ADR_RED2 WORD...

Page 229: ...tep initializing TMP_CHUNIT OR_WORD SLOTNO ST LD SLOT LD TMP_CH OR_WORD TMP_CHUNIT ST LD TMP_UNIT LD IN UINT SHL_WORD TMP_UNIT ST N LD 8 LD IN CH SHL_WORD TMP_CH ST N LD 12 LD LD S3 S2 SW 0 EQ_INT 32 LD LD SW 0 EQ_INT 33 LD REQ EN ENO S STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 0 MOVE_WORD STATUS SET 16 0 LD DEF1 ...

Page 230: ...t data information read S3 S2 EN ENO MUL_UINT NODE LD EN ENO MUL_UNIT NODE LD 10 LD 6 LD DUMMY_11 EN ENO ADD_UINT EN ENO MOVE_WORD UINTADD SET 772 LD WORDADD LD ADR_RED1 SET EN ENO ADD_UINT 267 LD EN ENO MOVE_WORD UINTADD SET WORDADD LD ADR_RED1 SET DUMMY_12 STEP 0 E MREAD SLOTNO LD ADR_RED1 LD S STEP 1 DAT_RED1 LD 10 LD R STEP 0 T TADDR P N ...

Page 231: ...NT ENO TMP1 1 SET DAT_RED1 1 LD EN MOVE_UINT ENO EN MOVE_UINT ENO TMP1 3 SET EN MOVE_UINT DAT_RED1 0 STEP 2 R STEP 1 DAT_RED1 2 TMP1 2 SET DAT_RED1 3 LD ENO EN MOVE_UINT ENO TMP1 5 SET EN MOVE_UINT DAT_RED1 6 TMP1 4 SET DAT_RED1 7 LD ENO EN MOVE_UINT ENO TMP1 5 SET EN MOVE_UINT DAT_RED1 4 TMP1 4 SET DAT_RED1 5 LD S3 S2 LD LD LD LD ...

Page 232: ...1 LD 2 LD ENO EN ADD_UINT TMP3 1 SET ENO EN DIV_UINT TMP1 2 LD 2 LD ENO EN MOD_UINT TMP1 2 LD 2 LD ENO EN ADD_UINT TMP3 2 SET ENO EN DIV_UINT TMP1 3 LD 2 LD ENO EN MOD_UINT TMP1 3 LD 2 LD ENO EN ADD_UINT TMP3 3 SET ENO EN DIV_UINT TMP1 4 LD 2 LD ENO EN MOD_UINT TMP1 4 LD 2 LD ENO EN ADD_UINT TMP3 4 SET ENO EN ADD_UINT TMP3 4 LD 378 LD TMP4 SET ENO EN ADD_UINT TMP3 4 LD 128 LD TMP4 SET ENO EN DIV_U...

Page 233: ... TMP3 2 UINTDAT2 SET ENO EN MOVE_UINT TMP4 UINTDAT3 SET ENO EN MOVE_WORD ENO BS_N SET EN MOVE_UINT WORDDAT1 BS_ADD SET TMP3 1 LD LD LD LD LD ENO EN MOVE_WORD ENO RPOL_N SET EN MOVE_UINT WORDDAT2 RPOL_ADD SET TMP3 3 LD LD ENO EN MOVE_WORD ENO WPOL_N SET EN MOVE_UINT WORDDAT3 WPOL_ADD SET TMP3 5 LD LD NEXT2 S STEP 3 R STEP 2 ...

Page 234: ...tation status read 終了 S3 DUMMY_R2 S2 EN ENO MOVE_WORD ADR_RED2 SET 1493 LD EN ENO MOVE_WORD ADR_RED2 SET 718 LD 1 MOVE_UINT ST NUM_RED2 LD STEP 3 E MREAD SLOTNO LD ADR_RED2 LD S STEP 4 DAT_RED2 LD NUM_RED2 LD R STEP 3 T TADDR P N DAT_RED2 MOVE_WORD ST STATUS LD REQ STEP 4 20 LD DONE STEP 4 Q PT TON_100ms IN ET TIME1 ST ERR TMR1 ...

Page 235: ...INT SW register INT access S ARRAY 0 511 OF type 16BITS SW register word bit access END_VAR VAR SLOTNO WORD R W slot number TMP_CH WORD R W channel number TMP_UNIT WORD R W unit number TMP_CHUNIT WORD R W channel slot numbers S3 BOOL S3 selection S2 BOOL S2 selection BS_MODE BOOL BS mode STEP ARRAY 0 4 OF BOOL Step DEF1 BOOL Differential contact DN_INSTRUCT_1 DN_INSTRUCT Allocation calculation TMP...

Page 236: ...model 2000 DeviceNet Module Manual DN611 DN611A Appendix D Definitions of the Function Block for Slave Data Input Output D ERR1 BOOL Error 1 ERR2 BOOL Error 2 ERR3 BOOL Error 3 DONE1 BOOL Completion END_VAR ...

Page 237: ...izing CH IN SHL_WORD LD LD TMP_CH ST 12 N TMP_CH OR_WORD LD LD TMP_CHUNIT ST TMP_UNIT UNIT IN SHL_WORD LD LD TMP_UNIT ST 8 N TMP_CHUNIT OR_WORD LD LD SLOTNO ST SLOT SW 0 EQ_INT LD LD 32 BS EQ_WORD LD LD 1 SW 0 EQ_INT LD LD 33 S3 BS_MODE S2 REQ S STEP 0 R STEP 1 DEF1 EN ENO MOVE_WORD STATUS SET 16 0 LD R R STEP 2 R STEP 3 R STEP 4 ...

Page 238: ...INSTRUCT DONE ERR1 S STEP 1 S DN_INSTR UCT_1 STEP 0 R CH LD UNIT LD SLOT LD NODE LD CH ERR UNIT SLOT NODE STATUS ST STATUS TMPW 0 ST BS_ADD TMPI 0 ST BS_N TMPW 1 ST TMPI 1 ST TMPW 2 ST TMPI 2 ST RPOL_ADD RPOL_N WPOL_ADD WPOL_N STATUS AND_WORD LD LD 16 1000 AND_WORD LD LD EQ_WORD RUN STATUS 16 0008 LD 16 1000 LD 16 0008 EQ_WORD SYN REQ STEP 1 S STEP 4 S STEP 2 RUN SYN SYN R STEP 1 ...

Page 239: ... ADR_WRT1 SET TMPW 2 LD BS_MODE TMPI 2 LD MOVE_UINT EN ENO NUM_WRT1 SET S STEP 3 R STEP 2 EN ENO MOVE_WORD ADR_WRT1 SET 16 2F4 LD 4 LD MOVE_UINT EN ENO NUM_WRT1 SET REQ STEP 2 BS_MODE S3 EN ENO MOVE_WORD ADR_WRT1 SET LD 4 LD MOVE_UINT EN ENO NUM_WRT1 SET S2 16 100 REQ STEP 4 STEP 3 E MWRITE SLOTNO LD T S R STEP 3 ADR_WRT1 LD ASWRITE_DT LD NUM_WRT1 LD TADDR P N ...

Page 240: ...nual DN611 DN611A Appendix D Definitions of the Function Block for Slave Data Input Output D End REQ STEP 4 IN TON_100ms PT ERR2 DONE1 REQ STEP 1 Q ET 20 LD TIME1 ST REQ SYN ERR3 ERR1 ERR ERR2 ERR3 ERR DONE DONE1 REQ STEP 4 STEP 0 TMR1 ...

Page 241: ... ARRAY 0 511 OF INT SW register INT access S ARRAY 0 511 OF type 16BITS SW register word bit access END_VAR VAR SLOTNO WORD R W slot number TMP_CH WORD R W channel number TMP_UNIT WORD R W unit number TMP_CHUNIT WORD R W channel slot numbers S3 BOOL S3 selection S2 BOOL S2 selection BS_MODE BOOL BS mode STEP ARRAY 0 4 OF BOOL Step DEF1 BOOL Differential contact DN_INSTRUCT_1 DN_INSTRUCT Allocation...

Page 242: ...t Module Manual DN611 DN611A Appendix D Definitions of the Function Block for Slave Data Input Output D TIME1 DINT Acknowledgement wait time ERR1 BOOL Error 1 ERR2 BOOL Error 2 ERR3 BOOL Error 3 DONE1 BOOL Completion END_VAR ...

Page 243: ...izing TMP_CHUNIT OR_WORD SLOTNO ST LD SLOT LD TMP_CH OR_WORD TMP_CHUNIT ST LD TMP_UNIT LD IN UINT SHL_WORD TMP_UNIT ST N LD 8 LD IN CH SHL_WORD TMP_CH ST N LD 12 LD LD S3 S2 SW 0 EQ_INT 32 LD LD SW 0 EQ_INT 33 LD LD BS_MODE BS EQ_WORD 1 LD REQ EN ENO S STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 0 MOVE_WORD STATUS SET 16 0 LD DEF1 ...

Page 244: ...NSTRUCT ERR1 CH LD STEP 0 CH ERR S STEP 0 R STEP 1 DN_INSTR UCT_1 STATUS UINT LD UINT STATUS ST TMPW 0 SLOT LD SLOT BS_ADD ST TMPI 0 NODE LD NODE BS_N ST TMPW 1 RPOL_ADD ST TMPI 1 RPOL_N ST ST TMPW 2 WPOL_ADD ST TMPI 2 WPOL_N ST EQ_WORD STATUS AND_WORD LD 16 0008 LD EQ_WORD STATUS AND_WORD 16 1000 LD 16 1000 LD LD RUN SYN 16 0008 LD REQ STEP 1 RUN S SYN STEP 2 S SYN STEP 4 STEP 1 R ...

Page 245: ... O read REQ EN ENO MOVE_WORD ADR_RED1 SET TMPW 2 LD STEP 2 BS_MODE EN ENO MOVE_UINT NUM_RED1 SET TMPI 2 LD S R STEP 3 STEP 2 EN ENO MOVE_WORD ADR_RED1 SET TMPW 0 LD EN ENO MOVE_UINT NUM_RED1 SET TMPI 0 LD BS_MODE REQ E MREAD SLOTNO LD STEP 3 T R ADR_RED1 LD TADDR ASREAD_DT LD P NUM_RED1 LD N S STEP 4 STEP 3 ...

Page 246: ...nual DN611 DN611A Appendix D Definitions of the Function Block for Slave Data Input Output D End REQ STEP 4 DONE1 REQ STEP 1 TMR1 ERR2 20 LD PT IN Q ET ST TIME1 REQ SYN ERR3 ERR1 ERR ERR2 ERR3 ERR DONE DONE1 REQ STEP 4 STEP 0 TON_100ms ...

Page 247: ...rror STATUS WORD Status READ_DT typeREADDAT Input data END_VAR VAR_EXTERNAL SW ARRAY 0 511 OF INT SW register INT access END_VAR VAR SLOTNO WORD R W slot number TMP_CH WORD R W channel number TMP_UNIT WORD R W unit number TMP_CHUNIT WORD R W channel slot numbers S3 BOOL S3 selection S2 BOOL S2 selection STEP ARRAY 0 16 OF BOOL Step DEF1 BOOL Differential contact DUMMY_R1 BOOL Dummy ADR_RED1 WORD E...

Page 248: ...tension memory address DAT_RED3 WORD Transfer destination variable NUM_RED3 UINT Number of words to transfer COMP_RED3 BOOL Completion DUMMY_W4 BOOL Dummy ADR_WRT4 WORD Extension memory address DAT_WRT4 WORD Transfer source variable NUM_WRT4 UINT Number of words to transfer DUMMY_W5 BOOL Dummy ADR_WRT5 WORD Extension memory address DAT_WRT5 WORD Transfer source variable NUM_WRT5 UINT Number of wor...

Page 249: ...ompletion DUMMY_R7 BOOL Dummy ADR_RED7 WORD Extension memory address DAT_RED7 WORD Transfer destination variable NUM_RED7 UINT Number of words to transfer COMP_RED7 BOOL Completion DUMMY_R8 BOOL Dummy ADR_RED8 WORD Extension memory address DAT_RED8 WORD Transfer destination variable NUM_RED8 UINT Number of words to transfer COMP_RED8 BOOL Completion DUMMY_W8 BOOL Dummy ADR_WRT8 WORD Extension memo...

Page 250: ..._WORD LD N 12 LD TMP_CH ST UNIT IN SHL_WORD LD N 8 LD TMP_UNIT ST OR_WORD LD LD TMP_CHUNIT ST OR_WORD LD SLOT LD SLOTNO ST TMP_CH TMP_UNIT TMP_CHUNIT EQ_INT LD LD SW 0 32 S3 EQ_INT LD LD SW 0 33 S2 REQ S STEP 0 DEF1 R STEP 1 R STEP 2 R STEP 3 R STEP 4 R STEP 5 R STEP 6 R STEP 7 R STEP 8 REQ STEP 9 DEF1 R STEP 10 R STEP 11 R STEP 12 R STEP 13 R STEP 14 R STEP 15 R STEP 16 R DONE1 R R DONE2 ...

Page 251: ...MOVE_WORD STEP 0 E MREAD SLOTNO T ADR_RED1 TADDR DAT_RED1 P NUM_RED1 N LD LD LD LD COMP_RED1 EN ENO MOVE_WORD STATUS SET DAT_RED1 LD STATUS AND_WORD 16 1000 LD RUN EQ_WORD 16 1000 LD LD STATUS AND_WORD 16 0008 LD SYN EQ_WORD 16 0008 LD LD STATUS AND_WORD 16 0400 LD BS EQ_WORD 16 0400 LD LD STATUS AND_WORD 16 0200 LD POL EQ_WORD 16 0200 LD LD S STEP 1 STEP 0 COMP_RED1 RUN POL S STEP 2 POL STEP 0 R ...

Page 252: ...lave Data Input Output D Polling transmission data write ENO EN MOVE_WORD DUMMY_W1 LD S3 378 SET ADR_WRT1 LD S2 128 ADR_WRT1 ENO EN MOVE_WORD MOVE_UNIT ST NUM_WRT1 N_WPOL LD STEP 1 E MWRITE SLOTNO S STEP 2 T ADR_WRT1 TADDR WRITE_DT P N_WPOL N SYN LD LD LD LD SET BS BS S STEP 7 SYN BS S STEP 15 R STEP 1 ...

Page 253: ...RT2 LD S2 256 ADR_WRT2 ENO EN MOVE_WORD SET MOVE_WORD ST DAT_WRT2 0 WRITE DT WBS 0 LD MOVE_WORD ST DAT_WRT2 1 WRITE DT WBS 1 LD MOVE_WORD ST DAT_WRT2 2 WRITE DT WBS 2 LD MOVE_WORD ST DAT_WRT2 3 WRITE DT WBS 3 LD MOVE_UNIT ST NUM_WRT2 4 LD STEP 2 E MWRITE SLOTNO S STEP 15 T ADR_WRT2 TADDR DAT_WRT2 P NUM_WRT2 N BS LD LD LD LD SYN SYN S STEP 3 R STEP 2 ...

Page 254: ...lave Data Input Output D Write 1 in bit strobe output data semaphore S3 DUMMY_W3 S2 EN ENO MOVE_WORD ADR_WRT3 SET 760 LD ENO ADR_WRT3 SET 260 LD EN MOVE_WORD STEP 3 E MWRITE SLOTNO S STEP 4 T ADR_WRT3 TADDR DAT_WRT3 P NUM_WRT3 N R STEP 3 LD LD LD LD MOVE_WORD ST DAT_WRT3 1 LD MOVE_UNIT ST NUM_WRT3 1 LD ...

Page 255: ... output data semaphore clear S3 DUMMY_R2 S2 EN ENO MOVE_WORD ADR_RED2 SET 760 LD ENO ADR_RED2 SET 260 LD EN MOVE_WORD MOVE_UNIT ST NUM_RED2 1 LD STEP 4 E MREAD SLOTNO T ADR_RED2 TADDR DAT_RED2 P NUM_RED2 N LD LD LD LD COMP_RED2 DAT_RED2 EQ_WORD 0 S STEP 5 POL LD POL S STEP 14 R STEP 4 LD COMP_RED2 ...

Page 256: ...Slave Data Input Output D Input data semaphore read S3 DUMMY_R3 S2 EN ENO MOVE_WORD ADR_RED3 SET 762 LD ENO ADR_RED3 SET 262 LD EN MOVE_WORD MOVE_UNIT ST NUM_RED3 1 LD STEP 5 E MREAD SLOTNO T ADR_RED3 TADDR DAT_RED3 P NUM_RED3 N LD LD LD LD COMP_RED3 DAT_RED3 EQ_WORD 1 S STEP 6 LD R STEP 5 LD COMP_RED3 ...

Page 257: ... D Write 0 in input data semaphore S3 DUMMY_W4 S2 EN ENO MOVE_WORD ADR_WRT4 SET 762 LD EN ENO MOVE_WORD ADR_WRT4 SET 262 LD 0 MOVE_WORD ST DAT_WRT4 LD STEP 6 E MWRITE SLOTNO S STEP 7 T ADR_WRT4 TADDR DAT_WRT4 P NUM_WRT4 N LD LD LD LD 1 MOVE_UINT ST NUM_WRT4 LD R STEP 6 ...

Page 258: ... for Slave Data Input Output D Write 1 in output data semaphore S3 DUMMY_W5 S2 EN ENO MOVE_WORD ADR_WRT5 SET 761 LD EN ENO MOVE_WORD ADR_WRT5 SET 261 LD 1 MOVE_WORD ST DAT_WRT5 LD STEP 7 E MWRITE SLOTNO S STEP 8 T ADR_WRT5 TADDR DAT_WRT5 P NUM_WRT5 N LD LD LD LD 1 MOVE_UINT ST NUM_WRT5 LD R STEP 7 ...

Page 259: ... of output data semaphore clear S3 DUMMY_R4 S2 EN ENO MOVE_WORD ADR_RED4 SET 761 LD EN ENO MOVE_WORD ADR_RED4 SET 261 LD STEP 8 E MREAD SLOTNO COMP_RED4 T ADR_RED4 TADDR DAT_RED4 P NUM_RED4 N LD LD LD LD 1 MOVE_UINT ST NUM_RED4 LD S STEP 14 EQ_WORD COMP_RED4 0 LD DAT_RED4 LD R STEP 8 ...

Page 260: ...ave Data Input Output D Input data semaphore read S3 DUMMY_R7 S2 EN ENO MOVE_WORD ADR_RED7 SET 762 LD EN ENO MOVE_WORD ADR_RED7 SET 262 LD STEP 14 E MREAD SLOTNO COMP_RED7 T ADR_RED7 TADDR DAT_RED7 P NUM_RED7 N LD LD LD LD 1 MOVE_UINT ST NUM_RED7 LD S STEP 15 EQ_WORD COMP_RED7 1 LD DAT_RED7 LD R STEP 14 ...

Page 261: ...ction Block D Received data read S3 DUMMY_R8 S2 EN ENO MOVE_WORD ADR_RED8 SET 0 LD EN ENO MOVE_WORD ADR_RED8 SET 0 LD STEP 15 E MREAD SLOTNO SYN T ADR_RED8 TADDR READ_DT P NUM_RED8 N LD LD LD LD N_RPOL MOVE_UINT ST NUM_RED8 LD S STEP 16 SYN S DONE2 R STEP 15 ...

Page 262: ...nput data semaphore End S3 DUMMY_W8 S2 EN ENO MOVE_WORD ADR_WRT8 SET 762 LD EN ENO MOVE_WORD ADR_WRT8 SET 262 LD 0 MOVE_WORD ST DAT_WRT8 LD STEP 16 E MWRITE SLOTNO S DONE1 T ADR_WRT8 TADDR DAT_WRT8 P NUM_WRT8 N LD LD LD LD 1 MOVE_UINT ST NUM_WRT8 LD R STEP 16 REQ ERR STEP 0 IN Q TON_100ms TIME1 ST 20 LD PT ET TMR1 REQ DONE1 DONE2 ERR DONE ...

Page 263: ...on bit ON Network power abnormal OFF Network power normal d Parameter setting request slave device In specifing scan type of slave device the mix of polling and bit strobe was available at old model DN611 but this specification is stopped using in DN611A This is because the slave which uses the mix of polling and a bit strobe does not exist e Operation mode control request Although the bit 4 was t...

Page 264: ...ice data is allocated from the head of input output data area for DN611 in order with small node address of the registered slave device Refer to 4 4 Allocating Slave Device Data to the Input Output Data Area In DN611A after setting the slave device parameter in DN611A by using DeviceNet Wizard for TOSHIBA the user can freely allocate the slave device data to input output data area of DN611A Situat...

Page 265: ...n old model DN311 is solved in DN311A Using the polling mode slave device which transmission data size from master device is 0 bytes when that slave device fails to communicate with DN311 due to some reason power of that slave device side turned OFF connector removed etc DN311 cannot identify that slave device being malfunctioned Even after the cause of the failure is solved no communication betwe...

Page 266: ...network and actual various work is done There are three kinds of interfaces of the following by which the personal computer is connected with the DeviceNet network Please buy the product from each maker s agency Product code Explanation Maker 1770 KFD RS 232C interface Rockwell Automation 1784 PCD PCMCIA interface Rockwell Automation 5136 DN ISA bus interface S S Technologies ...

Page 267: ... Area 53 N network power supply 35 Node error counter 62 Nodes 3 Number of bit strobe devices 64 Number of online devices 64 Number of polling devices 64 O ODVA Open DeviceNet Vendor Association 1 P Polling instruction response 8 Polling no response device map 64 R RAS information Area 53 S Semaphore Area 53 Station status 59 Synchronous mode 11 T Total number of devices 64 Trunk Line 3 Index Inde...

Page 268: ......

Page 269: ...DN611A 1st edition 14th May 2001 0845 0 0105 TOSHIBA CORPORATION SOCIAL INFRASTRUCTURE SYSTEMS COMPANY CONTROL MEASUREMENT SYSTEMS DIVISION 1 1 Shibaura 1 chome Minato ku Tokyo 105 8001 Japan Tel 81 3 3457 4900 Fax 81 3 5444 9268 TOSHIBA Corporation 2001 All Right Reserved ...

Page 270: ......

Reviews: