Comparing Offline and Online Blocks in TIA Portal: the Checksums, the Symbols and the Detailed View

The compare editor drawn as our own layout: left column offline objects, right column online objects, the status and action column between them, four blocks with different statuses

FB120 carries the orange half-circle in the project tree and the block you have open is the one you wrote on Tuesday. On an S7-1500 that symbol is the result of a checksum comparison, not a time stamp comparison, and the manual lists more than a dozen separate checksums behind it. Three of them have … Read more

An S7-1500 an Hour Out After the Clocks Change: RD_SYS_T, RD_LOC_T and the Time Zone

The clock chain drawn as three stages: module time in UTC, the Bias and DaylightBias offsets from the configuration, and the local time that RD_LOC_T returns

The batch record says the mixer started at 06:14 and the operator watched it start at 07:14, on the Sunday the clocks moved. The CPU 1516-3 PN/DP is keeping perfect time. What is wrong is that somebody wired RD_SYS_T into the timestamp and RD_SYS_T hands back the module time, which on this family is always … Read more

Connecting a Python OPC UA Client to an S7-1500: Certificates, Security Policy and the Anonymous Login That Fails

The CPU's OPC UA server settings drawn as field and value: server on, port 4840, None off, Basic256Sha256 Sign and Encrypt on, trusted clients pi1-logger.der, automatic accept off, guest off, user logger, runtime licence

BadIdentityTokenRejected is the answer an OPC UA server gives when the secure channel is up, the client certificate is trusted, and the session request arrives with no user in it, and on an S7-1500 with guest authentication off that is exactly where a first Python OPC UA client stops. It is the third of four … Read more

Polling an S7-1200 from a Raspberry Pi with snap7: DB Numbers, Optimized Access and the PUT/GET Checkbox

plc programming s7 1200 raspberry pi snap7 put get 1 plc

A snap7 S7-1200 read – plc.db_read(12, 0, 12) against a CPU 1214C – returns twelve bytes on the bench and an exception on the machine, and the difference is two checkboxes in TIA Portal, neither of them on the Pi. python-snap7 3.1.2 talks the S7 protocol to TCP port 102 in pure Python, so there … Read more

Changing an Interface on a Running S7-1500 Without Losing the Values

plc programming s7 1500 interface change in run keep values 1 plc

An optimized block on an S7-1500, or on an S7-1200 at V4.x, is created with a 100 byte memory reserve, which is room for 25 Reals of new Statics before a download in RUN has to reinitialise the instance DB. Whether an S7-1500 interface change makes the load preview put “reinitialize” against the block is … Read more

Configuring an ET 200SP F-DI in TIA Portal: 1oo2 Evaluation, Discrepancy and the F-Destination Address

plc programming et 200sp f di tia portal 1oo2 discrepancy f destination address 1 plc

The station is an IM 155-6 PN with an ET 200SP F-DI 8x24VDC HF in slot 3, the CPU is a 1515F-2 PN on TIA Portal V17, and the hardware compiles clean with a warning that says the F-module has no valid PROFIsafe address yet. The guard door on channel 2 is wired as two … Read more

Advertisement