Cable Codes of PLC Schema
- Select tab, PLC group PLC System Drawings Menu.
- Browse and edit the IO lists of project PLC systems.
- Generate circuit diagrams based on IO lists.
Cable Codes of PLC Schema
Cable codes of PLC system are automatically generated depending on input device / block and given parameter CB_NAME in the system settings LSETUP.
ED 2013 -version supports three cable code settings:
CB_NAME = 1:
Generating Norms of Cable Codes
Beginning | End | ID |
Logic | IO device | W + logic's 1. I/O address (separate supply cable ...+ L) |
Junction block | IO device | W + Block code + 1. number of signal contact pin |
Logic | Junction block | W + Block code + A/B/C... |
Junction block | Junction block | W + Block code + 1. number of contact pin |
CB_NAME = 2:
Generating Norms of Cable Codes
Beginning | End | ID |
Logic | IO device | <Logic's system code> - <I/O device code> (extra supply ... + b ) |
Junction block | IO device | <Logic's system code> - <I/O device code> (extra supply ... + b ) |
Logic | Junction block | <Logic's system code> - <target junction block code> (extra cables ... + a/b/c... ) |
Junction block | Junction block | <Logic's system code> - <target junction block code> (extra cables ... + a/b/c... ) |
CB_NAME = 3:
Generating Norms of Cable Codes
Beginning | End | ID |
Logic (no block) | To the beginning of the code: <Logic system code> - | |
Logic (block) | To the beginning of the code <Logic block code> - | |
IO device | To the end of code <IO device code> (extra supply ... + b ) | |
Junction block | To the end of code <target junction block code> (extra cables ... + a/b/c... ) |
Parametric generating of a code (ED 18.0 ...)
It is possible to add a parameter LOG_CBFIX in the logic system settings LSETUP, with which edit or replace the cable label created by the system.
Parametric value of LOG_CBFIX can be either a parametric text, that refers to cable's end point data, or it can be a name of a software, that generates the corrected code.
If a name of a software is given, the cable code edited in replacing chart's variable $CB_EDITED has to be returned by the software. If the software does not return the value, or the replacing of the parametric text is not successful, the original cable code generated by the system is used.
Text symbols used in generating of parametric cable code
Text symbol | Description |
#$LSYS# | Naming of system |
#$E1# | Beginning's system code |
#$P1# | Beginning's position |
#$L1# | Beginning's device code |
#$E2# | End's system code |
#$P2# | End's position |
#$L2# | End's device code |
$CB_EDITED | New cable code returned by the parametric system |
For example: W is wanted in front of the device code, and the beginning's position and device following it, then a hyphen and the end's device.
LOG_CBFIX parameter is added in the system settings and value is defined as:
W#$P1##$L1#-#$L2#