Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 33 of 44

Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual: 9. Built-in function, pages 286 to 295

Pages 286 to 295 of 387, from Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual

The original document is the PDF (16 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Toyopuc OUT-15 and Toyopuc OUT-18

Page 286

F

H

The normal sequence doesn’t start after the connective sequence terminates.

The normal sequence from the master station can’t be transmitted.

Check whether the master station is normal ?

G

Communication abnormality in the Connective sequence with the Slave-station.

Is power supplied to the Slave-station? → Supply power to the Slave-station. Is wiring right?

→

Distribute wires properly.

Supply power again.

Release

Y

N Termination

Exchange modules

Termination

9-61

Page 287

9.3.

Built-in DLNK-M2 (1) DLNK specification Item Communication speed

Specification 500/250/125kbps (selected with a switch) Communication The maximum length of The length of a The total length speed a network branch line of the branch line

The distance of communication

500kbps

Less than 100m

Less than 6m

Less than 39m

250kbps

Less than 250m

Less than 6m

Less than 78m

Less than 500m Less than 6m 125kbps The maximum number *1 64units ( master 1 unit, slave 63 units) of connection nodes

Less than 156m

Node address I/O points I/O layout

Master : 00 Slave : 01 ~ 63 Input: Maximum 2048 points (256 bytes) Output: Maximum 2048 points (256 bytes) Minimum 8points unit

Link area X·Y,M,L,EX · EY,EM,EL,GX·GY,GM *2 *1 In the case of TOYOPUC DLNK, this applies only to the asynchronous mode. There are no relations in input and output type, and the number of maximum connection notebooks is restricted with synchronous mode in the following. Data rate

Maximum number of connected nodes

500kbps 250kbps 125kbps

9 7 6

*2 GX/GY and GM area can be used in the PC3JG separate mode.

9-62

Page 288

(2) Link No. and Link Area Link parameters can be optionally set for link No. 1 ~ 8 of program 1 ~3. Where internal relay (M) or link relay (L) is set in the link area, the relay area in program for which the link parameter was set becomes the link area. I/O (X, Y) area and extended area (EX · EY, EM, EL, GX · GY ) are common to each program.

Link 1-1 ~ 1-8

Link 2-1 ~ 2-8

Link 3-1 ~ 3-8

Program 1 (PRG.1)

Program 2 (PRG.2)

Program 3 (PRG.3)

LINK PARAMETER

LINK PARAMETER

LINK PARAMETER

Link parameter can be optionally set for link No. 1 ~ 8 of program-1 ~ -3. I/O (X, Y) area is common to each program.

I/O (X · Y) PRG.1 INTERNAL RELAY (M)

PRG.2 INTERNAL RELAY (M)

PRG.3 INTERNAL RELAY (M)

PRG.1 LINK RELAY

PRG.2 LINK RELAY

PRG.3 LINK RELAY

(L)

(L)

(L)

Where internal relay (M) or link relay (L) is set in the link area, the relay area in program for which the link parameter was set becomes the link area.

Extended I/O(EX · EY , GX · GY)

EXTENDED INTERNAL RELAY(EM , GM)

EXTENDED LINK RELAY(EL)

9-63

Extended area is common to each program.

Page 289

(3) Notes when input-output(X,Y)is used in the communication area. Make sure that I/O module connected to CPU doesn’t overlap I/O address. X·Y000

X·Y000

X·Y7FF

X·Y7FF

X·Y7FF

X·Y000

X·Y000

X·Y000

X·Y7FF

X·Y7FF

X·Y7FF

×

Bad

O

Good

X·Y000

The area of input-output overlaps that of communication.

When the communication area is put between input-outputs

I/O area of PLC DLNK communication area.

When input-output exists after the communication area.

An area where I/O area of PLC overlaps the communication area of DLNK

Input-output refresh, input refresh, and output refresh of application order can not be used for the Even when used for DLNK output, the memory in CPU can be regarded as an input, so if the communication area is monitored with I/O monitor, X will be displayed.

9-64

Page 290

(4) Set communication mode Set the communication mode with a DLNK set up switch

Sync Stop Hold -

87654321

OFF ON

Switches on the front panel Setting Name Sync

OFF ON OFF ON

Stop

8 7 6 5 4 3 2 1

SW1 Address

OFF

4

OFF

5

OFF

6

OFF

7

OFF

8

OFF

X1

0

X10

0

An address sets both as 0. Function

Communication is not synchronized with a sequence scan. Communication is synchronized with a sequence scan.

Communication timing

Continue RUN Stop RUN

RUN state of CPU when communication abnormality occurs.

OFF ON

3 x10

Content

Turn OFF communication output. Retain communication output. (Set it OFF) Switches on the side panel Setting No. Content OFF ON 1 125K 250K bps bps OFF OFF 2 Hold x1

Output state when RUN of CPU stops. Reserved Function OFF ON

500K bps

Baudrate

(Set all of them OFF )

Reserved

Master station (Set all of them 0 )

Node address

9-65

Page 291

(5)Display Display lamp indicating DLNK state includes NS, MS and DE.

Each NS and Ms lamp has a green and a red color, and display these states by lighting, flashing, and putting out.

Lamp name

DE lamp displays these states by lighting, flashing, and putting out.

Color Green

MS

Red -

Define state

Define state a proposal Normal state Not yet set up Mortal failure Light failure No power supply Normal state

Green

NS

Not yet connected Communication abnormality

Mortal Communication abnormality -

DE

Red

Abnormality of power supply of the network Mortal failure Mortal failure of the communication part Parameter abnormality Set parameter abnormality

Normal state : lighting : flashing

Content Normal state of a module In the process of reading set switch Hardware abnormality Set switch failure and the like • The power supply is not supplied to DLNK-M2. • In the process of resetting • Waiting to be initially processed. Normal state of a network The network is normal; communication is not yet established Detected abnormality unable to communicate on the network. • Duplicate node address • Detect Bus-off Communication abnormality of the child station of the communication part. No power supply for communication Hardware abnormality Hardware abnormality of the communication part Communication abnormality of a part of the slave station

Normal state of module : putting out

(note) When building DLNK-M2 into is unused, the MS lamp might red light or blink red,but it does not have the influence on other functions. 9-66

Page 292

9.3.1.

System Configuration The DLNK network can be constructed as shown below.

Terminating Resistor

Terminating Resistor

Trunk line

Trunk line

Communications Power Supply

Multi-drop

T branch

Node

Node

Node

Drop line

Node

Drop line

Node

Drop line

Node

Drop line

Node

Node

Node

Node

Drop line

Node

Drop line

Node

Drop line

Multi-drop

Mixture

: Trunk line : Drop line : Network power line

T branch Node : DeviceNet Master / Slave Configuration Name

Node

Trunk line and Drop line

Cable

Connection method

Terminating Resistor Communications Power Supply

Explanation In DeviceNet nodes, there are slaves to connect I/O devices and a master to integrate respective slaves. There exists a single unit of master on one network. The positions of master and slave are not fixed, so you may arrange master and slave at any node position. DLNK-M2 is the master unit. The trunk line indicates the cable to which connect the terminating resistance in both ends. All the cables branched from trunk line are drop lines. The communication cable only for DevieNets (5-wire) is used. 3 wires are used for communication, while 2 wires are used for network power source. There are THICK cable and THIN cable as the communication cable. There are a multi-drop method and a T branch method in the connection method of the node. The T branch method is a wiring technique to which the communication cable is separated with the Branch unit. The multi-drop method is a wiring technique by which communication cable is extended from the node to the node. It is necessary to arrange terminating resistor at each end of the trunk line in order to stabilize the communication line. As the resistance, use a 121Ω 1/4W metal film resistance. Each node requires communications power supply (24 VDC). The network power is supplied to each node through power line in 5-wire cable.

9-67

Page 293

9.3.2.

Order of Power on Supply power first to the slave then to the master, or supply power to both the slave and master at the same time. Supplying power first to the master and then to the slave may cause communication error. And cutting off power supply to the slave after start of communication may cause communication error too. Power supply order Master

2)

1)

Slave

1)

2)

Result

O

×

Simultaneously O

The master does not regard response delay in the slave for up to 18 seconds. During this period, the master carries out communication recovery actions. And if recovery is not possible then, it reports the situation as communication error. Note 1: To remove communication error, reset and start the CPU or turn the communication reset ON. (Refer to "9.3.3. Communication Reset.") Note 2: The master continues communication when the communication of all the slaves is normal.

Even if one slave is missing, the master regards it as communication error and stops communication. (Use the unlinking function to continue communication. Refer to "9.3.4. Unlinking Function." DLNK-M2 can choose the communication stop / continuation at the communication error by setup of Link Parameter.) Note 3: It will normally take 6.6 seconds from supplying power or reset/start to the establishment of communication. The actions of the master before the establishment of

START

Order communication are shown below.

1) 6.6 sec

Action contents

MS LED

DE LED

Green

Node address duplication checking

2) Reading parameter 3) Confirming slave At normal condition I/O data communication 4) At error I/O data communication stop

NS LED

Green

Green

Green

Green

Green

Green

Refer to “9-3-7 Abnormality information of DLNK-M2” Lighting on, Flickering, Lighting off

9-68

Page 294

9.3.3.

Communication Reset Communication reset is the function to make communication resume, when communication stops by communication error. To reset communication, turn the communication reset special relay OFF → ON. The special relay I/O address corresponding to the master's link number is as shown below:

Link No. 1 2 3 4 5 6 7 8

I/O address V80 V81 V82 V83 V84 V85 V86 V87

Note 1: Communication reset is valid only at rise of the special relay. Note 2: Communication reset is valid only at communication error. At normality, Communication reset is invalid. Note 3: Communication reset in the state of Transmission error (E2) and Busoff (F1) is invalid. Please do communication reset after removing abnormality at transmission error. Please reenter the power supply in the master when Busoff is generated. $ Communication reset by reset of CPU The reset switch of the CPU resets the communication. However, the communication is not reset as follows. • There is no change in the link parameter • It is not communication abnormal state (Be communicating normally) Communication Reset Circuit Example For 18 seconds after supplying power, communication recovery actions are carried out, so reset circuit is not necessary. The figure below is a circuit example for communication recovery at communication error. V82 Communication reset

Communication reset pushbutton signal VAA Communication error

Communication special relay error

Note 1: The above shows a circuit example of Link No.=3. Communication error special relay, communication reset differs with link number. Note 2: When "CPU RUN Stop" is set at communication error, the above circuit does not become valid. The setting switch at the master station sets with RUN condition at communication error. As for details, refer to “9.3 (4) Set communication mode”

9-69

Page 295

9.3.4.

Unlinking Function

When the slave gets in communication error, the master stops communication to all the slaves and reports error. The unlinking function is such that a specific slave is broken away (or reset) from the communication network. This function makes it possible to separate the slave that is in the abnormal state from the communication network and continue communication for other normal slaves.

Communication to Unlinked Slave (1) When the unlinked slave is normal: The master sends I/O OFF data to the unlinking-designated slave. The master reads and disposes the received data from the slave, and works as if it was received I/O OFF data. Even the output to the unlinked slave is turned ON, it sends OFF data on communication. The master carries out I/O data communication as usual with other slaves. Even when the master is turned on or its communication is reset with a slave in unlinking status, OFF data is exchanged. (2) When the unlinked slave gets in communication error: The master continues communication recovery actions until the error of the slave is removed. When error is removed, and there is normal response, it starts exchanging OFF data. During this period, the master carries out I/O data communication as usual to other slaves. To annunciate that the unlinking-designated slave has become abnormal in communication, the master generates error code D9 (Communication error) and abnormal slave number. Where the unlinking is designated for all slaves and all slaves get in communication errors, the master judges that not a single slave exists on the network, producing error code E2 (Transmission Error). At this time, in DLNK-M2, the unlinking function is valid, and it is invalid in DLNK-M/M-C. (3) When unlinking designation is canceled: In the case of (1) ----------- I/O data of normal ON/OFF is exchanged. In the case of (2) ----------- It is regarded as communication error, and error is reported, and communication is stopped to all the slaves. (4) Others When the unlinking-undesignated slave gets in communication error, the master reports error and stops communication to all the slaves.

9-70