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

The text of a manual · part 40 of 44

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

Pages 356 to 359 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 356

(6) Format of the transferred message relative word setting item data size data range address +00W Destination node address(MAC ID) 2 bytes 0000h - 003Fh +01W Service code 2 bytes 0000h - 00FFh +02W Class ID 2 bytes 0000h - FFFFh +03W Instance ID 2 bytes 0000h - FFFFh +04W Service data size 2 bytes 0000h - 0080h +05W Service data 0 – 128 bytes | +44W Destination node address (MAC ID): The destination node address (0 - 63) of the explicit message is set. Service code: The service code defined by DeviceNet is set. Class ID: The destination class ID of the explicit message is set. Instance ID: The destination instance ID of the explicit message is set. Service data size: The byte number of the service data is set. Service data: The data defined by the service code is set. Attribute ID: In case that the destination attribute ID of the explicit message is set, it is set to the top of the service data. (7) Format of the response data relative word setting item data size data range address +00W Completed flag of reception 2 bytes 0000h or 0001h +01W Destination node address(MAC ID) 2 bytes 0000h - 003Fh +02W Service Code 2 bytes 0000h - 00FFh +03W Reserved 2 bytes indetermination +04W Reserved 2 bytes indetermination +05W Service data size 2 bytes 0000h - 0080h +06W | Service data 0 – 128 bytes +45W Completed flag of reception: The flag is shown the reception completion of the receiving data. 0000h: not completed, 0001h: completed Service Code: In case of the normal response, the data that the MSB of the service code specified by the command is set is saved. (ex: service code 10h -> response code

90h)

In case of the error response, 94h is saved. Service data: The data defined by the service code is set. In case of the error response, the error code (2 bytes) is saved. So, the service data area must have 2 bytes or more area. Reserved: For extending in the future Note) The area saved the response data must clear (set 00h) at the initial stage.

9-131

Page 357

(8) Usage of MSET command Example for usage OP1 ---- Link program No. = 1, Link No. = 3, Data size of transferred message = 16 bytes OP2 ---- Top address of register area saved transferred message = D0L OP3 ---- Top address of register area saved response data = D100L MSET

1310h

D0L

D100L

Condition for execution Usable flag for link command(V90,92,94,96,98,9A,9C,9E)

The usable flag for the link command is shown the response condition for the explicit message command. The address of the flag is determined by link No. Link NO. Address of flag

1

2

3

4

5

6

7

8

V90 V92 V94 V96 V98 V9A V9C V9E

Note) (1) This command can not be executed when CPU has stopped. (2) The condition for execution must be edge. (3) On the same condition, the number of the executable MSET commands is MAX 15. In case of 16 or more, the function error is occurred.

9-132

Page 358

9.6. Special register The register associated with the built-in link of PC3JG is as follows. Address S0A8

Content

Remarks

Link1

~

~

S0AF S0B0

Link8 (Link2-1)

~

~

S0B7 S0B8

(Link2-8) (Link3-1)

Link module code (data single mode)

Specially designed for PC3JG

Link module code (data single mode))

Specially designed for PC3JG

The state of communication of the child station (during communication =1)

PC link PC3JG DLNK-M2

~

Specially designed for PC3JG

~

Link module code

S0BF

(Link3-8)

S3#0 S3#1 S3#2 S3#3 S3#4 S3#5

Slave 1~15 Slave 16~31 Slave 32~47 Slave 48~63

DLNK Master status area

DLNK-M2

S3#C S3#D S3#E S3#F S3*0

Slave 1~15 Slave 16~31 Slave 32~47 Slave 48~63

PC link PC3JG DLNK-M2 PC3JG

The state of connection of the child station (existence of connection

Register for rink error information output S3*B S3*C Slave 1~15 Specify separation of the child PC link Slave16~31 S3*D station (separation=1) DLNK-M2 Slave32~47 S3*E Slave48~63 S3*F Note. PC3JG PC3JG built-in link is exclusively applied. The above address is determined by link Number. In the data separate mode, "link No. in each program", "#" and "*" correspond as follows. Link No. 1 2 3 4 5 6 7 8 # 0 2 4 6 8 A C E * 1 3 5 7 9 B D F In the data single mode, the "link 2-1 to 2-8" and "3-1 to 3-8" correspond as follows. Address ES000

Name Link2-1

~

~

ES0FF ES100

Link2-8 Link3-1

~

~

ES1FF

Link3-8 correspondence

Communication(Link) Module Status info. Communication(Link) Module Status info.

9-133

Correspondence toS300~S3FF

Correspondence toS300~S3FF

Page 359

Link module code list module name code

PC link master

0102

PC1-I/F output

0102

PC link slave

0002

PC1-I/F input

0002

Computer link

0003

ME-NET master

0104

ME-NET slave

0004

SIO module

0005

Memory card I/F

0005

High speed remote I/O

0008

AS-I

0008

HPC link master

4009

SUB-CPU master

4009

HPC link slave

**09

SUB-CPU slave

**09

2-port M-NET

0002

Pulse output module

0100

DLNK-M

8008

DLNK-S2

8008

DLNK-M2

8208

Ethernet

8203

AF1K

800E

MA1K

810E

Motion controller

820E

FL-net(8KB)

8009

FL-net(16KB)

8109

FL-net(32KB)

8209

PROFI-S2

8309

9-134

** : Slave number ** : Slave number