
10 |
10-2 Basic commands
Meaning and available memory address ranges of each command are shown in the table below
-Numeric values of each command are command numbers specified by the
-Write mode assignment shows write enabled/disabled to the PC memory. (See command No. F9(H).)
Command | Setting available address range (octal) and notes for use | Write mode | |||
|
|
| assignment | ||
| JW20/JW20H |
| JW30H | ||
|
|
| |||
| 00000 to 15777 (relay) |
| 00000 to 15777, |
| |
|
| 20000 to 75777 (relay) |
| ||
Reading Relay |
|
| |||
| None | ||||
20(H) | point) |
| |||
|
| ||||
|
|
| |||
| Set in units of one points |
|
|
| |
|
|
|
|
| |
Relay start/reset | 00000 to 15777 (relay) |
| 00000 to 15777 |
| |
| 20000 to 75777 (relay) | 1 or 2 | |||
30(H) |
|
| |||
Set in units of one points (SET = 1, RESET = 0) |
| ||||
|
| ||||
|
|
|
|
| |
| コ 0000 to コ 1577 |
| コ 0000 to コ 1777, コ 2000 to コ 7777 |
| |
| b0000 to b1777 |
| b0000 to b1777, b2000 to b3777 |
| |
| 09000 to 09777, 19000 to 19777 |
| 09000 to 09777, 19000 to 19777 |
| |
| 29000 to 29777, 39000 to 39777 |
| 29000 to 29777, 39000 to 39777 |
| |
| 49000 to 49777, 59000 to 59777 |
| 49000 to 49777, 59000 to 59777 |
| |
Reading register current value | 69000 to 69777, 79000 to 79777 |
| 69000 to 69777, 79000 to 79777 | None | |
24 (H) | 89000 to 89777, 99000 to 99777 |
| 89000 to 89777, 99000 to 99777 | ||
|
| ||||
| E0000 to E1777 |
| E0000 to E1777 |
| |
|
|
| - For details about the file register, |
| |
|
|
| see page |
| |
|
|
|
| ||
| Can be set to read up to 1024 bytes at one time. |
| |||
| Write to register 24(H). |
|
|
| |
| The allowable address ranges are the same as shown in "Reading the |
| |||
Write to register | register's current value 24(H)." |
|
|
| |
34(H) | Can be set up to 1024 bytes at one time. |
| |||
| You must enter a value for the number of bytes that will be written. |
| |||
Write the same data into | The allowable address ranges are the same as shown in "Reading the | 1 or 2 | |||
register | register's current value 24(H)." |
|
| ||
|
|
| |||
35(H) | Can be set up to 1024 bytes at one time. |
| |||
Set/reset TMR/CNT | 000 to 777 |
| 000 to 0777, 1000 to 1777 |
| |
32(H) |
|
|
| ||
Set in units of one points (SET = 1, RESET = 0) |
| ||||
| Different with control module and |
|
|
| |
| memory module types |
| Different with control module |
| |
| - |
| - |
| |
| - |
| - |
| |
| When using memory |
| - |
| |
Read program memory 04(H) | module |
| or 000000 to 076777 | None | |
/21MO/21ME) |
| - | |||
| 000000 to 016777 |
| - |
| |
| (When using memory |
| 1000000 to 176777 |
| |
| module |
|
|
| |
| Can be set up to 512 steps per one reading. |
| |||
| Data are read out with machine language. |
| |||
|
|
|
| ||
| The allowable address ranges are the same as shown in "Reading program |
| |||
Write program memory | memory 04(H). |
|
|
| |
Can be set up to 512 steps per one writing | 2 only | ||||
14(H) | |||||
This command can be executed only when a PC is stopped operation with |
| ||||
|
| ||||
| "PC operation stop" command, and "write mode specification as 2." |
| |||
Read PC operation status |
|
| |||
E8(H) |
|
| |||
|
|
|
| ||
Stop PC operation | When this command is executed, the PC cannot be restarted using a support |
| |||
F8(H) | tool. |
|
|
| |
Restart PC operation | This command is effective only when the PC is stopped operation by the "PC |
| |||
operation stop" command. When the PC stops operation with another reason, |
| ||||
P8(H) |
| ||||
the PC cannot restart operation with this command. | None | ||||
| |||||
|
|
|
| ||
Read write mode status |
| ||||
|
| ||||
E9(H) |
|
| |||
|
|
|
| ||
Assign write mode | Prohibit writing all PC memory |
|
|
| |
Allows writing to PC data memory |
| ||||
F9(H) |
| ||||
Allows writing to PC all memory |
| Choose any of these. |
| ||
|
|
| |||
|
|
|
| ||
Read manufacturer code | The |
| |||
6F(H) | PC). |
|
|
|