TReX User Manual v15.30 Firmware
PLC
Commands
PLC_CONFIG
Displays PLC current configuration.
Typical Usage:
*PLC_CONFIG<CR>
PLC_RUNG
Configures individual rungs of the PLC program.
Note:
Although programming the PLC via serial commands is possible, the user may find it
easier to either use the menu, or connect to the TReX via USB cable and directly edit the PLC
rungs using any text editor. The PLC config file is wte_plc.ini.
*
PLC_RUNG
=RR:XXX
<CR>
Where:
•
RR
is a 1-3 digit rung number being configured (01 to 250 valid). “NN” may also be
specified (literal “NN”). This specifies a rung number one higher than the last.
•
XXX
is the ladder logic for the rung.
Typical Usage:
PLC Configuration:
*PLC_RUNG=01:[I:1]-------[I:4]-------[I:5]-------(T:3)
*PLC_RUNG=02:[-] +----[TT3]-------[TT4]---+
*PLC_RUNG=03:[TT3]-------[/TD3]------[-]---------(Q:2)
*PLC_RUNG=04:
*PLC_RUNG=05:[Q:2]-------[I:6]-------[/I:8]------(Q:7)
*PLC_RUNG=06:
The above configuration will result in the following ladder logic equivalent program.
© WTE Limited, 2022 – Christchurch New Zealand
Page 134 of 302
Summary of Contents for TReX-460
Page 87: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 87 of 302...
Page 286: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 286 of 302...
Page 302: ...TReX User Manual v15 30 Firmware WTE Limited 2022 Christchurch New Zealand Page 302 of 302...