Table 8-4. koyo plc write control bytes, 7 set-up procedure – Micromod Micro-DCI: 53MC5000 PLC AND PRINTER INTERFACES User Manual
Page 97

Table 8-4. Koyo PLC Write Control Bytes
Title
Definition
DDI-A DDI-B
Set
By
De-
fault
PLC Address
It is the address of the PLC to be accessed. B674
B650
User
0
Starting PLC Memory
Address (Low)
The two byte PLC memory address that
states where to start writing data into the
PLC memory. Each byte is a decimal
number; however, both bytes together
function as a 16 bit unsigned binary integer
(see Koyo Read Control Bytes for example).
B675
B651
User
0
Starting PLC Memory
Address (High)
B676
B652
User
0
Number of L-Words
to Write
The number of L-words that are to be
written to the PLC.
B677
B653
User
0
Number of C-Words
to Write
The number of C-words that are to be
written to the PLC.
B678
B654
User
0
Memory Type
This byte must be 31.
B679
B655
User
0
Communications
Error*
0 = no errors. 255 = timeout error - a
timeout error indicates no response came
back from the PLC. 254 = bad checksum
(CRC) - a bad checksum indicates even
though the frame was formatted properly,
the data can not be used. 253 = bad
message - bad message indicates that
errors were found in the predictable portion
of the message from the PLC. 252 and 251
= PCS hardware malfunction.
B682
B658
Soft-
ware
0
Error Count*
This byte is a running total of the non-zero
Communications Error Codes.
B683
B659
Soft-
ware
0
*User can reset by writing zeros into the datapoints.
8.7 SET-UP PROCEDURE
The Koyo PLC documentation must be referenced to install and configure the PLC.
1. Reference the 53MC5000 Process Control Station book listed in the Preface to install the PCS.
2. See Section 2 of this book to mount the RS-232/485 ITB and cable connect it to the PCS.
3. See Figure 8-2 in this section to fabricate a custom RS-232 cable required to connect J1 to the
PLC or see Figure 8-3 in this section to fabricate a custom RS-485 (422) cable required to con-
nect TB2 to the PLC.
4. See Section 2 of this book for the required power connections to the RS-232/485 ITB.
5. Define the PLC memory map as determined from the quantity of L-bytes and C-words to be
transferred between the PCS and PLC. The size and address locations of the PCS L- and C-
memory areas are defined in Section 3.1 and illustrated in Figures 3-1 and 3-2.
Section 8. Koyo Mode
KOYO
8-5