The text of a manual · part 30 of 44
Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual: 9. Built-in function, pages 256 to 265
Pages 256 to 265 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 256
41. PROGRAM PARAMETER WRITE TERMINATE, RESET /STATUS CONTINUE :ERS to request termination of program parameter write and reset/further status continuance.
E
R
S
SC(L)
R I
SC(H)
?
Program No.
:
AD(L)
:
AD(H)
Computer link command
C R
Designate the request for termination of program parameter write of designated Program No. After termination, the CPU continues the run status after resetting. (If it is in run, program parameter write during run is executed. ) Any command (conventional command) with no designation of Program 1 to 3 is not accepted. Program 0 is system parameter. By issuing this command, the CPU starts data transfer to the flash memory from edit RAM. Termination of data transfer to the flash memory is monitored by STATUS READ.
E
R
S
SC(L)
R I
SC(H)
#
Program No.
:
AD(L)
:
AD(H)
Computer link response
C R
<Note> Under single mode it is not allowed to use this command to write other than system parameter. ( Because of the common data area, if the CPU is reset/starts by special-program write during run the data are cleared and other program result in operation error. ) However, in the case of the pattern of " Program 1 only working" (Program pattern 9, 10) or run under PC2 Mode this command can be used.
42. EQUIPMENT INFORMATION WRITE START : IWS to request equipment information writing start.
I
W
S
SC(L)
R I
SC(H)
?
Block No.
:
AD(L)
:
AD(H)
Computer link command
C R
The equipment information of designated block No. is designated. Any command with no designation of block No. 0 to 6 is not accepted. By issuing this command before issue of EQUIPMENT INFORMATION WRITE command, pre-operation (transfer to the buffer) for the equipment information write is executed and execution of the EQUIPMENT INFORMATION WRITE command is permitted. Furthermore, program parameter write from other equipment is prohibited.
R I
I
W
S
SC(L)
?
SC(H)
:
AD(L)
:
AD(H)
Computer link response
C R
9-31
Page 257
43. EQUIPMENT INFORMATION WRITE to request termination of the equipment information write.
TERMINATE : IWE
I
W
E
SC(L)
R I
SC(H)
?
Block No.
:
AD(L)
:
AD(H)
Computer link command
C R
The equipment information of designated block No. is designated. Any command with no designation of block No. 0 to 6 is not accepted By issuing this command, the CPU starts transfer the write data to the flash memory from the edit RAM. Termination of data transfer to the flash memory is monitored by STATUS READ.
R I
I
W
E
44. CPU STATUS EXTENDED READ
SC(L)
#
SC(H)
:
AD(L)
:
AD(H)
Computer link response
C R to read CPU run status. (new command)
: MPE
R I
M
P
E
M
P
E
Data 2
SC(L)
?
SC(H)
:
AD(L)
:
AD(H)
Computer link command
No program designated. If designated, it is deemed as error. C R
Data No. Bit 7 6
R I
Data 1
Data 8
Data 7
SC(L)
#
SC(H)
:
AD(L)
:
AD(H)
Computer link response
C R
Data No. Bit 7 6
2 Content Major trouble Minor trouble
5
Alarm
4
1 Content RUN In stop Stop request in continuing In dummy stop
4
3
In DEBUG Mode
3
2 1 0
I/O Monitor User Mode PC3 Mode -
2 1 0
I/O allocated parameters change Memory card available -
Data No. Bit 7
7 Content -
Data No. Bit 7
8 Content In program -7 run
6
Limitation to program subsidiary information write
6
In program -6 run
5 4 3
-
5 4 3
In program -5 run In program -4 run In program -3 run
2 1 0
In program -2 run In program -1 run -
5
2 1 0
Equipment information write error In equipment information write Program parameter write error In program parameter write
9-32
Page 258
9.1.2.
Error report from Computer Link
This module counteracts by non-response or error response when being unable to response normally to command from host COMPUTER. (1) Non-response In the following case this module does not send response respond. • When start code “::” cannot detect in received data. • When command code “?” cannot detect in received data. • When end code “CR” cannot detect in received data. • When station No. is different from own station No. • When response time(RI) cannot detect correctly. (2) Error response This module sends response in the following format to host COMPUTER when it detects any of error which are detailed in Appendix 1 “Error codes”. :
:
A A D D % (H) (L)
R I
E E S S C C C C (H) (L) (H) (L)
C R
Hexadecimal two-digits Error Codes
(a) In case of no-response No.
Possible causes
Actions Match baud rate of this module with that of host COMPUTER.
1
Baud rate setup error
2
Different communication data type of host Select proper communication data type of host COMPUTER. COMPUTER.
3
Setup station No. in this module differs that in host COMPUTER.
Match station No. of this module with that of host COMPUTER or otherwise correct the station No. instruction in host COMPUTER command.
4
Connection error or disconnection of communication cable.
Check the cable for polarity and disconnection.
5
No START code “:”, “:” in command data of host COMPUTER.
Prefix “:”, “:” to command head.
6
No END code “CR” exits in command data of host COMPUTER.
Affix “CR” to last digit of command.
7
Transmission – receiving switching of the Switch host COMPUTER to RECEIVE READY communication circuit is not executed by after transmitting of command. host COMPUTER.
9-33
Page 259
(b) In case of error response (1) Error Code 01 No. 1
Possible causes Incorrect command data format of host COMPUTER
Actions Correct the command format.
(2) Error Code 03 No. 1
Possible causes Incorrect selection of address in command data of host COMPUTER.
Actions Reselect correct address in the command.
(3) Error Code 05 No. 1
Possible causes The number of transfer data in the command data of host COMPUTER is 0 or exceed 256 bytes.
Actions Correct the number of transfer bytes in the command.
(4) Error Code 0A No. 1
Possible causes Communication data break by noise, etc.
Actions Check that communication cable is exactly connected or the cable and strong power cable are not close to one another.
(5) Error Code 0D No. 1
2
Possible causes Actions Error of sum check data that was created by Correct sum check data. host COMPUTER. Communication data break by noise, etc.
Check that communication cable is exactly connected or the cable and strong power cable are not close to one another.
(6) Error Code 0E No. 1
Possible causes Write or scanning restart permit were attempted without setting up WRITE PERMIT by “EWR” command or without executing RESTART PERMIT setup.
9-34
Actions Correct sum check data. Check that communication cable is exactly connected or the cable and strong power cable are not close to one another.
Page 260
(7) Error Code 13 No. 1
Possible causes TOYOPUC-CPU interface error.
2
Error of this module
3
Error of the link parameter.
Actions Check if this module is exactly connected to CPU printed board. Execute RESET-START. If the display LED displays same error even after this execution, replace this module. Check the link parameter setup.
(8) Error Code 20 No. 1
Possible causes Error of communication command in command data of host COMPUTER.
Actions Check communication command.
(9) Error Code 2J1 No.
Possible causes
1
CPU reset under processing.
Actions Re-send the command.
(10) Error Code 22 No. 9
Possible causes “RDM” command was sent without setting up address by “RDA” command.
Actions Set up address by “RDA” command before reading it by “RDM” command.
(11) Error Code 31 No. 1
Possible causes Program write was attempted while sequence program is in run.
Actions Write program after having stopped sequence program run by “HLT” command, “PSC” command, etc.
9-35
Page 261
(12) Error Code 32 No. 1
2
Possible causes Scanning Stop Reset is not executed by “RUN” command.
Actions Execute “STA” command after having executed Scanning Stop Reset by “RUN” command.
Scanning Stop command (STOP) is output from peripheral devices such as program, etc.
Execute “STA” command after having reset Scanning Stop command (STOP) from peripheral device.
(13) Error Code 34 No. 1
Possible causes Read and write of sequence program and subsidiary information are prohibited.
Actions Sequence program and subsidiary information read and write by peripheral device, etc.
(14) Error Code 35 No. 1
Possible causes
Actions Reset the limit setup by device that has limited execution right.
No execution right.
(15) Error Code 36 No.
Possible causes
1
Execution right limit is set up.
Actions Reset the limit setup by device that has limited execution right.
(16) Error Code 38 No. 1
Possible causes EEPROM write is interlocked.
Actions Reset EEPROM write interlock.
(17) Error Code 39 No. 1
Possible causes I/O allocation parameter changed.
Actions Operate CPU RESET-START switch.
9-36
Page 262
(18) Error Code 3C No. 1
Possible causes
Actions
CPU hardware error.
Check CPU.
(19) Error Code 3D No. 1
Possible causes Sequence program and subsidiary information were written simultaneously from peripheral device or other link.
Actions Rewrite them.
(20) Error Code 3F No. 1
Possible causes Device address instructed by timer and counter, etc. does not exist in sequence program.
Actions Check device address.
(c) In other cases (1) The format of response from this module to host COMPUTER is not proper. No. 1
2
Possible causes Other station sent response while one station is sending ersponse.
Actions Review the timing of command sending to each station in host COMPUTER.
Host COMPUTER has become ready for receiving after this module sent response.
Set up response time according to the processing speed of host COMPUTER.
(2) Host COMPUTER receives, as is, data that sent as command to station. No. 1
Possible causes Transmission-receiving switching of the communication circuit in host COMPUTER is not executed.
Actions Control the circuit at host COMPUTER side.
(3) Sum check error occurs at host CPU side. No. 1
Possible causes Actions Communication data break by noise, etc. Check that communication cable is exactly connected or the cable and strong power cable are not close to one another.
9-37
Page 263
9.2. Built-in PC Link For the detail, see " Instruction Manual for PC2 Series PC Link /Computer Link ". (1) PC link specification Items
Specification
I/O points Transmission points per station No. of stations
Max 515 points/1 port
Max 16 stations (master 1, slave 15 ) /1 line
I/O allocation Transmission distance
Minimum setting unit :8 points Max 1 km (total length)
Signal level
Conforming to EIA RS-422
Communication speed
19.2 kbps / 57.6 kbps / NC × 3speed *1
Synchronous system
Start-stop synchronous
Transmission system
Semi-dual system (2-wire type)
Bit composition
JIS 7 unit system, 10 bits
Check system
Vertical parity, horizontal parity (Even number)
When 19/.2kbps/57.6kbps is selected When NC×3 selected
: Max 384 points : Max 512 points
(Presetting)
Cable Shielded twist bare cable Transmission data at CPU OFF data / Pre-stop data (Be presetting) stopping CPU operation against Stop/RUN continue (Be presetting) communication error Communication error under As error /repeat (Be presetting) connection sequence *1 This speed is set to communicate with NC machine corresponding to M-NET×3 speed.
9-38
Page 264
(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, GM ) 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-39
Extended area is common to each program.
Page 265
(3) Matters to be attended to operation of I/O relay (X/Y) Pay attention not to overlap I/O module and I/O address that are connected to CPU are not overlapped when I/O relay (X and Y) is used in communication area.
X,Y000
X,Y000
X,Y000
O Allow -ed
X,Y7FF
X,Y7FF
X,Y7FF
X,Y000
X,Y000
X,Y000
× Not allow -ed
X,Y7FF Actual
X,Y7FF I/O communication and
X,Y7FF
When communication area is inserted between actual I/O
When actual I/O exist after communication area.
and I/O.
are overlapped.
I/O modules (input, output, I/O) connected to CPU PC link communication area Application command is not applied for such communication area as I/O refresh (RIO, FUN No. = 282), input refresh (RI, FUN No. = 281) and output refresh (RO, FUN No. = 282). Even used as output of PC link, memory in CPU will be input. Therefore display of X is resulted when communication area is monitored using I/O monitor.
9-40