A1…A7
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | - | - | - |
After completion of job processing, the response is available at the outputs A1 … A7. The number of response parameters depends on the job performed is described below.
List of jobs
Processing a job consists of:
- transferring the job
- supplying the OK response or not-OK response
The OK response is described in connection with the corresponding job.
The not-OK response of the individual jobs always looks as follows:
The following basically applies for the not-OK response:
RDY: TRUE
OK: FALSE
ERR:TRUE
A1…A7: 0
Updating of the maximum number of remote modules detected
The input word EW 07,15 contains, amongst other things, the maximum number of remote modules detected in the past. The actual number of remote modules which exist at the moment may be less. This command is used to update this value. The modules which exist are counted and the value is stored. The user can inquire this value in the PLC program (EW 07,15, bit 8…15).
- | Job GRN: CODE: D1…D8: |
255 (Master PLC with bus) 132 Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Inquiring the open-circuit monitoring of an input to determine whether it is activated or deactivated
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 32 Channel number Not used |
- | OK response RDY: OK: A1: A2…A7: |
TRUE TRUE 47. Open-circuit monitoring ON 32. Open-circuit monitoring OFF 0 |
Inquiring the open-circuit monitoring of an output to determine whether it is activated or deactivated
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 33 Channel number Not used |
- | OK response RDY: OK: A1: A2…A7: |
TRUE TRUE 47. Open-circuit monitoring ON 32. Open-circuit monitoring OFF 0 |
Deactivating or activating the open-circuit monitoring of an input
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 224. Open-circuit monitoring ON 160. Open-circuit monitoring OFF Channel number Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Deactivating or activating the open-circuit monitoring of an output
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 225. Open-circuit monitoring ON 161. Open-circuit monitoring OFF Channel number Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Inquiring a channel to determine whether it is configured as input or input/output
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 34 Channel number Not used |
- | OK response RDY: OK: A1: A2…A7: |
TRUE TRUE 34. Input 35. Input/output 0 |
Configuration of a channel as input or input/output
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 162. Input 163. Input/output Channel number Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Inquiring the input delay of a channel
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 38 Channel number Not used |
- | OK response RDY: OK: A1: A2…A7: |
TRUE TRUE Input delay 2. 2 ms 4. 4 ms : : 30. 30 ms 32. 32 ms 0 |
Setting the input delay of a channel
- | Job GRN: CODE: D1: D2: |
Group number 0…63 166 Channel number Input delay 2. 2 ms 4. 4 ms : : 30. 30 ms 32. 32 ms |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Acknowledging errors on remote module
This command can be used to reset the error messages registered on the selected remote module. A reset is possible only if the cause of the error is no longer operative.
- | Job GRN: CODE: D1: D2: D3…D8: |
Group number 0…63 232 Lowest channel number on the module: 0. Lowest channel number on the module is 0 (<7) 8. Lowest channel number on the module is 8 (>7) Module type: 0. Binary input 1. Analog input 2. Binary output 3. Analog output 4. Binary input/output 5. Analog input/output Note: Bit: even number (0, 2, 4) Wort: odd number (1, 3, 5) Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Acknowledging errors on remote module and resetting configuration values to default setting
In addition to the job “Acknowledging errors on remote module”, all configurable settings are reset to the default setting.
- | Job GRN: CODE: D1: D2: D3…D8: |
Group number 0…63 233 First channel number on the module: 0. First channel number on the module is 0 (<7) 8. First channel number on the module is 8 (>7) Module type: 0. Binary input 1. Analog input 2. Binary output 3. Analog output 4. Binary input/output 5. Analog input/output Note: Bit: even number (0, 2, 4) Wort: odd number (1, 3, 5) Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Inquiring the configuration of an analog input
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 42 Channel number Not used |
- | OK response RDY: OK: A1: A2…A7: |
TRUE TRUE 50. Input 0…20 mA 49. Input 4…20 mA 0 |
Inquiring the configuration of an analog output
- | Job GRN: CODE: D1: D2…D8: |
Group number 0…63 43 Channel number Not used |
- | OK response RDY: OK: A1: A2…A7: |
TRUE TRUE 50. Output 0…20 mA 49. Output 4…20 mA 51. Output +10 V 0 |
Configuration of an analog input
- | Job GRN: CODE: D1: D2: D3…D8: |
Group number 0…63 170 Channel number 50. Input 0…20 mA 49. Input 4…20 mA Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Configuration of an analog output
- | Job GRN: CODE: D1: D2: D3…D8: |
Group number 0…63 171 Channel number 50. Output 0…20 mA 49. Output 4…20 mA 51. Output +10 V Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Inquiring the bus configuration
The bus interface of the Master PLC has a list which stores specific data of the remote modules. The remote modules are numbered in this list in the order in which they can be found on the CS31 system bus. The internal number of the modules must be specified with this command. The response to this command is the group number stored under this number and status information on the corresponding module.
- | Job GRN: CODE: D1: D2…D8: |
Not evaluated 80 Number from the module list (1…31) Not used |
- | OK response RDY: OK: A1: A2: A3: A4…A7: |
TRUE TRUE Status of the remote module: Bits 0…3: Number of process data bytes (binary module) or words (word module), which the module sends to the master. Bits 4…7: Number of process data bytes (binary module) or words (word module), which the master sends to the module Group number Bit 0: 0. Lowest channel number <7 1. Lowest channel number >7 Bit 1: 0. Binary module 1. Word module 0 |
Read 1 … 6 bytes
- | Job GRN: CODE: D1: D2: D3: D4: D5…D8: |
Group number 0…63 49. Read 1 byte 50. Read 2 bytes 51. Read 3 bytes 52. Read 4 bytes 53. Read 5 bytes 54. Read 6 bytes First channel number on the module: 0. First channel number on the module is 0 (<7) 1. First channel number on the module is 8 (>7) Module type: 0. Binary input 1. Analog input 2. Binary output 3. Analog output 4. Binary input/output 5. Analog input/output Note: Bit: even number (0, 2, 4) Word: odd number (1, 3, 5) Byte start address (Low Byte) Byte start address (High Byte) Not used |
- | OK response RDY: OK: A1: A2: A3: A4. A5: A6: A7: |
TRUE TRUE Value of the 1st byte Value of the 2nd byte or 0 Value of the 3rd byte or 0 Value of the 4th byte or 0 Value of the 5th byte or 0 Value of the 6th byte or 0 0 |
Read 1 bit from 1 byte
- | Job GRN: CODE: D1: D2: D3: D4: D5: D6…D8: |
Group number 0…63 63 First channel number of the module: 0. First channel number of the module is 0 (<7) 1. First channel number of the module is 8 (>7) Module type: 0. Binary input 1. Analog input 2. Binary output 3. Analog output 4. Binary input/output 5. Analog input/output Note: Bit: even number (0, 2, 4) Word: odd number (1, 3, 5) Byte start address (Low Byte) Byte start address (High Byte) Bit position within the byte 0…7 Not used |
- | OK response RDY: OK: A1: A2…A7: |
TRUE TRUE Bit value (0 or 1) 0 |
Write 1…4 bytes
- | Job GRN: CODE: D1: D2: D3: D4: D5: D6: D7: D8: |
Group number 0…63 65. Write 1 byte 66. Write 2 bytes 67. Write 3 bytes 68. Write 4 bytes First channel number on the module: 0. First channel number on the module is 0 (<7) 1. First channel number on the module is 8 (>7) Module type: 0. Binary input 1. Analog input 2. Binary output 3. Analog output 4. Binary input/output 5. Analog input/output Note: Bit: even number (0, 2, 4) Word: odd number (1, 3, 5) Byte start address (Low Byte) Byte start address (High Byte) Value of the 1st byte Value of the 2nd byte or not used Value of the 3rd byte or not used Value of the 4th byte or not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |
Write 1 bit of 1 byte
- | Job GRN: CODE: D1: D2: D3: D4: D5: D6: D7…D8: |
Group number 0…63 79 First channel number on the module: 0. First channel number on the module is 0 (<7) 1. First channel number on the module is 8 (>7) Module type: 0. Binary input 1. Analog input 2. Binary output 3. Analog output 4. Binary input/output 5. Analog input/output Note: Bit: even number (0, 2, 4) Word: odd number (1, 3, 5) Byte start address (Low Byte) Byte start address (High Byte) Bit position within the byte 0…7 Bit value (0 or 1) Not used |
- | OK response RDY: OK: A1…A7: |
TRUE TRUE 0 |