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

The text of a manual · part 34 of 44

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

Pages 296 to 305 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 296

Designation of Unlinking Slave To unlink a slave, set data in special registers S3*C to 3*F. Bit No. represents node address (station number). MSB

LSB

S3*C

15 14 13 12 11 10

9

8

7

6

5

4

3

2

1

0

S3*D

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

S3*E

47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32

S3*F

63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48

Each bit = 1 : unlinking designation Each bit = 0 : no unlinking designation $ The asterisk portion of each special register is replaced by the link No. Link No.

1

2

3

4

5

6

7

8

*

1

3

5

7

9

B

D

F

9-71

Page 297

9.3.5. Communication Processing Time and Refresh Processing Time Here are explanations on the communication processing time and the refresh processing time in the case of DeviceNet network configuration using a master and a slave unit manufactured by JTEKT CORPORATION. [ Conceptual diagram of communication processing and refresh processing ] Refresh processing

Communication processing

PLC

Master

(PC2F/FS)

(master station) Slave

Slave

Slave

(Satellite station)

(1)Theoretical value of communication processing time (ms) Communication processing time : I/O data transmission processing time between master (master station) and slave (satellite station) Communication processing time (TDV) = (TIN +TOUT +TMIX +2.2) TIN : Communication processing time with IN slave TOUT : Communication processing time with OUT slave TMIX : Communication processing time with IN/OUT mixture slave 1) TIN = Σ [(0.102+0.008×SIN )×RB+0.09×RR+0.06]+0.265×SC-IN+0.115×RB+0.06 2) TOUT = Σ [(0.102+0.008×SOUT ) ×RB+0.06×RS+0.09]+0.3×SC-OUT 3) TMIX = Σ [(0.102+0.008×SMIX ) ×RB+0.06×RS+0.09×RR]+0.3×SC-MIX SIN

: Communication byte number of one IN slave

SOUT

: Communication byte number of one OUT slave

SMIX

: Communication byte number of one IN/OUT mixture slave

SC-IN

: Number of IN slave

SC-OUT : Number of OUT slave SC-MIX : Number of IN/OUT mixture slave RB

: 2(500Kbps), 4(250Kbps), 8(125Kbps)

RR

: SIN

RS

: SOUT / 7 (raising decimals to the nearest integer)

Note

: Communication byte number and number of slave are values set in

/ 7 (raising decimals to the nearest integer)

parameter. (2)Theoretical value of refresh processing time (ms) Refresh processing time : Time required to deliver I/O data between PLC(CPU) and master (master station) Refresh processing time (TR) = 0.028 × [number of connected slaves]+ 0.024 × [total communication byte number]+ 12.37 Note : Communication byte number and number of slave are values set in parameter.

9-72

Page 298

9.3.6. Communication Data Response Time Communication data response time is the time since the input data detected by slave is transmitted to DLNK-M and processed by PLC(CPU) until it is output by slave. IN communication data response, there are synchronous mode and asynchronous mode with sequence scan. The timing chart of communication data response time at each mode is shown below. (1)Asynchronous mode PLC Master Slave TID

TDV

TR

TDV

TSC

TR

TSC

TDV

TR

Input ON/OFF

Sequence scan time

TDV

TOD

Output ON/OFF

Communication processing time

Refresh Processing time

Input / output ON/OFF delay time

TID : Input ON/OFF delay time

TSC : Sequence scan time

TR : Refresh processing time

TOD : Output ON/OFF delay time

TDV : Communication processing time • Communication data response time theoretical value = TID+TDV×4+TSC×2+TR×3+TOD

9-73

Page 299

(2)Synchronous mode PLC Master Slave TID

TDV

TR

TDV

TR

TDV

TR

TSC

TDV

TR

Input ON/OFF

Sequence scan time

TDV

TOD

Output ON/OFF

Communication processing time

Refresh Processing time

Input / output ON/OFF delay time

TID : Input ON/OFF delay time

TSC : Sequence scan time

TR : Refresh processing time

TOD : Output ON/OFF delay time

TDV : Communication processing time • Communication data response time theoretical value = TID+TDV ×5+TSC+TR ×4+TOD Maximum number of connected nodes in synchronous mode communication In synchronous mode communication, the maximum number of connected nodes is limited to the following irrespective of input / output type. Communication speed

Maximum number of connected nodes

500kbps

9

250kbps

7

125kbps

6

9-74

Page 300

9.3.7. Abnormality information of DLNK-M2 Detecting an abnormality in DLNK-M2, inform DLNK-M2 and CPU of the abnormality.

DLNK-M2 indicates the abnormality with DE, NS(network Status) and MS(Module Status) lumps and a message display. CPU indicates the abnormality with a special relay, a special register (a register for error information output and a register for link error information output) and a message display.

The Communication State of DLNK-M2 can be checked with the special register. (1) NS, MS, DE lumps Each NS and Ms lamp has a green and a red color, and display these states by lighting, flashing, and putting out. DE lamp displays these states by lighting, flashing, and putting out. Lamp name

Color Green

MS

Red -

Define state

Define state in proposal Normal state Not yet set up Mortal failure Light failure

Content Normal state of a module In the process of reading set switch Hardware abnormality Set switch failure and the like • No power supply of 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 Busoff Communication abnormality of the child station of the communication part.

No power supply Normal state

Green

NS

Red

-

DE

Red

Not yet connected Mortal communication abnormality

Communication abnormality Abnormality of power No power supply for communication supply of the network Mortal failure Hardware abnormality Mortal failure of the • Hardware abnormality of the communication communication part part Communication • Communication abnormality of a part of the abnormality slave station Parameter • Set parameter abnormality abnormality Normal state Normal state of module : lighting : flashing : 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-75

Page 301

(2) Message display DLNK-M2 indicates an abnormal code, a node address of a slave that caused abnormality, and the like on the message display besides MS, NS, DE. • Normal state-----The node address of DLNK-M2 is displayed in the decimal system(00-63). Normally it is displayed in 00.

It flashes before I/O is communicated and lights during communication. • Abnormal state---Alternately display the abnormal code(hexadecimal system) with a node address of abnormality occurrence(decimal system).

9-76

Page 302

9.3.8. Error information by CPU (1) Special Relay

All station in communicating flag turn ON at normal, and other flags are turned ON at error. Address VA0 VA4 VA8 VAC VB0 VB4 VB8 VBC VA1 VA5 VA9 VAD VB1 VB5 VB9 VBD VA2 VA6 VAA VAE VB2 VB6 VBA VBE VC4 VC8 VF2

Contents Link No.1 All station in communicating Link No.2 All station in communicating Link No.3 All station in communicating Link No.4 All station in communicating Note) When the unlinking Link No.5 All station in communicating function is set, it becomes 0. Link No.6 All station in communicating Link No.7 All station in communicating Link No.8 All station in communicating Link No.1 Link parameter error Link No.2 Link parameter error Link No.3 Link parameter error Link No.4 Link parameter error Link No.5 Link parameter error Link No.6 Link parameter error Link No.7 Link parameter error Link No.8 Link parameter error Link No.1 Communication error Link No.2 Communication error Link No.3 Communication error Link No.4 Communication error Link No.5 Communication error Link No.6 Communication error Link No.7 Communication error Link No.8 Communication error Error with special module(Communication module failure) I/O configuration error (9 communication modules or more mounted) (Communication modules memory capacity over 61k bytes) Special module allocated error (Rack No., Slot No., Link module name in link parameter different from state of mounting.)

At normal

At error

1

0

0

1

0

1

0

1

0

1

0

1

(Note) The address of the special relays are the case of the PC2 compatible mode and the data memory separate mode (the PC3 mode).

9-77

Page 303

(2) Special Register DLNK-M2 stores the data of error condition and communication condition into the following address of PLC. Address S200 | S24F S3#0 S3#1 S3#2 S3#3 S3#4 S3#5 S3#6 | S3#B S3#C | S3#F S3*0 | S3*B S3*C S3*D S3*E S3*F

Contents CPU error output register Normal slave data area This displays the communication conditions (normal / error) of each slave. The slave status area Indicating DLNK-S2 and network status. CAN error data area Various CAN error counts are set. Connection office connection state Link error output register

Unlinking register

The # and * portion of the above address are determined by link No. Link No. # *

1 0 1

2 2 3

3 4 5

4 6 7

5 8 9

6 A B

7 C D

8 E F

(Note) Information stored in the register is not cleared after restoration from error. Write “0000” on the register by I/O monitor or programmer to clear error information. The address of the special relays are the case of the PC2 compatible mode and the data memory separate mode (the PC3 mode).

9-78

Page 304

(3) Special Register for Error Information Output When any error is detected, error code, error related information, and error detection time are stored in the special register for error information. This register is a 8-step shift register and can store up to 8 errors. When error are detected more than 8 times, the oldest error information is lost. Error information stored in the register can be read by the programmer, etc. Contents of register Latest

S200 S20A

S214 S21E S228 S232 S23C S246 Oldest S24F

Error 0 Information Error 1 Information Error 2 Information Error 3 Information Error 4 Information Error 5 Information Error 6 Information Error 7 Information

Error code Error related information 1,2 Error related information 3,4 Error detection time(Second) Error detection time(Minute) Error detection time(Hour) Error detection time(Day) Error detection time(Month) Error detection time(Year) Error detection time (Day of the week)

Lost Error related data

Serious error

Error code

Error contents

2 -

3 -

4 -

VC8 ON

* Classifi cation

Rack No.

Slot No.

-

*2:CPU detection

-

-

-

-

VC8 ON

Link parameter error

Link No.

-

-

-

Communication error

Link No. Rack No.

-

-

-

Slot No.

-

-

81

FUNC. I/O OVER 2

84

I/O MODULE ERROR 2 FUNC. I/O OVER 1 LINK PARAM. ERROR LINK ERROR FUNC.I/O ALARM communication module failure

88

86 89

Relation 1 -

Communication module memory capacity over (over 61 kbytes)

85 Alarm

I/O monitor error message

9 communication modules or more packaged

Link parameter rack No. slot No. module name error

1,3:Link detection

VF2 ON

(Note) This differs from error code of DLNK-M2 (error code displayed on DLNK-M2)

9-79

Page 305

(4) Link Error Data Output Special Register At detection of error in DLNK-M2, error message is carried out to CPU, and the error code of DLNK-M2 is stored into the link error data output special register. This register has an 8-step shift register structure, and can memorize up to 8 errors. At errors over 8 errors, the first stored error data is deleted. Register contents of link error data output special register Link No. 1 2 3

Error display address S310 ~ S31F S330 ~ S33F S350 ~ S35F

Address

MSB

S3*0 S3*1 S3*2

4 5

S370 ~ S37F S390 ~ S39F

S3*3 S3*4

6 7 8

S3B0 ~ S3BF S3D0 ~ S3DF S3F0 ~ S3FF

S3*5 S3*6 S3*7 S3*8 S3*9 S3*A S3*B

Node Address(BCD) Error Code(hex) Input bytes(BCD)low Output bytes(BCD)low Setting input Setting output bytes(BCD)low bytes(BCD)low Input bytes(BCD)high Output bytes(BCD)high Setting input Setting output bytes(BCD)high bytes(BCD)high Node Address + Error Code stack1 NEW Node Address + Error Code stack1 Node Address + Error Code stack1 Node Address + Error Code stack1 Node Address + Error Code stack1 Node Address + Error Code stack1 Node Address + Error Code stack1 OLD

Content

LSB

Note 1) * decides by link No.. Link No.

1

2

3

4

5

6

7

8

*

1

3

5

7

9

B

D

F

Note 2) In case that “Number of real slave I/O bytes” is “Recognizes” in the link-parameters and error is “Collation error (bytes discrepancy)“, the number of I/O bytes is setting in the S3*1 – S3*4. S3*1 : The number of I/O bytes of the real slave. (low byte) S3*3 : The number of I/O bytes of the real slave. (high byte) S3*2 : The number of I/O bytes in the link parameters. (low byte) S3*4 : The number of I/O bytes in the link parameters. (high byte) In case that “Number of real slave I/O bytes” is “Not recognize” in the link-parameters or error is other errors, these are set 0000(h).

9-80